Page 1 of 11 123 ... LastLast
Results 1 to 25 of 275

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

  1. #1
    Join Date
    Apr 2017
    Posts
    11
    Mentioned
    0 Post(s)
    Quoted
    5 Post(s)

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

    Is there anywhere we can check to see updates/progress for the hooks in need of update? or will it purely be posted here on SRL forums.
    Just wanted to know,
    Thanks

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

    Default

    Pattern searching broke in the updater. Haven't looked into it much, don't really have time atm either.

  3. #3
    Join Date
    Dec 2010
    Posts
    483
    Mentioned
    30 Post(s)
    Quoted
    328 Post(s)

    Default

    Quote Originally Posted by tls View Post
    Pattern searching broke in the updater
    Specifically which pattern is no longer valid?

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

    Default

    My updater doesn't output to Simba format..

    Java Code:
    Downloading RS JarFile.
    Downloading Complete.

    Deobfuscation Started..
    Removed Methods: 3619 of 5947
    Removed Fields: 707 of 3386
    Re-Ordered Multipliers: 3555 of 30039
    Re-Ordered Arithmetics: 2115 of 36208
    Removed Exceptions: 5756 of 6108
    Removed Returns: 1127 of 11814
    Removed TryCatchBlocks: 36 of 2875
    Removed Parameters: 1195 of 1195
    Deobfuscation Finished..

    Failed to find: ImageRGB
    Failed to find: GraphicsBuffer

        Node:                 gn
    ---------------------------------
        UID                  ->   cx
        Prev                 ->   co
        Next                 ->   cw


        CacheableNode:        ga
    ---------------------------------
        Next                 ->   ce
        Prev                 ->   cr


        LinkedList:           gu
    ---------------------------------
        Head                 ->   i
        Current              ->   h


        HashTable:            gv
    ---------------------------------
        Head                 ->   u
        Tail                 ->   q
        Cache|Buckets        ->   h
        Index                ->   g
        Capacity             ->   i


        Queue:                gi
    ---------------------------------
        Head                 ->   i
        *InsertHead          ->   i
        *InsertTail          ->   h


        Cache:                gg
    ---------------------------------
        HashTable            ->   q
        Queue                ->   g
        Remaining            ->   u
        Capacity             ->   h


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


        Rasteriser:           jq
    ---------------------------------
        Pixels               ->   z
        Width                ->   ay
        Height               ->   ah
        *CreateRasteriser    ->   ct
        *SetCoordinates      ->   cq


        Rasteriser3D:         en
    ---------------------------------
        ShadowDecay          ->   y
        SineTable            ->   f
        CosineTable          ->   c


        Typeface:             jr
    ---------------------------------
        CharacterPixels      ->   i
        *StringWidth         ->   a
        *DrawStringWaveY     ->   w
        *DrawStringWave      ->   f
        *DrawStrWaveAmt      ->   c
        *DrawCharacter       ->   af
        *DrawCharAlpha       ->   ax
        *DrawCharPixels      ->   aj
        *DrawCharPixelsA     ->   ad


        IndexedRGB:           jp
    ---------------------------------
        Pixels               ->   h
        Palette              ->   i


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


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


        Stream:               fv
    ---------------------------------
        Payload              ->   i
        CRC                  ->   u
        *ApplyRSA            ->   am
        *GetUnsignedByte     ->   bw


        BufferedConnection:   ft
    ---------------------------------
        InputStream          ->   h
        OutputStream         ->   i
        Socket               ->   u
        Payload              ->   t
        IsClosed             ->   q
        *Available           ->   u
        *Read                ->   q
        *Write               ->   g


        CollisionMap:         fc
    ---------------------------------
        Width                ->   av    *  -2139064815
        Height               ->   ae    *  -1742330205
        Adjacency            ->   ar
        *Reset               ->   i


        Animable:             eq
    ---------------------------------
        ModelHeight          ->   cn    *  -571778433


        Region:               el
    ---------------------------------
        Tiles                ->   v
        InteractableObjects  ->   l


        AnimableNode:         cy
    ---------------------------------
        ID                   ->   i
        Animation            ->   t
        Flags                ->   h
        Orientation          ->   u
        Plane                ->   q
        X                    ->   g
        Y                    ->   v


        Boundary:             eo
    ---------------------------------
        ID                   ->   p     *  -1459753793
        Flags                ->   l     *  -1994299827
        Plane                ->   i     *  -243348171
        X                    ->   h     *  -2103463111
        Y                    ->   u     *  1115958401
        Orientation          ->   q     *  -53257687
        Renderable           ->   v
        OldRenderable        ->   t


        WallDecoration:       ec
    ---------------------------------
        ID                   ->   a     *  -106029819
        Flags                ->   k     *  -1948265495
        Plane                ->   i     *  -1051141917
        Height               ->   g     *  1227970919
        X                    ->   h     *  -708225337
        Y                    ->   u     *  -939056445
        RelativeX            ->   v     *  1592622403
        RelativeY            ->   t     *  -684859115
        Orientation          ->   q     *  -228390625
        Renderable           ->   p
        OldRenderable        ->   l


        GroundDecoration:     dc
    ---------------------------------
        ID                   ->   g     *  -819003167
        Flags                ->   v     *  -1082660123
        X                    ->   h     *  1577829391
        Y                    ->   u     *  -743787227
        Plane                ->   i     *  1893982255
        Renderable           ->   q


        Interactable:         ey
    ---------------------------------
        Renderable           ->   g
        ID                   ->   b     *  335509333
        Flags                ->   x     *  -95297751
        Orientation          ->   v     *  -515129617
        Plane                ->   i     *  -1348482943
        X                    ->   u     *  1639834407
        Y                    ->   q     *  1250418639
        RelativeX            ->   t     *  -361333291
        RelativeY            ->   l     *  -88415481
        SizeX                ->   p     *  -1496584953
        SizeY                ->   a     *  116027087


        SceneTile:            em
    ---------------------------------
        Boundary             ->   t
        SceneTile            ->   w
        Interactables        ->   r
        WallDecoration       ->   p
        GroundDecoration     ->   l
        X                    ->   h     *  509272557
        Y                    ->   u     *  -2110195345
        Plane                ->   q     *  966477479


        TradingPost:           m
    ---------------------------------
        Status               ->   i
        ItemID               ->   h     *  464534417
        Price                ->   u     *  -753038671
        Quantity             ->   q     *  -1782929383
        Transferred          ->   g
        Spent                ->   v
        QueryIDs             ->   N/A


        Model:                ew
    ---------------------------------
        IndicesX             ->   a
        IndicesY             ->   k
        IndicesZ             ->   r
        IndicesLength        ->   l
        VerticesX            ->   v
        VerticesY            ->   t
        VerticesZ            ->   p
        VerticesLength       ->   g
        TexIndicesX          ->   b
        TexIndicesY          ->   x
        TexIndicesZ          ->   o
        TexVerticesX         ->   y
        TexVerticesY         ->   w
        TexVerticesZ         ->   f
        TexVerticesLength    ->   n
        ShadowIntensity      ->   ac
        FitsSingleTile       ->   N/A
        *Translate           ->   c
        *RenderAtPoint       ->   ck


        AnimationSequence:    je
    ---------------------------------
        ControlFlow          ->   k


        HealthBarDefinition:  iq
    ---------------------------------


        HealthBar:            cs
    ---------------------------------
        LinkedList           ->   q
        Definition           ->   u


        HealthData:           cz
    ---------------------------------
        Health               ->   u     *  1178400491
        HealthRatio          ->   h     *  1675273429


        Entity:               ch
    ---------------------------------
        AnimationID          ->   eb    *  1953878287
        AnimationDelay       ->   cd    *  172235203
        SpokenText           ->   ai
        HitDamages           ->   aa
        HitTypes             ->   an
        HitCycle             ->   au
        QueueX               ->   cg
        QueueY               ->   ca
        QueueTraversed       ->   N/A
        QueueLength          ->   N/A
        LocalX               ->   ah    *  1012159919
        LocalY               ->   az    *  1352509351
        IsAnimating          ->   ao
        CombatCycle          ->   N/A
        InteractingIndex     ->   bp    *  421056233
        Orientation          ->   cz    *  1398051175
        HealthBar            ->   bd
        Height               ->   ch    *  840407707


        NPCDefinition:        iv
    ---------------------------------
        ID                   ->   g     *  486171537
        Name                 ->   v
        Actions              ->   n
        ModelIDs             ->   p
        CombatLevel          ->   w     *  771702591


        NPC:                  cl
    ---------------------------------
        Definition           ->   i


        PlayerDefinition:     hw
    ---------------------------------
        ID                   ->   q     *  -1869061289
        IsFemale             ->   u
        AnimatedModelID      ->   g     *  -6572925093266166259
        ModelID              ->   v     *  203471965754920499
        Equipment            ->   i


        Player:               bj
    ---------------------------------
        Name                 ->   i
        Model                ->   o
        Visible              ->   s
        Definition           ->   h
        CombatLevel          ->   t     *  -795504717


        WidgetNode:           br
    ---------------------------------
        ID                   ->   i     *  402580777


        Widget:               hr
    ---------------------------------
        Name                 ->   ce
        ID                   ->   d     *  -2058679599
        ParentID             ->   ae    *  -222757319
        ItemID               ->   eb    *  1953878287
        Items                ->   ek
        ItemStackSizes       ->   el
        ItemAmount           ->   eq    *  -1240348961
        Actions              ->   cn
        ActionType           ->   n     *  155948357
        Type                 ->   s     *  2023760555
        X                    ->   az    *  551526157
        Y                    ->   ac    *  1358010399
        Width                ->   aj    *  1666883303
        Height               ->   ax    *  1181401451
        Children             ->   er
        *SwapItems           ->   p


        ItemDefinition:       iu
    ---------------------------------
        ID                   ->   x     *  -1426401721
        Name                 ->   j
        IsMembers            ->   bb
        Actions              ->   ac
        GroundActions        ->   aq


        Item:                 cf
    ---------------------------------
        ID                   ->   i     *  1424532003
        Quantity             ->   h     *  1497042563


        Client:           client
    ---------------------------------
        Revision             ->   142
        Client               ->   client.ak
        LocalNPCs            ->   client.dj
        NPCIndices           ->   client.dd
        LocalPlayers         ->   client.ie
        PlayerIndices        ->   N/A
        LocalPlayer          ->   m.ii
        PlayerIndex          ->   client.if *  -1621399727
        GameCycle            ->   client.bt *  709865467
        LoginState           ->   cr.ad *  999823653
        GameState            ->   client.bn *  1852125649
        CrosshairColour      ->   client.in *  1615155271
        GroundItems          ->   N/A
        CollisionMap         ->   client.w
        TradingPostOffers    ->   client.rs
        CameraX              ->   b.gh  *  -1751071227
        CameraY              ->   b.gy  *  -853551867
        CameraZ              ->   ai.gr *  -659604793
        CameraPitch          ->   ae.gp *  1332885709
        CameraYaw            ->   ih.gf *  729986531
        Region               ->   al.fm
        Plane                ->   je.is *  751072291
        BaseX                ->   fm.ef *  1604638969
        BaseY                ->   et.ep *  -1196130045
        DestX                ->   client.oa *  1553133881
        DestY                ->   client.on *  1605887601
        TileHeights          ->   bq.o
        TileSettings         ->   bq.h
        Widgets              ->   cw.v
        WidgetSettings       ->   N/A
        ViewPortWidth        ->   client.qh *  -1560192239
        ViewPortHeight       ->   client.qj *  -21045549
    Last edited by Brandon; 05-26-2017 at 12:17 AM.
    I am Ggzz..
    Hackintosher

  5. #5
    Join Date
    Jun 2013
    Location
    Scranton
    Posts
    496
    Mentioned
    5 Post(s)
    Quoted
    220 Post(s)

    Default

    Quote Originally Posted by Brandon View Post
    My updater doesn't output to Simba format. If you show me what the Simba format is like, I can add it in..

    Java Code:
    Downloading RS JarFile.
    Downloading Complete.

    Deobfuscation Started..
    Removed Methods: 3619 of 5947
    Removed Fields: 707 of 3386
    Re-Ordered Multipliers: 3555 of 30039
    Re-Ordered Arithmetics: 2115 of 36208
    Removed Exceptions: 5756 of 6108
    Removed Returns: 1127 of 11814
    Removed TryCatchBlocks: 36 of 2875
    Removed Parameters: 1195 of 1195
    Deobfuscation Finished..

    Failed to find: ImageRGB
    Failed to find: GraphicsBuffer
    Failed to find: HealthBar
        Node:                 gn
    ---------------------------------
        UID                  ->   cx
        Prev                 ->   co
        Next                 ->   cw


        CacheableNode:        ga
    ---------------------------------
        Next                 ->   ce
        Prev                 ->   cr


        LinkedList:           gu
    ---------------------------------
        Head                 ->   i
        Current              ->   h


        HashTable:            gv
    ---------------------------------
        Head                 ->   u
        Tail                 ->   q
        Cache|Buckets        ->   h
        Index                ->   g
        Capacity             ->   i


        Queue:                gi
    ---------------------------------
        Head                 ->   i
        *InsertHead          ->   i
        *InsertTail          ->   h


        Cache:                gg
    ---------------------------------
        HashTable            ->   q
        Queue                ->   g
        Remaining            ->   u
        Capacity             ->   h


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


        Rasteriser:           jq
    ---------------------------------
        Pixels               ->   z
        Width                ->   ay
        Height               ->   ah
        *CreateRasteriser    ->   ct
        *SetCoordinates      ->   cq


        Rasteriser3D:         en
    ---------------------------------
        ShadowDecay          ->   y
        SineTable            ->   f
        CosineTable          ->   c


        Typeface:             jr
    ---------------------------------
        CharacterPixels      ->   i
        *StringWidth         ->   a
        *DrawStringWaveY     ->   w
        *DrawStringWave      ->   f
        *DrawStrWaveAmt      ->   c
        *DrawCharacter       ->   af
        *DrawCharAlpha       ->   ax
        *DrawCharPixels      ->   aj
        *DrawCharPixelsA     ->   ad


        IndexedRGB:           jp
    ---------------------------------
        Pixels               ->   h
        Palette              ->   i


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


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


        Stream:               fv
    ---------------------------------
        Payload              ->   i
        CRC                  ->   u
        *ApplyRSA            ->   am
        *GetUnsignedByte     ->   bw


        BufferedConnection:   ft
    ---------------------------------
        InputStream          ->   h
        OutputStream         ->   i
        Socket               ->   u
        Payload              ->   t
        IsClosed             ->   q
        *Available           ->   u
        *Read                ->   q
        *Write               ->   g


        CollisionMap:         fc
    ---------------------------------
        Width                ->   av    *  -2139064815
        Height               ->   ae    *  -1742330205
        Adjacency            ->   ar
        *Reset               ->   i


        Animable:             eq
    ---------------------------------
        ModelHeight          ->   cn    *  -571778433


        Region:               el
    ---------------------------------
        Tiles                ->   v
        InteractableObjects  ->   l


        AnimableNode:         cy
    ---------------------------------
        ID                   ->   i
        Animation            ->   t
        Flags                ->   h
        Orientation          ->   u
        Plane                ->   q
        X                    ->   g
        Y                    ->   v


        Boundary:             eo
    ---------------------------------
        ID                   ->   p     *  -1459753793
        Flags                ->   l     *  -1994299827
        Plane                ->   i     *  -243348171
        X                    ->   h     *  -2103463111
        Y                    ->   u     *  1115958401
        Orientation          ->   q     *  -53257687
        Renderable           ->   v
        OldRenderable        ->   t


        WallDecoration:       ec
    ---------------------------------
        ID                   ->   a     *  -106029819
        Flags                ->   k     *  -1948265495
        Plane                ->   i     *  -1051141917
        Height               ->   g     *  1227970919
        X                    ->   h     *  -708225337
        Y                    ->   u     *  -939056445
        RelativeX            ->   v     *  1592622403
        RelativeY            ->   t     *  -684859115
        Orientation          ->   q     *  -228390625
        Renderable           ->   p
        OldRenderable        ->   l


        GroundDecoration:     dc
    ---------------------------------
        ID                   ->   g     *  -819003167
        Flags                ->   v     *  -1082660123
        X                    ->   h     *  1577829391
        Y                    ->   u     *  -743787227
        Plane                ->   i     *  1893982255
        Renderable           ->   q


        Interactable:         ey
    ---------------------------------
        Renderable           ->   g
        ID                   ->   b     *  335509333
        Flags                ->   x     *  -95297751
        Orientation          ->   v     *  -515129617
        Plane                ->   i     *  -1348482943
        X                    ->   u     *  1639834407
        Y                    ->   q     *  1250418639
        RelativeX            ->   t     *  -361333291
        RelativeY            ->   l     *  -88415481
        SizeX                ->   p     *  -1496584953
        SizeY                ->   a     *  116027087


        SceneTile:            em
    ---------------------------------
        Boundary             ->   t
        SceneTile            ->   w
        Interactables        ->   r
        WallDecoration       ->   p
        GroundDecoration     ->   l
        X                    ->   h     *  509272557
        Y                    ->   u     *  -2110195345
        Plane                ->   q     *  966477479


        TradingPost:           m
    ---------------------------------
        Status               ->   i
        ItemID               ->   h     *  464534417
        Price                ->   u     *  -753038671
        Quantity             ->   q     *  -1782929383
        Transferred          ->   g
        Spent                ->   v
        QueryIDs             ->   N/A


        Model:                ew
    ---------------------------------
        IndicesX             ->   a
        IndicesY             ->   k
        IndicesZ             ->   r
        IndicesLength        ->   l
        VerticesX            ->   v
        VerticesY            ->   t
        VerticesZ            ->   p
        VerticesLength       ->   g
        TexIndicesX          ->   b
        TexIndicesY          ->   x
        TexIndicesZ          ->   o
        TexVerticesX         ->   y
        TexVerticesY         ->   w
        TexVerticesZ         ->   f
        TexVerticesLength    ->   n
        ShadowIntensity      ->   ac
        FitsSingleTile       ->   N/A
        *Translate           ->   c
        *RenderAtPoint       ->   ck


        AnimationSequence:    je
    ---------------------------------
        ControlFlow          ->   k


        HealthBarDefinition:  ib
    ---------------------------------


        HealthData:           cz
    ---------------------------------
        Health               ->   u     *  1178400491
        HealthRatio          ->   h     *  1675273429


        Entity:               ch
    ---------------------------------
        AnimationID          ->   eb    *  1953878287
        AnimationDelay       ->   cd    *  172235203
        SpokenText           ->   ai
        HitDamages           ->   aa
        HitTypes             ->   an
        HitCycle             ->   au
        QueueX               ->   cg
        QueueY               ->   ca
        QueueTraversed       ->   N/A
        QueueLength          ->   N/A
        LocalX               ->   ah    *  1012159919
        LocalY               ->   az    *  1352509351
        IsAnimating          ->   ao
        CombatCycle          ->   N/A
        InteractingIndex     ->   bp    *  421056233
        Orientation          ->   cz    *  1398051175
        HealthBar            ->   bd
        Height               ->   ch    *  840407707


        NPCDefinition:        iv
    ---------------------------------
        ID                   ->   g     *  486171537
        Name                 ->   v
        Actions              ->   n
        ModelIDs             ->   p
        CombatLevel          ->   w     *  771702591


        NPC:                  cl
    ---------------------------------
        Definition           ->   i


        PlayerDefinition:     hw
    ---------------------------------
        ID                   ->   q     *  -1869061289
        IsFemale             ->   u
        AnimatedModelID      ->   g     *  -6572925093266166259
        ModelID              ->   v     *  203471965754920499
        Equipment            ->   i


        Player:               bj
    ---------------------------------
        Name                 ->   i
        Model                ->   o
        Visible              ->   s
        Definition           ->   h
        CombatLevel          ->   t     *  -795504717


        WidgetNode:           br
    ---------------------------------
        ID                   ->   i     *  402580777


        Widget:               hr
    ---------------------------------
        Name                 ->   ce
        ID                   ->   d     *  -2058679599
        ParentID             ->   ae    *  -222757319
        ItemID               ->   eb    *  1953878287
        Items                ->   ek
        ItemStackSizes       ->   el
        ItemAmount           ->   eq    *  -1240348961
        Actions              ->   cn
        ActionType           ->   n     *  155948357
        Type                 ->   s     *  2023760555
        X                    ->   az    *  551526157
        Y                    ->   ac    *  1358010399
        Width                ->   aj    *  1666883303
        Height               ->   ax    *  1181401451
        Children             ->   er
        *SwapItems           ->   p


        ItemDefinition:       iu
    ---------------------------------
        ID                   ->   x     *  -1426401721
        Name                 ->   j
        IsMembers            ->   bb
        Actions              ->   ac
        GroundActions        ->   aq


        Item:                 cf
    ---------------------------------
        ID                   ->   i     *  1424532003
        Quantity             ->   h     *  1497042563


        Client:           client
    ---------------------------------
        Revision             ->   142
        Client               ->   client.ak
        LocalNPCs            ->   client.dj
        NPCIndices           ->   client.dd
        LocalPlayers         ->   client.ie
        PlayerIndices        ->   N/A
        LocalPlayer          ->   m.ii
        PlayerIndex          ->   client.if *  -1621399727
        GameCycle            ->   client.bt *  709865467
        LoginState           ->   cr.ad *  999823653
        GameState            ->   client.bn *  1852125649
        CrosshairColour      ->   client.in *  1615155271
        GroundItems          ->   N/A
        CollisionMap         ->   client.w
        TradingPostOffers    ->   client.rs
        CameraX              ->   b.gh  *  -1751071227
        CameraY              ->   b.gy  *  -853551867
        CameraZ              ->   ai.gr *  -659604793
        CameraPitch          ->   ae.gp *  1332885709
        CameraYaw            ->   ih.gf *  729986531
        Region               ->   al.fm
        Plane                ->   je.is *  751072291
        BaseX                ->   fm.ef *  1604638969
        BaseY                ->   et.ep *  -1196130045
        DestX                ->   client.oa *  1553133881
        DestY                ->   client.on *  1605887601
        TileHeights          ->   bq.o
        TileSettings         ->   bq.h
        Widgets              ->   cw.v
        WidgetSettings       ->   N/A
        ViewPortWidth        ->   client.qh *  -1560192239
        ViewPortHeight       ->   client.qj *  -21045549
    Simba Code:
    const
        ReflectionRevision = '140';
    {Node: ew}
     Node_Prev: THook =                  ['cg', 1];
     Node_UID: THook =                   ['cy', 1];
     Node_Next: THook =                  ['cl', 1];

    {Cacheable: ev}

    {Renderable: cy}
     Renderable_ModelHeight: THook =     ['cs', -2096719255];

    {Animable: ah}

    {Model: cf}

    {AnimationSequence: gg}

    {NpcDefinition: gx}
     NpcDefinition_Actions: THook =      ['h', 1];
     NpcDefinition_Name: THook =         ['p', 1];
     NpcDefinition_ID: THook =           ['t', -1405080953];
     NpcDefinition_CombatLevel: THook =  ['f', -1897348339];

    {linkedList: ej}
     linkedList_Head: THook =            ['d', 1];
     linkedList_Current: THook =         ['c', 1];

    {Actor: ax}
     Actor_QueueX: THook =               ['cj', 1];
     Actor_QueueY: THook =               ['cu', 1];
     Actor_QueueSize: THook =            ['cf', -1828014039];
     Actor_WorldX: THook =               ['ax', 1122551925];
     Actor_WorldY: THook =               ['ac', -632795927];
     Actor_Animation: THook =            ['bv', -348776435];
     Actor_SpokenText: THook =           ['NULL', 1];
     Actor_CombatCycle: THook =          ['NULL', 1];
     Actor_Health: THook =               ['NULL', 1];
     Actor_MaxHealth: THook =            ['NULL', 1];
     Actor_InteractingIndex: THook =     ['bk', 281152715];

    {Npc: ae}
     Npc_Definition: THook =             ['d', 1];

    {ObjectDefinition: gy}
     ObjectDefinition_Actions: THook =   ['ac', 1];
     ObjectDefinition_Name: THook =      ['w', 1];

    {Buffer: du}

    {Widget: fc}
     Widget_Children: THook =            ['et', 1];
     Widget_WidgetID: THook =            ['r', -521365795];
     Widget_AbsoluteX: THook =           ['y', 1416143611];
     Widget_AbsoluteY: THook =           ['am', 1381872461];
     Widget_Width: THook =               ['ax', -1846735173];
     Widget_Height: THook =              ['ac', 1573207255];
     Widget_ParentID: THook =            ['ak', -1722293023];
     Widget_IsHidden: THook =            ['aa', 1];
     Widget_RelativeX: THook =           ['aj', -875368155];
     Widget_RelativeY: THook =           ['ay', 1989543145];
     Widget_TextureID: THook =           ['al', -1612474971];
     Widget_Text: THook =                ['bg', 1];
     Widget_Name: THook =                ['cz', 1];
     Widget_Parent: THook =              ['cq', 1];
     Widget_ItemID: THook =              ['ee', 1236134309];
     Widget_ItemAmount: THook =          ['er', -2058219481];
     Widget_BoundsIndex: THook =         ['ed', 1770827179];
     Widget_ScrollX: THook =             ['aj', -875368155];
     Widget_ScrollY: THook =             ['ay', 1989543145];
     Widget_InvIDs: THook =              ['eh', 1];
     Widget_StackSizes: THook =          ['es', 1];

    {WidgetNode: i}
     WidgetNode_Id: THook =              ['d', -858964405];

    {HashTable: eb}
     HashTable_Buckets: THook =          ['c', 1];
     HashTable_Size: THook =             ['d', 1];
     HashTable_Index: THook =            ['t', 1];

    {GameShell: df}

    {Player: o}
     Player_Name: THook =                ['d', 1];
     Player_Definition: THook =          ['c', 1];
     Player_CombatLevel: THook =         ['u', -1966895337];

    {Client: client}
     Client_LoopCycle: THook =           ['client.h', -1396766197];
     Client_MenuOptions: THook =         ['client.iu', 1];
     Client_MenuActions: THook =         ['client.iq', 1];
     Client_IsMenuOpen: THook =          ['client.hi', 1];
     Client_MenuX: THook =               ['o.hu', -315136117];
     Client_MenuY: THook =               ['c.hw', 920665721];
     Client_MenuWidth: THook =           ['b.hr', 121758141];
     Client_MenuHeight: THook =          ['gb.ho', -1506301171];
     Client_MenuCount: THook =           ['client.hn', -627183775];
     Client_LocalPlayers: THook =        ['client.gg', 1];
     Client_Region: THook =              ['fb.dc', 1];
     Client_Plane: THook =               ['client.go', 1603146097];
     Client_DestinationY: THook =        ['client.mg', 1220137595];
     Client_DestinationX: THook =        ['client.ms', -1458248867];
     Client_LocalPlayer: THook =         ['f.hb', 1];
     Client_Widgets: THook =             ['eh.d', 1];
     Client_GameSettings: THook =        ['fj.n', 1];
     Client_BaseX: THook =               ['do.dl', 1473731053];
     Client_BaseY: THook =               ['df.dk', -781384431];
     Client_CurrentLevels: THook =       ['client.hc', 1];
     Client_RealLevels: THook =          ['client.hs', 1];
     Client_Experiences: THook =         ['client.hk', 1];
     Client_Weight: THook =              ['client.jc', 1041892549];
     Client_Energy: THook =              ['client.jh', -998150623];
     Client_CurrentWorld: THook =        ['client.q', 1816947923];
     Client_WidgetNodeCache: THook =     ['client.ja', 1];
     Client_TileSettings: THook =        ['g.c', 1];
     Client_TileHeights: THook =         ['g.d', 1];
     Client_LocalNpcs: THook =           ['client.cm', 1];
     Client_NpcIndices: THook =          ['client.cf', 1];
     Client_CrossHairColor: THook =      ['client.gw', -1634269283];
     Client_MapOffset: THook =           ['client.fi', 1271017521];
     Client_MapAngle: THook =            ['client.es', 234149063];
     Client_MapScale: THook =            ['client.er', 1887626479];
     Client_CameraYaw: THook =           ['s.fa', -1036293369];
     Client_Cosine: THook =              ['cu.m', 1];
     Client_CameraPitch: THook =         ['do.fd', 1317198511];
     Client_Sine: THook =                ['cu.o', 1];
     Client_CameraZ: THook =             ['c.fv', 2019010125];
     Client_CameraY: THook =             ['s.fg', -1335867747];
     Client_CameraX: THook =             ['f.fs', 830803765];
     Client_ViewportWidth: THook =       ['client.ol', -1920630505];
     Client_CameraScale: THook =         ['client.oy', -1889770523];
     Client_GroundItems: THook =         ['client.hj', 1];
     Client_LoginState: THook =          ['client.i', 866888665];
     Client_PlayerIndex: THook =         ['client.hp', -1043335821];
     Client_WidgetPositionX: THook =     ['client.ly', 1];
     Client_WidgetPositionY: THook =     ['client.lf', 1];
     Client_WidgetWidths: THook =        ['client.lm', 1];
     Client_WidgetHeights: THook =       ['client.lp', 1];

    {Region: cq}
     Region_SceneTiles: THook =          ['p', 1];

    {BoundaryObject: cl}
     BoundaryObject_ID: THook =          ['z', 143809805];
     BoundaryObject_Flags: THook =       ['l', -1714412415];
     BoundaryObject_LocalX: THook =      ['c', -1834799053];
     BoundaryObject_LocalY: THook =      ['n', -1124172865];
     BoundaryObject_Plane: THook =       ['d', -1509029749];
     BoundaryObject_Render: THook =      ['p', 1];
     BoundaryObject_Render2: THook =     ['u', 1];
     BoundaryObject_Orientation: THook = ['q', -1922798305];
     BoundaryObject_Height: THook =      ['t', -2145554239];

    {GameObject: ci}
     GameObject_ID: THook =              ['r', -1016134539];
     GameObject_Flags: THook =           ['s', 603394919];
     GameObject_Plane: THook =           ['d', 1936736595];
     GameObject_WorldX: THook =          ['n', -1510157693];
     GameObject_WorldY: THook =          ['q', 1178976389];
     GameObject_Height: THook =          ['c', -1204771041];
     GameObject_Render: THook =          ['t', 1];
     GameObject_Orientation: THook =     ['p', 758713025];
     GameObject_LocalX: THook =          ['u', 2005562965];
     GameObject_LocalY: THook =          ['l', 1437069007];
     GameObject_OffsetX: THook =         ['z', 1240943997];
     GameObject_OffsetY: THook =         ['v', 387569951];

    {FloorDecoration: cx}
     FloorDecoration_Render: THook =     ['q', 1];
     FloorDecoration_LocalX: THook =     ['c', -901642223];
     FloorDecoration_LocalY: THook =     ['n', -996344089];
     FloorDecoration_Plane: THook =      ['d', 480763419];
     FloorDecoration_ID: THook =         ['t', 356826227];
     FloorDecoration_Flags: THook =      ['p', 594772725];

    {WallDecoration: cc}
     WallDecoration_ID: THook =          ['v', -1185050127];
     WallDecoration_Flags: THook =       ['g', 12523779];
     WallDecoration_LocalX: THook =      ['c', 935974933];
     WallDecoration_LocalY: THook =      ['n', -1958805439];
     WallDecoration_Plane: THook =       ['d', -93348927];
     WallDecoration_Renderable: THook =  ['z', 1];
     WallDecoration_Renderable2: THook = ['l', 1];
     WallDecoration_Orientation: THook = ['q', 891200355];
     WallDecoration_Height: THook =      ['t', -686954743];
     WallDecoration_RelativeX: THook =   ['p', -232911325];
     WallDecoration_RelativeY: THook =   ['u', 1090924701];

    {SceneTile: ck}
     SceneTile_GameObject: THook =       ['w', 1];
     SceneTile_BoundaryObject: THook =   ['u', 1];
     SceneTile_WallDecoration: THook =   ['z', 1];
     SceneTile_GroundDecoration: THook = ['l', 1];

    {Item: as}
     Item_StackSizes: THook =            ['d', -933263931];
     Item_ID: THook =                    ['c', 1707626481];

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

    Default

    Quote Originally Posted by jstemper View Post
    ...

    I think I got the format right.. now to get the "Names" the same.. might be easier to just fix Kyle's updater:

    Simba Code:
    {Node: gn}
    Node_UID: THook =                                 ['cx', 1];
    Node_Prev: THook =                                ['co', 1];
    Node_Next: THook =                                ['cw', 1];

    {CacheableNode: ga}
    CacheableNode_Next: THook =                       ['ce', 1];
    CacheableNode_Prev: THook =                       ['cr', 1];

    {LinkedList: gu}
    LinkedList_Head: THook =                          ['i', 1];
    LinkedList_Current: THook =                       ['h', 1];

    {HashTable: gv}
    HashTable_Head: THook =                           ['u', 1];
    HashTable_Tail: THook =                           ['q', 1];
    HashTable_Cache|Buckets: THook =                  ['h', 1];
    HashTable_Index: THook =                          ['g', 1];
    HashTable_Capacity: THook =                       ['i', 1];

    {Queue: gi}
    Queue_Head: THook =                               ['i', 1];

    {Cache: gg}
    Cache_HashTable: THook =                          ['q', 1];
    Cache_Queue: THook =                              ['g', 1];
    Cache_Remaining: THook =                          ['u', 1];
    Cache_Capacity: THook =                           ['h', 1];

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

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

    {Rasteriser3D: en}
    Rasteriser3D_ShadowDecay: THook =                 ['y', 1];
    Rasteriser3D_SineTable: THook =                   ['f', 1];
    Rasteriser3D_CosineTable: THook =                 ['c', 1];

    {Typeface: jr}
    Typeface_CharacterPixels: THook =                 ['i', 1];

    {IndexedRGB: jp}
    IndexedRGB_Pixels: THook =                        ['h', 1];
    IndexedRGB_Palette: THook =                       ['i', 1];

    {Keyboard: au}

    {GameShell: bh}

    {Stream: fv}
    Stream_Payload: THook =                           ['i', 1];
    Stream_CRC: THook =                               ['u', 1];

    {BufferedConnection: ft}
    BufferedConnection_InputStream: THook =           ['h', 1];
    BufferedConnection_OutputStream: THook =          ['i', 1];
    BufferedConnection_Socket: THook =                ['u', 1];
    BufferedConnection_Payload: THook =               ['t', 1];
    BufferedConnection_IsClosed: THook =              ['q', 1];

    {CollisionMap: fc}
    CollisionMap_Width: THook =                       ['av', -2139064815];
    CollisionMap_Height: THook =                      ['ae', -1742330205];
    CollisionMap_Adjacency: THook =                   ['ar', 1];

    {Animable: eq}
    Animable_ModelHeight: THook =                     ['cn', -571778433];

    {Region: el}
    Region_Tiles: THook =                             ['v', 1];
    Region_InteractableObjects: THook =               ['l', 1];

    {AnimableNode: cy}
    AnimableNode_ID: THook =                          ['i', 1];
    AnimableNode_Animation: THook =                   ['t', 1];
    AnimableNode_Flags: THook =                       ['h', 1];
    AnimableNode_Orientation: THook =                 ['u', 1];
    AnimableNode_Plane: THook =                       ['q', 1];
    AnimableNode_X: THook =                           ['g', 1];
    AnimableNode_Y: THook =                           ['v', 1];

    {Boundary: eo}
    Boundary_ID: THook =                              ['p', -1459753793];
    Boundary_Flags: THook =                           ['l', -1994299827];
    Boundary_Plane: THook =                           ['i', -243348171];
    Boundary_X: THook =                               ['h', -2103463111];
    Boundary_Y: THook =                               ['u', 1115958401];
    Boundary_Orientation: THook =                     ['q', -53257687];
    Boundary_Renderable: THook =                      ['v', 1];
    Boundary_OldRenderable: THook =                   ['t', 1];

    {WallDecoration: ec}
    WallDecoration_ID: THook =                        ['a', -106029819];
    WallDecoration_Flags: THook =                     ['k', -1948265495];
    WallDecoration_Plane: THook =                     ['i', -1051141917];
    WallDecoration_Height: THook =                    ['g', 1227970919];
    WallDecoration_X: THook =                         ['h', -708225337];
    WallDecoration_Y: THook =                         ['u', -939056445];
    WallDecoration_RelativeX: THook =                 ['v', 1592622403];
    WallDecoration_RelativeY: THook =                 ['t', -684859115];
    WallDecoration_Orientation: THook =               ['q', -228390625];
    WallDecoration_Renderable: THook =                ['p', 1];
    WallDecoration_OldRenderable: THook =             ['l', 1];

    {GroundDecoration: dc}
    GroundDecoration_ID: THook =                      ['g', -819003167];
    GroundDecoration_Flags: THook =                   ['v', -1082660123];
    GroundDecoration_X: THook =                       ['h', 1577829391];
    GroundDecoration_Y: THook =                       ['u', -743787227];
    GroundDecoration_Plane: THook =                   ['i', 1893982255];
    GroundDecoration_Renderable: THook =              ['q', 1];

    {Interactable: ey}
    Interactable_Renderable: THook =                  ['g', 1];
    Interactable_ID: THook =                          ['b', 335509333];
    Interactable_Flags: THook =                       ['x', -95297751];
    Interactable_Orientation: THook =                 ['v', -515129617];
    Interactable_Plane: THook =                       ['i', -1348482943];
    Interactable_X: THook =                           ['u', 1639834407];
    Interactable_Y: THook =                           ['q', 1250418639];
    Interactable_RelativeX: THook =                   ['t', -361333291];
    Interactable_RelativeY: THook =                   ['l', -88415481];
    Interactable_SizeX: THook =                       ['p', -1496584953];
    Interactable_SizeY: THook =                       ['a', 116027087];

    {SceneTile: em}
    SceneTile_Boundary: THook =                       ['t', 1];
    SceneTile_SceneTile: THook =                      ['w', 1];
    SceneTile_Interactables: THook =                  ['r', 1];
    SceneTile_WallDecoration: THook =                 ['p', 1];
    SceneTile_GroundDecoration: THook =               ['l', 1];
    SceneTile_X: THook =                              ['h', 509272557];
    SceneTile_Y: THook =                              ['u', -2110195345];
    SceneTile_Plane: THook =                          ['q', 966477479];

    {TradingPost: m}
    TradingPost_Status: THook =                       ['i', 1];
    TradingPost_ItemID: THook =                       ['h', 464534417];
    TradingPost_Price: THook =                        ['u', -753038671];
    TradingPost_Quantity: THook =                     ['q', -1782929383];
    TradingPost_Transferred: THook =                  ['g', 1];
    TradingPost_Spent: THook =                        ['v', 1];
    TradingPost_QueryIDs: THook =                     ['N/A', 1];

    {Model: ew}
    Model_IndicesX: THook =                           ['a', 1];
    Model_IndicesY: THook =                           ['k', 1];
    Model_IndicesZ: THook =                           ['r', 1];
    Model_IndicesLength: THook =                      ['l', 1];
    Model_VerticesX: THook =                          ['v', 1];
    Model_VerticesY: THook =                          ['t', 1];
    Model_VerticesZ: THook =                          ['p', 1];
    Model_VerticesLength: THook =                     ['g', 1];
    Model_TexIndicesX: THook =                        ['b', 1];
    Model_TexIndicesY: THook =                        ['x', 1];
    Model_TexIndicesZ: THook =                        ['o', 1];
    Model_TexVerticesX: THook =                       ['y', 1];
    Model_TexVerticesY: THook =                       ['w', 1];
    Model_TexVerticesZ: THook =                       ['f', 1];
    Model_TexVerticesLength: THook =                  ['n', 1];
    Model_ShadowIntensity: THook =                    ['ac', 1];
    Model_FitsSingleTile: THook =                     ['N/A', 1];

    {AnimationSequence: je}
    AnimationSequence_ControlFlow: THook =            ['k', 1];

    {HealthBarDefinition: iq}

    {HealthBar: cs}
    HealthBar_LinkedList: THook =                     ['q', 1];
    HealthBar_Definition: THook =                     ['u', 1];

    {HealthData: cz}
    HealthData_Health: THook =                        ['u', 1178400491];
    HealthData_HealthRatio: THook =                   ['h', 1675273429];

    {Entity: ch}
    Entity_AnimationID: THook =                       ['eb', 1953878287];
    Entity_AnimationDelay: THook =                    ['cd', 172235203];
    Entity_SpokenText: THook =                        ['ai', 1];
    Entity_HitDamages: THook =                        ['aa', 1];
    Entity_HitTypes: THook =                          ['an', 1];
    Entity_HitCycle: THook =                          ['au', 1];
    Entity_QueueX: THook =                            ['cg', 1];
    Entity_QueueY: THook =                            ['ca', 1];
    Entity_QueueTraversed: THook =                    ['N/A', 1];
    Entity_QueueLength: THook =                       ['N/A', 1];
    Entity_LocalX: THook =                            ['ah', 1012159919];
    Entity_LocalY: THook =                            ['az', 1352509351];
    Entity_IsAnimating: THook =                       ['ao', 1];
    Entity_CombatCycle: THook =                       ['N/A', 1];
    Entity_InteractingIndex: THook =                  ['bp', 421056233];
    Entity_Orientation: THook =                       ['cz', 1398051175];
    Entity_HealthBar: THook =                         ['bd', 1];
    Entity_Height: THook =                            ['ch', 840407707];

    {NPCDefinition: iv}
    NPCDefinition_ID: THook =                         ['g', 486171537];
    NPCDefinition_Name: THook =                       ['v', 1];
    NPCDefinition_Actions: THook =                    ['n', 1];
    NPCDefinition_ModelIDs: THook =                   ['p', 1];
    NPCDefinition_CombatLevel: THook =                ['w', 771702591];

    {NPC: cl}
    NPC_Definition: THook =                           ['i', 1];

    {PlayerDefinition: hw}
    PlayerDefinition_ID: THook =                      ['q', -1869061289];
    PlayerDefinition_IsFemale: THook =                ['u', 1];
    PlayerDefinition_AnimatedModelID: THook =         ['g', -6572925093266166259];
    PlayerDefinition_ModelID: THook =                 ['v', 203471965754920499];
    PlayerDefinition_Equipment: THook =               ['i', 1];

    {Player: bj}
    Player_Name: THook =                              ['i', 1];
    Player_Model: THook =                             ['o', 1];
    Player_Visible: THook =                           ['s', 1];
    Player_Definition: THook =                        ['h', 1];
    Player_CombatLevel: THook =                       ['t', -795504717];

    {WidgetNode: br}
    WidgetNode_ID: THook =                            ['i', 402580777];

    {Widget: hr}
    Widget_Name: THook =                              ['ce', 1];
    Widget_ID: THook =                                ['d', -2058679599];
    Widget_ParentID: THook =                          ['ae', -222757319];
    Widget_ItemID: THook =                            ['eb', 1953878287];
    Widget_Items: THook =                             ['ek', 1];
    Widget_ItemStackSizes: THook =                    ['el', 1];
    Widget_ItemAmount: THook =                        ['eq', -1240348961];
    Widget_Actions: THook =                           ['cn', 1];
    Widget_ActionType: THook =                        ['n', 155948357];
    Widget_Type: THook =                              ['s', 2023760555];
    Widget_X: THook =                                 ['az', 551526157];
    Widget_Y: THook =                                 ['ac', 1358010399];
    Widget_Width: THook =                             ['aj', 1666883303];
    Widget_Height: THook =                            ['ax', 1181401451];
    Widget_Children: THook =                          ['er', 1];

    {ItemDefinition: iu}
    ItemDefinition_ID: THook =                        ['x', -1426401721];
    ItemDefinition_Name: THook =                      ['j', 1];
    ItemDefinition_IsMembers: THook =                 ['bb', 1];
    ItemDefinition_Actions: THook =                   ['ac', 1];
    ItemDefinition_GroundActions: THook =             ['aq', 1];

    {Item: cf}
    Item_ID: THook =                                  ['i', 1424532003];
    Item_Quantity: THook =                            ['h', 1497042563];

    {Client: client}
    Client_Revision: THook =                          ['142', 1];
    Client_Client: THook =                            ['client.ak', 1];
    Client_LocalNPCs: THook =                         ['client.dj', 1];
    Client_NPCIndices: THook =                        ['client.dd', 1];
    Client_LocalPlayers: THook =                      ['client.ie', 1];
    Client_PlayerIndices: THook =                     ['N/A', 1];
    Client_LocalPlayer: THook =                       ['m.ii', 1];
    Client_PlayerIndex: THook =                       ['client.if', -1621399727];
    Client_GameCycle: THook =                         ['client.bt', 709865467];
    Client_LoginState: THook =                        ['cr.ad', 999823653];
    Client_GameState: THook =                         ['client.bn', 1852125649];
    Client_CrosshairColour: THook =                   ['client.in', 1615155271];
    Client_GroundItems: THook =                       ['N/A', 1];
    Client_CollisionMap: THook =                      ['client.w', 1];
    Client_TradingPostOffers: THook =                 ['client.rs', 1];
    Client_CameraX: THook =                           ['b.gh', -1751071227];
    Client_CameraY: THook =                           ['b.gy', -853551867];
    Client_CameraZ: THook =                           ['ai.gr', -659604793];
    Client_CameraPitch: THook =                       ['ae.gp', 1332885709];
    Client_CameraYaw: THook =                         ['ih.gf', 729986531];
    Client_Region: THook =                            ['al.fm', 1];
    Client_Plane: THook =                             ['je.is', 751072291];
    Client_BaseX: THook =                             ['fm.ef', 1604638969];
    Client_BaseY: THook =                             ['et.ep', -1196130045];
    Client_DestX: THook =                             ['client.oa', 1553133881];
    Client_DestY: THook =                             ['client.on', 1605887601];
    Client_TileHeights: THook =                       ['bq.o', 1];
    Client_TileSettings: THook =                      ['bq.h', 1];
    Client_Widgets: THook =                           ['cw.v', 1];
    Client_WidgetSettings: THook =                    ['N/A', 1];
    Client_ViewPortWidth: THook =                     ['client.qh', -1560192239];
    Client_ViewPortHeight: THook =                    ['client.qj', -21045549];
    Last edited by Brandon; 05-26-2017 at 12:43 AM.
    I am Ggzz..
    Hackintosher

  7. #7
    Join Date
    Nov 2015
    Posts
    73
    Mentioned
    1 Post(s)
    Quoted
    31 Post(s)

    Default

    I'm trying to transpose some in, I got up to client:

    Code:
    {Region: el}
     Region_SceneTiles: THook =          ['v', 1];
    
    {BoundaryObject: eo}
     BoundaryObject_ID: THook =          ['p', -1459753793];
     BoundaryObject_Flags: THook =       ['l', -1994299827];
     BoundaryObject_LocalX: THook =      ['h', -2103463111];
     BoundaryObject_LocalY: THook =      ['u', 1115958401];
     BoundaryObject_Plane: THook =       ['i', -243348171];
     BoundaryObject_Render: THook =      ['v', 1];
     BoundaryObject_Render2: THook =     ['t', 1];
     BoundaryObject_Orientation: THook = ['q', -53257687];
     BoundaryObject_Height: THook =      ['t', -2145554239];
    
    {GameObject: ey}
     GameObject_ID: THook =              ['b', 335509333];
     GameObject_Flags: THook =           ['x', -95297751];
     GameObject_Plane: THook =           ['i', -1348482943];
     GameObject_WorldX: THook =          ['p', -1496584953];
     GameObject_WorldY: THook =          ['a', 116027087];
     GameObject_Height: THook =          ['c', -1204771041];
     GameObject_Render: THook =          ['t', 1];
     GameObject_Orientation: THook =     ['v', -515129617];
     GameObject_LocalX: THook =          ['u', 1639834407];
     GameObject_LocalY: THook =          ['q', 1250418639];
     GameObject_OffsetX: THook =         ['t', -361333291];
     GameObject_OffsetY: THook =         ['l', -88415481];
    
    {FloorDecoration: dx}
     FloorDecoration_Render: THook =     ['q', 1];
     FloorDecoration_LocalX: THook =     ['h', 1577829391];
     FloorDecoration_LocalY: THook =     ['u', -743787227];
     FloorDecoration_Plane: THook =      ['i', 1893982255];
     FloorDecoration_ID: THook =         ['g', -819003167];
     FloorDecoration_Flags: THook =      ['v', -1082660123];
    
    {WallDecoration: ec}
     WallDecoration_ID: THook =          ['a', -106029819];
     WallDecoration_Flags: THook =       ['k', -1948265495];
     WallDecoration_LocalX: THook =      ['h', -708225337];
     WallDecoration_LocalY: THook =      ['u', -939056445];
     WallDecoration_Plane: THook =       ['d', -1051141917];
     WallDecoration_Renderable: THook =  ['p', 1];
     WallDecoration_Renderable2: THook = ['l', 1];
     WallDecoration_Orientation: THook = ['q', -228390625];
     WallDecoration_Height: THook =      ['g', 1227970919];
     WallDecoration_RelativeX: THook =   ['v', 1592622403];
     WallDecoration_RelativeY: THook =   ['t', -684859115];
    
    {SceneTile: em}
     SceneTile_GameObject: THook =       ['r', 1];
     SceneTile_BoundaryObject: THook =   ['t', 1];
     SceneTile_WallDecoration: THook =   ['p', 1];
     SceneTile_GroundDecoration: THook = ['l', 1];
    
    {Item: cf}
     Item_StackSizes: THook =            ['h', 1497042563;
     Item_ID: THook =                    ['i', 1424532003];
    starting from bottom up.

    Starting with client things really start to not match up.

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

    Default

    Quote Originally Posted by terd View Post
    I'm trying to transpose some in, I got up to client:

    [CODE]...

    Finished..

    Simba Code:
    {Node: ew}
    Node_UID: THook =                                 ['cy', 1];
    Node_Prev: THook =                                ['cg', 1];
    Node_Next: THook =                                ['cl', 1];

    {Cacheable: ev}
    Cacheable_Next: THook =                       ['ce', 1];
    Cacheable_Prev: THook =                       ['cn', 1];

    {LinkedList: ey}
    LinkedList_Head: THook =                          ['d', 1];
    LinkedList_Current: THook =                       ['c', 1];

    {HashTable: ed}
    HashTable_Head: THook =                           ['n', 1];
    HashTable_Tail: THook =                           ['q', 1];
    HashTable_Buckets: THook =                  ['c', 1];
    HashTable_Index: THook =                          ['t', 1];
    HashTable_Size: THook =                       ['d', 1];

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

    {Cache: ez}
    Cache_HashTable: THook =                          ['q', 1];
    Cache_Queue: THook =                              ['t', 1];
    Cache_Remaining: THook =                          ['n', 1];
    Cache_Capacity: THook =                           ['c', 1];

    {ClassData: hr}
    ClassData_Bytes: THook =                          ['z', 1];
    ClassData_Methods: THook =                        ['u', 1];
    ClassData_Fields: THook =                         ['t', 1];

    {Rasteriser: hc}
    Rasteriser_Pixels: THook =                        ['y', 1];
    Rasteriser_Width: THook =                         ['am', 1];
    Rasteriser_Height: THook =                        ['ax', 1];

    {Rasteriser3D: cu}
    Rasteriser3D_ShadowDecay: THook =                 ['b', 1];
    Rasteriser3D_SineTable: THook =                   ['o', 1];
    Rasteriser3D_CosineTable: THook =                 ['m', 1];

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

    {IndexedRGB: hd}
    IndexedRGB_Pixels: THook =                        ['c', 1];
    IndexedRGB_Palette: THook =                       ['d', 1];

    {ImageRGB: hu}
    ImageRGB_Pixels: THook =                          ['d', 1];
    ImageRGB_Width: THook =                           ['c', 1];
    ImageRGB_Height: THook =                          ['n', 1];
    ImageRGB_MaxWidth: THook =                        ['p', 1];
    ImageRGB_MaxHeight: THook =                       ['u', 1];

    {GraphicsBuffer: hi}
    GraphicsBuffer_ColourModel: THook =               ['d', 1];
    GraphicsBuffer_ImageConsumer: THook =             ['p', 1];

    {Keyboard: dt}

    {GameShell: df}

    {Buffer: du}
    Buffer_Payload: THook =                           ['d', 1];
    Buffer_CRC: THook =                               ['n', 1];

    {BufferedConnection: dx}
    BufferedConnection_InputStream: THook =           ['d', 1];
    BufferedConnection_OutputStream: THook =          ['c', 1];
    BufferedConnection_Socket: THook =                ['n', 1];
    BufferedConnection_Payload: THook =               ['u', 1];
    BufferedConnection_IsClosed: THook =              ['q', 1];

    {CollisionMap: dj}
    CollisionMap_Width: THook =                       ['ae', 1874268615];
    CollisionMap_Height: THook =                      ['aq', -1606083509];
    CollisionMap_Adjacency: THook =                   ['av', 1];

    {Renderable: cy}
    Renderable_ModelHeight: THook =                     ['cs', -2096719255];

    {Region: cq}
    Region_SceneTiles: THook =                             ['p', 1];
    Region_InteractableObjects: THook =               ['l', 1];

    {Animable: ah}
    AnimableNode_ID: THook =                          ['d', 1];
    AnimableNode_Animation: THook =                   ['u', 1];
    AnimableNode_Flags: THook =                       ['c', 1];
    AnimableNode_Orientation: THook =                 ['n', 1];
    AnimableNode_Plane: THook =                       ['q', 1];
    AnimableNode_X: THook =                           ['t', 1];
    AnimableNode_Y: THook =                           ['p', 1];

    {BoundaryObject: cl}
    BoundaryObject_ID: THook =                              ['z', 143809805];
    BoundaryObject_Flags: THook =                           ['l', -1714412415];
    BoundaryObject_Plane: THook =                           ['d', -1509029749];
    BoundaryObject_LocalX: THook =                               ['c', -1834799053];
    BoundaryObject_LocalY: THook =                               ['n', -1124172865];
    BoundaryObject_Orientation: THook =                     ['q', -1922798305];
    BoundaryObject_Render: THook =                      ['p', 1];
    BoundaryObject_Render2: THook =                   ['u', 1];

    {WallDecoration: cc}
    WallDecoration_ID: THook =                        ['v', -1185050127];
    WallDecoration_Flags: THook =                     ['g', 12523779];
    WallDecoration_Plane: THook =                     ['d', -93348927];
    WallDecoration_Height: THook =                    ['t', -686954743];
    WallDecoration_LocalX: THook =                         ['c', 935974933];
    WallDecoration_LocalY: THook =                         ['n', -1958805439];
    WallDecoration_RelativeX: THook =                 ['p', -232911325];
    WallDecoration_RelativeY: THook =                 ['u', 1090924701];
    WallDecoration_Orientation: THook =               ['q', 891200355];
    WallDecoration_Renderable: THook =                ['z', 1];
    WallDecoration_Renderable2: THook =             ['l', 1];

    {FloorDecoration: cx}
    FloorDecoration_ID: THook =                      ['t', 356826227];
    FloorDecoration_Flags: THook =                   ['p', 594772725];
    FloorDecoration_LocalX: THook =                       ['c', -901642223];
    FloorDecoration_LocalY: THook =                       ['n', -996344089];
    FloorDecoration_Plane: THook =                   ['d', 480763419];
    FloorDecoration_Render: THook =              ['q', 1];

    {GameObject: ci}
    GameObject_Render: THook =                  ['t', 1];
    GameObject_ID: THook =                          ['r', -1016134539];
    GameObject_Flags: THook =                       ['s', 603394919];
    GameObject_Orientation: THook =                 ['p', 758713025];
    GameObject_Plane: THook =                       ['d', 1936736595];
    GameObject_WorldX: THook =                           ['n', -1510157693];
    GameObject_WorldY: THook =                           ['q', 1178976389];
    GameObject_LocalX: THook =                   ['u', 2005562965];
    GameObject_LocalY: THook =                   ['l', 1437069007];
    GameObject_Width: THook =                       ['z', 1240943997];
    GameObject_Height: THook =                       ['v', 387569951];

    {SceneTile: ck}
    SceneTile_BoundaryObject: THook =                       ['u', 1];
    SceneTile_SceneTileObject: THook =                      ['f', 1];
    SceneTile_GameObject: THook =                  ['w', 1];
    SceneTile_WallDecoration: THook =                 ['z', 1];
    SceneTile_GroundDecoration: THook =               ['l', 1];
    SceneTile_LocalX: THook =                              ['c', -1767849801];
    SceneTile_LocalY: THook =                              ['n', 1871042591];
    SceneTile_Plane: THook =                          ['q', -2076119841];

    {GrandExchange: t}
    GrandExchange_Status: THook =                       ['d', 1];
    GrandExchange_ItemID: THook =                       ['c', -166841073];
    GrandExchange_Price: THook =                        ['n', -379833969];
    GrandExchange_Quantity: THook =                     ['q', 2029908369];
    GrandExchange_Transferred: THook =                  ['t', 1];
    GrandExchange_Spent: THook =                        ['p', 1979301933];
    GrandExchange_QueryIDs: THook =                     ['N/A', 1];

    {Model: cf}
    Model_IndicesX: THook =                           ['v', 1];
    Model_IndicesY: THook =                           ['g', 1];
    Model_IndicesZ: THook =                           ['w', 1];
    Model_IndicesLength: THook =                      ['l', 1];
    Model_VerticesX: THook =                          ['p', 1];
    Model_VerticesY: THook =                          ['u', 1];
    Model_VerticesZ: THook =                          ['z', 1];
    Model_VerticesLength: THook =                     ['t', 1];
    Model_TexIndicesX: THook =                        ['r', 1];
    Model_TexIndicesY: THook =                        ['s', 1];
    Model_TexIndicesZ: THook =                        ['k', 1];
    Model_TexVerticesX: THook =                       ['b', 1];
    Model_TexVerticesY: THook =                       ['f', 1];
    Model_TexVerticesZ: THook =                       ['o', 1];
    Model_TexVerticesLength: THook =                  ['h', 1];
    Model_ShadowIntensity: THook =                    ['az', 1];
    Model_FitsSingleTile: THook =                     ['am', 1];

    {AnimationSequence: gg}
    AnimationSequence_ControlFlow: THook =            ['g', 1];

    {HealthBarDefinition: gz}

    {HealthBar: ay}
    HealthBar_LinkedList: THook =                     ['q', 1];
    HealthBar_Definition: THook =                     ['n', 1];

    {HealthData: ac}
    HealthData_Health: THook =                        ['n', -1620858907];
    HealthData_HealthRatio: THook =                   ['c', 1752400569];

    {Actor: ax}
    Actor_Animation: THook =                       ['n', 1253957049];
    Actor_AnimationDelay: THook =                    ['ck', -1288950623];
    Actor_SpokenText: THook =                        ['af', 1];
    Actor_HitDamages: THook =                        ['at', 1];
    Actor_HitTypes: THook =                          ['ah', 1];
    Actor_HitCycle: THook =                          ['ap', 1];
    Actor_QueueX: THook =                            ['cj', 1];
    Actor_QueueY: THook =                            ['cu', 1];
    Actor_QueueTraversed: THook =                    ['N/A', 1];
    Actor_QueueSize: THook =                       ['N/A', 1];
    Actor_WorldX: THook =                            ['ax', 1122551925];
    Actor_WorldY: THook =                            ['ac', -632795927];
    Actor_IsAnimating: THook =                       ['ab', 1];
    Actor_CombatCycle: THook =                       ['N/A', 1];
    Actor_InteractingIndex: THook =                  ['bk', 281152715];
    Actor_Orientation: THook =                       ['cb', -229937773];
    Actor_HealthBar: THook =                         ['br', 1];
    Actor_Height: THook =                            ['cx', -1976737573];

    {NPCDefinition: gx}
    NPCDefinition_ID: THook =                         ['t', -1405080953];
    NPCDefinition_Name: THook =                       ['p', 1];
    NPCDefinition_Actions: THook =                    ['h', 1];
    NPCDefinition_ModelIDs: THook =                   ['z', 1];
    NPCDefinition_CombatLevel: THook =                ['f', -1897348339];

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

    {PlayerDefinition: fp}
    PlayerDefinition_ID: THook =                      ['q', -728199495];
    PlayerDefinition_IsFemale: THook =                ['n', 1];
    PlayerDefinition_AnimatedModelID: THook =         ['t', 630891746039338035];
    PlayerDefinition_ModelID: THook =                 ['p', 6280462864088275417];
    PlayerDefinition_Equipment: THook =               ['d', 1];

    {Player: o}
    Player_Name: THook =                              ['d', 1];
    Player_Model: THook =                             ['k', 1];
    Player_Visible: THook =                           ['x', 1];
    Player_Definition: THook =                        ['c', 1];
    Player_CombatLevel: THook =                       ['u', -1966895337];

    {WidgetNode: i}
    WidgetNode_ID: THook =                            ['d', -858964405];

    {Widget: fc}
    Widget_Name: THook =                              ['cz', 1];
    Widget_WidgetID: THook =                                ['r', -521365795];
    Widget_ParentID: THook =                          ['ak', -1722293023];
    Widget_ItemID: THook =                            ['ee', 1236134309];
    Widget_InvIDs: THook =                             ['eh', 1];
    Widget_StackSizes: THook =                    ['es', 1];
    Widget_ItemAmount: THook =                        ['er', -2058219481];
    Widget_Actions: THook =                           ['cj', 1];
    Widget_ActionType: THook =                        ['e', 2107442863];
    Widget_Type: THook =                              ['k', -1591319963];
    Widget_AbsoluteX: THook =                                 ['j', -1909504737];
    Widget_AbsoluteX: THook =                                 ['b', -1548897025];
    Widget_Width: THook =                             ['ax', -1846735173];
    Widget_Height: THook =                            ['ac', 1573207255];
    Widget_Children: THook =                          ['et', 1];

    {ItemDefinition: gu}
    ItemDefinition_ID: THook =                        ['s', 121909049];
    ItemDefinition_Name: THook =                      ['e', 1];
    ItemDefinition_IsMembers: THook =                 ['ac', 1];
    ItemDefinition_Actions: THook =                   ['az', 1];
    ItemDefinition_GroundActions: THook =             ['ao', 1];

    {Item: as}
    Item_ID: THook =                                  ['d', -933263931];
    Item_StackSizes: THook =                            ['c', 1707626481];

    {Client: client}
    Client_Revision: THook =                          ['140', 1];
    Client_Client: THook =                            ['client.c', 1];
    Client_LocalNPCs: THook =                         ['client.cm', 1];
    Client_NPCIndices: THook =                        ['client.cf', 1];
    Client_LocalPlayers: THook =                      ['client.gg', 1];
    Client_PlayerIndices: THook =                     ['N/A', 1];
    Client_LocalPlayer: THook =                       ['f.hb', 1];
    Client_PlayerIndex: THook =                       ['client.hp', -1043335821];
    Client_LoopCycle: THook =                         ['client.h', -1396766197];
    Client_LoginState: THook =                        ['N/A', 1];
    Client_GameState: THook =                         ['client.i', 866888665];
    Client_CrosshairColour: THook =                   ['client.gw', -1634269283];
    Client_GroundItems: THook =                       ['N/A', 1];
    Client_CollisionMap: THook =                      ['client.w', 1];
    Client_GrandExchangeOffers: THook =                 ['client.pk', 1];
    Client_CameraX: THook =                           ['f.fs', 830803765];
    Client_CameraY: THook =                           ['s.fg', -1335867747];
    Client_CameraZ: THook =                           ['c.fv', 2019010125];
    Client_CameraPitch: THook =                       ['do.fd', 1317198511];
    Client_CameraYaw: THook =                         ['s.fa', -1036293369];
    Client_Region: THook =                            ['fb.dc', 1];
    Client_Plane: THook =                             ['client.go', 1603146097];
    Client_BaseX: THook =                             ['do.dl', 1473731053];
    Client_BaseY: THook =                             ['df.dk', -781384431];
    Client_DestinationX: THook =                             ['client.ms', -1936881419];
    Client_DestinationY: THook =                             ['client.mg', 405224627];
    Client_TileHeights: THook =                       ['fi.k', 1];
    Client_TileSettings: THook =                      ['g.c', 1];
    Client_Widgets: THook =                           ['eh.d', 1];
    Client_WidgetSettings: THook =                    ['N/A', 1];
    Client_ViewPortWidth: THook =                     ['client.ol', -1920630505];
    Client_ViewPortHeight: THook =                    ['client.of', -1387025351];

    I might also fix his updater as well because I don't have some of his fields and he doesn't have some of mine..
    Last edited by Brandon; 05-26-2017 at 02:04 AM.
    I am Ggzz..
    Hackintosher

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

    Default

    Quote Originally Posted by the bank View Post
    Specifically which pattern is no longer valid?
    During the normalization of equality expressions(EqualSwap deob step), the Searcher.find() method is throwing a NPE.

  10. #10
    Join Date
    Dec 2010
    Posts
    483
    Mentioned
    30 Post(s)
    Quoted
    328 Post(s)

    Default

    Quote Originally Posted by tls View Post
    During the normalization of equality expressions(EqualSwap deob step), the Searcher.find() method is throwing a NPE.
    Link to code repo please and I'll take a look. Thanks for info.

    Also, build #142 from earlier today (not mine, I dont do OSRS):
    https://pastebin.com/Ct9mwKbA

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

    Default

    Quote Originally Posted by the bank View Post
    Link to code repo please and I'll take a look. Thanks for info.

    Also, build #142 from earlier today (not mine, I dont do OSRS):
    https://pastebin.com/Ct9mwKbA
    Or just run it and read the stack trace?

  12. #12
    Join Date
    Dec 2010
    Posts
    483
    Mentioned
    30 Post(s)
    Quoted
    328 Post(s)

    Default

    Quote Originally Posted by tls View Post
    Or just run it and read the stack trace?
    I asked for the repo because I have no idea where to find it? How do you suggest I run it?

    Forget it, was only trying to help. Cheers.

  13. #13
    Join Date
    Nov 2015
    Posts
    73
    Mentioned
    1 Post(s)
    Quoted
    31 Post(s)

    Default

    There was a typo on Widget_AbsoluteX where there were 2 of them. I fixed it and came up with this:

    Code:
    const
        ReflectionRevision = '141';
    {Node: ew}
    Node_UID: THook =                                 ['cy', 1];
    Node_Prev: THook =                                ['cg', 1];
    Node_Next: THook =                                ['cl', 1];
    
    {Cacheable: ev}
    Cacheable_Next: THook =                       ['ce', 1];
    Cacheable_Prev: THook =                       ['cn', 1];
    
    {LinkedList: ey}
    LinkedList_Head: THook =                          ['d', 1];
    LinkedList_Current: THook =                       ['c', 1];
    
    {HashTable: ed}
    HashTable_Head: THook =                           ['n', 1];
    HashTable_Tail: THook =                           ['q', 1];
    HashTable_Buckets: THook =                  ['c', 1];
    HashTable_Index: THook =                          ['t', 1];
    HashTable_Size: THook =                       ['d', 1];
    
    {Queue: ef}
    Queue_Head: THook =                               ['d', 1];
    
    {Cache: ez}
    Cache_HashTable: THook =                          ['q', 1];
    Cache_Queue: THook =                              ['t', 1];
    Cache_Remaining: THook =                          ['n', 1];
    Cache_Capacity: THook =                           ['c', 1];
    
    {ClassData: hr}
    ClassData_Bytes: THook =                          ['z', 1];
    ClassData_Methods: THook =                        ['u', 1];
    ClassData_Fields: THook =                         ['t', 1];
    
    {Rasteriser: hc}
    Rasteriser_Pixels: THook =                        ['y', 1];
    Rasteriser_Width: THook =                         ['am', 1];
    Rasteriser_Height: THook =                        ['ax', 1];
    
    {Rasteriser3D: cu}
    Rasteriser3D_ShadowDecay: THook =                 ['b', 1];
    Rasteriser3D_SineTable: THook =                   ['o', 1];
    Rasteriser3D_CosineTable: THook =                 ['m', 1];
    
    {Typeface: hp}
    Typeface_CharacterPixels: THook =                 ['d', 1];
    
    {IndexedRGB: hd}
    IndexedRGB_Pixels: THook =                        ['c', 1];
    IndexedRGB_Palette: THook =                       ['d', 1];
    
    {ImageRGB: hu}
    ImageRGB_Pixels: THook =                          ['d', 1];
    ImageRGB_Width: THook =                           ['c', 1];
    ImageRGB_Height: THook =                          ['n', 1];
    ImageRGB_MaxWidth: THook =                        ['p', 1];
    ImageRGB_MaxHeight: THook =                       ['u', 1];
    
    {GraphicsBuffer: hi}
    GraphicsBuffer_ColourModel: THook =               ['d', 1];
    GraphicsBuffer_ImageConsumer: THook =             ['p', 1];
    
    {Keyboard: dt}
    
    {GameShell: df}
    
    {Buffer: du}
    Buffer_Payload: THook =                           ['d', 1];
    Buffer_CRC: THook =                               ['n', 1];
    
    {BufferedConnection: dx}
    BufferedConnection_InputStream: THook =           ['d', 1];
    BufferedConnection_OutputStream: THook =          ['c', 1];
    BufferedConnection_Socket: THook =                ['n', 1];
    BufferedConnection_Payload: THook =               ['u', 1];
    BufferedConnection_IsClosed: THook =              ['q', 1];
    
    {CollisionMap: dj}
    CollisionMap_Width: THook =                       ['ae', 1874268615];
    CollisionMap_Height: THook =                      ['aq', -1606083509];
    CollisionMap_Adjacency: THook =                   ['av', 1];
    
    {Renderable: cy}
    Renderable_ModelHeight: THook =                     ['cs', -2096719255];
    
    {Region: cq}
    Region_SceneTiles: THook =                             ['p', 1];
    Region_InteractableObjects: THook =               ['l', 1];
    
    {Animable: ah}
    AnimableNode_ID: THook =                          ['d', 1];
    AnimableNode_Animation: THook =                   ['u', 1];
    AnimableNode_Flags: THook =                       ['c', 1];
    AnimableNode_Orientation: THook =                 ['n', 1];
    AnimableNode_Plane: THook =                       ['q', 1];
    AnimableNode_X: THook =                           ['t', 1];
    AnimableNode_Y: THook =                           ['p', 1];
    
    {BoundaryObject: cl}
    BoundaryObject_ID: THook =                              ['z', 143809805];
    BoundaryObject_Flags: THook =                           ['l', -1714412415];
    BoundaryObject_Plane: THook =                           ['d', -1509029749];
    BoundaryObject_LocalX: THook =                               ['c', -1834799053];
    BoundaryObject_LocalY: THook =                               ['n', -1124172865];
    BoundaryObject_Orientation: THook =                     ['q', -1922798305];
    BoundaryObject_Render: THook =                      ['p', 1];
    BoundaryObject_Render2: THook =                   ['u', 1];
    
    {WallDecoration: cc}
    WallDecoration_ID: THook =                        ['v', -1185050127];
    WallDecoration_Flags: THook =                     ['g', 12523779];
    WallDecoration_Plane: THook =                     ['d', -93348927];
    WallDecoration_Height: THook =                    ['t', -686954743];
    WallDecoration_LocalX: THook =                         ['c', 935974933];
    WallDecoration_LocalY: THook =                         ['n', -1958805439];
    WallDecoration_RelativeX: THook =                 ['p', -232911325];
    WallDecoration_RelativeY: THook =                 ['u', 1090924701];
    WallDecoration_Orientation: THook =               ['q', 891200355];
    WallDecoration_Renderable: THook =                ['z', 1];
    WallDecoration_Renderable2: THook =             ['l', 1];
    
    {FloorDecoration: cx}
    FloorDecoration_ID: THook =                      ['t', 356826227];
    FloorDecoration_Flags: THook =                   ['p', 594772725];
    FloorDecoration_LocalX: THook =                       ['c', -901642223];
    FloorDecoration_LocalY: THook =                       ['n', -996344089];
    FloorDecoration_Plane: THook =                   ['d', 480763419];
    FloorDecoration_Render: THook =              ['q', 1];
    
    {GameObject: ci}
    GameObject_Render: THook =                  ['t', 1];
    GameObject_ID: THook =                          ['r', -1016134539];
    GameObject_Flags: THook =                       ['s', 603394919];
    GameObject_Orientation: THook =                 ['p', 758713025];
    GameObject_Plane: THook =                       ['d', 1936736595];
    GameObject_WorldX: THook =                           ['n', -1510157693];
    GameObject_WorldY: THook =                           ['q', 1178976389];
    GameObject_LocalX: THook =                   ['u', 2005562965];
    GameObject_LocalY: THook =                   ['l', 1437069007];
    GameObject_Width: THook =                       ['z', 1240943997];
    GameObject_Height: THook =                       ['v', 387569951];
    
    {SceneTile: ck}
    SceneTile_BoundaryObject: THook =                       ['u', 1];
    SceneTile_SceneTileObject: THook =                      ['f', 1];
    SceneTile_GameObject: THook =                  ['w', 1];
    SceneTile_WallDecoration: THook =                 ['z', 1];
    SceneTile_GroundDecoration: THook =               ['l', 1];
    SceneTile_LocalX: THook =                              ['c', -1767849801];
    SceneTile_LocalY: THook =                              ['n', 1871042591];
    SceneTile_Plane: THook =                          ['q', -2076119841];
    
    {GrandExchange: t}
    GrandExchange_Status: THook =                       ['d', 1];
    GrandExchange_ItemID: THook =                       ['c', -166841073];
    GrandExchange_Price: THook =                        ['n', -379833969];
    GrandExchange_Quantity: THook =                     ['q', 2029908369];
    GrandExchange_Transferred: THook =                  ['t', 1];
    GrandExchange_Spent: THook =                        ['p', 1979301933];
    GrandExchange_QueryIDs: THook =                     ['N/A', 1];
    
    {Model: cf}
    Model_IndicesX: THook =                           ['v', 1];
    Model_IndicesY: THook =                           ['g', 1];
    Model_IndicesZ: THook =                           ['w', 1];
    Model_IndicesLength: THook =                      ['l', 1];
    Model_VerticesX: THook =                          ['p', 1];
    Model_VerticesY: THook =                          ['u', 1];
    Model_VerticesZ: THook =                          ['z', 1];
    Model_VerticesLength: THook =                     ['t', 1];
    Model_TexIndicesX: THook =                        ['r', 1];
    Model_TexIndicesY: THook =                        ['s', 1];
    Model_TexIndicesZ: THook =                        ['k', 1];
    Model_TexVerticesX: THook =                       ['b', 1];
    Model_TexVerticesY: THook =                       ['f', 1];
    Model_TexVerticesZ: THook =                       ['o', 1];
    Model_TexVerticesLength: THook =                  ['h', 1];
    Model_ShadowIntensity: THook =                    ['az', 1];
    Model_FitsSingleTile: THook =                     ['am', 1];
    
    {AnimationSequence: gg}
    AnimationSequence_ControlFlow: THook =            ['g', 1];
    
    {HealthBarDefinition: gz}
    
    {HealthBar: ay}
    HealthBar_LinkedList: THook =                     ['q', 1];
    HealthBar_Definition: THook =                     ['n', 1];
    
    {HealthData: ac}
    HealthData_Health: THook =                        ['n', -1620858907];
    HealthData_HealthRatio: THook =                   ['c', 1752400569];
    
    {Actor: ax}
    Actor_Animation: THook =                       ['n', 1253957049];
    Actor_AnimationDelay: THook =                    ['ck', -1288950623];
    Actor_SpokenText: THook =                        ['af', 1];
    Actor_HitDamages: THook =                        ['at', 1];
    Actor_HitTypes: THook =                          ['ah', 1];
    Actor_HitCycle: THook =                          ['ap', 1];
    Actor_QueueX: THook =                            ['cj', 1];
    Actor_QueueY: THook =                            ['cu', 1];
    Actor_QueueTraversed: THook =                    ['N/A', 1];
    Actor_QueueSize: THook =                       ['N/A', 1];
    Actor_WorldX: THook =                            ['ax', 1122551925];
    Actor_WorldY: THook =                            ['ac', -632795927];
    Actor_IsAnimating: THook =                       ['ab', 1];
    Actor_CombatCycle: THook =                       ['N/A', 1];
    Actor_InteractingIndex: THook =                  ['bk', 281152715];
    Actor_Orientation: THook =                       ['cb', -229937773];
    Actor_HealthBar: THook =                         ['br', 1];
    Actor_Height: THook =                            ['cx', -1976737573];
    
    {NPCDefinition: gx}
    NPCDefinition_ID: THook =                         ['t', -1405080953];
    NPCDefinition_Name: THook =                       ['p', 1];
    NPCDefinition_Actions: THook =                    ['h', 1];
    NPCDefinition_ModelIDs: THook =                   ['z', 1];
    NPCDefinition_CombatLevel: THook =                ['f', -1897348339];
    
    {NPC: ae}
    NPC_Definition: THook =                           ['d', 1];
    
    {PlayerDefinition: fp}
    PlayerDefinition_ID: THook =                      ['q', -728199495];
    PlayerDefinition_IsFemale: THook =                ['n', 1];
    PlayerDefinition_AnimatedModelID: THook =         ['t', 630891746039338035];
    PlayerDefinition_ModelID: THook =                 ['p', 6280462864088275417];
    PlayerDefinition_Equipment: THook =               ['d', 1];
    
    {Player: o}
    Player_Name: THook =                              ['d', 1];
    Player_Model: THook =                             ['k', 1];
    Player_Visible: THook =                           ['x', 1];
    Player_Definition: THook =                        ['c', 1];
    Player_CombatLevel: THook =                       ['u', -1966895337];
    
    {WidgetNode: i}
    WidgetNode_ID: THook =                            ['d', -858964405];
    
    {Widget: fc}
    Widget_Name: THook =                              ['cz', 1];
    Widget_WidgetID: THook =                                ['r', -521365795];
    Widget_ParentID: THook =                          ['ak', -1722293023];
    Widget_ItemID: THook =                            ['ee', 1236134309];
    Widget_InvIDs: THook =                             ['eh', 1];
    Widget_StackSizes: THook =                    ['es', 1];
    Widget_ItemAmount: THook =                        ['er', -2058219481];
    Widget_Actions: THook =                           ['cj', 1];
    Widget_ActionType: THook =                        ['e', 2107442863];
    Widget_Type: THook =                              ['k', -1591319963];
    Widget_AbsoluteX: THook =                                 ['j', -1909504737];
    Widget_AbsoluteY: THook =                                 ['b', -1548897025];
    Widget_Width: THook =                             ['ax', -1846735173];
    Widget_Height: THook =                            ['ac', 1573207255];
    Widget_Children: THook =                          ['et', 1];
    
    {ItemDefinition: gu}
    ItemDefinition_ID: THook =                        ['s', 121909049];
    ItemDefinition_Name: THook =                      ['e', 1];
    ItemDefinition_IsMembers: THook =                 ['ac', 1];
    ItemDefinition_Actions: THook =                   ['az', 1];
    ItemDefinition_GroundActions: THook =             ['ao', 1];
    
    {Item: as}
    Item_ID: THook =                                  ['d', -933263931];
    Item_StackSizes: THook =                            ['c', 1707626481];
    
    {Client: client}
    Client_Revision: THook =                          ['140', 1];
    Client_Client: THook =                            ['client.c', 1];
    Client_LocalNPCs: THook =                         ['client.cm', 1];
    Client_NPCIndices: THook =                        ['client.cf', 1];
    Client_LocalPlayers: THook =                      ['client.gg', 1];
    Client_PlayerIndices: THook =                     ['N/A', 1];
    Client_LocalPlayer: THook =                       ['f.hb', 1];
    Client_PlayerIndex: THook =                       ['client.hp', -1043335821];
    Client_LoopCycle: THook =                         ['client.h', -1396766197];
    Client_LoginState: THook =                        ['N/A', 1];
    Client_GameState: THook =                         ['client.i', 866888665];
    Client_CrosshairColour: THook =                   ['client.gw', -1634269283];
    Client_GroundItems: THook =                       ['N/A', 1];
    Client_CollisionMap: THook =                      ['client.w', 1];
    Client_GrandExchangeOffers: THook =                 ['client.pk', 1];
    Client_CameraX: THook =                           ['f.fs', 830803765];
    Client_CameraY: THook =                           ['s.fg', -1335867747];
    Client_CameraZ: THook =                           ['c.fv', 2019010125];
    Client_CameraPitch: THook =                       ['do.fd', 1317198511];
    Client_CameraYaw: THook =                         ['s.fa', -1036293369];
    Client_Region: THook =                            ['fb.dc', 1];
    Client_Plane: THook =                             ['client.go', 1603146097];
    Client_BaseX: THook =                             ['do.dl', 1473731053];
    Client_BaseY: THook =                             ['df.dk', -781384431];
    Client_DestinationX: THook =                             ['client.ms', -1936881419];
    Client_DestinationY: THook =                             ['client.mg', 405224627];
    Client_TileHeights: THook =                       ['fi.k', 1];
    Client_TileSettings: THook =                      ['g.c', 1];
    Client_Widgets: THook =                           ['eh.d', 1];
    Client_WidgetSettings: THook =                    ['N/A', 1];
    Client_ViewPortWidth: THook =                     ['client.ol', -1920630505];
    Client_ViewPortHeight: THook =                    ['client.of', -1387025351];

    But I'm still getting compiling errors.

    Client_WidgetNodeCache seems to be missing, at the least.

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

    Default

    Fixed Elffyyy/Kyle's updater..


    Here (added all the hooks he didn't have that I had.. IE: Models, HealthBar, HealthData, HealthDefinition, GrandExchange, PlayerDefinition, NPCDefinition, Animable, CollisionMap, Actor (some new hooks), etc.. I did not change his hooks, so if they are wrong, then they are wrong and will have to be manually fixed or copied from my log I previously posted or elsewhere):

    Simba Code:
    const
        ReflectionRevision = '142';

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

    {Cacheable: ga}
    Cacheable_Next: THook =                       ['ce', 1];
    Cacheable_Prev: THook =                       ['cn', 1];

    {Renderable: eq}
     Renderable_ModelHeight: THook =     ['cn', -571778433];

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

    {Animable: cy}
    AnimableNode_ID: THook =                          ['d', 1];
    AnimableNode_Animation: THook =                   ['u', 1];
    AnimableNode_Flags: THook =                       ['c', 1];
    AnimableNode_Orientation: THook =                 ['n', 1];
    AnimableNode_Plane: THook =                       ['q', 1];
    AnimableNode_X: THook =                           ['t', 1];
    AnimableNode_Y: THook =                           ['p', 1];

    {Model: ew}
    Model_IndicesX: THook =                           ['v', 1];
    Model_IndicesY: THook =                           ['g', 1];
    Model_IndicesZ: THook =                           ['w', 1];
    Model_IndicesLength: THook =                      ['l', 1];
    Model_VerticesX: THook =                          ['p', 1];
    Model_VerticesY: THook =                          ['u', 1];
    Model_VerticesZ: THook =                          ['z', 1];
    Model_VerticesLength: THook =                     ['t', 1];
    Model_TexIndicesX: THook =                        ['r', 1];
    Model_TexIndicesY: THook =                        ['s', 1];
    Model_TexIndicesZ: THook =                        ['k', 1];
    Model_TexVerticesX: THook =                       ['b', 1];
    Model_TexVerticesY: THook =                       ['f', 1];
    Model_TexVerticesZ: THook =                       ['o', 1];
    Model_TexVerticesLength: THook =                  ['h', 1];
    Model_ShadowIntensity: THook =                    ['az', 1];
    Model_FitsSingleTile: THook =                     ['am', 1];

    {GrandExchange: t}
    GrandExchange_Status: THook =                       ['d', 1];
    GrandExchange_ItemID: THook =                       ['c', -166841073];
    GrandExchange_Price: THook =                        ['n', -379833969];
    GrandExchange_Quantity: THook =                     ['q', 2029908369];
    GrandExchange_Transferred: THook =                  ['t', 1];
    GrandExchange_Spent: THook =                        ['p', 1979301933];
    GrandExchange_QueryIDs: THook =                     ['N/A', 1];

    {HealthBarDefinition: gz}

    {HealthBar: ay}
    HealthBar_LinkedList: THook =                     ['q', 1];
    HealthBar_Definition: THook =                     ['n', 1];

    {HealthData: ac}
    HealthData_Health: THook =                        ['n', -1620858907];
    HealthData_HealthRatio: THook =                   ['c', 1752400569];

    {ItemDefinition: gu}
    ItemDefinition_ID: THook =                        ['s', 121909049];
    ItemDefinition_Name: THook =                      ['e', 1];
    ItemDefinition_IsMembers: THook =                 ['ac', 1];
    ItemDefinition_Actions: THook =                   ['az', 1];
    ItemDefinition_GroundActions: THook =             ['ao', 1];

    {AnimationSequence: je}

    {NpcDefinition: iv}
     NpcDefinition_Actions: THook =      ['n', 1];
     NpcDefinition_Name: THook =         ['v', 1];
     NpcDefinition_ID: THook =           ['g', 486171537];
     NpcDefinition_CombatLevel: THook =  ['w', 771702591];
     NPCDefinition_ModelIDs: THook =     ['z', 1];

    {linkedList: gq}
     linkedList_Head: THook =            ['i', 1];
     linkedList_Current: THook =         ['h', 1];

    {Actor: ch}
     Actor_QueueX: THook =               ['cg', 1];
     Actor_QueueY: THook =               ['ca', 1];
     Actor_QueueSize: THook =            ['cp', -1470995525];
     Actor_WorldX: THook =               ['ah', 1012159919];
     Actor_WorldY: THook =               ['az', 1352509351];
     Actor_Animation: THook =            ['bi', 822980733];
     Actor_CombatCycle: THook =          ['NULL', 1];
     Actor_Health: THook =               ['NULL', 1];
     Actor_MaxHealth: THook =            ['NULL', 1];
     Actor_InteractingIndex: THook =     ['bp', 421056233];
    Actor_AnimationDelay: THook =                    ['ck', -1288950623];
    Actor_SpokenText: THook =                        ['af', 1];
    Actor_HitDamages: THook =                        ['at', 1];
    Actor_HitTypes: THook =                          ['ah', 1];
    Actor_HitCycle: THook =                          ['ap', 1];
    Actor_IsAnimating: THook =                       ['ab', 1];
    Actor_Orientation: THook =                       ['cb', -229937773];
    Actor_HealthBar: THook =                         ['br', 1];
    Actor_Height: THook =                            ['cx', -1976737573];

    {Cache: ez}
    Cache_HashTable: THook =                          ['q', 1];
    Cache_Queue: THook =                              ['t', 1];
    Cache_Remaining: THook =                          ['n', 1];
    Cache_Capacity: THook =                           ['c', 1];

    {ClassData: hr}
    ClassData_Bytes: THook =                          ['z', 1];
    ClassData_Methods: THook =                        ['u', 1];
    ClassData_Fields: THook =                         ['t', 1];

    {Rasteriser: hc}
    Rasteriser_Pixels: THook =                        ['y', 1];
    Rasteriser_Width: THook =                         ['am', 1];
    Rasteriser_Height: THook =                        ['ax', 1];

    {Rasteriser3D: cu}
    Rasteriser3D_ShadowDecay: THook =                 ['b', 1];
    Rasteriser3D_SineTable: THook =                   ['o', 1];
    Rasteriser3D_CosineTable: THook =                 ['m', 1];

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

    {IndexedRGB: hd}
    IndexedRGB_Pixels: THook =                        ['c', 1];
    IndexedRGB_Palette: THook =                       ['d', 1];

    {ImageRGB: hu}
    ImageRGB_Pixels: THook =                          ['d', 1];
    ImageRGB_Width: THook =                           ['c', 1];
    ImageRGB_Height: THook =                          ['n', 1];
    ImageRGB_MaxWidth: THook =                        ['p', 1];
    ImageRGB_MaxHeight: THook =                       ['u', 1];

    {GraphicsBuffer: hi}
    GraphicsBuffer_ColourModel: THook =               ['d', 1];
    GraphicsBuffer_ImageConsumer: THook =             ['p', 1];

    {Npc: cl}
     Npc_Definition: THook =             ['i', 1];

    {ObjectDefinition: if}
     ObjectDefinition_Actions: THook =   ['az', 1];
     ObjectDefinition_Name: THook =      ['r', 1];

    {Buffer: du}
    Buffer_Payload: THook =                           ['d', 1];
    Buffer_CRC: THook =                               ['n', 1];

    {BufferedConnection: dx}
    BufferedConnection_InputStream: THook =           ['d', 1];
    BufferedConnection_OutputStream: THook =          ['c', 1];
    BufferedConnection_Socket: THook =                ['n', 1];
    BufferedConnection_Payload: THook =               ['u', 1];
    BufferedConnection_IsClosed: THook =              ['q', 1];

    {CollisionMap: dj}
    CollisionMap_Width: THook =                       ['ae', 1874268615];
    CollisionMap_Height: THook =                      ['aq', -1606083509];
    CollisionMap_Adjacency: THook =                   ['av', 1];

    {Widget: hr}
     Widget_Children: THook =            ['er', 1];
     Widget_WidgetID: THook =            ['d', -2058679599];
     Widget_AbsoluteX: THook =           ['aq', 1942400417];
     Widget_AbsoluteY: THook =           ['af', -2108598775];
     Widget_Width: THook =               ['aj', 1666883303];
     Widget_Height: THook =              ['ax', 1181401451];
     Widget_ParentID: THook =            ['ae', -222757319];
     Widget_IsHidden: THook =            ['ar', 1];
     Widget_RelativeX: THook =           ['ag', -907056661];
     Widget_RelativeY: THook =           ['at', -903815555];
     Widget_TextureID: THook =           ['bz', -2091831199];
     Widget_Text: THook =                ['ba', 1];
     Widget_Name: THook =                ['ce', 1];
     Widget_Parent: THook =              ['cj', 1];
     Widget_ItemID: THook =              ['eb', 1953878287];
     Widget_ItemAmount: THook =          ['eq', -1240348961];
     Widget_BoundsIndex: THook =         ['ef', -452861019];
     Widget_ScrollX: THook =             ['ag', -907056661];
     Widget_ScrollY: THook =             ['at', -903815555];
     Widget_InvIDs: THook =              ['ek', 1];
     Widget_StackSizes: THook =          ['el', 1];

    {WidgetNode: br}
     WidgetNode_Id: THook =              ['i', 402580777];

    {HashTable: gm}
     HashTable_Buckets: THook =          ['h', 1];
     HashTable_Size: THook =             ['i', 1];
     HashTable_Index: THook =            ['g', 1];
     HashTable_Head: THook =                           ['n', 1];
     HashTable_Tail: THook =                           ['q', 1];

    {GameShell: bh}

    {PlayerDefinition: fp}
    PlayerDefinition_ID: THook =                      ['q', -728199495];
    PlayerDefinition_IsFemale: THook =                ['n', 1];
    PlayerDefinition_AnimatedModelID: THook =         ['t', 630891746039338035];
    PlayerDefinition_ModelID: THook =                 ['p', 6280462864088275417];
    PlayerDefinition_Equipment: THook =               ['d', 1];

    {Player: bj}
     Player_Name: THook =                ['i', 1];
     Player_Definition: THook =          ['h', 1];
     Player_CombatLevel: THook =         ['t', -795504717];
     Player_Model: THook =               ['k', 1];
     Player_Visible: THook =             ['x', 1];

    {Client: client}
     Client_LoopCycle: THook =           ['client.bt', 709865467];
     Client_MenuOptions: THook =         ['client.kn', 1];
     Client_MenuActions: THook =         ['client.jk', 1];
     Client_IsMenuOpen: THook =          ['ea.i', 1];
     Client_MenuX: THook =               ['ep.jt', -407493319];
     Client_MenuY: THook =               ['kr.jd', -203580143];
     Client_MenuWidth: THook =           ['NULL', 1];
     Client_MenuHeight: THook =          ['NULL', 1];
     Client_MenuCount: THook =           ['client.jw', 1503685727];
     Client_Region: THook =              ['al.fm', 1];
     Client_Plane: THook =               ['je.is', 751072291];
     Client_LocalPlayers: THook =        ['client.ie', 1];
     Client_DestinationY: THook =        ['client.on', -807462255];
     Client_DestinationX: THook =        ['client.oa', -362631927];
     Client_LocalPlayer: THook =         ['m.ii', 1];
     Client_Widgets: THook =             ['null.v', 1];
     Client_GameSettings: THook =        ['hp.u', 1];
     Client_BaseX: THook =               ['fm.ef', 1604638969];
     Client_BaseY: THook =               ['et.ep', -1196130045];
     Client_CurrentLevels: THook =       ['client.jn', 1];
     Client_RealLevels: THook =          ['client.jl', 1];
     Client_Experiences: THook =         ['client.js', 1];
     Client_Weight: THook =              ['client.lj', -2004264753];
     Client_Energy: THook =              ['client.lp', -714387809];
     Client_CurrentWorld: THook =        ['client.an', -1646496385];
     Client_WidgetNodeCache: THook =     ['client.kl', 1];
     Client_TileSettings: THook =        ['bq.h', 1];
     Client_TileHeights: THook =         ['bq.i', 1];
     Client_LocalNpcs: THook =           ['client.dj', 1];
     Client_NpcIndices: THook =          ['client.dd', 1];
     Client_CrossHairColor: THook =      ['client.in', 1615155271];
     Client_MapOffset: THook =           ['client.fs', -641204291];
     Client_MapAngle: THook =            ['client.hz', -759921275];
     Client_MapScale: THook =            ['client.fl', -477984119];
     Client_CameraPitch: THook =         ['ae.gp', 1332885709];
     Client_Sine: THook =                ['en.f', 1];
     Client_CameraYaw: THook =           ['ih.gf', 729986531];
     Client_Cosine: THook =              ['en.c', 1];
     Client_CameraZ: THook =             ['ai.gr', -659604793];
     Client_CameraX: THook =             ['b.gh', -1751071227];
     Client_CameraY: THook =             ['b.gy', -853551867];
     Client_LoginState: THook =          ['client.bn', 1852125649];
     Client_PlayerIndex: THook =         ['client.if', -1621399727];
     Client_WidgetPositionX: THook =     ['client.nf', 1];
     Client_WidgetPositionY: THook =     ['client.ne', 1];
     Client_WidgetWidths: THook =        ['client.nc', 1];
     Client_WidgetHeights: THook =       ['client.nn', 1];

    {Region: el}
     Region_SceneTiles: THook =          ['v', 1];

    {BoundaryObject: eo}
     BoundaryObject_ID: THook =          ['p', -1459753793];
     BoundaryObject_Flags: THook =       ['l', -1994299827];
     BoundaryObject_LocalX: THook =      ['h', -2103463111];
     BoundaryObject_LocalY: THook =      ['u', 1115958401];
     BoundaryObject_Plane: THook =       ['i', -243348171];
     BoundaryObject_Render: THook =      ['v', 1];
     BoundaryObject_Render2: THook =     ['t', 1];
     BoundaryObject_Orientation: THook = ['q', -53257687];
     BoundaryObject_Height: THook =      ['g', -486196087];

    {GameObject: ey}
     GameObject_ID: THook =              ['b', 335509333];
     GameObject_Flags: THook =           ['x', -95297751];
     GameObject_Plane: THook =           ['i', -1348482943];
     GameObject_WorldX: THook =          ['u', 1639834407];
     GameObject_WorldY: THook =          ['q', 1250418639];
     GameObject_Height: THook =          ['h', 250399303];
     GameObject_Render: THook =          ['g', 1];
     GameObject_Orientation: THook =     ['v', -515129617];
     GameObject_LocalX: THook =          ['t', -361333291];
     GameObject_LocalY: THook =          ['l', -88415481];
     GameObject_OffsetX: THook =         ['p', -1496584953];
     GameObject_OffsetY: THook =         ['a', 116027087];

    {FloorDecoration: dc}
     FloorDecoration_Render: THook =     ['q', 1];
     FloorDecoration_LocalX: THook =     ['h', 1577829391];
     FloorDecoration_LocalY: THook =     ['u', -743787227];
     FloorDecoration_Plane: THook =      ['i', 1893982255];
     FloorDecoration_ID: THook =         ['g', -819003167];
     FloorDecoration_Flags: THook =      ['v', -1082660123];

    {WallDecoration: ec}
     WallDecoration_ID: THook =          ['a', -106029819];
     WallDecoration_Flags: THook =       ['k', -1948265495];
     WallDecoration_LocalX: THook =      ['h', -708225337];
     WallDecoration_LocalY: THook =      ['u', -939056445];
     WallDecoration_Plane: THook =       ['i', -1051141917];
     WallDecoration_Renderable: THook =  ['p', 1];
     WallDecoration_Renderable2: THook = ['l', 1];
     WallDecoration_Orientation: THook = ['q', -228390625];
     WallDecoration_Height: THook =      ['g', 1227970919];
     WallDecoration_RelativeX: THook =   ['v', 1592622403];
     WallDecoration_RelativeY: THook =   ['t', -684859115];

    {SceneTile: em}
     SceneTile_GameObject: THook =       ['r', 1];
     SceneTile_BoundaryObject: THook =   ['t', 1];
     SceneTile_WallDecoration: THook =   ['p', 1];
     SceneTile_GroundDecoration: THook = ['l', 1];

    {Item: cf}
     Item_StackSizes: THook =            ['h', 1497042563];
     Item_ID: THook =                    ['i', 1424532003];


    If you guys are getting NOT related to the hooks, then it's most likely your reflection include..
    Last edited by Brandon; 05-26-2017 at 04:24 AM.
    I am Ggzz..
    Hackintosher

  15. #15
    Join Date
    Nov 2015
    Posts
    73
    Mentioned
    1 Post(s)
    Quoted
    31 Post(s)

    Default

    Both seem to be missing some client values, such as menuX,menuY. Is there any way I can run what you're running and find these on my own?

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

    Default

    Quote Originally Posted by terd View Post
    Both seem to be missing some client values, such as menuX,menuY. Is there any way I can run what you're running and find these on my own?

    Fixed manually. Hooks added to my updater for next time. MenuX, MenuY, MenuWidth, MenuHeight is harder to find since I haven't had much time to look at it.

    MenuOpen: Opcodes.ICONST_1, Opcodes.PUTSTATIC
    MenuX: Opcodes.ILOAD, Opcodes.LDC, Opcodes.IMUL, Opcodes.PUTSTATIC, Finder.WILDCARD
    MenuY: Opcodes.ILOAD, Opcodes.LDC, Opcodes.IMUL, Opcodes.PUTSTATIC, Finder.WILDCARD

    then distinguishing between the X and Y by their Var is most likely a bad idea but ain't got time to fix it better.
    I am Ggzz..
    Hackintosher

  17. #17
    Join Date
    Nov 2015
    Posts
    73
    Mentioned
    1 Post(s)
    Quoted
    31 Post(s)

    Default

    These are the hooks as of 5/29/17 that are working for me, feel free to amend this list with corrections.


    Code:
    const
        ReflectionRevision = '142';
    
    {Node: gn}
     Node_Prev: THook =                  ['co', 1];
     Node_UID: THook =                   ['cx', 1];
     Node_Next: THook =                  ['cw', 1];
    
    {Cacheable: ga}
    Cacheable_Next: THook =                       ['ce', 1];
    Cacheable_Prev: THook =                       ['cn', 1];
    
    {Renderable: eq}
     Renderable_ModelHeight: THook =     ['cn', -571778433];
    
    {Queue: ef}
    Queue_Head: THook =                               ['d', 1];
    
    {Animable: cy}
    AnimableNode_ID: THook =                          ['d', 1];
    AnimableNode_Animation: THook =                   ['u', 1];
    AnimableNode_Flags: THook =                       ['c', 1];
    AnimableNode_Orientation: THook =                 ['n', 1];
    AnimableNode_Plane: THook =                       ['q', 1];
    AnimableNode_X: THook =                           ['t', 1];
    AnimableNode_Y: THook =                           ['p', 1];
    
    {Model: ew}
    Model_IndicesX: THook =                           ['v', 1];
    Model_IndicesY: THook =                           ['g', 1];
    Model_IndicesZ: THook =                           ['w', 1];
    Model_IndicesLength: THook =                      ['l', 1];
    Model_VerticesX: THook =                          ['p', 1];
    Model_VerticesY: THook =                          ['u', 1];
    Model_VerticesZ: THook =                          ['z', 1];
    Model_VerticesLength: THook =                     ['t', 1];
    Model_TexIndicesX: THook =                        ['r', 1];
    Model_TexIndicesY: THook =                        ['s', 1];
    Model_TexIndicesZ: THook =                        ['k', 1];
    Model_TexVerticesX: THook =                       ['b', 1];
    Model_TexVerticesY: THook =                       ['f', 1];
    Model_TexVerticesZ: THook =                       ['o', 1];
    Model_TexVerticesLength: THook =                  ['h', 1];
    Model_ShadowIntensity: THook =                    ['az', 1];
    Model_FitsSingleTile: THook =                     ['am', 1];
    
    {GrandExchange: t}
    GrandExchange_Status: THook =                       ['d', 1];
    GrandExchange_ItemID: THook =                       ['c', -166841073];
    GrandExchange_Price: THook =                        ['n', -379833969];
    GrandExchange_Quantity: THook =                     ['q', 2029908369];
    GrandExchange_Transferred: THook =                  ['t', 1];
    GrandExchange_Spent: THook =                        ['p', 1979301933];
    GrandExchange_QueryIDs: THook =                     ['N/A', 1];
    
    {HealthBarDefinition: gz}
    
    {HealthBar: ay}
    HealthBar_LinkedList: THook =                     ['q', 1];
    HealthBar_Definition: THook =                     ['n', 1];
    
    {HealthData: ac}
    HealthData_Health: THook =                        ['n', -1620858907];
    HealthData_HealthRatio: THook =                   ['c', 1752400569];
    
    {ItemDefinition: iu}
    ItemDefinition_ID: THook =                        ['x', -1426401721];
    ItemDefinition_Name: THook =                      ['j', 1];
    ItemDefinition_IsMembers: THook =                 ['bb', 1];
    ItemDefinition_Actions: THook =                   ['ac', 1];
    ItemDefinition_GroundActions: THook =             ['aq', 1];
    
    {AnimationSequence: je}
    
    {NpcDefinition: iv}
     NpcDefinition_Actions: THook =      ['n', 1];
     NpcDefinition_Name: THook =         ['v', 1];
     NpcDefinition_ID: THook =           ['g', 486171537];
     NpcDefinition_CombatLevel: THook =  ['w', 771702591];
     NPCDefinition_ModelIDs: THook =     ['z', 1];
    
    {linkedList: gq}
     linkedList_Head: THook =            ['i', 1];
     linkedList_Current: THook =         ['h', 1];
    
    {Actor: ch}
     Actor_QueueX: THook =               ['cg', 1];
     Actor_QueueY: THook =               ['ca', 1];
     Actor_QueueSize: THook =            ['cp', -1470995525];
     Actor_WorldX: THook =               ['ah', 1012159919];
     Actor_WorldY: THook =               ['az', 1352509351];
     Actor_Animation: THook =            ['bi', 822980733];
     Actor_CombatCycle: THook =          ['NULL', 1];
     Actor_Health: THook =               ['NULL', 1];
     Actor_MaxHealth: THook =            ['NULL', 1];
     Actor_InteractingIndex: THook =     ['bp', 421056233];
    Actor_AnimationDelay: THook =                    ['ck', -1288950623];
    Actor_SpokenText: THook =                        ['af', 1];
    Actor_HitDamages: THook =                        ['at', 1];
    Actor_HitTypes: THook =                          ['ah', 1];
    Actor_HitCycle: THook =                          ['ap', 1];
    Actor_IsAnimating: THook =                       ['ab', 1];
    Actor_Orientation: THook =                       ['cb', -229937773];
    Actor_HealthBar: THook =                         ['br', 1];
    Actor_Height: THook =                            ['cx', -1976737573];
    
    {Cache: ez}
    Cache_HashTable: THook =                          ['q', 1];
    Cache_Queue: THook =                              ['t', 1];
    Cache_Remaining: THook =                          ['n', 1];
    Cache_Capacity: THook =                           ['c', 1];
    
    {ClassData: hr}
    ClassData_Bytes: THook =                          ['z', 1];
    ClassData_Methods: THook =                        ['u', 1];
    ClassData_Fields: THook =                         ['t', 1];
    
    {Rasteriser: hc}
    Rasteriser_Pixels: THook =                        ['y', 1];
    Rasteriser_Width: THook =                         ['am', 1];
    Rasteriser_Height: THook =                        ['ax', 1];
    
    {Rasteriser3D: cu}
    Rasteriser3D_ShadowDecay: THook =                 ['b', 1];
    Rasteriser3D_SineTable: THook =                   ['o', 1];
    Rasteriser3D_CosineTable: THook =                 ['m', 1];
    
    {Typeface: hp}
    Typeface_CharacterPixels: THook =                 ['d', 1];
    
    {IndexedRGB: hd}
    IndexedRGB_Pixels: THook =                        ['c', 1];
    IndexedRGB_Palette: THook =                       ['d', 1];
    
    {ImageRGB: hu}
    ImageRGB_Pixels: THook =                          ['d', 1];
    ImageRGB_Width: THook =                           ['c', 1];
    ImageRGB_Height: THook =                          ['n', 1];
    ImageRGB_MaxWidth: THook =                        ['p', 1];
    ImageRGB_MaxHeight: THook =                       ['u', 1];
    
    {GraphicsBuffer: hi}
    GraphicsBuffer_ColourModel: THook =               ['d', 1];
    GraphicsBuffer_ImageConsumer: THook =             ['p', 1];
    
    {Npc: cl}
     Npc_Definition: THook =             ['i', 1];
    
    {ObjectDefinition: if}
     ObjectDefinition_Actions: THook =   ['az', 1];
     ObjectDefinition_Name: THook =      ['r', 1];
    
    {Buffer: du}
    Buffer_Payload: THook =                           ['d', 1];
    Buffer_CRC: THook =                               ['n', 1];
    
    {BufferedConnection: ft}
    BufferedConnection_InputStream: THook =           ['h', 1];
    BufferedConnection_OutputStream: THook =          ['i', 1];
    BufferedConnection_Socket: THook =                ['u', 1];
    BufferedConnection_Payload: THook =               ['t', 1];
    BufferedConnection_IsClosed: THook =              ['q', 1];
    
    {CollisionMap: fc}
    CollisionMap_Width: THook =                       ['av', -2139064815];
    CollisionMap_Height: THook =                      ['ae', -1742330205];
    CollisionMap_Adjacency: THook =                   ['ar', 1];
    
    {Widget: hr}
     Widget_Children: THook =            ['er', 1];
     Widget_WidgetID: THook =            ['d', -2058679599];
     Widget_AbsoluteX: THook =           ['aq', 1942400417];
     Widget_AbsoluteY: THook =           ['af', -2108598775];
     Widget_Width: THook =               ['aj', 1666883303];
     Widget_Height: THook =              ['ax', 1181401451];
     Widget_ParentID: THook =            ['ae', -222757319];
     Widget_IsHidden: THook =            ['ar', 1];
     Widget_RelativeX: THook =           ['ag', -907056661];
     Widget_RelativeY: THook =           ['at', -903815555];
     Widget_TextureID: THook =           ['bz', -2091831199];
     Widget_Text: THook =                ['ba', 1];
     Widget_Name: THook =                ['ce', 1];
     Widget_Parent: THook =              ['cj', 1];
     Widget_ItemID: THook =              ['eb', 1953878287];
     Widget_ItemAmount: THook =          ['eq', -1240348961];
     Widget_BoundsIndex: THook =         ['ef', -452861019];
     Widget_ScrollX: THook =             ['ag', -907056661];
     Widget_ScrollY: THook =             ['at', -903815555];
     Widget_InvIDs: THook =              ['ek', 1];
     Widget_StackSizes: THook =          ['el', 1];
    
    {WidgetNode: br}
     WidgetNode_Id: THook =              ['i', 402580777];
    
    {HashTable: gm}
     HashTable_Buckets: THook =          ['h', 1];
     HashTable_Size: THook =             ['i', 1];
     HashTable_Index: THook =            ['g', 1];
     HashTable_Head: THook =                           ['n', 1];
     HashTable_Tail: THook =                           ['q', 1];
    
    {GameShell: bh}
    
    {PlayerDefinition: hw}
    PlayerDefinition_ID: THook =                      ['q', -1869061289];
    PlayerDefinition_IsFemale: THook =                ['u', 1];
    PlayerDefinition_AnimatedModelID: THook =         ['g', -6572925093266166259];
    PlayerDefinition_ModelID: THook =                 ['v', 203471965754920499];
    PlayerDefinition_Equipment: THook =               ['i', 1];
    
    {Player: bj}
     Player_Name: THook =                ['i', 1];
     Player_Definition: THook =          ['h', 1];
     Player_CombatLevel: THook =         ['t', -795504717];
     Player_Model: THook =               ['k', 1];
     Player_Visible: THook =             ['x', 1];
    
    {Client: client}
     Client_LoopCycle: THook =           ['client.bt', 709865467];
     Client_MenuOptions: THook =         ['client.kn', 1];
     Client_MenuActions: THook =         ['client.jk', 1];
     Client_IsMenuOpen: THook =          ['ea.i', 1];
     Client_MenuCount: THook =           ['client.jw', 1503685727];
     Client_Region: THook =              ['al.fm', 1];
     Client_Plane: THook =               ['je.is', 751072291];
     Client_LocalPlayers: THook =        ['client.ie', 1];
     Client_DestinationY: THook =        ['client.on', -807462255];
     Client_DestinationX: THook =        ['client.oa', -362631927];
     Client_LocalPlayer: THook =         ['m.ii', 1];
     Client_Widgets: THook =             ['cw.v', 1];
     Client_GameSettings: THook =        ['hp.u', 1];
     Client_BaseX: THook =               ['fm.ef', 1604638969];
     Client_BaseY: THook =               ['et.ep', -1196130045];
     Client_CurrentLevels: THook =       ['client.jn', 1];
     Client_RealLevels: THook =          ['client.jl', 1];
     Client_Experiences: THook =         ['client.js', 1];
     Client_Weight: THook =              ['client.lj', -2004264753];
     Client_Energy: THook =              ['client.lp', -714387809];
     Client_CurrentWorld: THook =        ['client.an', -1646496385];
     Client_WidgetNodeCache: THook =     ['client.kl', 1];
     Client_TileSettings: THook =        ['bq.h', 1];
     Client_TileHeights: THook =         ['bq.i', 1];
     Client_LocalNpcs: THook =           ['client.dj', 1];
     Client_NpcIndices: THook =          ['client.dd', 1];
     Client_CrossHairColor: THook =      ['client.in', 1615155271];
     Client_MapOffset: THook =           ['client.fs', -641204291];
     Client_MapAngle: THook =            ['client.hz', -759921275];
     Client_MapScale: THook =            ['client.fl', -477984119];
     Client_CameraPitch: THook =         ['ae.gp', 1332885709];
     Client_Sine: THook =                ['en.f', 1];
     Client_CameraYaw: THook =           ['ih.gf', 729986531];
     Client_Cosine: THook =              ['en.c', 1];
     Client_CameraZ: THook =             ['ai.gr', -659604793];
     Client_CameraX: THook =             ['b.gh', -1751071227];
     Client_CameraY: THook =             ['b.gy', -853551867];
     Client_LoginState: THook =          ['client.bn', 1852125649];
     Client_PlayerIndex: THook =         ['client.if', -1621399727];
     Client_WidgetPositionX: THook =     ['client.nf', 1];
     Client_WidgetPositionY: THook =     ['client.ne', 1];
     Client_WidgetWidths: THook =        ['client.nc', 1];
     Client_WidgetHeights: THook =       ['client.nn', 1];
     Client_MenuX: THook =               ['ep.jt', -407493319];
     Client_MenuY: THook =               ['kr.jd', -203580143];
     Client_MenuWidth: THook =           ['ik.ja', 1256370663];
     Client_MenuHeight: THook =          ['dp.jv', 874853037];
     Client_GroundItems: THook =         ['client.hj', 1];
    {Region: el}
     Region_SceneTiles: THook =          ['v', 1];
    
    {BoundaryObject: eo}
     BoundaryObject_ID: THook =          ['p', -1459753793];
     BoundaryObject_Flags: THook =       ['l', -1994299827];
     BoundaryObject_LocalX: THook =      ['h', -2103463111];
     BoundaryObject_LocalY: THook =      ['u', 1115958401];
     BoundaryObject_Plane: THook =       ['i', -243348171];
     BoundaryObject_Render: THook =      ['v', 1];
     BoundaryObject_Render2: THook =     ['t', 1];
     BoundaryObject_Orientation: THook = ['q', -53257687];
     BoundaryObject_Height: THook =      ['g', -486196087];
    
    {GameObject: ey}
     GameObject_ID: THook =              ['b', 335509333];
     GameObject_Flags: THook =           ['x', -95297751];
     GameObject_Plane: THook =           ['i', -1348482943];
     GameObject_WorldX: THook =          ['u', 1639834407];
     GameObject_WorldY: THook =          ['q', 1250418639];
     GameObject_Height: THook =          ['h', 250399303];
     GameObject_Render: THook =          ['g', 1];
     GameObject_Orientation: THook =     ['v', -515129617];
     GameObject_LocalX: THook =          ['t', -361333291];
     GameObject_LocalY: THook =          ['l', -88415481];
     GameObject_OffsetX: THook =         ['p', -1496584953];
     GameObject_OffsetY: THook =         ['a', 116027087];
    
    {FloorDecoration: dc}
     FloorDecoration_Render: THook =     ['q', 1];
     FloorDecoration_LocalX: THook =     ['h', 1577829391];
     FloorDecoration_LocalY: THook =     ['u', -743787227];
     FloorDecoration_Plane: THook =      ['i', 1893982255];
     FloorDecoration_ID: THook =         ['g', -819003167];
     FloorDecoration_Flags: THook =      ['v', -1082660123];
    
    {WallDecoration: ec}
     WallDecoration_ID: THook =          ['a', -106029819];
     WallDecoration_Flags: THook =       ['k', -1948265495];
     WallDecoration_LocalX: THook =      ['h', -708225337];
     WallDecoration_LocalY: THook =      ['u', -939056445];
     WallDecoration_Plane: THook =       ['i', -1051141917];
     WallDecoration_Renderable: THook =  ['p', 1];
     WallDecoration_Renderable2: THook = ['l', 1];
     WallDecoration_Orientation: THook = ['q', -228390625];
     WallDecoration_Height: THook =      ['g', 1227970919];
     WallDecoration_RelativeX: THook =   ['v', 1592622403];
     WallDecoration_RelativeY: THook =   ['t', -684859115];
    
    {SceneTile: em}
     SceneTile_GameObject: THook =       ['r', 1];
     SceneTile_BoundaryObject: THook =   ['t', 1];
     SceneTile_WallDecoration: THook =   ['p', 1];
     SceneTile_GroundDecoration: THook = ['l', 1];
    
    {Item: cf}
     Item_StackSizes: THook =            ['h', 1497042563];
     Item_ID: THook =                    ['i', 1424532003];

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

    Default

    Quote Originally Posted by terd View Post
    I was doing them at the same time. It appears that reflection is unable to log in now however, it doesn't click the red button after typing in the credentials. I'm having some trouble with some scripts as well, so perhaps I copied some of them incorrectly.

    One method that I have noticed does not work for me using these hooks: Reflect.Inv.Count
    Yeah same problem here, I'm sure Kyle or someone else will fix it when they've got time.

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

    Default

    I heard that some interface stuff changed(world map caused the gametab indices to move around?)

    I'm moving this weekend so I don't have time to check everything yet.

  20. #20
    Join Date
    May 2017
    Posts
    3
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by terd View Post
    It appears that reflection is unable to log in now however, it doesn't click the red button after typing in the credentials.
    band-aid to fix login: Simba\Includes\reflection\lib\internal\Login.simba

    Code:
    function TReflectionLogin.SortWorlds(Members: Boolean; PVP: Boolean = False): TIntegerArray;
    var
      PVPW, FreeW, MembW, DeadW: TIntegerArray;
    begin
      PVPW := [325, 337];
      DeadW := [345, 402, 405];
      FreeW := [301, 308, 316, 326, 335, 381, 382, 383, 384, 385, 393, 394];
      MembW := [302, 303, 304, 305, 306, 307, 309, 310, 311, 312, 313, 314, 315, 317,
                318, 319, 320, 321, 322, 323, 324, 327, 328, 329, 330, 331, 332, 333, 334, 336,
                338, 339, 340, 341, 342, 343, 344, 346, 347, 348, 349, 350, 351, 352, 353,
                354, 355, 356, 357, 358, 359, 360, 361, 362, 365, 366, 367, 368, 369,
                370, 373, 374, 375, 376, 377, 378, 386];
      If Members then
        Result := MembW
      else
        Result := FreeW;
      If (Members) and (PVP) then
        Result := CombineIntArray(PVPW, MembW);
    end;
    
    function TReflectionLogin.RandomWorld(Members: Boolean; PVP: Boolean = False): Integer;
    var
      Worlds: TIntegerArray;
    begin
      Worlds := Reflect.Login.SortWorlds(Members, PVP);
      Result := Worlds[Random(Length(Worlds))];
    end;
    
    function TReflectionLogin.GetClientState: Integer;
    begin
      Result := (Reflect.Smart.GetFieldInt(0, Client_LoginState));
    end;
    
    function TReflectionLogin.AtLogin: Boolean;
    begin
      Result := Reflect.Login.GetClientState = 10;
    end;
    
    function TReflectionLogin.AtWorldScreen: Boolean;
    begin
      Result := CountColor(0, 2, 30, 100, 400) > 10000;
    end;
    
    //edited
    function TReflectionLogin.AtLobby: Boolean;
    begin
      Result := (GetColor(272, 296) = 8356779);
    end;
    
    function TReflectionLogin.LoggedIn: Boolean;
    begin
      Result := (GetColor(6, 344) = 1385514);
    end;
    //edited
    
    function TReflectionLogin.OpenWorldSelector: Boolean;
    const
      ClickSwitchButton: TBox = [5, 465, 105, 495];
    var
      T: TReflectTimer;
      Tries: Integer;
    begin
      if Reflect.Login.AtWorldScreen then
        Exit(True);
      repeat
        If not Reflect.Login.AtLogin then
          Exit(False);
        Inc(Tries);
        Reflect.Mouse.Move(ClickSwitchButton, Mouse_Left);
        T.Start;
        while (not Result) and (T.ElapsedTime < 5000) do
          Result := Reflect.Login.AtWorldScreen;
      until(Result)or(Tries > 4);
    end;
    
    function TReflectionLogin.ExitWorldSelector: Boolean;
    const
      ClickCancelButton: TBox = [709, 4, 753, 16];
    var
      T: TReflectTimer;
      Tries: Integer;
    begin
      if not Reflect.Login.AtWorldScreen then
        Exit(True);
      repeat
        if not Reflect.Login.AtWorldScreen then
          Exit(True);
        Inc(Tries);
        Reflect.Mouse.Move(ClickCancelButton, Mouse_Left);
        T.Start;
        while (not Result) and (T.ElapsedTime < 5000) do
          Result := (not Reflect.Login.AtWorldScreen);
      until(Result)or(Tries > 4);
    end;
    
    function TReflectionLogin.SelectWorld(World: Integer): Boolean;
    const
    Worlds: TIntegerArray = [301, 318, 335, 352, 373,
                               302, 319, 336, 353, 374,
                               303, 320, 337, 354, 375,
                               304, 321, 338, 355, 376,
                               305, 322, 339, 356, 377,
                               306, 323, 340, 357, 378,
                               307, 324, 341, 358, 381,
                               308, 325, 342, 359, 382,
                               309, 326, 343, 360, 383,
                               310, 327, 344, 361, 384,
                               311, 328, 345, 362, 385,
                               312, 329, 346, 365, 386,
                               313, 330, 347, 366, 393,
                               314, 331, 348, 367, 394,
                               315, 332, 349, 368, 402,
                               316, 333, 350, 369, 405,
                               317, 334, 351, 370, -1];
    var
      I: Integer;
      T: TReflectTimer;
    begin
      if (not InIntArrayEx(Worlds, I, World)) or (Not Reflect.Login.AtWorldScreen) then
        Exit(False);
      Wait(RandomRange(250, 500));
      Reflect.Mouse.Move(Reflect.Math.GridBox(I + 1, 5, 17, 87, 17, 93, 24, Point(195, 70)),
        Mouse_Left);
      T.Start;
      while (Reflect.Login.AtWorldScreen) and (T.ElapsedTime < 5000) do
        Wait(RandomRange(100, 200));
      Result := (not Reflect.Login.AtWorldScreen);
    end;
    
    function TReflectionLogin.GetLoginState: Integer;
    var
      ColorCount: Integer;
    begin
      Result := -1;
      case Reflect.Login.GetClientState of
        30:
        If Reflect.Login.AtLobby then
          Result := Login_ClickToPlay;
        10:
        begin
          ColorCount := CountColor(Login_Text_Yellow, 304, 237, 460, 256);
          If (ColorCount = 479) then
            Exit(Login_ExistingUser);
          ColorCount := CountColor(Login_Text_Yellow, 204, 165, 570, 253);
          case ColorCount of
            799, 863: Result := Login_EnterUser;
            1439, 774, 1437, 738, 1539, 1073, 492, 1721, 906, 1227,
            1231, 1136, 777, 1700, 1666, 1783, 439, 210,
            1017, 1037, 1053, 1022: Result := Login_Problems;
          end;
        end;
        20: Result := Login_Connecting;
      end;
    end;
    
    function TReflectionLogin.GetCursor: Byte;
    var
      TimeOut: UInt64;
    begin
      TimeOut := GetTickCount64 + Random(3000, 4000);
      repeat
        if (CountColor(Login_Text_Yellow, Login_LoginBox.X1, Login_LoginBox.Y1,
          Login_LoginBox.X2, Login_LoginBox.Y2) > 10) then
            Exit(Login_LoginBox_Byte);
        if (CountColor(Login_Text_Yellow, Login_PasswordBox.X1,
          Login_PasswordBox.Y1, Login_PasswordBox.X2,
          Login_PasswordBox.Y2) > 10) then
            Exit(Login_PasswordBox_Byte);
        Wait(Random(25, 50));
      until (GetTickCount64 > TimeOut);
    end;
    
    procedure TReflectionLogin.SetCursor(const New: Integer);
    var
      T: TReflectTimer;
    begin
      if (Reflect.Login.GetCursor = New) then
        Exit;
      T.Start;
      while (Reflect.Login.GetCursor <> New) and
            (Reflect.Login.GetLoginState = Login_EnterUser) and
            (T.ElapsedTime < 8000) do
      begin
        Reflect.Keyboard.Send('{tab}');
        Wait(Random(350, 650));
      end;
    end;
    
    function TReflectionLogin.LoginProblems: Boolean;
    var
      ColorCount: Integer;
    begin
      ColorCount := CountColor(Login_Text_Yellow, 204, 165, 570, 253);
      case ColorCount of
        738, 1539, 1136: Reflect.Logger.Fatal(
       'We''ve been forced to terminate due to failing logging into your account.');
    
        1073, 777, 1227: {Retry}
        begin
          Reflect.Logger.Warn('Already logged in, retry');
          Wait(15000+Random(10000));
          Reflect.Mouse.Move(238, 309, 364, 334, Mouse_Left);
        end;
    
        1439: { Too many login attempts }
        begin
          Reflect.Logger.Warn('Too many login attempts, waiting 5-10 seconds...');
          Wait(5000+Random(10000));
          Reflect.Mouse.Move(238, 309, 364, 334, Mouse_Left);
        end;
    
        1721: {Too many incorrect logins}
        begin
          Reflect.Logger.Warn('Too many incorrect logins, waiting for 5 minutes');
          Wait(RandomRange(1000*60*5, 1000*60*6));
          Reflect.Mouse.Move(238, 309, 364, 334, Mouse_Left);
        end;
        906: {World is full}
        begin
          Reflect.Logger.Warn('World is full, re-trying');
          Reflect.Mouse.Move(238, 309, 364, 334, Mouse_Left);
          Wait(RandomRange(1000, 2000));
        end;
        492, 1231, 1666, 1017, 1037, 1053, 1022: {World change}
        begin
          Reflect.Logger.Warn('Changing world.');
          Reflect.Mouse.Move(IntToBox(5, 465, 105, 495), Mouse_Left);
          Wait(RandomRange(500, 700));
          if Reflect.Login.SelectWorld(RandomWorld(True)) then
            Wait(RandomRange(550, 650));
          Reflect.Mouse.Move(238, 309, 364, 334, Mouse_Left);
        end;
        1700, 1783: {F2p world needed}
        begin
          Reflect.Logger.Warn('Changing world.');
          Reflect.Mouse.Move(IntToBox(5, 465, 105, 495), Mouse_Left);
          Wait(RandomRange(500, 700));
          if Reflect.Login.SelectWorld(RandomWorld(False)) then
            Wait(RandomRange(550, 650));
          Reflect.Mouse.Move(238, 309, 364, 334, Mouse_Left);
        end;
        439, 210: {PVP world -> Exit}
        begin
          Reflect.Mouse.Move(IntToBox(408, 310, 517, 333), Mouse_Left);
          Reflect.Logger.Warn('Changing world.');
          Reflect.Mouse.Move(IntToBox(5, 465, 105, 495), Mouse_Left);
          Wait(RandomRange(500, 700));
          if Reflect.Login.SelectWorld(RandomWorld(True)) then
            Wait(RandomRange(550, 650));
        end;
      end;
    end;
    
    Procedure TReflectionLogin.EnterDetails(Username, Password: String);
    var
      Clear: array [0..1] of Boolean;
      Timeout: UInt64 := GetTickCount64 + Random(7500, 8000);
    begin
      Clear[Login_LoginBox_Byte] := CountColor(Login_Text_White, Login_LoginBox.X1,
                                               Login_LoginBox.Y1, Login_LoginBox.X2,
                                               Login_LoginBox.Y2);
    
      Clear[Login_PasswordBox_Byte] := CountColor(Login_Text_White,
                                                  Login_PasswordBox.X1,
                                                  Login_PasswordBox.Y1,
                                                  Login_PasswordBox.X2,
                                                  Login_PasswordBox.Y2);
    
      if (Reflect.Login.GetCursor <> Login_LoginBox_Byte) then
        Reflect.Login.SetCursor(Login_LoginBox_Byte);
      if (Clear[Login_LoginBox_Byte]) then
        while (CountColor(Login_Text_White, Login_LoginBox.X1, Login_LoginBox.Y1, Login_LoginBox.X2, Login_LoginBox.Y2) > 5) and (Timeout > GetTickCount64) do
        begin
          Reflect.Keyboard.Send('{backspace}');
          Wait(Random(30, 120));
        end;
      Reflect.Keyboard.Send(Username);
      if (Reflect.Login.GetCursor <> Login_PasswordBox_Byte) then
        Reflect.Login.SetCursor(Login_PasswordBox_Byte);
      if (Clear[Login_PasswordBox_Byte]) then
        while (CountColor(Login_Text_White, Login_PasswordBox.X1,
               Login_PasswordBox.Y1, Login_PasswordBox.X2,
               Login_PasswordBox.Y2) > 5) and (Timeout > GetTickCount64) do
    
        begin
          Reflect.Keyboard.Send('{backspace}');
          Wait(Random(30, 120));
        end;
      Reflect.Keyboard.Send(Password+'{enter}');
      Wait(1000+Random(500));
    end;
    
    function TReflectionLogin.LoginPlayer(Username, Password: string): Boolean;
    var
      CurState, Tries: Integer;
      T, TLogged: TReflectTimer;
    begin
      If (Reflect.Login.GetClientState = 30) and (Not Reflect.Login.AtLobby) then
        Exit(True);
      If Self.ExitWorldSelector then
        Wait(500+Random(700));
      repeat
        CurState := Reflect.Login.GetLoginState;
        If CurState = -1 then
          Inc(Tries);
        T.Start;
        case CurState of
          LOGIN_ClickToPlay:
          begin
            Wait(RandomRange(300, 600));
            Reflect.Mouse.Move(280, 300, 490, 374, Mouse_Left);
            TLogged.Start;
            repeat
              Wait(RandomRange(100, 200));
            until(TLogged.ElapsedTime > 3000)or((Reflect.Login.GetClientState = 30) and (Not Reflect.Login.AtLobby));
          end;
          LOGIN_ExistingUser: Reflect.Mouse.Move(Login_ExistingUserBox, Mouse_Left);
          LOGIN_EnterUser: Reflect.Login.EnterDetails(Username, Password);
          LOGIN_Problems: Reflect.Login.LoginProblems;
          LOGIN_Connecting: Wait(RandomRange(500, 1000));
          else
            Wait(RandomRange(100, 200));
        end;
        If Not (InIntArray([Login_Connecting, Login_ClickToPlay], CurState))then
          While(not CurState = Reflect.Login.GetLoginState + 1) and
               (T.ElapsedTime < 5000) do
            Wait(RandomRange(100, 200));
      until(Tries > 30)or((Reflect.Login.GetClientState = 30) and (Not Reflect.Login.AtLobby) and Reflect.Login.LoggedIn);
      Result := ((Reflect.Login.GetClientState = 30) and (Not Reflect.Login.AtLobby) and Reflect.Login.LoggedIn);
    end;
    Last edited by DannyOS; 05-26-2017 at 07:14 PM.

  21. #21
    Join Date
    Nov 2015
    Posts
    73
    Mentioned
    1 Post(s)
    Quoted
    31 Post(s)

    Default

    Quote Originally Posted by tls View Post
    I heard that some interface stuff changed(world map caused the gametab indices to move around?)

    I'm moving this weekend so I don't have time to check everything yet.
    Yeah, all inventory detection is broken as far as my testing shows. I'm not sure where this functionality comes from so I can't make a hack to try to patch it up prior to the official fix.

  22. #22
    Join Date
    Apr 2013
    Posts
    680
    Mentioned
    13 Post(s)
    Quoted
    341 Post(s)

    Default

    Get a hook list from another forum; then changed the hooks which are missing or need adjusting..

    it is pretty simple; just a little time consuming, should the hooks be terribly out of shape..

    though i think with the help from the above posts; you should have less then a handful to fix.

    **Edit - i think Brandon has posted a sufficient hooks list **

    <------------------>



  23. #23
    Join Date
    Nov 2015
    Posts
    73
    Mentioned
    1 Post(s)
    Quoted
    31 Post(s)

    Default

    Quote Originally Posted by AFools View Post
    Get a hook list from another forum; then changed the hooks which are missing or need adjusting..

    it is pretty simple; just a little time consuming, should the hooks be terribly out of shape..

    though i think with the help from the above posts; you should have less then a handful to fix.

    **Edit - i think Brandon has posted a sufficient hooks list **
    I'm pretty sure the hooks are correct, but inventory functions still don't work.

  24. #24
    Join Date
    May 2017
    Posts
    3
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by terd View Post
    but inventory functions still don't work.
    The widget interface globals are broken I believe, you can grab most of what you need in color from srl-osr, example:

    Code:
    function InvBox(I :Integer): TBox;
    var
      Slot1, Slot6: TBox;
    begin
      if not InRange(I, 1, 28) then
      begin
        Result := IntToBox(-1,-1,-1,-1);
        writeln('InvBox Incorrect index: ' + IntToStr(i));
        Exit;
      end;
      Slot1 := IntToBox(563, 213, 594, 244);
      Slot6 := IntToBox(605, 249, 31415, 92653);
      Result.x1 := Slot1.X1 + ((((i + 3) mod 4)) * (Slot6.X1 - Slot1.X1));
      Result.y1 := Slot1.Y1 + ((((i - 1) div 4)) * (Slot6.Y1 - Slot1.Y1));
      Result.x2 := Result.x1 + (Slot1.X2 - Slot1.X1);
      Result.y2 := Result.y1 + (Slot1.Y2 - Slot1.Y1);
    end;
    
    function ExistsItem(I: Integer): Boolean;
    var
      X, Y: Integer;
      TB: TBox;
    begin
      TB := InvBox(I);
      Result := FindColor(x, y, 65536, TB.x1, TB.y1, TB.x2, TB.y2);
    end;
    
    function InvCount: Integer;
    var
      I: Integer;
    begin
      Result := 0;
      for I := 1 to 28 do
        if (ExistsItem(I)) then
         Inc(Result);
    end;

  25. #25
    Join Date
    Nov 2015
    Posts
    73
    Mentioned
    1 Post(s)
    Quoted
    31 Post(s)

    Default

    Yeah, I was thinking about doing that but figured it would be fixed soon enough. If it's a big problem then fixing it piece by piece in that manner would work for sure.

Page 1 of 11 123 ... 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
  •