Page 8 of 11 FirstFirst ... 678910 ... LastLast
Results 176 to 200 of 275

Thread: Since there hasn't been a thread yet..Out-dated hooks

  1. #176
    Join Date
    Aug 2017
    Posts
    1
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    After updating hooks i get this error when running any script

    "Error: Unknown declaration "TReflectPointer" at line 3
    Compiling failed."

    thats the place in thewhere it goes wrong:
    " TReflectWidget = type(TReflectPointer); "


    This fixable?
    Last edited by boggy; 08-26-2017 at 09:24 AM.

  2. #177
    Join Date
    Nov 2010
    Location
    Cleveland, Ohio, U.S.A.
    Posts
    69
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

    Default

    There is something wrong with your installation.

    The instructions for installing OSR reflection are here:

    https://villavu.com/forum/showthread.php?t=111662 Thread: Lape Reflection Include by Kyle

    The thread is not up-to-date.

    https://github.com/Elfyyy is not a valid account on GitHub, but the https://github.com/Elfyyy/OSR-Reflection URL still takes one to https://github.com/KyleHunter/OSR-Reflection.

    The https://github.com/Brandon-T/ProSock...5/ProSocks.dll link will download an old version of ProSocks.

    Go to https://github.com/Brandon-T/ProSocks/releases. The latest version, ProSocks v0.6, will display at the top of the webpage. Scroll down and find the .dll for this version, named Prosocks.dll. Click on that and it will download the .dll to your computer.

    The remaining instructions in the thread are accurate.

  3. #178
    Join Date
    Oct 2011
    Posts
    11
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    I am now getting the error
    while Distance(MyTile.X, MyTile.Y, MyDest.X, MyDest.Y) > TileDist do
    in localplayer. Was a fixed posted for this?

  4. #179
    Join Date
    Feb 2011
    Location
    The Future.
    Posts
    5,600
    Mentioned
    396 Post(s)
    Quoted
    1598 Post(s)

    Default

    Quote Originally Posted by OneWish View Post
    I am now getting the error
    while Distance(MyTile.X, MyTile.Y, MyDest.X, MyDest.Y) > TileDist do
    in localplayer. Was a fixed posted for this?


    Open Hooks.simba and change:

    Simba Code:
    Client_DestinationX: THook =                      ['client.oq', 1599447085];
    Client_DestinationY: THook =                      ['client.oi', 978679313];

    to:

    Simba Code:
    Client_DestinationX: THook =                      ['client.oq', -868896859];
    Client_DestinationY: THook =                      ['client.oi', 806107889];

    I fixed it in my updater as well. Just the multipliers were wrong in the last build.
    Last edited by Brandon; 09-07-2017 at 01:04 AM.
    I am Ggzz..
    Hackintosher

  5. #180
    Join Date
    Feb 2011
    Location
    The Future.
    Posts
    5,600
    Mentioned
    396 Post(s)
    Quoted
    1598 Post(s)

    Default

    Someone make a pull request with these to the reflection repo.. I'm on OSX and at work..

    Java Code:
    Downloading RS JarFile.
    Downloading Complete.

    Deobfuscation Started..
    Removed Methods: 3651 of 6007
    Removed Fields: 720 of 3394
    Re-Ordered Multipliers: 3680 of 28697
    Re-Ordered Arithmetics: 2381 of 34664
    Removed Exceptions: 5651 of 5945
    Removed Returns: 1044 of 11834
    Removed TryCatchBlocks: 36 of 3082
    Removed Parameters: 1194 of 1194
    Deobfuscation Finished..

        Node:                 gs
    ---------------------------------
        UID                  ->   cl
        Prev                 ->   cp
        Next                 ->   ct


        NodeDeque:            gh
    ---------------------------------
        Head                 ->   d
        Current              ->   k


        CacheableNode:        gg
    ---------------------------------
        Next                 ->   ca
        Prev                 ->   ch


        LinkedList:           gp
    ---------------------------------
        Head                 ->   d
        Current              ->   k


        HashTable:            gn
    ---------------------------------
        Head                 ->   e
        Tail                 ->   p
        Cache|Buckets        ->   k
        Index                ->   q
        Capacity             ->   d


        Queue:                gm
    ---------------------------------
        Head                 ->   d
        *InsertHead          ->   d
        *InsertTail          ->   k


        Cache:                gl
    ---------------------------------
        HashTable            ->   p
        Queue                ->   q
        Remaining            ->   e
        Capacity             ->   k


        ClassData:            js
    ---------------------------------
        Bytes                ->   g
        Methods              ->   r
        Fields               ->   q


        Rasteriser:           jx
    ---------------------------------
        Pixels               ->   ai
        Width                ->   ah
        Height               ->   ab
        *CreateRasteriser    ->   di
        *SetCoordinates      ->   dg


        Rasteriser3D:         el
    ---------------------------------
        ShadowDecay          ->   w
        SineTable            ->   m
        CosineTable          ->   ae


        Typeface:             jm
    ---------------------------------
        CharacterPixels      ->   d
        *StringWidth         ->   y
        *DrawStringWaveY     ->   m
        *DrawStringWave      ->   ae
        *DrawStrWaveAmt      ->   ai
        *DrawCharacter       ->   aq
        *DrawCharAlpha       ->   az
        *DrawCharPixels      ->   am
        *DrawCharPixelsA     ->   av


        IndexedRGB:           jz
    ---------------------------------
        Pixels               ->   k
        Palette              ->   d


        ImageRGB:             kr
    ---------------------------------
        Pixels               ->   d
        Width                ->   k
        Height               ->   e
        MaxWidth             ->   s
        MaxHeight            ->   r
        *CopyPixels          ->   y
        *CopyPixelsA         ->   w
        *ShapeImage          ->   i


        Keyboard:             ay
    ---------------------------------
        *KeyPressed          ->   keyPressed
        *KeyReleased         ->   keyReleased
        *KeyTyped            ->   keyTyped
        *FocusGaiend         ->   focusGained
        *FocusLost           ->   focusLost


        GameShell:            bn
    ---------------------------------
        *Error               ->   aj
        *Start               ->   start
        *Stop                ->   stop
        *Destroy             ->   destroy
        *Paint               ->   paint
        *Update              ->   update


        Stream:               fg
    ---------------------------------
        Payload              ->   d
        CRC                  ->   e
        *ApplyRSA            ->   ax
        *GetUnsignedByte     ->   n


        BufferedConnection:   fi
    ---------------------------------
        InputStream          ->   d
        OutputStream         ->   k
        Socket               ->   e
        Payload              ->   r
        IsClosed             ->   p
        *Available           ->   e
        *Read                ->   p
        *Write               ->   q


        CollisionMap:         fq
    ---------------------------------
        Width                ->   am    *  -1672561527
        Height               ->   az    *  1764638661
        Adjacency            ->   av
        *Reset               ->   d


        Animable:             ee
    ---------------------------------
        ModelHeight          ->   ck    *  -1171648773


        Region:               em
    ---------------------------------
        Tiles                ->   s
        InteractableObjects  ->   v


        AnimableNode:         cc
    ---------------------------------
        ID                   ->   d
        Animation            ->   r
        Flags                ->   k
        Orientation          ->   e
        Plane                ->   p
        X                    ->   q
        Y                    ->   s


        Boundary:             et
    ---------------------------------
        ID                   ->   g     *  -1032144727
        Flags                ->   v     *  906406555
        Plane                ->   d     *  1590916923
        Height               ->   q     *  -2120607571
        X                    ->   k     *  -347393681
        Y                    ->   e     *  -1536297111
        Orientation          ->   p     *  -947118793
        Renderable           ->   s
        OldRenderable        ->   r


        WallDecoration:       ea
    ---------------------------------
        ID                   ->   t     *  -1797069395
        Flags                ->   y     *  368331799
        Plane                ->   d     *  1853959003
        Height               ->   q     *  66951815
        X                    ->   k     *  714644041
        Y                    ->   e     *  -920204661
        RelativeX            ->   s     *  -1278590781
        RelativeY            ->   r     *  1603183835
        Orientation          ->   p     *  -1734027379
        Renderable           ->   g
        OldRenderable        ->   v


        GroundDecoration:     dq
    ---------------------------------
        ID                   ->   q     *  -867585545
        Flags                ->   s     *  -1528356439
        X                    ->   k     *  -2075310097
        Y                    ->   e     *  2016829895
        Plane                ->   d     *  486668721
        Renderable           ->   p


        Interactable:         eu
    ---------------------------------
        Renderable           ->   q
        ID                   ->   i     *  -1764823617
        Flags                ->   u     *  -1368551095
        Orientation          ->   s     *  -1691976901
        Plane                ->   d     *  -577031491
        Height               ->   k     *  -1164147829
        X                    ->   e     *  -152636925
        Y                    ->   p     *  493563687
        RelativeX            ->   r     *  -1094402199
        RelativeY            ->   v     *  411947517
        SizeX                ->   g     *  1323863499
        SizeY                ->   t     *  -1299454667


        SceneTile:            ed
    ---------------------------------
        Boundary             ->   r
        SceneTile            ->   l
        Interactables        ->   o
        WallDecoration       ->   g
        GroundDecoration     ->   v
        X                    ->   k     *  -160254689
        Y                    ->   e     *  -800399631
        Plane                ->   p     *  -620511103


        TradingPost:           j
    ---------------------------------
        Status               ->   d
        ItemID               ->   k     *  -627272043
        Price                ->   e     *  77816035
        Quantity             ->   p     *  -113944759
        Transferred          ->   q     *  -764493253
        Spent                ->   s     *  1143308177
        QueryIDs             ->   N/A


        Model:                eb
    ---------------------------------
        IndicesX             ->   t
        IndicesY             ->   y
        IndicesZ             ->   o
        IndicesLength        ->   v
        VerticesX            ->   s
        VerticesY            ->   r
        VerticesZ            ->   g
        VerticesLength       ->   q
        TexIndicesX          ->   i
        TexIndicesY          ->   u
        TexIndicesZ          ->   b
        TexVerticesX         ->   z
        TexVerticesY         ->   l
        TexVerticesZ         ->   w
        TexVerticesLength    ->   a
        ShadowIntensity      ->   ab
        FitsSingleTile       ->   N/A
        *Translate           ->   m
        *RenderAtPoint       ->   cl


        AnimationSequence:    jl
    ---------------------------------
        ControlFlow          ->   y


        CombatInfo1:          bp
    ---------------------------------
        Health               ->   e     *  -738795851
        HealthRatio          ->   k     *  189944667


        CombatInfo2:          iz
    ---------------------------------
        HealthScale          ->   b     *  1133024047


        CombatInfoList:       gp
    ---------------------------------
        Head                 ->   d
        Current              ->   k


        CombatInfoHolder:     cx
    ---------------------------------
        CombatInfoList       ->   p
        CombatInfo2          ->   e


        Entity:               bs
    ---------------------------------
        AnimationID          ->   bl    *  721660763
        AnimationDelay       ->   bx    *  -221381609
        SpokenText           ->   aa
        HitDamages           ->   au
        HitTypes             ->   al
        HitCycle             ->   ay
        QueueX               ->   cx
        QueueY               ->   cs
        QueueTraversed       ->   cb
        QueueLength          ->   cd    *  754507457
        LocalX               ->   ai    *  318627133
        LocalY               ->   ah    *  -1038414011
        IsAnimating          ->   ap
        CombatCycle          ->   N/A
        InteractingIndex     ->   bq    *  1752718487
        Orientation          ->   co    *  578096291
        CombatInfoList       ->   bf
        Height               ->   cg    *  -555219103


        NPCDefinition:        id
    ---------------------------------
        ID                   ->   q     *  -416969063
        Name                 ->   s
        Actions              ->   a
        ModelIDs             ->   g
        CombatLevel          ->   l     *  -1897543249


        NPC:                  cs
    ---------------------------------
        Definition           ->   d


        PlayerDefinition:     hv
    ---------------------------------
        ID                   ->   p     *  338030201
        IsFemale             ->   e
        AnimatedModelID      ->   q     *  -244748151199456281
        ModelID              ->   s     *  -3665140426561815963
        Equipment            ->   d


        Player:               bw
    ---------------------------------
        Name                 ->   d
        Model                ->   b
        Visible              ->   h
        Definition           ->   k
        CombatLevel          ->   r     *  1653252197


        WidgetNode:           bk
    ---------------------------------
        ID                   ->   d     *  658957821


        Widget:               hj
    ---------------------------------
        Name                 ->   ca
        Text                 ->   bp
        ID                   ->   x     *  -1783844909
        ParentID             ->   az    *  523966163
        ItemID               ->   et    *  187442103
        Items                ->   eo
        ItemStackSizes       ->   ee
        ItemAmount           ->   ev    *  -737123673
        Actions              ->   ck
        ActionType           ->   a     *  -562102831
        Type                 ->   h     *  1797088875
        IsHidden             ->   av
        AbsoluteX            ->   ae    *  1036899919
        AbsoluteY            ->   ai    *  1319998847
        RelativeX            ->   ad    *  672455567
        RelativeY            ->   ag    *  -870339331
        ScrollX              ->   an    *  1847987819
        ScrollY              ->   ar    *  298043615
        Width                ->   as    *  465564697
        Height               ->   af    *  1295566703
        Children             ->   ec
        BoundsIndex          ->   er    *  -525123953
        *SwapItems           ->   v


        ItemDefinition:       io
    ---------------------------------
        ID                   ->   u     *  956581457
        Name                 ->   f
        IsMembers            ->   by
        Actions              ->   ab
        GroundActions        ->   ad


        Item:                 ch
    ---------------------------------
        ID                   ->   d     *  -650261999
        Quantity             ->   k     *  -1778300201


        Client:           client
    ---------------------------------
        Revision             ->   155
        Client               ->   client.ay
        LocalNPCs            ->   client.dq
        NPCIndices           ->   client.dm
        LocalPlayers         ->   client.ii
        PlayerIndices        ->   ci.r
        LocalPlayer          ->   ft.ik
        PlayerIndex          ->   client.ig *  621221673
        GameCycle            ->   client.bk *  1532267913
        LoginState           ->   client.bu *  -2088433601
        GameState            ->   ct.av *  -402345667
        CrosshairColour      ->   client.hi *  577697241
        GroundItems          ->   client.jl
        CollisionMap         ->   client.w
        TradingPostOffers    ->   client.qx
        CameraX              ->   hx.gz *  -570981729
        CameraY              ->   cw.gq *  1462660465
        CameraZ              ->   bo.gw *  503524493
        CameraPitch          ->   t.gf  *  -327258247
        CameraYaw            ->   fh.gt *  829749175
        Region               ->   v.fe
        Plane                ->   s.iv  *  -854648669
        BaseX                ->   et.fl *  -1399424123
        BaseY                ->   cj.fu *  -777215457
        DestX                ->   client.ov *  118437831
        DestY                ->   client.ox *  -1329383267
        SineTable            ->   el.m
        CosineTable          ->   el.ae
        TileHeights          ->   bi.d
        TileSettings         ->   bi.k
        Widgets              ->   fs.s
        WidgetSettings       ->   hx.e
        WidgetNodeCache      ->   client.kc
        WidgetPositionsX     ->   client.mo
        WidgetPositionsY     ->   client.mb
        WidgetWidths         ->   client.mf
        WidgetHeights        ->   client.mq
        ViewPortWidth        ->   client.qt *  1678497187
        ViewPortHeight       ->   client.qm *  -1798791025
        MapAngle             ->   N/A
        MapScale             ->   N/A
        MapOffset            ->   N/A
        MenuCount            ->   client.jw *  804711719
        MenuActions          ->   client.jt
        MenuOptions          ->   client.js
        IsMenuOpen           ->   client.jo
        MenuX                ->   bq.jq *  261096063
        MenuY                ->   y.ji  *  -932599241
        MenuWidth            ->   a.jv  *  -831017185
        MenuHeight           ->   ah.jg *  1510120775
        CurrentLevels        ->   client.jm
        RealLevels           ->   client.jh
        Experiences          ->   client.jj
        CurrentWorld         ->   client.bj *  -1255530869
        EnergyLevel          ->   client.kl *  -2101713993
        PlayerWeight         ->   client.kg *  -1684626721


    Simba Code:
    const
        ReflectionRevision = '155';

    {Node: gs}
    Node_UID: THook =                                 ['cl', 1];
    Node_Prev: THook =                                ['cp', 1];
    Node_Next: THook =                                ['ct', 1];

    {NodeDeque: gh}
    NodeDeque_Head: THook =                           ['d', 1];
    NodeDeque_Current: THook =                        ['k', 1];

    {Cacheable: gg}
    Cacheable_Next: THook =                           ['ca', 1];
    Cacheable_Prev: THook =                           ['ch', 1];

    {LinkedList: gp}
    LinkedList_Head: THook =                          ['d', 1];
    LinkedList_Current: THook =                       ['k', 1];

    {HashTable: gn}
    HashTable_Head: THook =                           ['e', 1];
    HashTable_Tail: THook =                           ['p', 1];
    HashTable_Buckets: THook =                        ['k', 1];
    HashTable_Index: THook =                          ['q', 1];
    HashTable_Size: THook =                           ['d', 1];

    {Queue: gm}
    Queue_Head: THook =                               ['d', 1];

    {Cache: gl}
    Cache_HashTable: THook =                          ['p', 1];
    Cache_Queue: THook =                              ['q', 1];
    Cache_Remaining: THook =                          ['e', 1];
    Cache_Capacity: THook =                           ['k', 1];

    {ClassData: js}
    ClassData_Bytes: THook =                          ['g', 1];
    ClassData_Methods: THook =                        ['r', 1];
    ClassData_Fields: THook =                         ['q', 1];

    {Rasteriser: jx}
    Rasteriser_Pixels: THook =                        ['ai', 1];
    Rasteriser_Width: THook =                         ['ah', 1];
    Rasteriser_Height: THook =                        ['ab', 1];

    {Rasteriser3D: el}
    Rasteriser3D_ShadowDecay: THook =                 ['w', 1];
    Rasteriser3D_SineTable: THook =                   ['m', 1];
    Rasteriser3D_CosineTable: THook =                 ['ae', 1];

    {Typeface: jm}
    Typeface_CharacterPixels: THook =                 ['d', 1];

    {IndexedRGB: jz}
    IndexedRGB_Pixels: THook =                        ['k', 1];
    IndexedRGB_Palette: THook =                       ['d', 1];

    {ImageRGB: kr}
    ImageRGB_Pixels: THook =                          ['d', 1];
    ImageRGB_Width: THook =                           ['k', 1];
    ImageRGB_Height: THook =                          ['e', 1];
    ImageRGB_MaxWidth: THook =                        ['s', 1];
    ImageRGB_MaxHeight: THook =                       ['r', 1];

    {Keyboard: ay}

    {GameShell: bn}

    {Buffer: fg}
    Buffer_Payload: THook =                           ['d', 1];
    Buffer_CRC: THook =                               ['e', 1];

    {BufferedConnection: fi}
    BufferedConnection_InputStream: THook =           ['d', 1];
    BufferedConnection_OutputStream: THook =          ['k', 1];
    BufferedConnection_Socket: THook =                ['e', 1];
    BufferedConnection_Payload: THook =               ['r', 1];
    BufferedConnection_IsClosed: THook =              ['p', 1];

    {CollisionMap: fq}
    CollisionMap_Width: THook =                       ['am', -1672561527];
    CollisionMap_Height: THook =                      ['az', 1764638661];
    CollisionMap_Adjacency: THook =                   ['av', 1];

    {Renderable: ee}
    Renderable_ModelHeight: THook =                   ['ck', -1171648773];

    {Region: em}
    Region_SceneTiles: THook =                        ['s', 1];
    Region_InteractableObjects: THook =               ['v', 1];

    {AnimableNode: cc}
    AnimableNode_ID: THook =                          ['d', 1];
    AnimableNode_Animation: THook =                   ['r', 1];
    AnimableNode_Flags: THook =                       ['k', 1];
    AnimableNode_Orientation: THook =                 ['e', 1];
    AnimableNode_Plane: THook =                       ['p', 1];
    AnimableNode_X: THook =                           ['q', 1];
    AnimableNode_Y: THook =                           ['s', 1];

    {BoundaryObject: et}
    BoundaryObject_ID: THook =                        ['g', -1032144727];
    BoundaryObject_Flags: THook =                     ['v', 906406555];
    BoundaryObject_Plane: THook =                     ['d', 1590916923];
    BoundaryObject_Height: THook =                    ['q', -2120607571];
    BoundaryObject_LocalX: THook =                    ['k', -347393681];
    BoundaryObject_LocalY: THook =                    ['e', -1536297111];
    BoundaryObject_Orientation: THook =               ['p', -947118793];
    BoundaryObject_Render: THook =                    ['s', 1];
    BoundaryObject_Render2: THook =                   ['r', 1];

    {WallDecoration: ea}
    WallDecoration_ID: THook =                        ['t', -1797069395];
    WallDecoration_Flags: THook =                     ['y', 368331799];
    WallDecoration_Plane: THook =                     ['d', 1853959003];
    WallDecoration_Height: THook =                    ['q', 66951815];
    WallDecoration_LocalX: THook =                    ['k', 714644041];
    WallDecoration_LocalY: THook =                    ['e', -920204661];
    WallDecoration_RelativeX: THook =                 ['s', -1278590781];
    WallDecoration_RelativeY: THook =                 ['r', 1603183835];
    WallDecoration_Orientation: THook =               ['p', -1734027379];
    WallDecoration_Renderable: THook =                ['g', 1];
    WallDecoration_Renderable2: THook =               ['v', 1];

    {FloorDecoration: dq}
    FloorDecoration_ID: THook =                       ['q', -867585545];
    FloorDecoration_Flags: THook =                    ['s', -1528356439];
    FloorDecoration_LocalX: THook =                   ['k', -2075310097];
    FloorDecoration_LocalY: THook =                   ['e', 2016829895];
    FloorDecoration_Plane: THook =                    ['d', 486668721];
    FloorDecoration_Render: THook =                   ['p', 1];

    {GameObject: eu}
    GameObject_Render: THook =                        ['q', 1];
    GameObject_ID: THook =                            ['i', -1764823617];
    GameObject_Flags: THook =                         ['u', -1368551095];
    GameObject_Orientation: THook =                   ['s', -1691976901];
    GameObject_Plane: THook =                         ['d', -577031491];
    GameObject_Height: THook =                        ['k', -1164147829];
    GameObject_WorldX: THook =                        ['e', -152636925];
    GameObject_WorldY: THook =                        ['p', 493563687];
    GameObject_LocalX: THook =                        ['r', -1094402199];
    GameObject_LocalY: THook =                        ['v', 411947517];
    GameObject_OffsetX: THook =                       ['g', 1323863499];
    GameObject_OffsetY: THook =                       ['t', -1299454667];

    {SceneTile: ed}
    SceneTile_BoundaryObject: THook =                 ['r', 1];
    SceneTile_SceneTileObject: THook =                ['l', 1];
    SceneTile_GameObject: THook =                     ['o', 1];
    SceneTile_WallDecoration: THook =                 ['g', 1];
    SceneTile_GroundDecoration: THook =               ['v', 1];
    SceneTile_LocalX: THook =                         ['k', -160254689];
    SceneTile_LocalY: THook =                         ['e', -800399631];
    SceneTile_Plane: THook =                          ['p', -620511103];

    {GrandExchange: j}
    TradingPost_Status: THook =                       ['d', 1];
    TradingPost_ItemID: THook =                       ['k', -627272043];
    TradingPost_Price: THook =                        ['e', 77816035];
    TradingPost_Quantity: THook =                     ['p', -113944759];
    TradingPost_Transferred: THook =                  ['q', -764493253];
    TradingPost_Spent: THook =                        ['s', 1143308177];
    TradingPost_QueryIDs: THook =                     ['N/A', 1];

    {{Model: eb}
    Model_IndicesX: THook =                           ['t', 1];
    Model_IndicesY: THook =                           ['y', 1];
    Model_IndicesZ: THook =                           ['o', 1];
    Model_IndicesLength: THook =                      ['v', 1];
    Model_VerticesX: THook =                          ['s', 1];
    Model_VerticesY: THook =                          ['r', 1];
    Model_VerticesZ: THook =                          ['g', 1];
    Model_VerticesLength: THook =                     ['q', 1];
    Model_TexIndicesX: THook =                        ['i', 1];
    Model_TexIndicesY: THook =                        ['u', 1];
    Model_TexIndicesZ: THook =                        ['b', 1];
    Model_TexVerticesX: THook =                       ['z', 1];
    Model_TexVerticesY: THook =                       ['l', 1];
    Model_TexVerticesZ: THook =                       ['w', 1];
    Model_TexVerticesLength: THook =                  ['a', 1];
    Model_ShadowIntensity: THook =                    ['ab', 1];
    Model_FitsSingleTile: THook =                     ['N/A', 1];

    {AnimationSequence: jl}
    AnimationSequence_ControlFlow: THook =            ['y', 1];

    {CombatInfo1: bp}
    CombatInfo1_Health: THook =                       ['e', -738795851];
    CombatInfo1_HealthRatio: THook =                  ['k', 189944667];

    {CombatInfo2: iz}
    CombatInfo2_HealthScale: THook =                  ['b', 1133024047];

    {CombatInfoList: gp}
    CombatInfoList_Head: THook =                      ['d', 1];
    CombatInfoList_Current: THook =                   ['k', 1];

    {CombatInfoHolder: cx}
    CombatInfoHolder_CombatInfoList: THook =          ['p', 1];
    CombatInfoHolder_CombatInfo2: THook =             ['e', 1];

    {Actor: bs}
    Actor_Animation: THook =                          ['bl', 721660763];
    Actor_AnimationDelay: THook =                     ['bx', -221381609];
    Actor_SpokenText: THook =                         ['aa', 1];
    Actor_HitDamages: THook =                         ['au', 1];
    Actor_HitTypes: THook =                           ['al', 1];
    Actor_HitCycle: THook =                           ['ay', 1];
    Actor_QueueX: THook =                             ['cx', 1];
    Actor_QueueY: THook =                             ['cs', 1];
    Actor_QueueTraversed: THook =                     ['cb', 1];
    Actor_QueueSize: THook =                          ['cd', 754507457];
    Actor_WorldX: THook =                             ['ai', 318627133];
    Actor_WorldY: THook =                             ['ah', -1038414011];
    Actor_IsAnimating: THook =                        ['ap', 1];
    Actor_CombatCycle: THook =                        ['N/A', 1];
    Actor_InteractingIndex: THook =                   ['bq', 1752718487];
    Actor_Orientation: THook =                        ['co', 578096291];
    Actor_CombatInfoList: THook =                     ['bf', 1];
    Actor_Height: THook =                             ['cg', -555219103];

    {NPCDefinition: id}
    NPCDefinition_ID: THook =                         ['q', -416969063];
    NPCDefinition_Name: THook =                       ['s', 1];
    NPCDefinition_Actions: THook =                    ['a', 1];
    NPCDefinition_ModelIDs: THook =                   ['g', 1];
    NPCDefinition_CombatLevel: THook =                ['l', -1897543249];

    {NPC: cs}
    NPC_Definition: THook =                           ['d', 1];

    {PlayerDefinition: hv}
    PlayerDefinition_ID: THook =                      ['p', 338030201];
    PlayerDefinition_IsFemale: THook =                ['e', 1];
    PlayerDefinition_AnimatedModelID: THook =         ['q', -244748151199456281];
    PlayerDefinition_ModelID: THook =                 ['s', -3665140426561815963];
    PlayerDefinition_Equipment: THook =               ['d', 1];

    {Player: bw}
    Player_Name: THook =                              ['d', 1];
    Player_Model: THook =                             ['b', 1];
    Player_Visible: THook =                           ['h', 1];
    Player_Definition: THook =                        ['k', 1];
    Player_CombatLevel: THook =                       ['r', 1653252197];

    {WidgetNode: bk}
    WidgetNode_ID: THook =                            ['d', 658957821];

    {Widget: hj}
    Widget_Name: THook =                              ['ca', 1];
    Widget_Text: THook =                              ['bp', 1];
    Widget_WidgetID: THook =                          ['x', -1783844909];
    Widget_ParentID: THook =                          ['az', 523966163];
    Widget_ItemID: THook =                            ['et', 187442103];
    Widget_InvIDs: THook =                            ['eo', 1];
    Widget_StackSizes: THook =                        ['ee', 1];
    Widget_ItemAmount: THook =                        ['ev', -737123673];
    Widget_Actions: THook =                           ['ck', 1];
    Widget_ActionType: THook =                        ['a', -562102831];
    Widget_Type: THook =                              ['h', 1797088875];
    Widget_IsHidden: THook =                          ['av', 1];
    Widget_AbsoluteX: THook =                         ['ae', 1036899919];
    Widget_AbsoluteY: THook =                         ['ai', 1319998847];
    Widget_RelativeX: THook =                         ['ad', 672455567];
    Widget_RelativeY: THook =                         ['ag', -870339331];
    Widget_ScrollX: THook =                           ['an', 1847987819];
    Widget_ScrollY: THook =                           ['ar', 298043615];
    Widget_Width: THook =                             ['as', 465564697];
    Widget_Height: THook =                            ['af', 1295566703];
    Widget_Children: THook =                          ['ec', 1];
    Widget_BoundsIndex: THook =                       ['er', -525123953];

    {ItemDefinition: io}
    ItemDefinition_ID: THook =                        ['u', 956581457];
    ItemDefinition_Name: THook =                      ['f', 1];
    ItemDefinition_IsMembers: THook =                 ['by', 1];
    ItemDefinition_Actions: THook =                   ['ab', 1];
    ItemDefinition_GroundActions: THook =             ['ad', 1];

    {Item: ch}
    Item_ID: THook =                                  ['d', -650261999];
    Item_StackSizes: THook =                          ['k', -1778300201];

    {Client: client}
    Client_Revision: THook =                          ['155', 1];
    Client_Client: THook =                            ['client.ay', 1];
    Client_LocalNPCs: THook =                         ['client.dq', 1];
    Client_NPCIndices: THook =                        ['client.dm', 1];
    Client_LocalPlayers: THook =                      ['client.ii', 1];
    Client_PlayerIndices: THook =                     ['ci.r', 1];
    Client_LocalPlayer: THook =                       ['ft.ik', 1];
    Client_PlayerIndex: THook =                       ['client.ig', 621221673];
    Client_LoopCycle: THook =                         ['client.bk', 1532267913];
    Client_LoginState: THook =                        ['client.bu', -2088433601];
    Client_GameState: THook =                         ['ct.av', -402345667];
    Client_CrossHairColor: THook =                    ['client.hi', 577697241];
    Client_GroundItems: THook =                       ['client.jl', 1];
    Client_CollisionMap: THook =                      ['client.w', 1];
    Client_TradingPostOffers: THook =                 ['client.qx', 1];
    Client_CameraX: THook =                           ['hx.gz', -570981729];
    Client_CameraY: THook =                           ['cw.gq', 1462660465];
    Client_CameraZ: THook =                           ['bo.gw', 503524493];
    Client_CameraPitch: THook =                       ['t.gf', -327258247];
    Client_CameraYaw: THook =                         ['fh.gt', 829749175];
    Client_Region: THook =                            ['v.fe', 1];
    Client_Plane: THook =                             ['s.iv', -854648669];
    Client_BaseX: THook =                             ['et.fl', -1399424123];
    Client_BaseY: THook =                             ['cj.fu', -777215457];
    Client_DestinationX: THook =                      ['client.ov', 118437831];
    Client_DestinationY: THook =                      ['client.ox', -1329383267];
    Client_Sine: THook =                              ['el.m', 1];
    Client_Cosine: THook =                            ['el.ae', 1];
    Client_TileHeights: THook =                       ['bi.d', 1];
    Client_TileSettings: THook =                      ['bi.k', 1];
    Client_Widgets: THook =                           ['fs.s', 1];
    Client_GameSettings: THook =                      ['hx.e', 1];
    Client_WidgetNodeCache: THook =                   ['client.kc', 1];
    Client_WidgetPositionX: THook =                   ['client.mo', 1];
    Client_WidgetPositionY: THook =                   ['client.mb', 1];
    Client_WidgetWidths: THook =                      ['client.mf', 1];
    Client_WidgetHeights: THook =                     ['client.mq', 1];
    Client_ViewPortWidth: THook =                     ['client.qt', 1678497187];
    Client_ViewPortHeight: THook =                    ['client.qm', -1798791025];
    Client_MapAngle: THook =                          ['N/A', 1];
    Client_MapScale: THook =                          ['N/A', 1];
    Client_MapOffset: THook =                         ['N/A', 1];
    Client_MenuCount: THook =                         ['client.jw', 804711719];
    Client_MenuActions: THook =                       ['client.jt', 1];
    Client_MenuOptions: THook =                       ['client.js', 1];
    Client_IsMenuOpen: THook =                        ['client.jo', 1];
    Client_MenuX: THook =                             ['bq.jq', 261096063];
    Client_MenuY: THook =                             ['y.ji', -932599241];
    Client_MenuWidth: THook =                         ['a.jv', -831017185];
    Client_MenuHeight: THook =                        ['ah.jg', 1510120775];
    Client_CurrentLevels: THook =                     ['client.jm', 1];
    Client_RealLevels: THook =                        ['client.jh', 1];
    Client_Experiences: THook =                       ['client.jj', 1];
    Client_CurrentWorld: THook =                      ['client.bj', -1255530869];
    Client_Energy: THook =                            ['client.kl', -2101713993];
    Client_Weight: THook =                            ['client.kg', -1684626721];
    I am Ggzz..
    Hackintosher

  6. #181
    Join Date
    Feb 2012
    Posts
    180
    Mentioned
    2 Post(s)
    Quoted
    84 Post(s)

    Default

    Quote Originally Posted by Brandon View Post
    Someone make a pull request with these to the reflection repo.. I'm on OSX and at work.
    Thank you!

  7. #182
    Join Date
    Nov 2010
    Location
    Cleveland, Ohio, U.S.A.
    Posts
    69
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

    Default

    Quote Originally Posted by Brandon View Post
    ReflectionRevision = '155';
    I am experiencing problems with Reflection Revision number 155.

    As far as I can tell, Reflect.Interfaces.IsOpen is not working.

    One can test this by using the OSRTestBankIsOpen1.simba program below.

    (Reflect.Bank.IsOpen invokes Reflect.Interfaces.IsOpen.)

    (Use a throwaway character for your testing.)

    Simba Code:
    program new;  // OSRTestBankIsOpen1.simba
    {$assertions on}
    {$DEFINE SMART}
    {$i Reflection/Reflection.simba}

    var
      LocPlayer: TReflectLocalPlayer;
      MyLogger: TReflectLogger;

    procedure performTasks();
    begin
      MyLogger.Debug('procedure performTasks(); begin');

      // Start with your character standing in a bank with the bank screen open.

      if (not Reflect.Bank.IsOpen) then
        MyLogger.Fatal('The bank is not open.');

      MyLogger.Debug('procedure performTasks(); end;')
    end;

    begin
      Reflect.Setup;
      LocPlayer.Create;
      MyLogger.Init('OSRTestBankIsOpen1');
      MyLogger.Level := TReflectLoggerLevel.Debug;
      MyLogger.Debug('Debug messages will be printed.');

      performTasks();
    end.

  8. #183
    Join Date
    Feb 2011
    Location
    The Future.
    Posts
    5,600
    Mentioned
    396 Post(s)
    Quoted
    1598 Post(s)

    Default

    Quote Originally Posted by Alien Technology View Post
    I am experiencing problems with Reflection Revision number 155.

    As far as I can tell, Reflect.Interfaces.IsOpen is not working.


    Open: lib/widgets/Widgets.simba

    and change TReflectWidget.GetLocation to:

    Simba Code:
    function TReflectWidget.GetLocation: TPoint;
    var
      Parent, Current: TReflectWidget;
      X, Y: Integer;
    begin
      X := 0;
      Y := 0;
      Current := Self;

      while Parent.GetParent(Current.GetParentID) do
      begin
        X += Current.GetRelativeX;
        X -= Current.GetScrollX;

        Y += Current.GetRelativeY;
        Y -= Current.GetScrollY;

        if Current.Reference <> Self.Reference then
          Current.Free;

        Current := Parent;
      end;

      if (Current.GetBoundsIndex <> -1) then
      begin
        X += Current.GetBoundsX;
        Y += Current.GetBoundsY;

        if (Current.GetType > 0) then
        begin
          X += Current.GetRelativeX;
          Y += Current.GetRelativeY;
        end;
      end else
        begin
          X += Current.GetRelativeX;
          Y += Current.GetRelativeY;
        end;

      Current.Free;
      Parent.Free;
      Result := Point(X, Y);
    end;


    It uses the correct fields "GetRelativeX and GetRelativeY".
    I am Ggzz..
    Hackintosher

  9. #184
    Join Date
    Nov 2010
    Location
    Cleveland, Ohio, U.S.A.
    Posts
    69
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

    Default

    Quote Originally Posted by Brandon View Post
    Open: lib/widgets/Widgets.simba

    and change TReflectWidget.GetLocation to [the code shown below]:

    It uses the correct fields "GetRelativeX and GetRelativeY".
    Thank you, Brandon, for your quick and accurate reply.

    I am sorry that I did not reply sooner, but I installed and tested your modification only to find yet another bug related to banking.

    TReflectWidget.GetBounds is not working.

    As one can see from program OSRWithdrawFromBank2.simba, function TReflectWidget.GetBounds is invoked in function TReflectBankItem.Withdraw when it invokes BankChild.GetBounds and subsequently gets a point that is not within the box representing the portion of the bank screen that holds the items.

    The program will go into a loop after that, so one will need to stop it.

    (Use a throwaway character for your testing.)

    Simba Code:
    program new;  // OSRWithdrawFromBank2.simba
    // Problem related to underlying changes regarding Hooks #155.
    {$assertions on}
    {$DEFINE SMART}
    {$i Reflection/Reflection.simba}

    var
      LocPlayer: TReflectLocalPlayer;
      Mouse: TReflectionMouse;
      MyLogger: TReflectLogger;

    function TReflectionBank.GetBankItem(
      Item: TReflectBankItem): TReflectWidget; override;
    var
      TheChild, TheGrandChild: TReflectPointer;
      ItemCount, I: Integer;
      BankWidget, BankChild: TReflectWidget;
      Temp: TReflectBankItem;
    // These are for debugging:
      temporary_Id: integer;
    begin
      MyLogger.Debug('function TReflectionBank.GetBankItem(parameters): TReflectWidget; begin');
      ItemCount := Reflect.Bank.ItemCount;
      BankWidget.GetWidget(Interface_Bank, WIDGET_Bank_ItemSlots_Child_Container);
      for I := 0 to ItemCount - 1 do
      begin
        BankChild.GetChild(BankWidget, I);
        Temp._Id := BankChild.GetItemId;
        temporary_Id := Temp._Id;
        MyLogger.Debug('temporary_Id: %d', [temporary_Id]);  // Item Id 1351 is Bronze axe.
        if Temp._Id = Item._Id then
        begin
          MyLogger.Debug('They are equal: I: %d', [I]);
          BankWidget.Free;
          Exit(BankChild);
        end;
      end;
      MyLogger.Debug('function TReflectionBank.GetBankItem(parameters): TReflectWidget; end;')
    end;

    function TReflectionBank.WithdrawBankItem(
      BankChild: TReflectWidget; Amount: Integer): Boolean; override;
    var
      TimeOut: TReflectTimer;
      AmountWidget: TReflectWidget;
      Box: TBox;
      Temp: TReflectBankItem;
    begin
      MyLogger.Debug('function TReflectionBank.WithdrawBankItem(parameters): Boolean; begin');
      if Amount = 0 then
        Exit(True);
      Box := BankChild.GetBounds;
      Box := [Box.X1 + 10, Box.Y1 + 10, Box.X2 - 10, Box.Y2 - 10];

      // This is the test code that I inserted into the middle of the method.
      Temp._Id := BankChild.GetItemId;
      Temp.Reference := BankChild.Reference;
      MyLogger.Debug('The Id that resulted from BankChild.GetItemId is %d.', [Temp._Id]);
      MyLogger.Debug('My character found a quantity of %d in the bank.', [Temp.getQuantity]);
      // This concludes the test code that I inserted into the middle of the method.

      if Amount = 1 then
      begin
        Reflect.Mouse.Move(Box, Mouse_Left);
        BankChild.Free;
        Exit(True);
      end;
      Reflect.Mouse.Move(Box, Mouse_Right);
      if Amount = -1 then
      begin
        Result := Reflect.Text.ChooseOption('All ', 200 + Random(100));
        BankChild.Free;
        Exit;
      end;
      if Reflect.Text.OptionExists('Withdraw-' + IntToStr(Amount) + ' ') then
        Result := Reflect.Text.ChooseOption(IntToStr(Amount) + ' ')
      else
      begin
        TimeOut.Start;
        BankChild.Interact('X');
        while (not AmountWidget.IsValid(Widget_Chat_Container, Widget_Chat_Directions_Child)) do
        begin
          Wait(100 + Random(100));
          if TimeOut.ElapsedTime > 5000 then
          begin
            BankChild.Free;
            Exit(False);
          end;
        end;
        Wait(RandomRange(500, 750));
        Reflect.Internals.ClearText;
        Reflect.KeyBoard.TypeSend(ToStr(Amount));
        Result := True;
      end;
      BankChild.Free;
      MyLogger.Debug('function TReflectionBank.WithdrawBankItem(parameters): Boolean; end;: Result = %s.', [boolToStr(result)])
    end;

    function TReflectBankItem.Withdraw(Amount: Integer): Boolean; override;
    var
      ItemCount, I, L: Integer;
      Temp: TReflectBankItem;
      BankChild, AmountWidget, SearchWidget: TReflectWidget;
      TimeOut: TReflectTimer;
      Center: TPoint;
      ShowingItems: String;
    begin
      MyLogger.Debug('function TReflectBankItem.Withdraw(Amount: Integer): Boolean; begin');
      // This is the test code that I inserted at the beginning of the method.
      MyLogger.Debug('My character found a quantity of %d in the bank (via function TReflectBankItem.Withdraw).', [self.getQuantity]);
      // This concludes the test code that I inserted at the beginning of the method.

      if Amount = 0 then
        Exit(True);
      if (not Reflect.Bank.IsOpen) or (Self._Id = 0) then
        Exit(False);
      BankChild := Reflect.Bank.GetBankItem(Self);
      Center := MiddleBox(BankChild.GetBounds);
      MyLogger.Debug('Center: Point(%d, %d)', [Center.x, Center.y]);
      if (not BankChild.IsHidden)and(PointInBox(Center,[22, 80, 480, 292])) then
        Result := Reflect.Bank.WithDrawBankItem(BankChild, Amount)
      else
      begin
        MyLogger.Debug('We are here #1', []);
        ShowingItems := Reflect.Widget.GetText(Interface_Bank, Widget_Bank_SearchText_Child);
        if Not (Pos('Showing items', ShowingItems) > 0)then
        begin
          MyLogger.Debug('We are here #2', []);
          SearchWidget.GetWidget(Interface_Bank, Widget_Bank_Search_Child);
          SearchWidget.Interact(5);
          SearchWidget.Free;
        end else
        begin
          MyLogger.Debug('We are here #3', []);
          ShowingItems := Between('<col=ff0000>', '</col>', ShowingItems);
          if (Length(ShowingItems) > 1)then
          while (Length(ShowingItems) > 1) do
          begin
            MyLogger.Debug('We are here #4', []);
            Reflect.Internals.ClearText;
            Reflect.Keyboard.TypeKey(Vk_Back);
            Wait(Random(30, 120));
            ShowingItems := Between('<col=ff0000>',
                                    '</col>', Reflect.Widget.GetText(Interface_Bank, Widget_Bank_SearchText_Child));
          end;
        end;
        TimeOut.Start;
        repeat
          MyLogger.Debug('We are here #5', []);
          Wait(RandomRange(200, 500));
        until(TimeOut.ElapsedTime > 4000)or
             (Pos('Showing items', Reflect.Widget.GetText(Interface_Bank, Widget_Bank_SearchText_Child)) > 0);
        L = 1;
        while ((BankChild.IsHidden) or
          (not PointInBox(Center,[22, 80, 480, 292]))) do
        begin
          MyLogger.Debug('We are here #6', []);
          BankChild.Free;
          Reflect.Internals.ClearText;
          Reflect.KeyBoard.TypeSend(Self.GetName, False);
          Wait(RandomRange(500, 700));
          BankChild := Reflect.Bank.GetBankItem(Self);
          Center := MiddleBox(BankChild.GetBounds);
          Inc(L);
        end;
        Result := Reflect.Bank.WithDrawBankItem(BankChild, Amount);
        If Result then
          Wait(100+Random(150));
      end;
      MyLogger.Debug('function TReflectBankItem.Withdraw(Amount: Integer): Boolean; end;: Result = %s.', [boolToStr(result)])
    end;

    function withdrawHatchet: boolean;
    var
      Booth: TReflectObject;
      BankHatchet: TReflectBankItem;
      HatchetName: string;
      InvHatchet: TReflectInvItem;
      Time: TReflectTimer;
    begin
      MyLogger.Debug('function withdrawHatchet: boolean; begin');

      HatchetName := 'Bronze axe';
      Time.Start;
      while (not Reflect.Bank.IsOpen) and (Time.ElapsedTime < 5500) do
        wait(randomRange(50,75));
      if (not Reflect.Bank.IsOpen) then
        MyLogger.Fatal('Failed to open the bank.');
      wait(randomRange(1000,1500));
      BankHatchet.Find(HatchetName);
      MyLogger.Debug('My character found that there are %d %s in the bank.', [BankHatchet.getQuantity, BankHatchet.GetName]);
      result := BankHatchet.Withdraw(1);  // Withdraw one.
      wait(randomRange(1000,1500));
      result := result and Reflect.Bank.Close;
      result := result and InvHatchet.Find(HatchetName);

      MyLogger.Debug('function withdrawHatchet: boolean; end;: Result = %s.', [boolToStr(result)])
    end;

    procedure performTasks();
    begin
      MyLogger.Debug('procedure performTasks(); begin');

      // Start with your character standing in a bank with the bank screen open.
      // Deposit a Bronze axe in your bank.  It would be best to move the Bronze axe to the first slot in your bank so that it is easy for the code to find it and so that you, the human observer, can watch it.
      // Your character's backpack should have at least one open slot, just in case this actually works.

      if not withdrawHatchet then
        MyLogger.Fatal('Failed to withdraw hatchet.');

      MyLogger.Debug('procedure performTasks(); end;')
    end;

    begin
      Reflect.Setup;
      LocPlayer.Create;
      MyLogger.Init('OSRWithdrawFromBank2');
      MyLogger.Level := TReflectLoggerLevel.Debug;
      MyLogger.Debug('Debug messages will be printed.');

      performTasks();
    end.

  10. #185
    Join Date
    Feb 2011
    Location
    The Future.
    Posts
    5,600
    Mentioned
    396 Post(s)
    Quoted
    1598 Post(s)

    Default

    Quote Originally Posted by Alien Technology View Post
    ...


    Comment out:

    X -= Current.GetScrollX;
    and
    Y -= Current.GetScrollY;


    That'll fix it for sure. Just tested it. I just pull requested the repo and it has been merged: https://github.com/KyleHunter/OSR-Re...c1d7a1bed8bdfb
    Last edited by Brandon; 10-08-2017 at 09:03 PM.
    I am Ggzz..
    Hackintosher

  11. #186
    Join Date
    Sep 2008
    Location
    Not here.
    Posts
    5,422
    Mentioned
    13 Post(s)
    Quoted
    242 Post(s)

    Default

    Quote Originally Posted by Brandon View Post
    Comment out:

    X -= Current.GetScrollX;
    and
    Y -= Current.GetScrollY;


    That'll fix it for sure. Just tested it. I just pull requested the repo and it has been merged: https://github.com/KyleHunter/OSR-Re...c1d7a1bed8bdfb
    If you remove that, the bank withdrawing offscreen items should break completely.

    https://github.com/runelite/runelite...ixin.java#L115

    You probably have some bad/mixed up hooks if that logic is broken.

  12. #187
    Join Date
    Feb 2011
    Location
    The Future.
    Posts
    5,600
    Mentioned
    396 Post(s)
    Quoted
    1598 Post(s)

    Default

    Quote Originally Posted by tls View Post
    If you remove that, the bank withdrawing offscreen items should break completely.

    https://github.com/runelite/runelite...ixin.java#L115

    You probably have some bad/mixed up hooks if that logic is broken.

    Solved it: https://github.com/KyleHunter/OSR-Reflection/pull/131

    It was just using the wrong hook for ScrollX and ScrollY.
    Last edited by Brandon; 10-11-2017 at 01:30 AM.
    I am Ggzz..
    Hackintosher

  13. #188
    Join Date
    Dec 2007
    Posts
    2,112
    Mentioned
    71 Post(s)
    Quoted
    580 Post(s)

    Default

    Hooks seem to be correct. I think the logic is off too. Here's a recursive implementation.

    CPP Code:
    std::int32_t GetWidgetX(Widget W)
    {
        if (!W)
            return -1;
        Widget Parent = GetWidgetParent(W);
        std::int32_t Result = 0;
        if (Parent)
        {
            Result = GetWidgetX(Parent) + W.GetRelativeX();
        } else
        {
            auto Xs = GetWidgetsX();
            std::int32_t Index = W.GetBoxIndex();
            if ((Index > -1) && (Index < (signed)Xs.size()))
                Result = Xs[Index];
        }
        Result -= W.GetScrollX();
        return Result;
    }

  14. #189
    Join Date
    Feb 2012
    Posts
    180
    Mentioned
    2 Post(s)
    Quoted
    84 Post(s)

    Default

    @BrandonWhenever you have time, if you could please post the new hooks .

  15. #190
    Join Date
    Dec 2007
    Posts
    2,112
    Mentioned
    71 Post(s)
    Quoted
    580 Post(s)

    Default

    I posted this in the discord earlier today: https://gist.github.com/Kasi-R/a6ff1...file-156-hooks

    They have not been checked. And are not Simba format.

  16. #191
    Join Date
    Feb 2011
    Location
    The Future.
    Posts
    5,600
    Mentioned
    396 Post(s)
    Quoted
    1598 Post(s)

    Default

    Quote Originally Posted by Pastah View Post
    @BrandonWhenever you have time, if you could please post the new hooks .

    Java Code:
    Downloading RS JarFile.
    Downloading Complete.

    Deobfuscation Started..
    Removed Methods: 3676 of 6011
    Removed Fields: 720 of 3398
    Re-Ordered Multipliers: 3517 of 31003
    Re-Ordered Arithmetics: 2181 of 35875
    Removed Exceptions: 5690 of 6012
    Removed Returns: 1069 of 11746
    Removed TryCatchBlocks: 37 of 3091
    Removed Parameters: 1221 of 1221
    Deobfuscation Finished..

        Node:                 gd
    ---------------------------------
        UID                  ->   cw
        Prev                 ->   cx
        Next                 ->   ch


        NodeDeque:            gz
    ---------------------------------
        Head                 ->   w
        Current              ->   s


        CacheableNode:        gp
    ---------------------------------
        Next                 ->   cc
        Prev                 ->   cd


        LinkedList:           gq
    ---------------------------------
        Head                 ->   w
        Current              ->   s


        HashTable:            gs
    ---------------------------------
        Head                 ->   q
        Tail                 ->   o
        Cache|Buckets        ->   s
        Index                ->   g
        Capacity             ->   w


        Queue:                gj
    ---------------------------------
        Head                 ->   w
        *InsertHead          ->   w
        *InsertTail          ->   s


        Cache:                go
    ---------------------------------
        HashTable            ->   o
        Queue                ->   g
        Remaining            ->   q
        Capacity             ->   s


        ClassData:            jc
    ---------------------------------
        Bytes                ->   e
        Methods              ->   p
        Fields               ->   g


        Rasteriser:           jq
    ---------------------------------
        Pixels               ->   af
        Width                ->   aa
        Height               ->   ay
        *CreateRasteriser    ->   de
        *SetCoordinates      ->   dt


        Rasteriser3D:         ei
    ---------------------------------
        ShadowDecay          ->   m
        SineTable            ->   f
        CosineTable          ->   ap


        Typeface:             jw
    ---------------------------------
        CharacterPixels      ->   w
        *StringWidth         ->   u
        *DrawStringWaveY     ->   f
        *DrawStringWave      ->   ap
        *DrawStrWaveAmt      ->   af
        *DrawCharacter       ->   aq
        *DrawCharAlpha       ->   av
        *DrawCharPixels      ->   ax
        *DrawCharPixelsA     ->   al


        IndexedRGB:           jo
    ---------------------------------
        Pixels               ->   s
        Palette              ->   w


        ImageRGB:             ky
    ---------------------------------
        Pixels               ->   w
        Width                ->   s
        Height               ->   q
        MaxWidth             ->   v
        MaxHeight            ->   p
        *CopyPixels          ->   u
        *CopyPixelsA         ->   m
        *ShapeImage          ->   h


        Keyboard:             an
    ---------------------------------
        *KeyPressed          ->   keyPressed
        *KeyReleased         ->   keyReleased
        *KeyTyped            ->   keyTyped
        *FocusGaiend         ->   focusGained
        *FocusLost           ->   focusLost


        GameShell:            bv
    ---------------------------------
        *Error               ->   am
        *Start               ->   start
        *Stop                ->   stop
        *Destroy             ->   destroy
        *Paint               ->   paint
        *Update              ->   update


        Stream:               fz
    ---------------------------------
        Payload              ->   w
        CRC                  ->   q
        *ApplyRSA            ->   ah
        *GetUnsignedByte     ->   r


        BufferedConnection:   fe
    ---------------------------------
        InputStream          ->   w
        OutputStream         ->   s
        Socket               ->   q
        Payload              ->   p
        IsClosed             ->   o
        *Available           ->   q
        *Read                ->   o
        *Write               ->   g


        CollisionMap:         fw
    ---------------------------------
        Width                ->   ax    *  -1281689233
        Height               ->   av    *  -609917995
        Adjacency            ->   al
        *Reset               ->   w


        Animable:             en
    ---------------------------------
        ModelHeight          ->   cu    *  1826389057


        Region:               eu
    ---------------------------------
        Tiles                ->   v
        InteractableObjects  ->   d


        AnimableNode:         ci
    ---------------------------------
        ID                   ->   w
        Animation            ->   p
        Flags                ->   s
        Orientation          ->   q
        Plane                ->   o
        X                    ->   g
        Y                    ->   v


        Boundary:             ef
    ---------------------------------
        ID                   ->   e     *  396011703
        Flags                ->   d     *  -1531671981
        Plane                ->   w     *  711197065
        Height               ->   g     *  -123148621
        X                    ->   s     *  -945213695
        Y                    ->   q     *  -382955073
        Orientation          ->   o     *  1546000493
        Renderable           ->   v
        OldRenderable        ->   p


        WallDecoration:       ec
    ---------------------------------
        ID                   ->   x     *  256448349
        Flags                ->   z     *  -1853368037
        Plane                ->   w     *  -741340865
        Height               ->   g     *  1718902575
        X                    ->   s     *  1221186097
        Y                    ->   q     *  -1936129171
        RelativeX            ->   v     *  -364698591
        RelativeY            ->   p     *  -1856849269
        Orientation          ->   o     *  -1285683311
        Renderable           ->   e
        OldRenderable        ->   d


        GroundDecoration:     dg
    ---------------------------------
        ID                   ->   g     *  -1485454357
        Flags                ->   v     *  -279196355
        X                    ->   s     *  1065573783
        Y                    ->   q     *  944584781
        Plane                ->   w     *  1342595845
        Renderable           ->   o


        Interactable:         el
    ---------------------------------
        Renderable           ->   g
        ID                   ->   u     *  -860923379
        Flags                ->   t     *  -86285207
        Orientation          ->   v     *  -1548847697
        Plane                ->   w     *  -604076057
        Height               ->   s     *  -1495885479
        X                    ->   q     *  754706703
        Y                    ->   o     *  -1334738467
        RelativeX            ->   p     *  -1329892511
        RelativeY            ->   d     *  262140159
        SizeX                ->   e     *  1606333247
        SizeY                ->   x     *  737228437


        SceneTile:            ev
    ---------------------------------
        Boundary             ->   p
        SceneTile            ->   r
        Interactables        ->   n
        WallDecoration       ->   e
        GroundDecoration     ->   d
        X                    ->   s     *  736790635
        Y                    ->   q     *  -1811862291
        Plane                ->   o     *  336963789


        TradingPost:           h
    ---------------------------------
        Status               ->   w
        ItemID               ->   s     *  -1204360795
        Price                ->   q     *  -706180633
        Quantity             ->   o     *  300768847
        Transferred          ->   g     *  823310939
        Spent                ->   v     *  1718883181
        QueryIDs             ->   N/A


        Model:                eh
    ---------------------------------
        IndicesX             ->   x
        IndicesY             ->   z
        IndicesZ             ->   n
        IndicesLength        ->   d
        VerticesX            ->   v
        VerticesY            ->   p
        VerticesZ            ->   e
        VerticesLength       ->   g
        TexIndicesX          ->   u
        TexIndicesY          ->   t
        TexIndicesZ          ->   a
        TexVerticesX         ->   c
        TexVerticesY         ->   r
        TexVerticesZ         ->   m
        TexVerticesLength    ->   k
        ShadowIntensity      ->   ay
        FitsSingleTile       ->   N/A
        *Translate           ->   f
        *RenderAtPoint       ->   cd


        AnimationSequence:    jt
    ---------------------------------
        ControlFlow          ->   z


        CombatInfo1:          bu
    ---------------------------------
        Health               ->   q     *  111613453
        HealthRatio          ->   s     *  -1105050915


        CombatInfo2:          io
    ---------------------------------
        HealthScale          ->   a     *  451550863


        CombatInfoList:       gq
    ---------------------------------
        Head                 ->   w
        Current              ->   s


        CombatInfoHolder:     cg
    ---------------------------------
        CombatInfoList       ->   o
        CombatInfo2          ->   q


        Entity:               by
    ---------------------------------
        AnimationID          ->   q     *  598892947
        AnimationDelay       ->   bt    *  1966438689
        SpokenText           ->   aj
        HitDamages           ->   ai
        HitTypes             ->   au
        HitCycle             ->   an
        QueueX               ->   cg
        QueueY               ->   cm
        QueueTraversed       ->   cr
        QueueLength          ->   cj    *  -461728553
        LocalX               ->   af    *  -100322069
        LocalY               ->   aa    *  636976329
        IsAnimating          ->   ac
        CombatCycle          ->   N/A
        InteractingIndex     ->   bf    *  1118222207
        Orientation          ->   cl    *  1664866577
        CombatInfoList       ->   bj
        Height               ->   co    *  771232947


        NPCDefinition:        ia
    ---------------------------------
        ID                   ->   g     *  -1075314869
        Name                 ->   v
        Actions              ->   k
        ModelIDs             ->   e
        CombatLevel          ->   r     *  622151053


        NPC:                  cm
    ---------------------------------
        Definition           ->   w


        PlayerDefinition:     hs
    ---------------------------------
        ID                   ->   o     *  -343234703
        IsFemale             ->   q
        AnimatedModelID      ->   g     *  -4584684847963398125
        ModelID              ->   v     *  7206291814291552267
        Equipment            ->   w


        Player:               bk
    ---------------------------------
        Name                 ->   w
        Model                ->   a
        Visible              ->   y
        Definition           ->   s
        CombatLevel          ->   p     *  1517425253


        WidgetNode:           bq
    ---------------------------------
        ID                   ->   w     *  500626991


        Widget:               hj
    ---------------------------------
        Name                 ->   cc
        Text                 ->   bu
        ID                   ->   b     *  -1508214553
        ParentID             ->   av    *  108762297
        ItemID               ->   ef    *  -1286688589
        Items                ->   ew
        ItemStackSizes       ->   en
        ItemAmount           ->   er    *  -566767087
        Actions              ->   cu
        ActionType           ->   k     *  1250367033
        Type                 ->   y     *  -1695511497
        IsHidden             ->   al
        AbsoluteX            ->   ap    *  1342898993
        AbsoluteY            ->   af    *  -477139197
        RelativeX            ->   aw    *  -364200181
        RelativeY            ->   az    *  534372669
        ScrollX              ->   ae    *  -245649271
        ScrollY              ->   ab    *  1094061041
        Width                ->   at    *  1459098197
        Height               ->   ao    *  -1142561665
        Children             ->   ek
        BoundsIndex          ->   eq    *  196806679
        *SwapItems           ->   x


        ItemDefinition:       ii
    ---------------------------------
        ID                   ->   t     *  1458897017
        Name                 ->   i
        IsMembers            ->   aa
        Actions              ->   ay
        GroundActions        ->   aw


        Item:                 cd
    ---------------------------------
        ID                   ->   w     *  -24083525
        Quantity             ->   s     *  628658673


        Client:           client
    ---------------------------------
        Revision             ->   156
        Client               ->   client.an
        LocalNPCs            ->   client.dg
        NPCIndices           ->   client.db
        LocalPlayers         ->   client.ib
        PlayerIndices        ->   cq.p
        LocalPlayer          ->   bo.ik
        PlayerIndex          ->   client.ir *  -892682089
        GameCycle            ->   client.bq *  1443920379
        LoginState           ->   client.bd *  556165409
        GameState            ->   ch.al *  1898131193
        CrosshairColour      ->   client.hb *  1448095401
        GroundItems          ->   client.jt
        CollisionMap         ->   client.w
        TradingPostOffers    ->   client.qo
        CameraX              ->   fa.gw *  39076377
        CameraY              ->   co.gm *  98824363
        CameraZ              ->   he.gi *  1661239913
        CameraPitch          ->   j.gx  *  998120087
        CameraYaw            ->   bu.gv *  752206111
        Region               ->   o.fi
        Plane                ->   ar.io *  -230003367
        BaseX                ->   r.fy  *  411265
        BaseY                ->   jf.fx *  568974097
        DestX                ->   client.op *  -754676071
        DestY                ->   client.oz *  2065840937
        SineTable            ->   ei.f
        CosineTable          ->   ei.ap
        TileHeights          ->   bn.w
        TileSettings         ->   bn.s
        Widgets              ->   hz.v
        WidgetSettings       ->   hx.q
        WidgetNodeCache      ->   client.kr
        WidgetPositionsX     ->   client.mx
        WidgetPositionsY     ->   client.ms
        WidgetWidths         ->   client.mv
        WidgetHeights        ->   client.mw
        ViewPortWidth        ->   client.qe *  1924384103
        ViewPortHeight       ->   client.qj *  -1878811661
        MapAngle             ->   client.gf *  1070555481
        MapScale             ->   N/A
        MapOffset            ->   N/A
        MenuCount            ->   client.ja *  1795462703
        MenuActions          ->   client.jx
        MenuOptions          ->   client.jc
        IsMenuOpen           ->   client.jm
        MenuX                ->   z.jg  *  -368899267
        MenuY                ->   ay.jn *  1570994549
        MenuWidth            ->   p.jp  *  701281191
        MenuHeight           ->   b.jr  *  -520684283
        CurrentLevels        ->   client.jw
        RealLevels           ->   client.jl
        Experiences          ->   client.jy
        CurrentWorld         ->   client.br *  395977137
        EnergyLevel          ->   client.km *  1811878805
        PlayerWeight         ->   client.kl *  112151753


    Simba Code:
    const
        ReflectionRevision = '156';

    {Node: gd}
    Node_UID: THook =                                 ['cw', 1];
    Node_Prev: THook =                                ['cx', 1];
    Node_Next: THook =                                ['ch', 1];

    {NodeDeque: gz}
    NodeDeque_Head: THook =                           ['w', 1];
    NodeDeque_Current: THook =                        ['s', 1];

    {Cacheable: gp}
    Cacheable_Next: THook =                           ['cc', 1];
    Cacheable_Prev: THook =                           ['cd', 1];

    {LinkedList: gq}
    LinkedList_Head: THook =                          ['w', 1];
    LinkedList_Current: THook =                       ['s', 1];

    {HashTable: gs}
    HashTable_Head: THook =                           ['q', 1];
    HashTable_Tail: THook =                           ['o', 1];
    HashTable_Buckets: THook =                        ['s', 1];
    HashTable_Index: THook =                          ['g', 1];
    HashTable_Size: THook =                           ['w', 1];

    {Queue: gj}
    Queue_Head: THook =                               ['w', 1];

    {Cache: go}
    Cache_HashTable: THook =                          ['o', 1];
    Cache_Queue: THook =                              ['g', 1];
    Cache_Remaining: THook =                          ['q', 1];
    Cache_Capacity: THook =                           ['s', 1];

    {ClassData: jc}
    ClassData_Bytes: THook =                          ['e', 1];
    ClassData_Methods: THook =                        ['p', 1];
    ClassData_Fields: THook =                         ['g', 1];

    {Rasteriser: jq}
    Rasteriser_Pixels: THook =                        ['af', 1];
    Rasteriser_Width: THook =                         ['aa', 1];
    Rasteriser_Height: THook =                        ['ay', 1];

    {Rasteriser3D: ei}
    Rasteriser3D_ShadowDecay: THook =                 ['m', 1];
    Rasteriser3D_SineTable: THook =                   ['f', 1];
    Rasteriser3D_CosineTable: THook =                 ['ap', 1];

    {Typeface: jw}
    Typeface_CharacterPixels: THook =                 ['w', 1];

    {IndexedRGB: jo}
    IndexedRGB_Pixels: THook =                        ['s', 1];
    IndexedRGB_Palette: THook =                       ['w', 1];

    {ImageRGB: ky}
    ImageRGB_Pixels: THook =                          ['w', 1];
    ImageRGB_Width: THook =                           ['s', 1];
    ImageRGB_Height: THook =                          ['q', 1];
    ImageRGB_MaxWidth: THook =                        ['v', 1];
    ImageRGB_MaxHeight: THook =                       ['p', 1];

    {Keyboard: an}

    {GameShell: bv}

    {Buffer: fz}
    Buffer_Payload: THook =                           ['w', 1];
    Buffer_CRC: THook =                               ['q', 1];

    {BufferedConnection: fe}
    BufferedConnection_InputStream: THook =           ['w', 1];
    BufferedConnection_OutputStream: THook =          ['s', 1];
    BufferedConnection_Socket: THook =                ['q', 1];
    BufferedConnection_Payload: THook =               ['p', 1];
    BufferedConnection_IsClosed: THook =              ['o', 1];

    {CollisionMap: fw}
    CollisionMap_Width: THook =                       ['ax', -1281689233];
    CollisionMap_Height: THook =                      ['av', -609917995];
    CollisionMap_Adjacency: THook =                   ['al', 1];

    {Renderable: en}
    Renderable_ModelHeight: THook =                   ['cu', 1826389057];

    {Region: eu}
    Region_SceneTiles: THook =                        ['v', 1];
    Region_InteractableObjects: THook =               ['d', 1];

    {AnimableNode: ci}
    AnimableNode_ID: THook =                          ['w', 1];
    AnimableNode_Animation: THook =                   ['p', 1];
    AnimableNode_Flags: THook =                       ['s', 1];
    AnimableNode_Orientation: THook =                 ['q', 1];
    AnimableNode_Plane: THook =                       ['o', 1];
    AnimableNode_X: THook =                           ['g', 1];
    AnimableNode_Y: THook =                           ['v', 1];

    {BoundaryObject: ef}
    BoundaryObject_ID: THook =                        ['e', 396011703];
    BoundaryObject_Flags: THook =                     ['d', -1531671981];
    BoundaryObject_Plane: THook =                     ['w', 711197065];
    BoundaryObject_Height: THook =                    ['g', -123148621];
    BoundaryObject_LocalX: THook =                    ['s', -945213695];
    BoundaryObject_LocalY: THook =                    ['q', -382955073];
    BoundaryObject_Orientation: THook =               ['o', 1546000493];
    BoundaryObject_Render: THook =                    ['v', 1];
    BoundaryObject_Render2: THook =                   ['p', 1];

    {WallDecoration: ec}
    WallDecoration_ID: THook =                        ['x', 256448349];
    WallDecoration_Flags: THook =                     ['z', -1853368037];
    WallDecoration_Plane: THook =                     ['w', -741340865];
    WallDecoration_Height: THook =                    ['g', 1718902575];
    WallDecoration_LocalX: THook =                    ['s', 1221186097];
    WallDecoration_LocalY: THook =                    ['q', -1936129171];
    WallDecoration_RelativeX: THook =                 ['v', -364698591];
    WallDecoration_RelativeY: THook =                 ['p', -1856849269];
    WallDecoration_Orientation: THook =               ['o', -1285683311];
    WallDecoration_Renderable: THook =                ['e', 1];
    WallDecoration_Renderable2: THook =               ['d', 1];

    {FloorDecoration: dg}
    FloorDecoration_ID: THook =                       ['g', -1485454357];
    FloorDecoration_Flags: THook =                    ['v', -279196355];
    FloorDecoration_LocalX: THook =                   ['s', 1065573783];
    FloorDecoration_LocalY: THook =                   ['q', 944584781];
    FloorDecoration_Plane: THook =                    ['w', 1342595845];
    FloorDecoration_Render: THook =                   ['o', 1];

    {GameObject: el}
    GameObject_Render: THook =                        ['g', 1];
    GameObject_ID: THook =                            ['u', -860923379];
    GameObject_Flags: THook =                         ['t', -86285207];
    GameObject_Orientation: THook =                   ['v', -1548847697];
    GameObject_Plane: THook =                         ['w', -604076057];
    GameObject_Height: THook =                        ['s', -1495885479];
    GameObject_WorldX: THook =                        ['q', 754706703];
    GameObject_WorldY: THook =                        ['o', -1334738467];
    GameObject_LocalX: THook =                        ['p', -1329892511];
    GameObject_LocalY: THook =                        ['d', 262140159];
    GameObject_OffsetX: THook =                       ['e', 1606333247];
    GameObject_OffsetY: THook =                       ['x', 737228437];

    {SceneTile: ev}
    SceneTile_BoundaryObject: THook =                 ['p', 1];
    SceneTile_SceneTileObject: THook =                ['r', 1];
    SceneTile_GameObject: THook =                     ['n', 1];
    SceneTile_WallDecoration: THook =                 ['e', 1];
    SceneTile_GroundDecoration: THook =               ['d', 1];
    SceneTile_LocalX: THook =                         ['s', 736790635];
    SceneTile_LocalY: THook =                         ['q', -1811862291];
    SceneTile_Plane: THook =                          ['o', 336963789];

    {GrandExchange: h}
    TradingPost_Status: THook =                       ['w', 1];
    TradingPost_ItemID: THook =                       ['s', -1204360795];
    TradingPost_Price: THook =                        ['q', -706180633];
    TradingPost_Quantity: THook =                     ['o', 300768847];
    TradingPost_Transferred: THook =                  ['g', 823310939];
    TradingPost_Spent: THook =                        ['v', 1718883181];
    TradingPost_QueryIDs: THook =                     ['N/A', 1];

    {{Model: eh}
    Model_IndicesX: THook =                           ['x', 1];
    Model_IndicesY: THook =                           ['z', 1];
    Model_IndicesZ: THook =                           ['n', 1];
    Model_IndicesLength: THook =                      ['d', 1];
    Model_VerticesX: THook =                          ['v', 1];
    Model_VerticesY: THook =                          ['p', 1];
    Model_VerticesZ: THook =                          ['e', 1];
    Model_VerticesLength: THook =                     ['g', 1];
    Model_TexIndicesX: THook =                        ['u', 1];
    Model_TexIndicesY: THook =                        ['t', 1];
    Model_TexIndicesZ: THook =                        ['a', 1];
    Model_TexVerticesX: THook =                       ['c', 1];
    Model_TexVerticesY: THook =                       ['r', 1];
    Model_TexVerticesZ: THook =                       ['m', 1];
    Model_TexVerticesLength: THook =                  ['k', 1];
    Model_ShadowIntensity: THook =                    ['ay', 1];
    Model_FitsSingleTile: THook =                     ['N/A', 1];

    {AnimationSequence: jt}
    AnimationSequence_ControlFlow: THook =            ['z', 1];

    {CombatInfo1: bu}
    CombatInfo1_Health: THook =                       ['q', 111613453];
    CombatInfo1_HealthRatio: THook =                  ['s', -1105050915];

    {CombatInfo2: io}
    CombatInfo2_HealthScale: THook =                  ['a', 451550863];

    {CombatInfoList: gq}
    CombatInfoList_Head: THook =                      ['w', 1];
    CombatInfoList_Current: THook =                   ['s', 1];

    {CombatInfoHolder: cg}
    CombatInfoHolder_CombatInfoList: THook =          ['o', 1];
    CombatInfoHolder_CombatInfo2: THook =             ['q', 1];

    {Actor: by}
    Actor_Animation: THook =                          ['q', 598892947];
    Actor_AnimationDelay: THook =                     ['bt', 1966438689];
    Actor_SpokenText: THook =                         ['aj', 1];
    Actor_HitDamages: THook =                         ['ai', 1];
    Actor_HitTypes: THook =                           ['au', 1];
    Actor_HitCycle: THook =                           ['an', 1];
    Actor_QueueX: THook =                             ['cg', 1];
    Actor_QueueY: THook =                             ['cm', 1];
    Actor_QueueTraversed: THook =                     ['cr', 1];
    Actor_QueueSize: THook =                          ['cj', -461728553];
    Actor_WorldX: THook =                             ['af', -100322069];
    Actor_WorldY: THook =                             ['aa', 636976329];
    Actor_IsAnimating: THook =                        ['ac', 1];
    Actor_CombatCycle: THook =                        ['N/A', 1];
    Actor_InteractingIndex: THook =                   ['bf', 1118222207];
    Actor_Orientation: THook =                        ['cl', 1664866577];
    Actor_CombatInfoList: THook =                     ['bj', 1];
    Actor_Height: THook =                             ['co', 771232947];

    {NPCDefinition: ia}
    NPCDefinition_ID: THook =                         ['g', -1075314869];
    NPCDefinition_Name: THook =                       ['v', 1];
    NPCDefinition_Actions: THook =                    ['k', 1];
    NPCDefinition_ModelIDs: THook =                   ['e', 1];
    NPCDefinition_CombatLevel: THook =                ['r', 622151053];

    {NPC: cm}
    NPC_Definition: THook =                           ['w', 1];

    {PlayerDefinition: hs}
    PlayerDefinition_ID: THook =                      ['o', -343234703];
    PlayerDefinition_IsFemale: THook =                ['q', 1];
    PlayerDefinition_AnimatedModelID: THook =         ['g', -4584684847963398125];
    PlayerDefinition_ModelID: THook =                 ['v', 7206291814291552267];
    PlayerDefinition_Equipment: THook =               ['w', 1];

    {Player: bk}
    Player_Name: THook =                              ['w', 1];
    Player_Model: THook =                             ['a', 1];
    Player_Visible: THook =                           ['y', 1];
    Player_Definition: THook =                        ['s', 1];
    Player_CombatLevel: THook =                       ['p', 1517425253];

    {WidgetNode: bq}
    WidgetNode_ID: THook =                            ['w', 500626991];

    {Widget: hj}
    Widget_Name: THook =                              ['cc', 1];
    Widget_Text: THook =                              ['bu', 1];
    Widget_WidgetID: THook =                          ['b', -1508214553];
    Widget_ParentID: THook =                          ['av', 108762297];
    Widget_ItemID: THook =                            ['ef', -1286688589];
    Widget_InvIDs: THook =                            ['ew', 1];
    Widget_StackSizes: THook =                        ['en', 1];
    Widget_ItemAmount: THook =                        ['er', -566767087];
    Widget_Actions: THook =                           ['cu', 1];
    Widget_ActionType: THook =                        ['k', 1250367033];
    Widget_Type: THook =                              ['y', -1695511497];
    Widget_IsHidden: THook =                          ['al', 1];
    Widget_AbsoluteX: THook =                         ['ap', 1342898993];
    Widget_AbsoluteY: THook =                         ['af', -477139197];
    Widget_RelativeX: THook =                         ['aw', -364200181];
    Widget_RelativeY: THook =                         ['az', 534372669];
    Widget_ScrollX: THook =                           ['ae', -245649271];
    Widget_ScrollY: THook =                           ['ab', 1094061041];
    Widget_Width: THook =                             ['at', 1459098197];
    Widget_Height: THook =                            ['ao', -1142561665];
    Widget_Children: THook =                          ['ek', 1];
    Widget_BoundsIndex: THook =                       ['eq', 196806679];

    {ItemDefinition: ii}
    ItemDefinition_ID: THook =                        ['t', 1458897017];
    ItemDefinition_Name: THook =                      ['i', 1];
    ItemDefinition_IsMembers: THook =                 ['aa', 1];
    ItemDefinition_Actions: THook =                   ['ay', 1];
    ItemDefinition_GroundActions: THook =             ['aw', 1];

    {Item: cd}
    Item_ID: THook =                                  ['w', -24083525];
    Item_StackSizes: THook =                          ['s', 628658673];

    {Client: client}
    Client_Revision: THook =                          ['156', 1];
    Client_Client: THook =                            ['client.an', 1];
    Client_LocalNPCs: THook =                         ['client.dg', 1];
    Client_NPCIndices: THook =                        ['client.db', 1];
    Client_LocalPlayers: THook =                      ['client.ib', 1];
    Client_PlayerIndices: THook =                     ['cq.p', 1];
    Client_LocalPlayer: THook =                       ['bo.ik', 1];
    Client_PlayerIndex: THook =                       ['client.ir', -892682089];
    Client_LoopCycle: THook =                         ['client.bq', 1443920379];
    Client_LoginState: THook =                        ['client.bd', 556165409];
    Client_GameState: THook =                         ['ch.al', 1898131193];
    Client_CrossHairColor: THook =                    ['client.hb', 1448095401];
    Client_GroundItems: THook =                       ['client.jt', 1];
    Client_CollisionMap: THook =                      ['client.w', 1];
    Client_TradingPostOffers: THook =                 ['client.qo', 1];
    Client_CameraX: THook =                           ['fa.gw', 39076377];
    Client_CameraY: THook =                           ['co.gm', 98824363];
    Client_CameraZ: THook =                           ['he.gi', 1661239913];
    Client_CameraPitch: THook =                       ['j.gx', 998120087];
    Client_CameraYaw: THook =                         ['bu.gv', 752206111];
    Client_Region: THook =                            ['o.fi', 1];
    Client_Plane: THook =                             ['ar.io', -230003367];
    Client_BaseX: THook =                             ['r.fy', 411265];
    Client_BaseY: THook =                             ['jf.fx', 568974097];
    Client_DestinationX: THook =                      ['client.op', -754676071];
    Client_DestinationY: THook =                      ['client.oz', 2065840937];
    Client_Sine: THook =                              ['ei.f', 1];
    Client_Cosine: THook =                            ['ei.ap', 1];
    Client_TileHeights: THook =                       ['bn.w', 1];
    Client_TileSettings: THook =                      ['bn.s', 1];
    Client_Widgets: THook =                           ['hz.v', 1];
    Client_GameSettings: THook =                      ['hx.q', 1];
    Client_WidgetNodeCache: THook =                   ['client.kr', 1];
    Client_WidgetPositionX: THook =                   ['client.mx', 1];
    Client_WidgetPositionY: THook =                   ['client.ms', 1];
    Client_WidgetWidths: THook =                      ['client.mv', 1];
    Client_WidgetHeights: THook =                     ['client.mw', 1];
    Client_ViewPortWidth: THook =                     ['client.qe', 1924384103];
    Client_ViewPortHeight: THook =                    ['client.qj', -1878811661];
    Client_MapAngle: THook =                          ['client.gf', 1070555481];
    Client_MapScale: THook =                          ['N/A', 1];
    Client_MapOffset: THook =                         ['N/A', 1];
    Client_MenuCount: THook =                         ['client.ja', 1795462703];
    Client_MenuActions: THook =                       ['client.jx', 1];
    Client_MenuOptions: THook =                       ['client.jc', 1];
    Client_IsMenuOpen: THook =                        ['client.jm', 1];
    Client_MenuX: THook =                             ['z.jg', -368899267];
    Client_MenuY: THook =                             ['ay.jn', 1570994549];
    Client_MenuWidth: THook =                         ['p.jp', 701281191];
    Client_MenuHeight: THook =                        ['b.jr', -520684283];
    Client_CurrentLevels: THook =                     ['client.jw', 1];
    Client_RealLevels: THook =                        ['client.jl', 1];
    Client_Experiences: THook =                       ['client.jy', 1];
    Client_CurrentWorld: THook =                      ['client.br', 395977137];
    Client_Energy: THook =                            ['client.km', 1811878805];
    Client_Weight: THook =                            ['client.kl', 112151753];



    My SineTable and CosineTable broke.. I will fix it in a sec.. It's not used in the include atm anyway..


    EDIT: Fixed SineTable and CosineTable.
    EDIT: Fixed TileHeights.
    Last edited by Brandon; 10-22-2017 at 12:53 AM.
    I am Ggzz..
    Hackintosher

  17. #192
    Join Date
    Feb 2012
    Posts
    180
    Mentioned
    2 Post(s)
    Quoted
    84 Post(s)

    Default

    Much appreciated Brandon! <3

    I think

    Client_TileHeights: THook = ['jm.a', 1];

    might be incorrect, should be ['bn.w', 1];

  18. #193
    Join Date
    Feb 2011
    Location
    The Future.
    Posts
    5,600
    Mentioned
    396 Post(s)
    Quoted
    1598 Post(s)

    Default

    Quote Originally Posted by Pastah View Post
    Much appreciated Brandon! <3

    I think

    Client_TileHeights: THook = ['jm.a', 1];

    might be incorrect, should be ['bn.w', 1];

    Fixed. The hook for that was super old and still worked up to 155. Didn't work in 156 (although it was found in the exact same spot) but has been updated to a stronger pattern now

    Same for TileSettings (even though TileSettings worked, I updated the hook so that it won't give false-positives and will put "N/A" if broken or non-existent).
    Last edited by Brandon; 10-22-2017 at 01:00 AM.
    I am Ggzz..
    Hackintosher

  19. #194
    Join Date
    Apr 2017
    Posts
    54
    Mentioned
    1 Post(s)
    Quoted
    15 Post(s)

    Default

    Quote Originally Posted by Brandon View Post
    Java Code:
    Downloading RS JarFile.
    Downloading Complete.

    Deobfuscation Started..
    Removed Methods: 3676 of 6011
    Removed Fields: 720 of 3398
    Re-Ordered Multipliers: 3517 of 31003
    Re-Ordered Arithmetics: 2181 of 35875
    Removed Exceptions: 5690 of 6012
    Removed Returns: 1069 of 11746
    Removed TryCatchBlocks: 37 of 3091
    Removed Parameters: 1221 of 1221
    Deobfuscation Finished..
    Thanks! Is that a public or private deobber? I've cloned Kyle's deobber from git but am getting a nullpointer originating from the EqualSwap analyzer (below).

    Code:
    Gamepack already downloaded..
    
    Beginning Deob..
    Removed 3628 Dummy Methods (922.51 ms)
    Reordered 3289 Multiplier Instructions (151.15 ms)
    failed running deobber - eUpdater.deob.EqualSwap@1e6d1014
    java.lang.NullPointerException
    	at eUpdater.searchers.Searcher.find(Searcher.java:161)
    	at eUpdater.deob.EqualSwap.Run(EqualSwap.java:133)
    	at eUpdater.deob.EqualSwap.Deob(EqualSwap.java:632)
    	at eUpdater.deob.Deobsfucate.runAnalysers(Deobsfucate.java:28)
    	at eUpdater.deob.Deobsfucate.Run(Deobsfucate.java:45)
    	at eUpdater.main.eUpdater.deobPack(eUpdater.java:30)
    	at eUpdater.main.eUpdater.start(eUpdater.java:52)
    	at eUpdater.main.eUpdater.main(eUpdater.java:64)
    
    Process finished with exit code 0

  20. #195
    Join Date
    Feb 2011
    Location
    The Future.
    Posts
    5,600
    Mentioned
    396 Post(s)
    Quoted
    1598 Post(s)

    Default

    Quote Originally Posted by 86_64 View Post
    Thanks! Is that a public or private deobber? I've cloned Kyle's deobber from git but am getting a nullpointer originating from the EqualSwap analyzer (below).

    Code:
    Gamepack already downloaded..
    
    Beginning Deob..
    Removed 3628 Dummy Methods (922.51 ms)
    Reordered 3289 Multiplier Instructions (151.15 ms)
    failed running deobber - eUpdater.deob.EqualSwap@1e6d1014
    java.lang.NullPointerException
    	at eUpdater.searchers.Searcher.find(Searcher.java:161)
    	at eUpdater.deob.EqualSwap.Run(EqualSwap.java:133)
    	at eUpdater.deob.EqualSwap.Deob(EqualSwap.java:632)
    	at eUpdater.deob.Deobsfucate.runAnalysers(Deobsfucate.java:28)
    	at eUpdater.deob.Deobsfucate.Run(Deobsfucate.java:45)
    	at eUpdater.main.eUpdater.deobPack(eUpdater.java:30)
    	at eUpdater.main.eUpdater.start(eUpdater.java:52)
    	at eUpdater.main.eUpdater.main(eUpdater.java:64)
    
    Process finished with exit code 0

    My deobfuscator & updater is private. I'm working on porting it to a .dll so everyone can just load it in Simba and update their hooks when the client updates.
    I am Ggzz..
    Hackintosher

  21. #196
    Join Date
    Apr 2016
    Posts
    4
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Hey Brandon, a leecher here. Please update those hookers, thanks!

  22. #197
    Join Date
    Feb 2011
    Location
    The Future.
    Posts
    5,600
    Mentioned
    396 Post(s)
    Quoted
    1598 Post(s)

    Default

    Quote Originally Posted by Icaro10100 View Post
    Hey Brandon, a leecher here. Please update those hookers, thanks!

    Note a few fields actually broke this update.. apparently there were quite a bit of changes to Client. I'll look into them and fix them accordingly.

    For BaseX, BaseY, they changed from GetStatic, GetStatic to GetField, GetStatic. Fixed.

    For Player index.. still looking into it.



    Java Code:
    Downloading RS JarFile.
    Downloading Complete.

    Deobfuscation Started..
    Removed Methods: 3722 of 6121
    Removed Fields: 549 of 3611
    Re-Ordered Multipliers: 3520 of 29275
    Re-Ordered Arithmetics: 2203 of 35850
    Removed Exceptions: 5778 of 6107
    Removed Returns: 1072 of 12024
    Removed TryCatchBlocks: 36 of 3102
    Removed Parameters: 1192 of 1192
    Deobfuscation Finished..

        Node:                 gh
    ---------------------------------
        UID                  ->   ci
        Prev                 ->   cb
        Next                 ->   co


        NodeDeque:            go
    ---------------------------------
        Head                 ->   m
        Current              ->   p


        CacheableNode:        gu
    ---------------------------------
        Next                 ->   ch
        Prev                 ->   cf


        LinkedList:           go
    ---------------------------------
        Head                 ->   m
        Current              ->   p


        HashTable:            gx
    ---------------------------------
        Head                 ->   i
        Tail                 ->   j
        Cache|Buckets        ->   p
        Index                ->   v
        Capacity             ->   m


        Queue:                gq
    ---------------------------------
        Head                 ->   m
        *InsertHead          ->   m
        *InsertTail          ->   p


        Cache:                gr
    ---------------------------------
        HashTable            ->   j
        Queue                ->   v
        Remaining            ->   i
        Capacity             ->   p


        ClassData:            kr
    ---------------------------------
        Bytes                ->   m
        Methods              ->   l
        Fields               ->   x


        Rasteriser:           ky
    ---------------------------------
        Pixels               ->   ao
        Width                ->   aq
        Height               ->   ab
        *CreateRasteriser    ->   cl
        *SetCoordinates      ->   cq


        Rasteriser3D:         eq
    ---------------------------------
        ShadowDecay          ->   s
        SineTable            ->   q
        CosineTable          ->   al


        Typeface:             jg
    ---------------------------------
        CharacterPixels      ->   m
        *StringWidth         ->   l
        *DrawStringWaveY     ->   u
        *DrawStringWave      ->   r
        *DrawStrWaveAmt      ->   o
        *DrawCharacter       ->   ag
        *DrawCharAlpha       ->   av
        *DrawCharPixels      ->   ap
        *DrawCharPixelsA     ->   ak


        IndexedRGB:           ko
    ---------------------------------
        Pixels               ->   p
        Palette              ->   m


        ImageRGB:             kd
    ---------------------------------
        Pixels               ->   m
        Width                ->   p
        Height               ->   i
        MaxWidth             ->   x
        MaxHeight            ->   e
        *CopyPixels          ->   c
        *CopyPixelsA         ->   r
        *ShapeImage          ->   y


        Keyboard:             ae
    ---------------------------------
        *KeyPressed          ->   keyPressed
        *KeyReleased         ->   keyReleased
        *KeyTyped            ->   keyTyped
        *FocusGaiend         ->   focusGained
        *FocusLost           ->   focusLost


        GameShell:            bn
    ---------------------------------
        *Error               ->   aw
        *Start               ->   start
        *Stop                ->   stop
        *Destroy             ->   destroy
        *Paint               ->   paint
        *Update              ->   update


        Stream:               fv
    ---------------------------------
        Payload              ->   m
        CRC                  ->   i
        *ApplyRSA            ->   af
        *GetUnsignedByte     ->   al


        BufferedConnection:   ft
    ---------------------------------
        InputStream          ->   m
        OutputStream         ->   p
        Socket               ->   i
        Payload              ->   e
        IsClosed             ->   j
        *Available           ->   i
        *Read                ->   v
        *Write               ->   N/A


        CollisionMap:         fa
    ---------------------------------
        Width                ->   at    *  -1702851617
        Height               ->   an    *  641674285
        Adjacency            ->   ah
        *Reset               ->   m


        Animable:             ei
    ---------------------------------
        ModelHeight          ->   cz    *  875943395


        Region:               ec
    ---------------------------------
        Tiles                ->   x
        InteractableObjects  ->   b


        AnimableNode:         cq
    ---------------------------------
        ID                   ->   m
        Animation            ->   e
        Flags                ->   p
        Orientation          ->   i
        Plane                ->   j
        X                    ->   v
        Y                    ->   x


        Boundary:             ea
    ---------------------------------
        ID                   ->   l     *  -1895147301
        Flags                ->   b     *  145128305
        Plane                ->   m     *  -1535456141
        Height               ->   v     *  -1716887917
        X                    ->   p     *  -1968311613
        Y                    ->   i     *  -1274477607
        Orientation          ->   j     *  -1005037401
        Renderable           ->   x
        OldRenderable        ->   e


        WallDecoration:       eh
    ---------------------------------
        ID                   ->   n     *  1720994237
        Flags                ->   c     *  -1459693829
        Plane                ->   m     *  13966817
        Height               ->   v     *  781882327
        X                    ->   p     *  -384116185
        Y                    ->   i     *  2074517245
        RelativeX            ->   x     *  39087531
        RelativeY            ->   e     *  -63636409
        Orientation          ->   j     *  320985049
        Renderable           ->   l
        OldRenderable        ->   b


        GroundDecoration:     dd
    ---------------------------------
        ID                   ->   m     *  -778423073
        Flags                ->   x     *  -1323309637
        X                    ->   i     *  1000585405
        Y                    ->   j     *  690011649
        Plane                ->   p     *  1638591795
        Renderable           ->   v


        Interactable:         ex
    ---------------------------------
        Renderable           ->   x
        ID                   ->   y     *  -681483349
        Flags                ->   w     *  -740352485
        Orientation          ->   m     *  969944669
        Plane                ->   p     *  -1246560289
        Height               ->   i     *  -1502155677
        X                    ->   j     *  1692951283
        Y                    ->   v     *  251984857
        RelativeX            ->   e     *  -1535671359
        RelativeY            ->   b     *  1088565909
        SizeX                ->   l     *  22585943
        SizeY                ->   n     *  147170553


        SceneTile:            ep
    ---------------------------------
        Boundary             ->   e
        SceneTile            ->   d
        Interactables        ->   a
        WallDecoration       ->   l
        GroundDecoration     ->   b
        X                    ->   p     *  -971591563
        Y                    ->   i     *  -1764460159
        Plane                ->   j     *  -167067815


        TradingPost:           h
    ---------------------------------
        Status               ->   m
        ItemID               ->   p     *  -684121785
        Price                ->   i     *  -778076757
        Quantity             ->   j     *  -1782650877
        Transferred          ->   v     *  667657107
        Spent                ->   x     *  3405275
        QueryIDs             ->   N/A


        Model:                en
    ---------------------------------
        IndicesX             ->   n
        IndicesY             ->   c
        IndicesZ             ->   a
        IndicesLength        ->   b
        VerticesX            ->   x
        VerticesY            ->   e
        VerticesZ            ->   l
        VerticesLength       ->   v
        TexIndicesX          ->   y
        TexIndicesY          ->   w
        TexIndicesZ          ->   k
        TexVerticesX         ->   o
        TexVerticesY         ->   d
        TexVerticesZ         ->   s
        TexVerticesLength    ->   z
        ShadowIntensity      ->   ab
        FitsSingleTile       ->   al
        *Translate           ->   o
        *RenderAtPoint       ->   cp


        AnimationSequence:    jf
    ---------------------------------
        ControlFlow          ->   c


        CombatInfo1:          cn
    ---------------------------------
        Health               ->   i     *  2029892367
        HealthRatio          ->   p     *  20090089


        CombatInfo2:          iz
    ---------------------------------
        HealthScale          ->   k     *  1369098535


        CombatInfoList:       go
    ---------------------------------
        Head                 ->   m
        Current              ->   p


        CombatInfoHolder:     cy
    ---------------------------------
        CombatInfoList       ->   j
        CombatInfo2          ->   i


        Entity:               bf
    ---------------------------------
        AnimationID          ->   bz    *  -1927744373
        AnimationDelay       ->   ce    *  323319001
        SpokenText           ->   az
        HitDamages           ->   ad
        HitTypes             ->   aj
        HitCycle             ->   ae
        QueueX               ->   cc
        QueueY               ->   cy
        QueueTraversed       ->   cp
        QueueLength          ->   cr    *  -572918095
        LocalX               ->   ao    *  1778826247
        LocalY               ->   aq    *  1515985559
        IsAnimating          ->   au
        CombatCycle          ->   N/A
        InteractingIndex     ->   bo    *  -35436119
        Orientation          ->   cd    *  -115664019
        CombatInfoList       ->   bk
        Height               ->   cn    *  -12444289


        NPCDefinition:        jc
    ---------------------------------
        ID                   ->   v     *  1783373607
        Name                 ->   x
        Actions              ->   z
        ModelIDs             ->   l
        CombatLevel          ->   d     *  -969911283


        NPC:                  cp
    ---------------------------------
        Definition           ->   m


        PlayerDefinition:     hd
    ---------------------------------
        ID                   ->   j     *  -1198687255
        IsFemale             ->   i
        AnimatedModelID      ->   v     *  1032047516049335863
        ModelID              ->   x     *  -8213752635378109253
        Equipment            ->   m


        Player:               bq
    ---------------------------------
        Name                 ->   m
        Model                ->   k
        Visible              ->   g
        Definition           ->   p
        CombatLevel          ->   e     *  -1406522037


        WidgetNode:           bp
    ---------------------------------
        ID                   ->   m     *  -560926001


        Widget:               hk
    ---------------------------------
        Name                 ->   ch
        Text                 ->   bf
        ID                   ->   u     *  -1645947453
        ParentID             ->   an    *  1838469857
        ItemID               ->   ei    *  2040971099
        Items                ->   ec
        ItemStackSizes       ->   el
        ItemAmount           ->   ea    *  164840613
        Actions              ->   cz
        ActionType           ->   z     *  -692094541
        Type                 ->   g     *  -1917177175
        IsHidden             ->   ah
        AbsoluteX            ->   al    *  50161047
        AbsoluteY            ->   ao    *  -886443215
        RelativeX            ->   as    *  2096333497
        RelativeY            ->   ag    *  -1500147219
        ScrollX              ->   am    *  805000347
        ScrollY              ->   ay    *  -1770643463
        Width                ->   ap    *  -1489046069
        Height               ->   av    *  541415577
        Children             ->   ef
        BoundsIndex          ->   ek    *  1951456281
        *SwapItems           ->   l


        ItemDefinition:       jx
    ---------------------------------
        ID                   ->   w     *  910584741
        Name                 ->   t
        IsMembers            ->   aq
        Actions              ->   ab
        GroundActions        ->   as


        Item:                 ch
    ---------------------------------
        ID                   ->   m     *  -196392353
        Quantity             ->   p     *  -205096159


        Client:           client
    ---------------------------------
        Revision             ->   157
        Client               ->   client.ae
        LocalNPCs            ->   client.dc
        NPCIndices           ->   client.dz
        LocalPlayers         ->   client.ip
        PlayerIndices        ->   cg.e
        LocalPlayer          ->   ad.id
        PlayerIndex          ->   client.ij *  331117243
        GameCycle            ->   client.bp *  682324831
        LoginState           ->   client.br *  -1217371865
        GameState            ->   cb.ah *  -583165457
        CrosshairColour      ->   client.hd *  -968655293
        GroundItems          ->   client.if
        CollisionMap         ->   client.w
        TradingPostOffers    ->   client.qc
        CameraX              ->   ab.gi *  1840628677
        CameraY              ->   bq.gs *  852964421
        CameraZ              ->   bb.ga *  -1408976181
        CameraPitch          ->   aq.gv *  -321431079
        CameraYaw            ->   hz.gz *  -1903400691
        Region               ->   bw.fa
        Plane                ->   bg.is *  -1408049517
        BaseX                ->   dw.ex *  344683843
        BaseY                ->   dw.es *  -2087746071
        DestX                ->   client.nd *  -431811385
        DestY                ->   client.nb *  -2077063189
        SineTable            ->   eq.q
        CosineTable          ->   eq.al
        TileHeights          ->   be.m
        TileSettings         ->   be.p
        Widgets              ->   ih.x
        WidgetSettings       ->   hc.i
        WidgetNodeCache      ->   client.kn
        WidgetPositionsX     ->   client.mq
        WidgetPositionsY     ->   client.mm
        WidgetWidths         ->   client.ma
        WidgetHeights        ->   client.mp
        ViewPortWidth        ->   client.px *  1384465123
        ViewPortHeight       ->   client.pm *  -642434445
        MapAngle             ->   client.gb *  -1212962093
        MapScale             ->   N/A
        MapOffset            ->   N/A
        MenuCount            ->   client.ju *  -982472671
        MenuActions          ->   client.jp
        MenuOptions          ->   client.jt
        IsMenuOpen           ->   client.iq
        MenuX                ->   dy.im *  -348503395
        MenuY                ->   ax.jz *  1241304983
        MenuWidth            ->   il.jb *  1734894779
        MenuHeight           ->   r.jj  *  -370190445
        CurrentLevels        ->   client.iw
        RealLevels           ->   client.ir
        Experiences          ->   client.il
        CurrentWorld         ->   client.bu *  -1232844837
        EnergyLevel          ->   client.kb *  2121080715
        PlayerWeight         ->   client.kz *  911960287


    Simba Code:
    const
        ReflectionRevision = '157';

    {Node: gh}
    Node_UID: THook =                                 ['ci', 1];
    Node_Prev: THook =                                ['cb', 1];
    Node_Next: THook =                                ['co', 1];

    {NodeDeque: go}
    NodeDeque_Head: THook =                           ['m', 1];
    NodeDeque_Current: THook =                        ['p', 1];

    {Cacheable: gu}
    Cacheable_Next: THook =                           ['ch', 1];
    Cacheable_Prev: THook =                           ['cf', 1];

    {LinkedList: go}
    LinkedList_Head: THook =                          ['m', 1];
    LinkedList_Current: THook =                       ['p', 1];

    {HashTable: gx}
    HashTable_Head: THook =                           ['i', 1];
    HashTable_Tail: THook =                           ['j', 1];
    HashTable_Buckets: THook =                        ['p', 1];
    HashTable_Index: THook =                          ['v', 1];
    HashTable_Size: THook =                           ['m', 1];

    {Queue: gq}
    Queue_Head: THook =                               ['m', 1];

    {Cache: gr}
    Cache_HashTable: THook =                          ['j', 1];
    Cache_Queue: THook =                              ['v', 1];
    Cache_Remaining: THook =                          ['i', 1];
    Cache_Capacity: THook =                           ['p', 1];

    {ClassData: kr}
    ClassData_Bytes: THook =                          ['m', 1];
    ClassData_Methods: THook =                        ['l', 1];
    ClassData_Fields: THook =                         ['x', 1];

    {Rasteriser: ky}
    Rasteriser_Pixels: THook =                        ['ao', 1];
    Rasteriser_Width: THook =                         ['aq', 1];
    Rasteriser_Height: THook =                        ['ab', 1];

    {Rasteriser3D: eq}
    Rasteriser3D_ShadowDecay: THook =                 ['s', 1];
    Rasteriser3D_SineTable: THook =                   ['q', 1];
    Rasteriser3D_CosineTable: THook =                 ['al', 1];

    {Typeface: jg}
    Typeface_CharacterPixels: THook =                 ['m', 1];

    {IndexedRGB: ko}
    IndexedRGB_Pixels: THook =                        ['p', 1];
    IndexedRGB_Palette: THook =                       ['m', 1];

    {ImageRGB: kd}
    ImageRGB_Pixels: THook =                          ['m', 1];
    ImageRGB_Width: THook =                           ['p', 1];
    ImageRGB_Height: THook =                          ['i', 1];
    ImageRGB_MaxWidth: THook =                        ['x', 1];
    ImageRGB_MaxHeight: THook =                       ['e', 1];

    {Keyboard: ae}

    {GameShell: bn}

    {Buffer: fv}
    Buffer_Payload: THook =                           ['m', 1];
    Buffer_CRC: THook =                               ['i', 1];

    {BufferedConnection: ft}
    BufferedConnection_InputStream: THook =           ['m', 1];
    BufferedConnection_OutputStream: THook =          ['p', 1];
    BufferedConnection_Socket: THook =                ['i', 1];
    BufferedConnection_Payload: THook =               ['e', 1];
    BufferedConnection_IsClosed: THook =              ['j', 1];

    {CollisionMap: fa}
    CollisionMap_Width: THook =                       ['at', -1702851617];
    CollisionMap_Height: THook =                      ['an', 641674285];
    CollisionMap_Adjacency: THook =                   ['ah', 1];

    {Renderable: ei}
    Renderable_ModelHeight: THook =                   ['cz', 875943395];

    {Region: ec}
    Region_SceneTiles: THook =                        ['x', 1];
    Region_InteractableObjects: THook =               ['b', 1];

    {AnimableNode: cq}
    AnimableNode_ID: THook =                          ['m', 1];
    AnimableNode_Animation: THook =                   ['e', 1];
    AnimableNode_Flags: THook =                       ['p', 1];
    AnimableNode_Orientation: THook =                 ['i', 1];
    AnimableNode_Plane: THook =                       ['j', 1];
    AnimableNode_X: THook =                           ['v', 1];
    AnimableNode_Y: THook =                           ['x', 1];

    {BoundaryObject: ea}
    BoundaryObject_ID: THook =                        ['l', -1895147301];
    BoundaryObject_Flags: THook =                     ['b', 145128305];
    BoundaryObject_Plane: THook =                     ['m', -1535456141];
    BoundaryObject_Height: THook =                    ['v', -1716887917];
    BoundaryObject_LocalX: THook =                    ['p', -1968311613];
    BoundaryObject_LocalY: THook =                    ['i', -1274477607];
    BoundaryObject_Orientation: THook =               ['j', -1005037401];
    BoundaryObject_Render: THook =                    ['x', 1];
    BoundaryObject_Render2: THook =                   ['e', 1];

    {WallDecoration: eh}
    WallDecoration_ID: THook =                        ['n', 1720994237];
    WallDecoration_Flags: THook =                     ['c', -1459693829];
    WallDecoration_Plane: THook =                     ['m', 13966817];
    WallDecoration_Height: THook =                    ['v', 781882327];
    WallDecoration_LocalX: THook =                    ['p', -384116185];
    WallDecoration_LocalY: THook =                    ['i', 2074517245];
    WallDecoration_RelativeX: THook =                 ['x', 39087531];
    WallDecoration_RelativeY: THook =                 ['e', -63636409];
    WallDecoration_Orientation: THook =               ['j', 320985049];
    WallDecoration_Renderable: THook =                ['l', 1];
    WallDecoration_Renderable2: THook =               ['b', 1];

    {FloorDecoration: dd}
    FloorDecoration_ID: THook =                       ['m', -778423073];
    FloorDecoration_Flags: THook =                    ['x', -1323309637];
    FloorDecoration_LocalX: THook =                   ['i', 1000585405];
    FloorDecoration_LocalY: THook =                   ['j', 690011649];
    FloorDecoration_Plane: THook =                    ['p', 1638591795];
    FloorDecoration_Render: THook =                   ['v', 1];

    {GameObject: ex}
    GameObject_Render: THook =                        ['x', 1];
    GameObject_ID: THook =                            ['y', -681483349];
    GameObject_Flags: THook =                         ['w', -740352485];
    GameObject_Orientation: THook =                   ['m', 969944669];
    GameObject_Plane: THook =                         ['p', -1246560289];
    GameObject_Height: THook =                        ['i', -1502155677];
    GameObject_WorldX: THook =                        ['j', 1692951283];
    GameObject_WorldY: THook =                        ['v', 251984857];
    GameObject_LocalX: THook =                        ['e', -1535671359];
    GameObject_LocalY: THook =                        ['b', 1088565909];
    GameObject_OffsetX: THook =                       ['l', 22585943];
    GameObject_OffsetY: THook =                       ['n', 147170553];

    {SceneTile: ep}
    SceneTile_BoundaryObject: THook =                 ['e', 1];
    SceneTile_SceneTileObject: THook =                ['d', 1];
    SceneTile_GameObject: THook =                     ['a', 1];
    SceneTile_WallDecoration: THook =                 ['l', 1];
    SceneTile_GroundDecoration: THook =               ['b', 1];
    SceneTile_LocalX: THook =                         ['p', -971591563];
    SceneTile_LocalY: THook =                         ['i', -1764460159];
    SceneTile_Plane: THook =                          ['j', -167067815];

    {GrandExchange: h}
    TradingPost_Status: THook =                       ['m', 1];
    TradingPost_ItemID: THook =                       ['p', -684121785];
    TradingPost_Price: THook =                        ['i', -778076757];
    TradingPost_Quantity: THook =                     ['j', -1782650877];
    TradingPost_Transferred: THook =                  ['v', 667657107];
    TradingPost_Spent: THook =                        ['x', 3405275];
    TradingPost_QueryIDs: THook =                     ['N/A', 1];

    {{Model: en}
    Model_IndicesX: THook =                           ['n', 1];
    Model_IndicesY: THook =                           ['c', 1];
    Model_IndicesZ: THook =                           ['a', 1];
    Model_IndicesLength: THook =                      ['b', 1];
    Model_VerticesX: THook =                          ['x', 1];
    Model_VerticesY: THook =                          ['e', 1];
    Model_VerticesZ: THook =                          ['l', 1];
    Model_VerticesLength: THook =                     ['v', 1];
    Model_TexIndicesX: THook =                        ['y', 1];
    Model_TexIndicesY: THook =                        ['w', 1];
    Model_TexIndicesZ: THook =                        ['k', 1];
    Model_TexVerticesX: THook =                       ['o', 1];
    Model_TexVerticesY: THook =                       ['d', 1];
    Model_TexVerticesZ: THook =                       ['s', 1];
    Model_TexVerticesLength: THook =                  ['z', 1];
    Model_ShadowIntensity: THook =                    ['ab', 1];
    Model_FitsSingleTile: THook =                     ['al', 1];

    {AnimationSequence: jf}
    AnimationSequence_ControlFlow: THook =            ['c', 1];

    {CombatInfo1: cn}
    CombatInfo1_Health: THook =                       ['i', 2029892367];
    CombatInfo1_HealthRatio: THook =                  ['p', 20090089];

    {CombatInfo2: iz}
    CombatInfo2_HealthScale: THook =                  ['k', 1369098535];

    {CombatInfoList: go}
    CombatInfoList_Head: THook =                      ['m', 1];
    CombatInfoList_Current: THook =                   ['p', 1];

    {CombatInfoHolder: cy}
    CombatInfoHolder_CombatInfoList: THook =          ['j', 1];
    CombatInfoHolder_CombatInfo2: THook =             ['i', 1];

    {Actor: bf}
    Actor_Animation: THook =                          ['bz', -1927744373];
    Actor_AnimationDelay: THook =                     ['ce', 323319001];
    Actor_SpokenText: THook =                         ['az', 1];
    Actor_HitDamages: THook =                         ['ad', 1];
    Actor_HitTypes: THook =                           ['aj', 1];
    Actor_HitCycle: THook =                           ['ae', 1];
    Actor_QueueX: THook =                             ['cc', 1];
    Actor_QueueY: THook =                             ['cy', 1];
    Actor_QueueTraversed: THook =                     ['cp', 1];
    Actor_QueueSize: THook =                          ['cr', -572918095];
    Actor_WorldX: THook =                             ['ao', 1778826247];
    Actor_WorldY: THook =                             ['aq', 1515985559];
    Actor_IsAnimating: THook =                        ['au', 1];
    Actor_CombatCycle: THook =                        ['N/A', 1];
    Actor_InteractingIndex: THook =                   ['bo', -35436119];
    Actor_Orientation: THook =                        ['cd', -115664019];
    Actor_CombatInfoList: THook =                     ['bk', 1];
    Actor_Height: THook =                             ['cn', -12444289];

    {NPCDefinition: jc}
    NPCDefinition_ID: THook =                         ['v', 1783373607];
    NPCDefinition_Name: THook =                       ['x', 1];
    NPCDefinition_Actions: THook =                    ['z', 1];
    NPCDefinition_ModelIDs: THook =                   ['l', 1];
    NPCDefinition_CombatLevel: THook =                ['d', -969911283];

    {NPC: cp}
    NPC_Definition: THook =                           ['m', 1];

    {PlayerDefinition: hd}
    PlayerDefinition_ID: THook =                      ['j', -1198687255];
    PlayerDefinition_IsFemale: THook =                ['i', 1];
    PlayerDefinition_AnimatedModelID: THook =         ['v', 1032047516049335863];
    PlayerDefinition_ModelID: THook =                 ['x', -8213752635378109253];
    PlayerDefinition_Equipment: THook =               ['m', 1];

    {Player: bq}
    Player_Name: THook =                              ['m', 1];
    Player_Model: THook =                             ['k', 1];
    Player_Visible: THook =                           ['g', 1];
    Player_Definition: THook =                        ['p', 1];
    Player_CombatLevel: THook =                       ['e', -1406522037];

    {WidgetNode: bp}
    WidgetNode_ID: THook =                            ['m', -560926001];

    {Widget: hk}
    Widget_Name: THook =                              ['ch', 1];
    Widget_Text: THook =                              ['bf', 1];
    Widget_WidgetID: THook =                          ['u', -1645947453];
    Widget_ParentID: THook =                          ['an', 1838469857];
    Widget_ItemID: THook =                            ['ei', 2040971099];
    Widget_InvIDs: THook =                            ['ec', 1];
    Widget_StackSizes: THook =                        ['el', 1];
    Widget_ItemAmount: THook =                        ['ea', 164840613];
    Widget_Actions: THook =                           ['cz', 1];
    Widget_ActionType: THook =                        ['z', -692094541];
    Widget_Type: THook =                              ['g', -1917177175];
    Widget_IsHidden: THook =                          ['ah', 1];
    Widget_AbsoluteX: THook =                         ['al', 50161047];
    Widget_AbsoluteY: THook =                         ['ao', -886443215];
    Widget_RelativeX: THook =                         ['as', 2096333497];
    Widget_RelativeY: THook =                         ['ag', -1500147219];
    Widget_ScrollX: THook =                           ['am', 805000347];
    Widget_ScrollY: THook =                           ['ay', -1770643463];
    Widget_Width: THook =                             ['ap', -1489046069];
    Widget_Height: THook =                            ['av', 541415577];
    Widget_Children: THook =                          ['ef', 1];
    Widget_BoundsIndex: THook =                       ['ek', 1951456281];

    {ItemDefinition: jx}
    ItemDefinition_ID: THook =                        ['w', 910584741];
    ItemDefinition_Name: THook =                      ['t', 1];
    ItemDefinition_IsMembers: THook =                 ['aq', 1];
    ItemDefinition_Actions: THook =                   ['ab', 1];
    ItemDefinition_GroundActions: THook =             ['as', 1];

    {Item: ch}
    Item_ID: THook =                                  ['m', -196392353];
    Item_StackSizes: THook =                          ['p', -205096159];

    {Client: client}
    Client_Revision: THook =                          ['157', 1];
    Client_Client: THook =                            ['client.ae', 1];
    Client_LocalNPCs: THook =                         ['client.dc', 1];
    Client_NPCIndices: THook =                        ['client.dz', 1];
    Client_LocalPlayers: THook =                      ['client.ip', 1];
    Client_PlayerIndices: THook =                     ['cg.e', 1];
    Client_LocalPlayer: THook =                       ['ad.id', 1];
    Client_PlayerIndex: THook =                       ['client.ij', 331117243];
    Client_LoopCycle: THook =                         ['client.bp', 682324831];
    Client_LoginState: THook =                        ['client.br', -1217371865];
    Client_GameState: THook =                         ['cb.ah', -583165457];
    Client_CrossHairColor: THook =                    ['client.hd', -968655293];
    Client_GroundItems: THook =                       ['client.if', 1];
    Client_CollisionMap: THook =                      ['client.w', 1];
    Client_TradingPostOffers: THook =                 ['client.qc', 1];
    Client_CameraX: THook =                           ['ab.gi', 1840628677];
    Client_CameraY: THook =                           ['bq.gs', 852964421];
    Client_CameraZ: THook =                           ['bb.ga', -1408976181];
    Client_CameraPitch: THook =                       ['aq.gv', -321431079];
    Client_CameraYaw: THook =                         ['hz.gz', -1903400691];
    Client_Region: THook =                            ['bw.fa', 1];
    Client_Plane: THook =                             ['bg.is', -1408049517];
    Client_BaseX: THook =                             ['dw.ex', 344683843];
    Client_BaseY: THook =                             ['dw.es', -2087746071];
    Client_DestinationX: THook =                      ['client.nd', -431811385];
    Client_DestinationY: THook =                      ['client.nb', -2077063189];
    Client_Sine: THook =                              ['eq.q', 1];
    Client_Cosine: THook =                            ['eq.al', 1];
    Client_TileHeights: THook =                       ['be.m', 1];
    Client_TileSettings: THook =                      ['be.p', 1];
    Client_Widgets: THook =                           ['ih.x', 1];
    Client_GameSettings: THook =                      ['hc.i', 1];
    Client_WidgetNodeCache: THook =                   ['client.kn', 1];
    Client_WidgetPositionX: THook =                   ['client.mq', 1];
    Client_WidgetPositionY: THook =                   ['client.mm', 1];
    Client_WidgetWidths: THook =                      ['client.ma', 1];
    Client_WidgetHeights: THook =                     ['client.mp', 1];
    Client_ViewPortWidth: THook =                     ['client.px', 1384465123];
    Client_ViewPortHeight: THook =                    ['client.pm', -642434445];
    Client_MapAngle: THook =                          ['client.gb', -1212962093];
    Client_MapScale: THook =                          ['N/A', 1];
    Client_MapOffset: THook =                         ['N/A', 1];
    Client_MenuCount: THook =                         ['client.ju', -982472671];
    Client_MenuActions: THook =                       ['client.jp', 1];
    Client_MenuOptions: THook =                       ['client.jt', 1];
    Client_IsMenuOpen: THook =                        ['client.iq', 1];
    Client_MenuX: THook =                             ['dy.im', -348503395];
    Client_MenuY: THook =                             ['ax.jz', 1241304983];
    Client_MenuWidth: THook =                         ['il.jb', 1734894779];
    Client_MenuHeight: THook =                        ['r.jj', -370190445];
    Client_CurrentLevels: THook =                     ['client.iw', 1];
    Client_RealLevels: THook =                        ['client.ir', 1];
    Client_Experiences: THook =                       ['client.il', 1];
    Client_CurrentWorld: THook =                      ['client.bu', -1232844837];
    Client_Energy: THook =                            ['client.kb', 2121080715];
    Client_Weight: THook =                            ['client.kz', 911960287];


    All of the above is fixed now.. I described the changes here: http://rs-hacking.com/forum/index.ph...3-157/?p=13101
    Last edited by Brandon; 11-09-2017 at 07:46 PM.
    I am Ggzz..
    Hackintosher

  23. #198
    Join Date
    Jun 2012
    Posts
    31
    Mentioned
    0 Post(s)
    Quoted
    20 Post(s)

    Default

    Another update coming in 15 minutes lol

  24. #199
    Join Date
    Feb 2011
    Location
    The Future.
    Posts
    5,600
    Mentioned
    396 Post(s)
    Quoted
    1598 Post(s)

    Default

    Quote Originally Posted by chambo123 View Post
    Another update coming in 15 minutes lol

    I don't see it. In any case, I've updated the hooks.

    Fixed MapAngle, BaseX, BaseY, PlayerIndex, PlayerIndices, FitsSingleTile.
    I am Ggzz..
    Hackintosher

  25. #200
    Join Date
    Apr 2016
    Posts
    4
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Thanks man, everything is working fine here.

Page 8 of 11 FirstFirst ... 678910 ... LastLast

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
  •