Page 32 of 32 FirstFirst ... 22303132
Results 776 to 792 of 792

Thread: [OSR]Reflection Include

  1. #776
    Join Date
    Oct 2011
    Posts
    434
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default

    I'm having trouble with the pascal version.

    After update I'm getting these errors on Abyss runecrafter v1.045, which worked fine before the update.

    Code:
    Abyss Runecrafter V1.045 (1).simba(250:63): Unknown identifier 'client_widgets' at line 251
    Abyss Runecrafter V1.045 (1).simba(134:3): Variable 'C' never used at line 133
    Abyss Runecrafter V1.045 (1).simba(134:3): Variable 'T' never used at line 133
    Abyss Runecrafter V1.045 (1).simba(134:3): Variable 'I' never used at line 133
    Compiling failed.

  2. #777
    Join Date
    Oct 2006
    Posts
    6,752
    Mentioned
    95 Post(s)
    Quoted
    532 Post(s)

    Default

    Quote Originally Posted by alexes View Post
    I'm having trouble with the pascal version.

    After update I'm getting these errors on Abyss runecrafter v1.045, which worked fine before the update.

    Code:
    Abyss Runecrafter V1.045 (1).simba(250:63): Unknown identifier 'client_widgets' at line 251
    Abyss Runecrafter V1.045 (1).simba(134:3): Variable 'C' never used at line 133
    Abyss Runecrafter V1.045 (1).simba(134:3): Variable 'T' never used at line 133
    Abyss Runecrafter V1.045 (1).simba(134:3): Variable 'I' never used at line 133
    Compiling failed.
    Please re download the include, replacing the version you had..
    “The long-lived and those who will die soonest lose the same thing. The present is all that they can give up, since that is all you have, and what you do not have, you cannot lose.” - Marcus Aurelius

  3. #778
    Join Date
    Oct 2011
    Posts
    434
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default

    Quote Originally Posted by elfyyy View Post
    Please re download the include, replacing the version you had..
    Already did, also reinstalled simba and everything. And I keep getting this error.

  4. #779
    Join Date
    Oct 2006
    Posts
    6,752
    Mentioned
    95 Post(s)
    Quoted
    532 Post(s)

    Default

    Quote Originally Posted by alexes View Post
    Already did, also reinstalled simba and everything. And I keep getting this error.
    You're doing something wrong, maybe not renaming the new version correctly or something. As many people have already done it and it's working, also I just double checked myself and dl'd the googlecode version and it works fine..

    EDIT: Fixed player index problem..
    Last edited by Kyle; 01-10-2015 at 04:12 PM.
    “The long-lived and those who will die soonest lose the same thing. The present is all that they can give up, since that is all you have, and what you do not have, you cannot lose.” - Marcus Aurelius

  5. #780
    Join Date
    Oct 2011
    Posts
    434
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default

    Quote Originally Posted by elfyyy View Post
    You're doing something wrong, maybe not renaming the new version correctly or something. As many people have already done it and it's working, also I just double checked myself and dl'd the googlecode version and it works fine..
    Okay, thank you. I will recheck what i could have done wrong.

  6. #781
    Join Date
    Feb 2013
    Location
    Rimmington
    Posts
    319
    Mentioned
    33 Post(s)
    Quoted
    183 Post(s)

    Default

    Quote Originally Posted by alexes View Post
    Okay, thank you. I will recheck what i could have done wrong.
    If you can't figure it out, shoot me a pm and I'll help you @ teamviewer





  7. #782
    Join Date
    Feb 2013
    Location
    Rimmington
    Posts
    319
    Mentioned
    33 Post(s)
    Quoted
    183 Post(s)

    Default

    Quote Originally Posted by Fitta View Post
    If you can't figure it out, shoot me a pm and I'll help you @ teamviewer
    It compiles, the error was not with reflection. It was that the script is outdated

    Everybody, please notice that there's a difference when a script errors and it doesn't open another file, and when it errors and opens a new tab in SIMBA. Usually if it DOES NOT open a new tab, it's the script fault!!! However, if there's a new tab opened that's called something along the lines of "text.simba", "hooks.simba" then go ahead and post the living spirit out of Elfyy

    However, I updated the script for you. It should run, no idea if it still will work though @ Look PM





  8. #783
    Join Date
    Aug 2007
    Posts
    539
    Mentioned
    20 Post(s)
    Quoted
    266 Post(s)

    Default

    Heres an updated version of ID Display to work with the latest include (lape). Feel free to do whatever with it.

    .IsAnimating gives a access violation error, on .GetAnimation.
    Attached Files Attached Files

  9. #784
    Join Date
    Oct 2006
    Posts
    6,752
    Mentioned
    95 Post(s)
    Quoted
    532 Post(s)

    Default

    I would like to welcome @akarigar; as a new dev for the include! He has a lot of previous experience with reflection for rs3 and will be a massive help to the project. So now there is another person to be able to yell at when something goes wrong!!

    With his help, we now have widget positioning 100% completed, and will start working on finishing up the rest of the include. I plan on starting gametabs today and seeing how far that goes and maybe work on bank later on. I also have moved the pascal script version to github and will be deciding on the best way to merge people from the googlecode version to the github version. As always, if you have any bugs, it is best if you could make a issue/pull request on github https://github.com/Elfyyy/OSR-Reflection

    Also, if you have any suggestions on stuff to be added/changed to the include, please also make a issue on the github repo as-well.

    EDIT: Just saw this:
    Quote Originally Posted by ineedbot View Post
    .IsAnimating gives a access violation error, on .GetAnimation.
    Fixed, will push to github in a bit.
    Last edited by Kyle; 01-14-2015 at 03:07 PM.
    “The long-lived and those who will die soonest lose the same thing. The present is all that they can give up, since that is all you have, and what you do not have, you cannot lose.” - Marcus Aurelius

  10. #785
    Join Date
    Jan 2014
    Posts
    55
    Mentioned
    0 Post(s)
    Quoted
    9 Post(s)

    Default

    Woo! A new dev! Welcome ^^.

    Also, I was doing some testing around, and found that MyPlayer.WalkPathMM doesnt work. Its not the tiles I'm using because I cycled through them with MyPlayer.WalkToTileMM and it worked fine. Just a heads up ^^

  11. #786
    Join Date
    Oct 2006
    Posts
    6,752
    Mentioned
    95 Post(s)
    Quoted
    532 Post(s)

    Default

    Quote Originally Posted by levunit View Post
    Woo! A new dev! Welcome ^^.

    Also, I was doing some testing around, and found that MyPlayer.WalkPathMM doesnt work. Its not the tiles I'm using because I cycled through them with MyPlayer.WalkToTileMM and it worked fine. Just a heads up ^^
    Yeah, I'm aware of the problem(s) with the WalkPath.. We'll get to fixing it soon!
    “The long-lived and those who will die soonest lose the same thing. The present is all that they can give up, since that is all you have, and what you do not have, you cannot lose.” - Marcus Aurelius

  12. #787
    Join Date
    Jan 2015
    Posts
    1
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Hi, I would like to learn a bit on using reflection to write my own scripts. Are there any tutorials that focus specifically in reflection?

  13. #788
    Join Date
    Oct 2006
    Posts
    6,752
    Mentioned
    95 Post(s)
    Quoted
    532 Post(s)

    Default

    Quote Originally Posted by Botbotpotpot View Post
    Hi, I would like to learn a bit on using reflection to write my own scripts. Are there any tutorials that focus specifically in reflection?
    In this thread topic there are links to two different tutorials..
    “The long-lived and those who will die soonest lose the same thing. The present is all that they can give up, since that is all you have, and what you do not have, you cannot lose.” - Marcus Aurelius

  14. #789
    Join Date
    Oct 2006
    Posts
    6,752
    Mentioned
    95 Post(s)
    Quoted
    532 Post(s)

    Default

    Hooks updated to revision #70

    I only updated the versions on github as my git for googlecode isn't working atm, so if you are using the pascalscript version, just downlaod the entire new include for github

    Code:
    215 Classes Found 
     
    Beginning Deob..
    Removed 2595 Dummy Methods (1847.63 ms)
    Reordered 2385 Multiplier Instructions (147.86 ms)
    Reordered 2072 Arithmetic Statements (1426.41 ms)
    Removed 4275 Exceptions (1198.06 ms)
    Removed 987 Opaque Predicates (294.75 ms)
    Removed 540 Dummy Parameters (485.34 ms)
    Total Deob took 5400.06 ms
    Deob Finished..
     
    Starting Analysers..
     
    Analysers Finished..
     
    |>Node = gs -> Extends java/lang/Object
          ^ UID................gs.eb                     -> J
          ^ Next...............gs.er                     -> Lgs;
          ^ Prev...............gs.ea                     -> Lgs;
      Identified 3 / 3 Fields 
     
    |>Cacheable = ga -> Extends gs
          ^ Next...............ga.ct                     -> Lga;
          ^ Prev...............ga.cm                     -> Lga;
      Identified 2 / 2 Fields 
     
    |>Renderable = cj -> Extends ga
          ^ ModelHeight........cj.cn * 263061173         -> I
      Identified 1 / 1 Fields 
     
    |>Animable = k -> Extends cj
     
    |>Model = ck -> Extends cj
     
    |>AnimationSequence = ar -> Extends ga
     
    |>NpcDefinition = as -> Extends ga
          ^ Actions............as.o                      -> [Ljava/lang/String;
          ^ Name...............as.p                      -> Ljava/lang/String;
          ^ ID.................as.h * 1088210017         -> I
          ^ CombatLevel........as.d * 1673662501         -> I
      Identified 4 / 4 Fields 
     
    |>LinkedList = fr -> Extends java/lang/Object
          ^ Head...............fr.x                      -> Lgs;
          ^ Current............fr.v                      -> Lgs;
      Identified 2 / 2 Fields 
     
    |>Actor = ab -> Extends cj
          ^ Animation..........ab.bk * 1388441449        -> I
          ^ QueueX.............ab.bm                     -> [I
          ^ QueueY.............ab.bi                     -> [I
          ^ WorldX.............ab.o * -127655233         -> I
          ^ WorldY.............ab.z * 1441948399         -> I
          ^ SpokenText.........ab.ab                     -> Ljava/lang/String;
          ^ CombatCycle........ab.av * 1519043073        -> I
          ^ Health.............ab.al * 1760173349        -> I
          ^ MaxHealth..........ab.af * -1082016153       -> I
          ^ Interactingindex...ab.aj * -860894253        -> I
      Identified 10 / 10 Fields 
     
    |>Npc = am -> Extends ab
          ^ Definition.........am.x                      -> Las;
      Identified 1 / 1 Fields 
     
    |>ObjectDefinition = ah -> Extends ga
          ^ Actions............ah.ac                     -> [Ljava/lang/String;
          ^ Name...............ah.q                      -> Ljava/lang/String;
      Identified 2 / 2 Fields 
     
    |>Buffer = dm -> Extends gs
     
    |>Widget = et -> Extends gs
          ^ Children...........et.ds                     -> [Let;
          ^ InvIDs.............et.dx                     -> [I
          ^ StackSizes.........et.de                     -> [I
          ^ ItemAmount.........et.dr * 1109214045        -> I
          ^ ItemID.............et.df * 454191437         -> I
          ^ WidgetID...........et.b * -1884642563        -> I
          ^ Name...............et.bu                     -> Ljava/lang/String;
          ^ GetText............et.bj                     -> Ljava/lang/String;
          ^ IsHidden...........et.y                      -> Z
          ^ AbsoluteX..........et.r * -230957739         -> I
          ^ AbsoluteY..........et.x * 523444805          -> I
          ^ RelativeX..........et.f * -545121905         -> I
          ^ RelativeY..........et.t * 1803355887         -> I
          ^ Width..............et.o * -538762125         -> I
          ^ Height.............et.z * 1989741601         -> I
          ^ ParentID...........et.d * -450458375         -> I
          ^ ScrollX............et.a * 830204599          -> I
          ^ ScrollY............et.n * -628261171         -> I
          ^ BoundsIndex........et.dn * -1657773883       -> I
      Identified 19 / 19 Fields 
     
    |>WidgetNode = e -> Extends gs
          ^ ID.................e.x * 35736987            -> I
      Identified 1 / 1 Fields 
     
    |>HashTable = fd -> Extends java/lang/Object
          ^ Buckets............fd.v                      -> [Lgs;
          ^ Size...............fd.x                      -> I
      Identified 2 / 2 Fields 
     
    |>GameShell = eb -> Extends java/applet/Applet
     
    |>Client = client -> Extends eb
          ^ LoopCycle..........client.r * 1601901809     -> I
          ^ Region.............ap.du                     -> Lcq;
          ^ Plane..............dp.hf * 2084826697        -> I
          ^ MenuCount..........client.in * -918571417    -> I
          ^ MenuWidth..........fa.iu * -1775861983       -> I
          ^ MenuHeight.........by.ik * -2033507929       -> I
          ^ MenuOptions........client.ia                 -> [Ljava/lang/String;
          ^ MenuActions........client.ij                 -> [Ljava/lang/String;
          ^ IsMenuOpen.........client.hc                 -> Z
          ^ MenuX..............cv.hp * -1340196463       -> I
          ^ MenuY..............al.hr * 1643010459        -> I
          ^ BaseX..............f.ck * -2042408279        -> I
          ^ BaseY..............af.cx * -357380903        -> I
          ^ Widgets............et.v                      -> [[Let;
          ^ LocalPlayer........k.hu                      -> Lm;
          ^ LocalPlayers.......client.ge                 -> [Lm;
          ^ TileSettings.......p.v                       -> [[[B
          ^ TileHeights........p.x                       -> [[[I
          ^ LocalNpcs..........client.bm                 -> [Lam;
          ^ NpcIndices.........client.bc                 -> [I
          ^ Sine...............cf.am                     -> [I
          ^ Cosine.............cf.au                     -> [I
          ^ CameraPitch........u.ft * -155365477         -> I
          ^ CameraYaw..........et.fy * 1083245601        -> I
          ^ CameraX............eb.fc * -1123644797       -> I
          ^ CameraY............cb.fq * 1664431117        -> I
          ^ CameraZ............ah.fz * -1136825067       -> I
          ^ GroundItems........client.hs                 -> [[[Lfr;
          ^ GameSettings.......fx.m                      -> [I
          ^ MapScale...........client.fe * -44176843     -> I
          ^ MapAngle...........client.dy * -1236362935   -> I
          ^ MapOffset..........client.dn * -1344761283   -> I
          ^ CurrentLevels......client.hz                 -> [I
          ^ RealLevels.........client.hw                 -> [I
          ^ Experiences........client.ht                 -> [I
          ^ Energy.............client.jw * 1072163223    -> I
          ^ Weight.............client.jm * -1336289845   -> I
          ^ Rights.............client.jc * 1705169487    -> I
          ^ CurrentWorld.......client.h * -1552976471    -> I
          ^ LoginState.........client.s * 672893323      -> I
          ^ PlayerIndex........client.hm * -1028529055   -> I
          ^ WidgetPositionX....client.lg                 -> [I
          ^ WidgetPositionY....client.ly                 -> [I
          ^ WidgetWidths.......client.li                 -> [I
          ^ WidgetHeights......client.lx                 -> [I
          ^ WidgetNodeCache....client.jy                 -> Lfd;
      Identified 46 / 46 Fields 
     
    |>Region = cq -> Extends java/lang/Object
          ^ SceneTiles.........cq.p                      -> [[[Lcb;
      Identified 1 / 1 Fields 
     
    |>BoundaryObject = cn -> Extends java/lang/Object
          ^ ID.................cn.i * -1221649549        -> I
      Identified 1 / 1 Fields 
     
    |>GameObject = ce -> Extends java/lang/Object
          ^ ID.................ce.b * -1354640943        -> I
      Identified 1 / 1 Fields 
     
    |>GroundDecoration = cw -> Extends java/lang/Object
          ^ ID.................cw.p * -2092519493        -> I
      Identified 1 / 1 Fields 
     
    |>WallDecoration = cp -> Extends java/lang/Object
          ^ ID.................cp.l * 1581896175         -> I
      Identified 1 / 1 Fields 
     
    |>SceneTile = cb -> Extends gs
          ^ GameObject.........cb.q                      -> [Lce;
          ^ GroundDecoration...cb.u                      -> Lcw;
          ^ WallDecoration.....cb.i                      -> Lcp;
          ^ BoundaryObject.....cb.j                      -> Lcn;
      Identified 4 / 4 Fields 
     
    |>Player = m -> Extends ab
          ^ Definition.........m.v                       -> Lfq;
          ^ Name...............m.x                       -> Ljava/lang/String;
      Identified 2 / 2 Fields 
     
    |>Item = n -> Extends cj
          ^ ID.................n.x * -1429811179         -> I
          ^ StackSizes.........n.v * 823893833           -> I
      Identified 2 / 2 Fields 
     
    Identified 25 / 25 Classes.. 
    Identified 106 / 106 Fields..
     
     
    Process finished with exit code 0
    Last edited by Kyle; 01-15-2015 at 01:58 PM.
    “The long-lived and those who will die soonest lose the same thing. The present is all that they can give up, since that is all you have, and what you do not have, you cannot lose.” - Marcus Aurelius

  15. #790
    Join Date
    Aug 2007
    Location
    Hawaii
    Posts
    3,880
    Mentioned
    7 Post(s)
    Quoted
    152 Post(s)

    Default

    Thanks,elfyyy.
    Faith is an oasis in the heart which will never be reached by the caravan of thinking.

  16. #791
    Join Date
    Oct 2006
    Posts
    6,752
    Mentioned
    95 Post(s)
    Quoted
    532 Post(s)

    Default

    All development for the pascal script version on the include is now moved to github. If you are still using the version on googlecode you will receive a message to download the version on github. The only additional item needed is prosocks, which can be downloaded from this thread's under "Quick Setup"..

    The lape version is coming along nicely, gametabs and chat are now mostly finished. We are going to start working on making the include non dependent on Aerolib and additional functions to various sections. As always, please report any bugs/suggestions here, or feel free to make an issue on github!
    Last edited by Kyle; 01-16-2015 at 09:56 PM.
    “The long-lived and those who will die soonest lose the same thing. The present is all that they can give up, since that is all you have, and what you do not have, you cannot lose.” - Marcus Aurelius

  17. #792
    Join Date
    Oct 2006
    Posts
    6,752
    Mentioned
    95 Post(s)
    Quoted
    532 Post(s)

    Default

    We just pushed a important update to github. The include is now 100% separate from Aerolib. This means that you can use the include with Aerolib or completely alone as a standalone include. We still have to finish the login functions to be able to use it as a standalone, but it loads smart and can use all functions within it to script with. We aren't going to increase the revision to auto update for a little bit as since almost every file was changed, I wan't to make sure nothing was overlooked.

    Other items that have been pushed since last revision increase:
    Gametabs.simba now has CombatOptions, WornEquipment and logout functions.
    Widgets.simba has full location support with Widget.Interact.
    KeyBoard.simba and Mouse.simba: Used by Reflect.Mouse.Click() for example. (Thanks to @BenLand100; & @Flight; for Mouse movements)

    We are hoping to have the include virtually complete by the end of the week, as other than login functions/world hoping, we just need to add some various small stuff here and there.

    I will also be updating the Basic tutorial in the next day or so, and will release the Advanced one after I make sure we aren't changing anymore naming conventions(Especially with Widgets)

    Without including Aerolib, calling: SetupReflection; will load smart if not already open.
    Last edited by Kyle; 01-19-2015 at 08:39 PM.
    “The long-lived and those who will die soonest lose the same thing. The present is all that they can give up, since that is all you have, and what you do not have, you cannot lose.” - Marcus Aurelius

Page 32 of 32 FirstFirst ... 22303132

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •