SRL Archive - Client Hacking

#616


deleteme

2010-08-25 14:54:56

Anyone who has it and wants to share it here?

Thanks,
Codegrabber

i luffs yeww

2010-08-25 16:53:32

#616? Last I remember (three days ago) was #614. Did Jagex skip #615, or did they just not change hooks from #614 -> #615?


{**
* Copyright 2010 by Benjamin J. Land (a.k.a. BenLand100)
*
* This file is part of the SMART Minimizing Autoing Resource Thing (SMART)
*
* SMART is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* SMART is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with SMART. If not, see <http://www.gnu.org/licenses/>.
*}

const
ClientVersion = 616;

{Static Hooks}
hook_static_LoginIndex = 've.i';
hook_static_MyPlayer = 'naa.p';
hook_static_BaseX = 'bj.x';
hook_static_BaseY = 'fi.gb';
hook_static_NPCIndexArray = 'ln.v';
hook_static_NPCNodes = 'd.e';
hook_static_NPCCount = 'rv.m';
hook_static_GroundSettingsArray = 'kg.p'; //couldn't find this hook (kg.p) anywhere in #614..
hook_static_LoadedPlane = 'dr.f';
hook_static_PlaneArray = 'fda.b';
hook_static_Toolkit = 'js.j';
hook_static_MapAngle = 'ql.wb';
hook_static_DestX = 'uea.E';
hook_static_DestY = 'im.I';
hook_static_MenuOptionCount = 'qf.Nb';
hook_static_MenuX = 'vw.c';
hook_static_MenuY = 'pi.r';
hook_static_MenuOpen = 'wj.R';
hook_static_MenuNodeList = 'he.vb';
hook_static_LoopCycle = 'mga.b';
hook_static_PlayerCount = 'jh.w';
hook_static_PlayerIndexArray = 'kba.m';
hook_static_GetPlayers = 'wk.k';
hook_static_GetSkillLevels = 'dr.e'; //couldn't find this hook (dr.e) anywhere in #614..
hook_static_GetSkillExperiences = 'dw.Q'; //couldn't find this hook (dw.Q) anywhere in #614..
hook_static_GroundTiles = 'ks.b';
hook_static_GetInterfaces = 'ak.K';
hook_static_ValidInterfaces = 'lh.e';
hook_static_GetSettings = 'tc.m';
hook_static_GroundItemCache = 'tj.C'; //couldn't find this hook (tj.C) anywhere in #614..
hook_static_CamPosX = 'pi.c'; //couldn't find this hook (pi.c) anywhere in #614..
hook_static_CamPosY = 'ir.J'; //couldn't find this hook (ir.J) anywhere in #614..

{Class Animable}
class_Animable = 'wda';
hook_animable_PixelX = 's';
hook_animable_PixelY = 'l';
hook_animable_Plane = 'k';

{Class Player}
class_Player = 'pp';
hook_player_GetLevel = 'kd'; //not updated
hook_player_GetName = 'Cc';
hook_player_PlayerDef = 'pd'; //not updated

{Class Character}
class_Character = 'va';
hook_character_GetHitDamges = 'Yb'; //not updated
hook_character_Animation = 'ib';
hook_character_Motion = 'mc';
hook_character_WalkQueueX = 'rc'; //in #614 (of Simba's reflection), these were flip-flopped, so I'm not sure if reflection is set up correctly with these hooks..
hook_character_WalkQueueY = 'uc';
hook_character_GetHeight = 'tb';
hook_character_LoopCycleStatus = 'V';
hook_character_HPRatio = 'O';
hook_character_GetInteracting = 'ac';
hook_character_Orientation = 'Ib'; //not updated

{Class NPC}
class_NPC = 'ac';
hook_npc_NPCDef = 'Gc';

{Class NPCDef}
class_NPCDef = 'ql';
hook_npcdef_GetActions = 'Ab';
hook_npcdef_GetName = 'ob';
hook_npcdef_GetLevel = 'K';
hook_npcdef_GetID = 'X';

{Class NPCNode}
class_NPCNode = 'nca';
hook_npcnode_GetNPC = 'h';

{Class GroundTile}
class_GroundTile = 'qs';

{Class Plane}
class_Plane = 'd';

{Class RSInteractable}
class_RSInteractable = 'gfa'; //not updated

{Class Toolkit}
class_Toolkit = 'oa'; //not updated

{Class Viewport}
class_Viewport = 'q'; //not updated

{Class SDViewport}
class_SDViewport = 'cr';
hook_sdviewport_xOff = 'r';
hook_sdviewport_xX = 'h';
hook_sdviewport_xY = 'm';
hook_sdviewport_xZ = 'n';
hook_sdviewport_yOff = 'i';
hook_sdviewport_yX = 'k';
hook_sdviewport_yY = 's';
hook_sdviewport_yZ = 'j';
hook_sdviewport_zOff = 'q';
hook_sdviewport_zX = 'p';
hook_sdviewport_zY = 'l';
hook_sdviewport_zZ = 'o';

{Class SDToolkit}
class_SDToolkit = 'lea';
hook_sdtoolkit_xMin = 'I';
hook_sdtoolkit_xMax = 'J';
hook_sdtoolkit_yMin = 'z';
hook_sdtoolkit_yMax = 'G';
hook_sdtoolkit_zMin = 'M';
hook_sdtoolkit_zMax = 'R';
hook_sdtoolkit_xScale = 'B';
hook_sdtoolkit_yScale = 'Y';
hook_sdtoolkit_Viewport = 'O';

{Class SDPlane}
class_SDPlane = 'gu';
hook_sdplane_TileHeights = 'A';

{Class NodeList}
class_NodeList = 'ws';
hook_nodelist_Current = 'f'; //not updated
hook_nodelist_Head = 'e';

{Class Node}
class_Node = 'kd';
hook_node_Next = 'd';
hook_node_Previous = 'c';
hook_node_GetID = 'e';

{Class Menu}
class_Menu = 'ts';
hook_menu_Action = 'p';
hook_menu_Option = 'j';

{Class PlayerDef}
class_PlayerDef = 'n'; //couldn't find class
hook_playerdef_GetEquipment = 't'; //couldn't find this hook (n.t) anywhere in #614..

{Class AnimableNode}
class_AnimableNode = 'qe';
hook_AnimableNode_GetAnimable = 'e';
hook_AnimableNode_GetNext = 'd';

{Class ObjectInterface}
class_ObjectInterface = 'rr';
hook_interface_GetActions = 'Pc';
hook_interface_GetX = 'e';
hook_interface_GetY = 'Ab';
hook_interface_GetWidth = 'ed';
hook_interface_GetHeight = 'kb';
hook_interface_GetText = 'Z';
hook_interface_GetTextureID = 'wc';
hook_interface_GetTextColor = 'J';
hook_interface_GetModelID = 'ob'; //not updated
hook_interface_GetModelZoom = 'Uc'; //not updated
hook_interface_GetName = 'tc'; //not updated
hook_interface_GetChildren = 'E';
hook_interface_GetID = 'Zb';
hook_interface_GetStack = 'Cb';

{Class Ground}
class_Ground = 'qs';
hook_ground_AnimableList = 'd';
hook_ground_WallObject1 = 'y'; //not updated
hook_ground_WallObject2 = 'p'; //not updated
hook_ground_WallDecoration1 = 'c'; //not updated
hook_ground_WallDecoration2 = 'd'; //not updated
hook_ground_FloorDecoration = 'w'; //not updated

//GroundItem crap.
//nodecache class hd
hook_nodecache_GetNodes = 'hd.o';

//RSItem class bt
hook_item_GetID = 'bt.j';
hook_item_GetStack = 'p'; //not updated

//nodelistcache class wc
hook_nodelistcache_GetNodeList = 'wc.g';

//Settings Array
hook_settingarray_GetData = 'h'; //not updated

{
/////////////// HOOKS BELOW HERE ARE *OUTDATED* AS OF 14 July 2010 (Client 614) ////////////////////////
These hooks all need to be added to the updater.
}

//Some work actually. You're welcome. Updated as much as I could. (Thanks to TRiLeZ.)

{Class InteractiveObject1}
class_InteractiveObject1 = 'fi';
hook_interactiveobject_GetID = 'X';

{Class InteractiveObject2}
class_InteractiveObject2 = 'dt';
hook_interactiveobject_GetID2 = 'w.H'; //not updated

{Class SecondLevelObject}
class_SecondLevelObject = 'kd'; //not updated

//WallObjectData class wda
hook_wallobjectdata_GetID = 'x'; //not updated
hook_wallobjectdata_GetID2 = 'D.H'; //not updated

//WallDecorationData class ew
hook_WallDecorationData_GetID = 'w'; //not updated
hook_WallDecorationData_GetID2 = 'y.H'; //not updated

//FloorDecorationData class rv
hook_FloorDecorationData_GetID = 'z'; //not updated
hook_FloorDecorationData_GetID2 = 'm.H'; //not updated

TRiLeZ

2010-08-25 17:18:13


[-------------------TRiBot Updater-------------------]
Client Revision: 616.
Loaded 751 classes from runescape-616.jar in 352 ms.

Class wda implements Animable
» getLocalX() int wda.s
» getLocalY() int wda.l
» getPlane() byte wda.k

Class wv implements Character
» getLoopCycleStatus() int wv.V
» getAnimation() int wv.Q
» getModels() ba[] wv.vc
» getWalkingX() int[] wv.rc
» getWalkingY() int[] wv.uc
» getCurrentWaypoint() int wv.mc
» getWalkingTypes() byte[] wv.oc

Class client implements Client
» getBaseX() int bj.x
» getBaseY() int fi.gb
» getLoginIndex() int ve.i
» getMyPlayer() pp naa.p
» getMinimapScale() int ln.s
» getMinimapSetting() int nn.e
» getMinimapAngle() int hfa.G
» getMinimapOffset() float ql.wb
» getNpcCount() int rv.m
» getNpcIndices() int[] ln.v
» getNpcNodes() nca[] d.e
» getPlayerCount() int jh.w
» getPlayerIndices() int[] kba.m
» getPlayers() pp[] wk.k
» getLoopCycle() int mga.b
» getUsername() java.lang.String is.c
» getPassword() java.lang.String ud.b
» getPlane() int dr.f
» getPlanes() d[] fda.b
» getMainToolkit() oa js.j
» getSelectedObjectName() java.lang.String at.A
» getSelectedActionName() java.lang.String eaa.I
» getGroundTiles() qs[][][] ks.b
» getMapWidth() int sd.F
» getMapHeight() int gn.j
» getMenuOptionCount() int qf.Nb
» getIsMenuOpen() boolean wj.R
» getMenuNodeList() ws he.vb
» getMenuHeight() int fo.G
» getMenuWidth() int oea.a
» getMenuX() int vw.c
» getMenuY() int pi.r
» getIsSpellSelected() boolean i.g
» getSpellTarget() int np.c
» getPlayerRights() int wea.b
» getDestX() int uea.E
» getDestY() int im.I
» getFriendsList() java.lang.String[] pj.K
» getFriendWorlds() int[] lw.f
» getValidInterfaces() boolean[] lh.e
» getInterfaces() rr[][] ak.K
» getInterfaceBoundsArray() java.awt.Rectangle[] oi.f
» getFPS() int oga.a
» getItemDefLoader() tr rc.k
» getCameraPitch() int client.fb
» getCameraYaw() int vp.z

Class fi implements InteractiveObject1
» getId() short fi.X

Class aga implements InteractiveObject2
» getData() as aga.H

Class rr implements Interface
» getParentID() int rr.P
» getChildren() rr[] rr.E
» getX() int rr.e
» getY() int rr.Ab
» getType() int rr.lb
» getWidth() int rr.ed
» getHeight() int rr.kb
» getContentType() int rr.Tc
» getUID() int rr.x
» getIsHidden() boolean rr.K
» getBoundsArrayIndex() int rr.w
» getLastUpdate() int rr.N
» getComponentID() int rr.Zb
» getComponentStack() Broken Hook
» getTextColor() int rr.J

Class oi implements ItemDef
» getName() java.lang.String oi.ib
» getStackable() int oi.y

Class ts implements MenuNode
» getOption() java.lang.String ts.j

Class ac implements Npc
» getDef() ql ac.Gc

Class nca implements NpcNode
» getNpc() ac nca.h

Class pg implements ObjectDefinition

Class d implements Plane
» getScale() int d.a
» getXSize() int d.c
» getYSize() int d.d
» getZSize() int d.b

Class pp implements Player
» getName() java.lang.String pp.Cc
» getSkillLevel() Broken Hook
» getLevel() Broken Hook
» getTeam() int pp.zc

Class sfa implements SDModel
» getPointsX() int[] sfa.v
» getPointsY() int[] sfa.pb
» getPointsZ() int[] sfa.fb

Class gu implements SDPlane
» getTileHeights() int[][] gu.A

Class lea implements SDToolkit
» getViewport() cr lea.O
» getXScale() int lea.B
» getYScale() int lea.Y
» getZMin() int lea.M
» getZMax() int lea.R
» getYMin() int lea.z
» getYMax() int lea.G
» getXMin() int lea.I
» getXMax() int lea.J

Class cr implements SDViewport
» getZOff() int cr.q
» getZX() int cr.p
» getZY() int cr.l
» getZZ() int cr.o
» getYOff() int cr.i
» getYX() int cr.k
» getYY() int cr.s
» getYZ() int cr.j
» getXOff() int cr.r
» getXX() int cr.h
» getXY() int cr.m
» getXZ() int cr.n

Hooked: 108/111 hooks in 1128ms.
Took: 1499ms to update.

Cstrike

2010-08-25 17:52:42

TRiLeZ, what can one as I do with that code? Edit it into hooks.scar? Would that update reflection or no?
Please mind my ignorance of the subject :), I hope to learn more

i luffs yeww

2010-08-25 17:56:30

Should. Worth a shot. :p


{**
* Copyright 2010 by Benjamin J. Land (a.k.a. BenLand100)
*
* This file is part of the SMART Minimizing Autoing Resource Thing (SMART)
*
* SMART is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* SMART is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with SMART. If not, see <http://www.gnu.org/licenses/>.
*}

const
ClientVersion = 616;

{Static Hooks}
hook_static_LoginIndex = 've.i';
hook_static_MyPlayer = 'naa.p';
hook_static_BaseX = 'bj.x';
hook_static_BaseY = 'fi.gb';
hook_static_NPCIndexArray = 'ln.v';
hook_static_NPCNodes = 'd.e';
hook_static_NPCCount = 'rv.m';
hook_static_GroundSettingsArray = 'kg.p'; //couldn't find this hook (kg.p) anywhere in #614..
hook_static_LoadedPlane = 'dr.f';
hook_static_PlaneArray = 'fda.b';
hook_static_Toolkit = 'js.j';
hook_static_MapAngle = 'ql.wb';
hook_static_DestX = 'uea.E';
hook_static_DestY = 'im.I';
hook_static_MenuOptionCount = 'qf.Nb';
hook_static_MenuX = 'vw.c';
hook_static_MenuY = 'pi.r';
hook_static_MenuOpen = 'wj.R';
hook_static_MenuNodeList = 'he.vb';
hook_static_LoopCycle = 'mga.b';
hook_static_PlayerCount = 'jh.w';
hook_static_PlayerIndexArray = 'kba.m';
hook_static_GetPlayers = 'wk.k';
hook_static_GetSkillLevels = 'dr.e'; //couldn't find this hook (dr.e) anywhere in #614..
hook_static_GetSkillExperiences = 'dw.Q'; //couldn't find this hook (dw.Q) anywhere in #614..
hook_static_GroundTiles = 'ks.b';
hook_static_GetInterfaces = 'ak.K';
hook_static_ValidInterfaces = 'lh.e';
hook_static_GetSettings = 'tc.m';
hook_static_GroundItemCache = 'tj.C'; //couldn't find this hook (tj.C) anywhere in #614..
hook_static_CamPosX = 'pi.c'; //couldn't find this hook (pi.c) anywhere in #614..
hook_static_CamPosY = 'ir.J'; //couldn't find this hook (ir.J) anywhere in #614..

{Class Animable}
class_Animable = 'wda';
hook_animable_PixelX = 's';
hook_animable_PixelY = 'l';
hook_animable_Plane = 'k';

{Class Player}
class_Player = 'pp';
hook_player_GetLevel = 'kd'; //not updated
hook_player_GetName = 'Cc';
hook_player_PlayerDef = 'pd'; //not updated

{Class Character}
class_Character = 'va';
hook_character_GetHitDamges = 'Yb'; //not updated
hook_character_Animation = 'ib';
hook_character_Motion = 'mc';
hook_character_WalkQueueX = 'rc'; //in #614 (of Simba's reflection), these were flip-flopped, so I'm not sure if reflection is set up correctly with these hooks..
hook_character_WalkQueueY = 'uc';
hook_character_GetHeight = 'tb';
hook_character_LoopCycleStatus = 'V';
hook_character_HPRatio = 'O';
hook_character_GetInteracting = 'ac';
hook_character_Orientation = 'Ib'; //not updated

{Class NPC}
class_NPC = 'ac';
hook_npc_NPCDef = 'Gc';

{Class NPCDef}
class_NPCDef = 'ql';
hook_npcdef_GetActions = 'Ab';
hook_npcdef_GetName = 'ob';
hook_npcdef_GetLevel = 'K';
hook_npcdef_GetID = 'X';

{Class NPCNode}
class_NPCNode = 'nca';
hook_npcnode_GetNPC = 'h';

{Class GroundTile}
class_GroundTile = 'qs';

{Class Plane}
class_Plane = 'd';

{Class RSInteractable}
class_RSInteractable = 'gfa'; //not updated

{Class Toolkit}
class_Toolkit = 'oa'; //not updated

{Class Viewport}
class_Viewport = 'q'; //not updated

{Class SDViewport}
class_SDViewport = 'cr';
hook_sdviewport_xOff = 'r';
hook_sdviewport_xX = 'h';
hook_sdviewport_xY = 'm';
hook_sdviewport_xZ = 'n';
hook_sdviewport_yOff = 'i';
hook_sdviewport_yX = 'k';
hook_sdviewport_yY = 's';
hook_sdviewport_yZ = 'j';
hook_sdviewport_zOff = 'q';
hook_sdviewport_zX = 'p';
hook_sdviewport_zY = 'l';
hook_sdviewport_zZ = 'o';

{Class SDToolkit}
class_SDToolkit = 'lea';
hook_sdtoolkit_xMin = 'I';
hook_sdtoolkit_xMax = 'J';
hook_sdtoolkit_yMin = 'z';
hook_sdtoolkit_yMax = 'G';
hook_sdtoolkit_zMin = 'M';
hook_sdtoolkit_zMax = 'R';
hook_sdtoolkit_xScale = 'B';
hook_sdtoolkit_yScale = 'Y';
hook_sdtoolkit_Viewport = 'O';

{Class SDPlane}
class_SDPlane = 'gu';
hook_sdplane_TileHeights = 'A';

{Class NodeList}
class_NodeList = 'ws';
hook_nodelist_Current = 'f'; //not updated
hook_nodelist_Head = 'e';

{Class Node}
class_Node = 'kd';
hook_node_Next = 'd';
hook_node_Previous = 'c';
hook_node_GetID = 'e';

{Class Menu}
class_Menu = 'ts';
hook_menu_Action = 'p';
hook_menu_Option = 'j';

{Class PlayerDef}
class_PlayerDef = 'n'; //couldn't find class
hook_playerdef_GetEquipment = 't'; //couldn't find this hook (n.t) anywhere in #614..

{Class AnimableNode}
class_AnimableNode = 'qe';
hook_AnimableNode_GetAnimable = 'e';
hook_AnimableNode_GetNext = 'd';

{Class ObjectInterface}
class_ObjectInterface = 'rr';
hook_interface_GetActions = 'Pc';
hook_interface_GetX = 'e';
hook_interface_GetY = 'Ab';
hook_interface_GetWidth = 'ed';
hook_interface_GetHeight = 'kb';
hook_interface_GetText = 'Z';
hook_interface_GetTextureID = 'wc';
hook_interface_GetTextColor = 'J';
hook_interface_GetModelID = 'ob'; //not updated
hook_interface_GetModelZoom = 'Uc'; //not updated
hook_interface_GetName = 'tc'; //not updated
hook_interface_GetChildren = 'E';
hook_interface_GetID = 'Zb';
hook_interface_GetStack = 'Cb';

{Class Ground}
class_Ground = 'qs';
hook_ground_AnimableList = 'd';
hook_ground_WallObject1 = 'y'; //not updated
hook_ground_WallObject2 = 'p'; //not updated
hook_ground_WallDecoration1 = 'c'; //not updated
hook_ground_WallDecoration2 = 'd'; //not updated
hook_ground_FloorDecoration = 'w'; //not updated

//GroundItem crap.
//nodecache class hd
hook_nodecache_GetNodes = 'hd.o';

//RSItem class bt
hook_item_GetID = 'bt.j';
hook_item_GetStack = 'p'; //not updated

//nodelistcache class wc
hook_nodelistcache_GetNodeList = 'wc.g';

//Settings Array
hook_settingarray_GetData = 'h'; //not updated

{
/////////////// HOOKS BELOW HERE ARE *OUTDATED* AS OF 14 July 2010 (Client 614) ////////////////////////
These hooks all need to be added to the updater.
}

//Some work actually. You're welcome. Updated as much as I could. (Thanks to TRiLeZ.)

{Class InteractiveObject1}
class_InteractiveObject1 = 'fi';
hook_interactiveobject_GetID = 'X';

{Class InteractiveObject2}
class_InteractiveObject2 = 'dt';
hook_interactiveobject_GetID2 = 'w.H'; //not updated

{Class SecondLevelObject}
class_SecondLevelObject = 'kd'; //not updated

//WallObjectData class wda
hook_wallobjectdata_GetID = 'x'; //not updated
hook_wallobjectdata_GetID2 = 'D.H'; //not updated

//WallDecorationData class ew
hook_WallDecorationData_GetID = 'w'; //not updated
hook_WallDecorationData_GetID2 = 'y.H'; //not updated

//FloorDecorationData class rv
hook_FloorDecorationData_GetID = 'z'; //not updated
hook_FloorDecorationData_GetID2 = 'm.H'; //not updated

Method

2010-08-25 18:01:15

From: i luffs yeww
#616? Last I remember (three days ago) was #614. Did Jagex skip #615, or did they just not change hooks from #614 -> #615?


The client was updated twice today.

Nava2

2010-08-25 18:10:09

From: cstrike
TRiLeZ, what can one as I do with that code? Edit it into hooks.scar? Would that update reflection or no?
Please mind my ignorance of the subject :), I hope to learn more


Yes, thats all that needs to be done. Please feel free to post the Hooks.simba after you complete that.

TRiLeZ

2010-08-25 19:46:19

Current Simba Reflection Output:


const
ClientVersion = 616;

hook_static_LoginIndex = 've.i';
hook_static_BaseX = 'bj.x';
hook_static_BaseY = 'fi.gb';
hook_static_MyPlayer = 'naa.p';
hook_static_NPCIndexArray = 'ln.v';
hook_static_NPCNodes = 'd.e';
hook_static_NPCCount = 'rv.m';
hook_static_GroundSettingsArray = '';
hook_static_LoadedPlane = 'dr.f';
hook_static_PlaneArray = 'fda.b';
hook_static_Toolkit = 'js.j';
hook_static_MapAngle = '';
hook_static_DestX = 'uea.E';
hook_static_DestY = 'im.I';
hook_static_MenuOptionCount = 'qf.Nb';
hook_static_MenuX = 'vw.c';
hook_static_MenuY = 'pi.r';
hook_static_MenuOpen = 'wj.R';
hook_static_MenuNodeList = 'he.vb';
hook_static_LoopCycle = 'mga.b';
hook_static_PlayerCount = 'jh.w';
hook_static_PlayerIndexArray = 'kba.m';
hook_static_GetPlayers = 'wk.k';


bolshak25

2010-08-25 20:23:30

From: TRiLeZ
Current Simba Reflection Output:


const
ClientVersion = 616;

hook_static_LoginIndex = 've.i';
hook_static_BaseX = 'bj.x';
hook_static_BaseY = 'fi.gb';
hook_static_MyPlayer = 'naa.p';
hook_static_NPCIndexArray = 'ln.v';
hook_static_NPCNodes = 'd.e';
hook_static_NPCCount = 'rv.m';
hook_static_GroundSettingsArray = '';
hook_static_LoadedPlane = 'dr.f';
hook_static_PlaneArray = 'fda.b';
hook_static_Toolkit = 'js.j';
hook_static_MapAngle = '';
hook_static_DestX = 'uea.E';
hook_static_DestY = 'im.I';
hook_static_MenuOptionCount = 'qf.Nb';
hook_static_MenuX = 'vw.c';
hook_static_MenuY = 'pi.r';
hook_static_MenuOpen = 'wj.R';
hook_static_MenuNodeList = 'he.vb';
hook_static_LoopCycle = 'mga.b';
hook_static_PlayerCount = 'jh.w';
hook_static_PlayerIndexArray = 'kba.m';
hook_static_GetPlayers = 'wk.k';



do you just replace that part? and it works?

Cstrike

2010-08-25 20:35:19

From: bolshak25
do you just replace that part? and it works?


I updated my hooks.scar with those and it seems to have done the job in terms of making it load, but the tiles don't really work. They seem to act like massive 5x5 tiles, when you move outside a 5x5 tile, your x or y tile position will increase by 1.
So if you (like me) made your script have some awesome reflection failsafes (or even completely reflection for that matter) then you're still shit out of luck.
Nonetheless, I'm very content with driving forward w/ the hooks. If I could figure out a way to get *all* the hooks I would attempt to do so myself.

Damnit… Jagex had to update the day of me wanting to apply to SRL members. I'll wait until hooks are fixed so all the time I put into the plan C failsafes work (thus not being an uber waste of time).

bolshak25

2010-08-25 20:37:33

From: cstrike
I updated my hooks.scar with those and it seems to have done the job in terms of making it load, but the tiles don't really work. They seem to act like massive 5x5 tiles, when you move outside a 5x5 tile, your x or y tile position will increase by 1.
So if you (like me) made your script have some awesome reflection failsafes (or even completely reflection for that matter) then you're still shit out of luck.
Nonetheless, I'm very content with driving forward w/ the hooks. If I could figure out a way to get *all* the hooks I would attempt to do so myself.

Damnit… Jagex had to update the day of me wanting to apply to SRL members. I'll wait until hooks are fixed so all the time I put into the plan C failsafes work (thus not being an uber waste of time).


im not like you cause i dont know how to make scripts, but the one im using uses reflection. it can log on, and mine, but cant make the walk because it fails

Cstrike

2010-08-25 20:40:08

From: bolshak25
im not like you cause i dont know how to make scripts, but the one im using uses reflection. it can log on, and mine, but cant make the walk because it fails


:( unfortunately until all the hooks are fixed (and whatever else needs to be fixed, I know as much as you about them), then a majority (if not all?) the reflection scripts are toast for the time being.



Also to the developers, I tried using this to obtain my tiles in case you want a quick script to run (this managed to actually end up as my default template, I sort of like it)
program MyScript;
{$i SRL/SRL/Misc/SMART.scar}
{$i SRL/SRL.scar}
{$i reflection/reflection.simba}

procedure DeclarePlayers;
begin
NumberOfPlayers(1); // How many players? 1 account = "1', 5 accounts = "5"...
CurrentPlayer := 0; // Start at player "zero" (aka player 1)
Players[0].Name := '';//Your RuneScape UserName
Players[0].Pass := '';//Your RuneScape PassWord
Players[0].Nick := ''; //3-4 letters from name
Players[0].Active:= True;
Players[0].BoxRewards := ['Xp', 'mote', 'ostume', 'oins', 'aphire', 'ssence'];
end;

procedure Debug (s : String);
var debugOn : Boolean;
begin
debugOn := true;
if debugOn then
begin
Writeln ('DEBUG: ' + s);
end;
end;

procedure AntiBan;
begin
if not LoggedIn then Exit;
case Random(25) of
0: begin
BoredHuman;
Debug ('ANTIBAN: Did bored human');
end;
end;
end;

procedure SetUpSmartStuff;
begin
Smart_Server := 9;
Smart_Members:= False;
Smart_Signed := True;
Smart_SuperDetail := False;
end;

var myTile : TTile;
begin
SetUpSmartStuff;
SetupSRL;
SetupReflectionEx(true);
DeclarePlayers;
LogInPlayer;
MakeCompass ('n');
SetAngle (true);
SetRun (true);
repeat
myTile := GetMyPos;
wait (1000);
writeln (inttostr(myTile.x)+ ','+inttostr(myTile.y));
until (false) // Yay infinite tiles :)
end.

JPHamlett

2010-08-26 00:08:22

^^

or u can use the pathmaker in the include lol an i will be having something soon to help you bedug all that stuff

JiveTonto@Gmail.com

2010-08-26 01:13:37

still waits so he can use the fletchin scripz yoz

deleteme

2010-08-26 01:40:48

From: TRiLeZ

[-------------------TRiBot Updater-------------------]
Client Revision: 616.
Loaded 751 classes from runescape-616.jar in 352 ms.

Class wda implements Animable
» getLocalX() int wda.s
» getLocalY() int wda.l
» getPlane() byte wda.k

Class wv implements Character
» getLoopCycleStatus() int wv.V
» getAnimation() int wv.Q
» getModels() ba[] wv.vc
» getWalkingX() int[] wv.rc
» getWalkingY() int[] wv.uc
» getCurrentWaypoint() int wv.mc
» getWalkingTypes() byte[] wv.oc

Class client implements Client
» getBaseX() int bj.x
» getBaseY() int fi.gb
» getLoginIndex() int ve.i
» getMyPlayer() pp naa.p
» getMinimapScale() int ln.s
» getMinimapSetting() int nn.e
» getMinimapAngle() int hfa.G
» getMinimapOffset() float ql.wb
» getNpcCount() int rv.m
» getNpcIndices() int[] ln.v
» getNpcNodes() nca[] d.e
» getPlayerCount() int jh.w
» getPlayerIndices() int[] kba.m
» getPlayers() pp[] wk.k
» getLoopCycle() int mga.b
» getUsername() java.lang.String is.c
» getPassword() java.lang.String ud.b
» getPlane() int dr.f
» getPlanes() d[] fda.b
» getMainToolkit() oa js.j
» getSelectedObjectName() java.lang.String at.A
» getSelectedActionName() java.lang.String eaa.I
» getGroundTiles() qs[][][] ks.b
» getMapWidth() int sd.F
» getMapHeight() int gn.j
» getMenuOptionCount() int qf.Nb
» getIsMenuOpen() boolean wj.R
» getMenuNodeList() ws he.vb
» getMenuHeight() int fo.G
» getMenuWidth() int oea.a
» getMenuX() int vw.c
» getMenuY() int pi.r
» getIsSpellSelected() boolean i.g
» getSpellTarget() int np.c
» getPlayerRights() int wea.b
» getDestX() int uea.E
» getDestY() int im.I
» getFriendsList() java.lang.String[] pj.K
» getFriendWorlds() int[] lw.f
» getValidInterfaces() boolean[] lh.e
» getInterfaces() rr[][] ak.K
» getInterfaceBoundsArray() java.awt.Rectangle[] oi.f
» getFPS() int oga.a
» getItemDefLoader() tr rc.k
» getCameraPitch() int client.fb
» getCameraYaw() int vp.z

Class fi implements InteractiveObject1
» getId() short fi.X

Class aga implements InteractiveObject2
» getData() as aga.H

Class rr implements Interface
» getParentID() int rr.P
» getChildren() rr[] rr.E
» getX() int rr.e
» getY() int rr.Ab
» getType() int rr.lb
» getWidth() int rr.ed
» getHeight() int rr.kb
» getContentType() int rr.Tc
» getUID() int rr.x
» getIsHidden() boolean rr.K
» getBoundsArrayIndex() int rr.w
» getLastUpdate() int rr.N
» getComponentID() int rr.Zb
» getComponentStack() Broken Hook
» getTextColor() int rr.J

Class oi implements ItemDef
» getName() java.lang.String oi.ib
» getStackable() int oi.y

Class ts implements MenuNode
» getOption() java.lang.String ts.j

Class ac implements Npc
» getDef() ql ac.Gc

Class nca implements NpcNode
» getNpc() ac nca.h

Class pg implements ObjectDefinition

Class d implements Plane
» getScale() int d.a
» getXSize() int d.c
» getYSize() int d.d
» getZSize() int d.b

Class pp implements Player
» getName() java.lang.String pp.Cc
» getSkillLevel() Broken Hook
» getLevel() Broken Hook
» getTeam() int pp.zc

Class sfa implements SDModel
» getPointsX() int[] sfa.v
» getPointsY() int[] sfa.pb
» getPointsZ() int[] sfa.fb

Class gu implements SDPlane
» getTileHeights() int[][] gu.A

Class lea implements SDToolkit
» getViewport() cr lea.O
» getXScale() int lea.B
» getYScale() int lea.Y
» getZMin() int lea.M
» getZMax() int lea.R
» getYMin() int lea.z
» getYMax() int lea.G
» getXMin() int lea.I
» getXMax() int lea.J

Class cr implements SDViewport
» getZOff() int cr.q
» getZX() int cr.p
» getZY() int cr.l
» getZZ() int cr.o
» getYOff() int cr.i
» getYX() int cr.k
» getYY() int cr.s
» getYZ() int cr.j
» getXOff() int cr.r
» getXX() int cr.h
» getXY() int cr.m
» getXZ() int cr.n

Hooked: 108/111 hooks in 1128ms.
Took: 1499ms to update.


Thank you very much for posting this!

bolshak25

2010-08-26 02:00:00

From: codegrabber
Thank you very much for posting this!


how do i get this to work for simba?

i luffs yeww

2010-08-26 03:11:19


{**
* Copyright 2010 by Benjamin J. Land (a.k.a. BenLand100)
*
* This file is part of the SMART Minimizing Autoing Resource Thing (SMART)
*
* SMART is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* SMART is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with SMART. If not, see <http://www.gnu.org/licenses/>.
*}

const
ClientVersion = 616;

{Static Hooks}
hook_static_LoginIndex = 've.i';
hook_static_MyPlayer = 'naa.p';
hook_static_BaseX = 'bj.x';
hook_static_BaseY = 'fi.gb';
hook_static_NPCIndexArray = 'ln.v';
hook_static_NPCNodes = 'd.e';
hook_static_NPCCount = 'rv.m';
hook_static_GroundSettingsArray = 'kg.p'; //couldn't find this hook (kg.p) anywhere in #614..
hook_static_LoadedPlane = 'dr.f';
hook_static_PlaneArray = 'fda.b';
hook_static_Toolkit = 'js.j';
hook_static_MapAngle = 'ql.wb';
hook_static_DestX = 'uea.E';
hook_static_DestY = 'im.I';
hook_static_MenuOptionCount = 'qf.Nb';
hook_static_MenuX = 'vw.c';
hook_static_MenuY = 'pi.r';
hook_static_MenuOpen = 'wj.R';
hook_static_MenuNodeList = 'he.vb';
hook_static_LoopCycle = 'mga.b';
hook_static_PlayerCount = 'jh.w';
hook_static_PlayerIndexArray = 'kba.m';
hook_static_GetPlayers = 'wk.k';
hook_static_GetSkillLevels = 'dr.e'; //couldn't find this hook (dr.e) anywhere in #614..
hook_static_GetSkillExperiences = 'dw.Q'; //couldn't find this hook (dw.Q) anywhere in #614..
hook_static_GroundTiles = 'ks.b';
hook_static_GetInterfaces = 'ak.K';
hook_static_ValidInterfaces = 'lh.e';
hook_static_GetSettings = 'tc.m';
hook_static_GroundItemCache = 'tj.C'; //couldn't find this hook (tj.C) anywhere in #614..
hook_static_CamPosX = 'pi.c'; //couldn't find this hook (pi.c) anywhere in #614..
hook_static_CamPosY = 'ir.J'; //couldn't find this hook (ir.J) anywhere in #614..

{Class Animable}
class_Animable = 'wda';
hook_animable_PixelX = 's';
hook_animable_PixelY = 'l';
hook_animable_Plane = 'k';

{Class Player}
class_Player = 'pp';
hook_player_GetLevel = 'kd'; //not updated
hook_player_GetName = 'Cc';
hook_player_PlayerDef = 'pd'; //not updated

{Class Character}
class_Character = 'va';
hook_character_GetHitDamges = 'Yb'; //not updated
hook_character_Animation = 'ib';
hook_character_Motion = 'mc';
hook_character_WalkQueueX = 'rc'; //in #614 (of Simba's reflection), these were flip-flopped, so I'm not sure if reflection is set up correctly with these hooks..
hook_character_WalkQueueY = 'uc';
hook_character_GetHeight = 'tb';
hook_character_LoopCycleStatus = 'V';
hook_character_HPRatio = 'O';
hook_character_GetInteracting = 'ac';
hook_character_Orientation = 'Ib'; //not updated

{Class NPC}
class_NPC = 'ac';
hook_npc_NPCDef = 'Gc';

{Class NPCDef}
class_NPCDef = 'ql';
hook_npcdef_GetActions = 'Ab';
hook_npcdef_GetName = 'ob';
hook_npcdef_GetLevel = 'K';
hook_npcdef_GetID = 'X';

{Class NPCNode}
class_NPCNode = 'nca';
hook_npcnode_GetNPC = 'h';

{Class GroundTile}
class_GroundTile = 'qs';

{Class Plane}
class_Plane = 'd';

{Class RSInteractable}
class_RSInteractable = 'gfa'; //not updated

{Class Toolkit}
class_Toolkit = 'oa'; //not updated

{Class Viewport}
class_Viewport = 'q'; //not updated

{Class SDViewport}
class_SDViewport = 'cr';
hook_sdviewport_xOff = 'r';
hook_sdviewport_xX = 'h';
hook_sdviewport_xY = 'm';
hook_sdviewport_xZ = 'n';
hook_sdviewport_yOff = 'i';
hook_sdviewport_yX = 'k';
hook_sdviewport_yY = 's';
hook_sdviewport_yZ = 'j';
hook_sdviewport_zOff = 'q';
hook_sdviewport_zX = 'p';
hook_sdviewport_zY = 'l';
hook_sdviewport_zZ = 'o';

{Class SDToolkit}
class_SDToolkit = 'lea';
hook_sdtoolkit_xMin = 'I';
hook_sdtoolkit_xMax = 'J';
hook_sdtoolkit_yMin = 'z';
hook_sdtoolkit_yMax = 'G';
hook_sdtoolkit_zMin = 'M';
hook_sdtoolkit_zMax = 'R';
hook_sdtoolkit_xScale = 'B';
hook_sdtoolkit_yScale = 'Y';
hook_sdtoolkit_Viewport = 'O';

{Class SDPlane}
class_SDPlane = 'gu';
hook_sdplane_TileHeights = 'A';

{Class NodeList}
class_NodeList = 'ws';
hook_nodelist_Current = 'f'; //not updated
hook_nodelist_Head = 'e';

{Class Node}
class_Node = 'kd';
hook_node_Next = 'd';
hook_node_Previous = 'c';
hook_node_GetID = 'e';

{Class Menu}
class_Menu = 'ts';
hook_menu_Action = 'p';
hook_menu_Option = 'j';

{Class PlayerDef}
class_PlayerDef = 'n'; //couldn't find class
hook_playerdef_GetEquipment = 't'; //couldn't find this hook (n.t) anywhere in #614..

{Class AnimableNode}
class_AnimableNode = 'qe';
hook_AnimableNode_GetAnimable = 'e';
hook_AnimableNode_GetNext = 'd';

{Class ObjectInterface}
class_ObjectInterface = 'rr';
hook_interface_GetActions = 'Pc';
hook_interface_GetX = 'e';
hook_interface_GetY = 'Ab';
hook_interface_GetWidth = 'ed';
hook_interface_GetHeight = 'kb';
hook_interface_GetText = 'Z';
hook_interface_GetTextureID = 'wc';
hook_interface_GetTextColor = 'J';
hook_interface_GetModelID = 'ob'; //not updated
hook_interface_GetModelZoom = 'Uc'; //not updated
hook_interface_GetName = 'tc'; //not updated
hook_interface_GetChildren = 'E';
hook_interface_GetID = 'Zb';
hook_interface_GetStack = 'Cb';

{Class Ground}
class_Ground = 'qs';
hook_ground_AnimableList = 'd';
hook_ground_WallObject1 = 'y'; //not updated
hook_ground_WallObject2 = 'p'; //not updated
hook_ground_WallDecoration1 = 'c'; //not updated
hook_ground_WallDecoration2 = 'd'; //not updated
hook_ground_FloorDecoration = 'w'; //not updated

//GroundItem crap.
//nodecache class hd
hook_nodecache_GetNodes = 'hd.o';

//RSItem class bt
hook_item_GetID = 'bt.j';
hook_item_GetStack = 'p'; //not updated

//nodelistcache class wc
hook_nodelistcache_GetNodeList = 'wc.g';

//Settings Array
hook_settingarray_GetData = 'h'; //not updated

{
/////////////// HOOKS BELOW HERE ARE *OUTDATED* AS OF 14 July 2010 (Client 614) ////////////////////////
These hooks all need to be added to the updater.
}

//Some work actually. You're welcome. Updated as much as I could. (Thanks to TRiLeZ.)

{Class InteractiveObject1}
class_InteractiveObject1 = 'fi';
hook_interactiveobject_GetID = 'X';

{Class InteractiveObject2}
class_InteractiveObject2 = 'dt';
hook_interactiveobject_GetID2 = 'w.H'; //not updated

{Class SecondLevelObject}
class_SecondLevelObject = 'kd'; //not updated

//WallObjectData class wda
hook_wallobjectdata_GetID = 'x'; //not updated
hook_wallobjectdata_GetID2 = 'D.H'; //not updated

//WallDecorationData class ew
hook_WallDecorationData_GetID = 'w'; //not updated
hook_WallDecorationData_GetID2 = 'y.H'; //not updated

//FloorDecorationData class rv
hook_FloorDecorationData_GetID = 'z'; //not updated
hook_FloorDecorationData_GetID2 = 'm.H'; //not updated

There. Replace that with your current Hooks.simba.

JiveTonto@Gmail.com

2010-08-26 03:17:40

here for the lazys

i luffs yeww

2010-08-26 03:19:03

^ In case anyone's wondering, that's the same thing I posted, just in file form already. Thanks.

JiveTonto@Gmail.com

2010-08-26 03:24:34

yess,zillion credits to i luffs yeww

Tickyy

2010-08-26 04:17:12

Replaced, and i still get *****Hooks are outdated. Terminating script.*****

i luffs yeww

2010-08-26 04:23:30

Not sure why it'd say that.. Try changing SetupReflectionEx(True); to SetupReflectionEx(False);.. Most of the hooks should be working just fine.

Actually..


{$Define SMART}
{$i SRL/SRL.scar}
{$i reflection/Reflection.simba}

begin
SMART_Server := 64;
SMART_Members := True;
SMART_Signed := True;
SMART_SuperDetail := False;
SetupSRL;
SetupReflectionEx(True);
end.

returns


Compiled succesfully in 827 ms.
SRL Compiled in 0 msec
SMART Initialized.
Loaded: Server 64, Members: True, Signed: True, Super Detail: False.
Successfully executed.

tico2

2010-08-26 06:35:53

Thanks for posting people :)

i luffs yeww

2010-08-26 17:33:24

No problem. Thank TRiLeZ. I just put it into "our" form.

I know I'm not the best person here but if I'm added to the reflection svn or anything I can commit new hooks whenever RS updates.

[email]iluffsyeww@gmail.com[/email] if anyone cares.

3Garrett3

2010-08-26 17:40:42

From: i luffs yeww
No problem. Thank TRiLeZ. I just put it into "our" form.

I know I'm not the best person here but if I'm added to the reflection svn or anything I can commit new hooks whenever RS updates.

[email]iluffsyeww@gmail.com[/email] if anyone cares.


I'd personally enjoy having another person to help fix the hooks when it happens, because it obviously helps.

Nava2

2010-08-26 19:50:13

New hooks are committed. :)

i luffs yeww

2010-08-26 22:51:08

From: 3Garrett3
I'd personally enjoy having another person to help fix the hooks when it happens, because it obviously helps.


^ Hint hint N2. ;)

But really it doesn't matter, I just think it'd be easier. Whatever works is fine though.

Second of all, if they were commited, is reflection.sex not working still? :/ A few people are saying it doesn't work (giving the HOOKS OUTDATED) error, yet they worked fine for me.

pyroryan

2010-08-28 16:02:21

{**
* Copyright 2010 by Benjamin J. Land (a.k.a. BenLand100)
*
* This file is part of the SMART Minimizing Autoing Resource Thing (SMART)
*
* SMART is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* SMART is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with SMART. If not, see <http://www.gnu.org/licenses/>.
*}

const
ClientVersion = 616;

{Static Hooks}
hook_static_LoginIndex = 've.i';
hook_static_MyPlayer = 'naa.p';
hook_static_BaseX = 'bj.x';
hook_static_BaseY = 'fi.gb';
hook_static_NPCIndexArray = 'ln.v';
hook_static_NPCNodes = 'd.e';
hook_static_NPCCount = 'rv.m';
hook_static_GroundSettingsArray = 'gca.h';
hook_static_LoadedPlane = 'dr.f';
hook_static_PlaneArray = 'fda.b';
hook_static_Toolkit = 'js.j';
hook_static_MapAngle = 'ql.wb';
hook_static_DestX = 'uea.E';
hook_static_DestY = 'im.I';
hook_static_MenuOptionCount = 'qf.Nb';
hook_static_MenuX = 'vw.c';
hook_static_MenuY = 'pi.r';
hook_static_MenuOpen = 'wj.R';
hook_static_MenuNodeList = 'he.vb';
hook_static_LoopCycle = 'mga.b';
hook_static_PlayerCount = 'jh.w';
hook_static_PlayerIndexArray = 'kba.m';
hook_static_GetPlayers = 'wk.k';
hook_static_GetSkillLevels = 'bl.f';
hook_static_GetSkillExperiences = 'uj.j';
hook_static_GroundTiles = 'ks.b';
hook_static_GetInterfaces = 'ak.K';
hook_static_ValidInterfaces = 'lh.e';
hook_static_GetSettings = 'tc.m';
hook_static_GroundItemCache = 'sg.E';
hook_static_CamPosX = 'ok.a';
hook_static_CamPosY = 'ms.B';

{Class Animable}
class_Animable = 'wda';
hook_animable_PixelX = 's';
hook_animable_PixelY = 'l';
hook_animable_Plane = 'k';

{Class Player}
class_Player = 'pp';
hook_player_GetLevel = 'Dc'; //-616 'Tc' according to RSBot
hook_player_GetName = 'nd';
hook_player_PlayerDef = 'pd'; //not updated

{Class Character}
class_Character = 'wv';
hook_character_GetHitDamges = 'hb'; //check?-616
hook_character_Animation = 'ib';
hook_character_Motion = 'mc';
hook_character_WalkQueueX = 'rc';
hook_character_WalkQueueY = 'uc';
hook_character_GetHeight = 'tb';
hook_character_LoopCycleStatus = 'V';
hook_character_HPRatio = 'O';
hook_character_GetInteracting = 'ac';
hook_character_Orientation = 'v';

{Class NPC}
class_NPC = 'ac';
hook_npc_NPCDef = 'Gc';

{Class NPCDef}
class_NPCDef = 'ql';
hook_npcdef_GetActions = 'Ab';
hook_npcdef_GetName = 'ob';
hook_npcdef_GetLevel = 'K';
hook_npcdef_GetID = 'X';

{Class NPCNode}
class_NPCNode = 'nca';
hook_npcnode_GetNPC = 'h';

{Class GroundTile}
class_GroundTile = 'qs';

{Class Plane}
class_Plane = 'd';

{Class RSInteractable}
class_RSInteractable = 'nt';

{Class Toolkit}
class_Toolkit = 'oa';

{Class Viewport}
class_Viewport = 'q';

{Class SDViewport}
class_SDViewport = 'cr';
hook_sdviewport_xOff = 'r';
hook_sdviewport_xX = 'h';
hook_sdviewport_xY = 'm';
hook_sdviewport_xZ = 'n';
hook_sdviewport_yOff = 'i';
hook_sdviewport_yX = 'k';
hook_sdviewport_yY = 's';
hook_sdviewport_yZ = 'j';
hook_sdviewport_zOff = 'q';
hook_sdviewport_zX = 'p';
hook_sdviewport_zY = 'l';
hook_sdviewport_zZ = 'o';

{Class SDToolkit}
class_SDToolkit = 'lea';
hook_sdtoolkit_xMin = 'I';
hook_sdtoolkit_xMax = 'J';
hook_sdtoolkit_yMin = 'z';
hook_sdtoolkit_yMax = 'G';
hook_sdtoolkit_zMin = 'M';
hook_sdtoolkit_zMax = 'R';
hook_sdtoolkit_xScale = 'B';
hook_sdtoolkit_yScale = 'Y';
hook_sdtoolkit_Viewport = 'O';

{Class SDPlane}
class_SDPlane = 'gu';
hook_sdplane_TileHeights = 'A';

{Class NodeList}
class_NodeList = 'ws';
hook_nodelist_Current = 'f'; //not updated
hook_nodelist_Head = 'e';

{Class Node}
class_Node = 'kd';
hook_node_Next = 'd';
hook_node_Previous = 'c';
hook_node_GetID = 'e';

{Class Menu}
class_Menu = 'ts';
hook_menu_Action = 'p';
hook_menu_Option = 'j';

{Class PlayerDef}
class_PlayerDef = 'n'; //couldn't find class
hook_playerdef_GetEquipment = 't'; //couldn't find this hook (n.t) anywhere in #614..

{Class AnimableNode}
class_AnimableNode = 'qe';
hook_AnimableNode_GetAnimable = 'e';
hook_AnimableNode_GetNext = 'd';

{Class ObjectInterface}
class_ObjectInterface = 'rr';
hook_interface_GetActions = 'Pc';
hook_interface_GetX = 'e';
hook_interface_GetY = 'Ab';
hook_interface_GetWidth = 'ed';
hook_interface_GetHeight = 'kb';
hook_interface_GetText = 'Z';
hook_interface_GetTextureID = 'wc';
hook_interface_GetTextColor = 'J';
hook_interface_GetModelID = 'ob'; //not updated
hook_interface_GetModelZoom = 'Uc'; //not updated
hook_interface_GetName = 'tc'; //not updated
hook_interface_GetChildren = 'E';
hook_interface_GetID = 'Zb';
hook_interface_GetStack = 'Cb';

{Class Ground}
class_Ground = 'qs';
hook_ground_AnimableList = 'd';
hook_ground_WallObject1 = 'i';
hook_ground_WallObject2 = 'q';
hook_ground_WallDecoration1 = 'c';
hook_ground_WallDecoration2 = 'l';
hook_ground_FloorDecoration = 'o';

//GroundItem crap.
//nodecache class hd
hook_nodecache_GetNodes = 'hd.o';

//RSItem class bt
hook_item_GetID = 'bt.j';
hook_item_GetStack = 'bt.h';

//nodelistcache class wc
hook_nodelistcache_GetNodeList = 'wc.g';

//Settings Array
hook_settingarray_GetData = 'fw.e';

{
/////////////// HOOKS BELOW HERE ARE *OUTDATED* AS OF 14 July 2010 (Client 614) ////////////////////////
These hooks all need to be added to the updater.
}

//Some work actually. You're welcome. Updated as much as I could. (Thanks to TRiLeZ.)

{Class InteractiveObject1}
class_InteractiveObject1 = 'fi'; //616
hook_interactiveobject_GetID = 'X'; //616
hook_interactiveobject_getModel = 'E'; //616

{Class InteractiveObject2}
class_InteractiveObject2 = 'aga'; //616
hook_interactiveobject2_getObjectData = 'H'; //616
hook_interactiveobject_GetID2 = 'w.H'; //not updated

{Class SecondLevelObject}
class_SecondLevelObject = 'as'; //616

//WallObjectData class wda
hook_wallobjectdata_GetID = 'x'; //not updated
hook_wallobjectdata_GetID2 = 'D.H'; //not updated

//WallDecorationData class ew
hook_WallDecorationData_GetID = 'w'; //not updated
hook_WallDecorationData_GetID2 = 'y.H'; //not updated

//FloorDecorationData class rv
hook_FloorDecorationData_GetID = 'z'; //not updated
hook_FloorDecorationData_GetID2 = 'm.H'; //not updated
Updated a few.

Edit:
Updated wall objects, decoration, floor decoration.

Edit 2:
Updated hook_player_GetName, class_SecondLevelObject

Added: hook_interactiveobject2_getObjectData, hook_interactiveobject_getModel

Edit 3:
Updated hook_player_GetLevel

Tickyy

2010-08-28 19:57:23

i actually tried it with each of these, and i still get:
*****Hooks are outdated. Terminating script.***** for some reason….

i luffs yeww

2010-08-28 20:37:56

RS in safe mode?

Coh3n

2010-08-28 23:23:01

From: i luffs yeww

Second of all, if they were commited, is reflection.sex not working still? :/ A few people are saying it doesn't work (giving the HOOKS OUTDATED) error, yet they worked fine for me.

I actually read somewhere that there was an updated extension? Not sure if there's a different Simba installer that comes with it or whatnot, but yeah.

Tickyy

2010-08-29 04:11:53

From: i luffs yeww
RS in safe mode?


i always run it in safe mode =\.

Nava2

2010-08-29 08:38:20

From: Coh3n
I actually read somewhere that there was an updated extension? Not sure if there's a different Simba installer that comes with it or whatnot, but yeah.


I think Wizzup mentioned that he was fixing it..

Daniel

2010-08-29 09:23:15

Something I threw together because I was bored:

// TRiBot Hook Converter by Mayazcherquoi
// -- Converts hooks output generated by TRiBot updater to Pascal format

program TRiBot_Hook_Converter;

const
TRiBot_Hook_File = 'tribot616.txt'; // Relative to Simba app path

function ReverseCopy(str: String; UntilChar: Char): String;
var
i, StrLngth: Integer;
begin
StrLngth := Length(str);

for I := Length(str) downto 1 do
if(str[I] = UntilChar) then
Exit else
Result := str[I] + Result;
end;

var
FileHandle, Index: Integer;
S, LastClass: String;
Lines: TStringArray;
I, bI: Integer;

begin
ClearDebug;

if(not(FileExists(AppPath + TRiBot_Hook_File))) then
begin
Writeln('FATAL ERROR: File ' + AppPath + TRiBot_Hook_File + ' does not exist.');
Exit;
end;

FileHandle := OpenFile(AppPath + TRiBot_Hook_File, True);
ReadFileString(FileHandle, S, FileSize(FileHandle));
Lines := Explode(#13#10, S);

bI := High(Lines);

if(bI < 1) then
begin
Writeln('FATAL ERROR: Cannot read file ' + AppPath + TRiBot_Hook_File + '.');
Exit;
end;

Writeln('// Hooks converted from TRiBot Updater output to Simba by Mayazcherquoi.');
Writeln('');
Writeln('const');
Writeln(' ClientVersion =' + Between(':', '.', Lines[1]) + ';');

Index := 2;

for I := 2 to bI do
begin
if(Pos('Class ', Lines[i]) = 1) then
begin
LastClass := Lowercase(ReverseCopy(Lines[i], ' '));

if(LastClass = 'client') then
LastClass := 'static';

Writeln('');
Writeln(' // ' + Capitalize(LastClass) + ' hooks');
Continue;
end;

if(Pos(#187#32, Lines[i]) = 2) then
Writeln(' hook_' + LastClass + '_' + Between('get', #40#41, Lines[i]) + ' = '#39 + ReverseCopy(Lines[i], ' ') + #39';');
end;

CloseFile(FileHandle);
end.

Copy what TRiLeZ gives you from his updater output:

[-------------------TRiBot Updater-------------------]
Client Revision: 616.
Loaded 751 classes from runescape-616.jar in 352 ms.

Class wda implements Animable
» getLocalX() int wda.s
» getLocalY() int wda.l
» getPlane() byte wda.k

Class wv implements Character
» getLoopCycleStatus() int wv.V
» getAnimation() int wv.Q
» getModels() ba[] wv.vc
» getWalkingX() int[] wv.rc
» getWalkingY() int[] wv.uc
» getCurrentWaypoint() int wv.mc
» getWalkingTypes() byte[] wv.oc

Class client implements Client
» getBaseX() int bj.x
» getBaseY() int fi.gb
» getLoginIndex() int ve.i
» getMyPlayer() pp naa.p
» getMinimapScale() int ln.s
» getMinimapSetting() int nn.e
» getMinimapAngle() int hfa.G
» getMinimapOffset() float ql.wb
» getNpcCount() int rv.m
» getNpcIndices() int[] ln.v
» getNpcNodes() nca[] d.e
» getPlayerCount() int jh.w
» getPlayerIndices() int[] kba.m
» getPlayers() pp[] wk.k
» getLoopCycle() int mga.b
» getUsername() java.lang.String is.c
» getPassword() java.lang.String ud.b
» getPlane() int dr.f
» getPlanes() d[] fda.b
» getMainToolkit() oa js.j
» getSelectedObjectName() java.lang.String at.A
» getSelectedActionName() java.lang.String eaa.I
» getGroundTiles() qs[][][] ks.b
» getMapWidth() int sd.F
» getMapHeight() int gn.j
» getMenuOptionCount() int qf.Nb
» getIsMenuOpen() boolean wj.R
» getMenuNodeList() ws he.vb
» getMenuHeight() int fo.G
» getMenuWidth() int oea.a
» getMenuX() int vw.c
» getMenuY() int pi.r
» getIsSpellSelected() boolean i.g
» getSpellTarget() int np.c
» getPlayerRights() int wea.b
» getDestX() int uea.E
» getDestY() int im.I
» getFriendsList() java.lang.String[] pj.K
» getFriendWorlds() int[] lw.f
» getValidInterfaces() boolean[] lh.e
» getInterfaces() rr[][] ak.K
» getInterfaceBoundsArray() java.awt.Rectangle[] oi.f
» getFPS() int oga.a
» getItemDefLoader() tr rc.k
» getCameraPitch() int client.fb
» getCameraYaw() int vp.z

Class fi implements InteractiveObject1
» getId() short fi.X

Class aga implements InteractiveObject2
» getData() as aga.H

Class rr implements Interface
» getParentID() int rr.P
» getChildren() rr[] rr.E
» getX() int rr.e
» getY() int rr.Ab
» getType() int rr.lb
» getWidth() int rr.ed
» getHeight() int rr.kb
» getContentType() int rr.Tc
» getUID() int rr.x
» getIsHidden() boolean rr.K
» getBoundsArrayIndex() int rr.w
» getLastUpdate() int rr.N
» getComponentID() int rr.Zb
» getComponentStack() Broken Hook
» getTextColor() int rr.J

Class oi implements ItemDef
» getName() java.lang.String oi.ib
» getStackable() int oi.y

Class ts implements MenuNode
» getOption() java.lang.String ts.j

Class ac implements Npc
» getDef() ql ac.Gc

Class nca implements NpcNode
» getNpc() ac nca.h

Class pg implements ObjectDefinition

Class d implements Plane
» getScale() int d.a
» getXSize() int d.c
» getYSize() int d.d
» getZSize() int d.b

Class pp implements Player
» getName() java.lang.String pp.Cc
» getSkillLevel() Broken Hook
» getLevel() Broken Hook
» getTeam() int pp.zc

Class sfa implements SDModel
» getPointsX() int[] sfa.v
» getPointsY() int[] sfa.pb
» getPointsZ() int[] sfa.fb

Class gu implements SDPlane
» getTileHeights() int[][] gu.A

Class lea implements SDToolkit
» getViewport() cr lea.O
» getXScale() int lea.B
» getYScale() int lea.Y
» getZMin() int lea.M
» getZMax() int lea.R
» getYMin() int lea.z
» getYMax() int lea.G
» getXMin() int lea.I
» getXMax() int lea.J

Class cr implements SDViewport
» getZOff() int cr.q
» getZX() int cr.p
» getZY() int cr.l
» getZZ() int cr.o
» getYOff() int cr.i
» getYX() int cr.k
» getYY() int cr.s
» getYZ() int cr.j
» getXOff() int cr.r
» getXX() int cr.h
» getXY() int cr.m
» getXZ() int cr.n

Hooked: 108/111 hooks in 1128ms.
Took: 1499ms to update.

Into a new file in the Simba directory.
Change the TRiBot_Hook_File setting accordingly.
Press Run.

It should output something like this:

// Hooks converted from TRiBot Updater to Simba by Mayazcherquoi.

const
ClientVersion = 616;

// Animable hooks
hook_animable_LocalX = 'wda.s';
hook_animable_LocalY = 'wda.l';
hook_animable_Plane = 'wda.k';

// Character hooks
hook_character_LoopCycleStatus = 'wv.V';
hook_character_Animation = 'wv.Q';
hook_character_Models = 'wv.vc';
hook_character_WalkingX = 'wv.rc';
hook_character_WalkingY = 'wv.uc';
hook_character_CurrentWaypoint = 'wv.mc';
hook_character_WalkingTypes = 'wv.oc';

// Static hooks
hook_static_BaseX = 'bj.x';
hook_static_BaseY = 'fi.gb';
hook_static_LoginIndex = 've.i';
hook_static_MyPlayer = 'naa.p';
hook_static_MinimapScale = 'ln.s';
hook_static_MinimapSetting = 'nn.e';
hook_static_MinimapAngle = 'hfa.G';
hook_static_MinimapOffset = 'ql.wb';
hook_static_NpcCount = 'rv.m';
hook_static_NpcIndices = 'ln.v';
hook_static_NpcNodes = 'd.e';
hook_static_PlayerCount = 'jh.w';
hook_static_PlayerIndices = 'kba.m';
hook_static_Players = 'wk.k';
hook_static_LoopCycle = 'mga.b';
hook_static_Username = 'is.c';
hook_static_Password = 'ud.b';
hook_static_Plane = 'dr.f';
hook_static_Planes = 'fda.b';
hook_static_MainToolkit = 'js.j';
hook_static_SelectedObjectName = 'at.A';
hook_static_SelectedActionName = 'eaa.I';
hook_static_GroundTiles = 'ks.b';
hook_static_MapWidth = 'sd.F';
hook_static_MapHeight = 'gn.j';
hook_static_MenuOptionCount = 'qf.Nb';
hook_static_IsMenuOpen = 'wj.R';
hook_static_MenuNodeList = 'he.vb';
hook_static_MenuHeight = 'fo.G';
hook_static_MenuWidth = 'oea.a';
hook_static_MenuX = 'vw.c';
hook_static_MenuY = 'pi.r';
hook_static_IsSpellSelected = 'i.g';
hook_static_SpellTarget = 'np.c';
hook_static_PlayerRights = 'wea.b';
hook_static_DestX = 'uea.E';
hook_static_DestY = 'im.I';
hook_static_FriendsList = 'pj.K';
hook_static_FriendWorlds = 'lw.f';
hook_static_ValidInterfaces = 'lh.e';
hook_static_Interfaces = 'ak.K';
hook_static_InterfaceBoundsArray = 'oi.f';
hook_static_FPS = 'oga.a';
hook_static_ItemDefLoader = 'rc.k';
hook_static_CameraPitch = 'client.fb';
hook_static_CameraYaw = 'vp.z';

// Interactiveobject1 hooks
hook_interactiveobject1_Id = 'fi.X';

// Interactiveobject2 hooks
hook_interactiveobject2_Data = 'aga.H';

// Interface hooks
hook_interface_ParentID = 'rr.P';
hook_interface_Children = 'rr.E';
hook_interface_X = 'rr.e';
hook_interface_Y = 'rr.Ab';
hook_interface_Type = 'rr.lb';
hook_interface_Width = 'rr.ed';
hook_interface_Height = 'rr.kb';
hook_interface_ContentType = 'rr.Tc';
hook_interface_UID = 'rr.x';
hook_interface_IsHidden = 'rr.K';
hook_interface_BoundsArrayIndex = 'rr.w';
hook_interface_LastUpdate = 'rr.N';
hook_interface_ComponentID = 'rr.Zb';
hook_interface_ComponentStack = 'Hook';
hook_interface_TextColor = 'rr.J';

// Itemdef hooks
hook_itemdef_Name = 'oi.ib';
hook_itemdef_Stackable = 'oi.y';

// Menunode hooks
hook_menunode_Option = 'ts.j';

// Npc hooks
hook_npc_Def = 'ac.Gc';

// Npcnode hooks
hook_npcnode_Npc = 'nca.h';

// Objectdefinition hooks

// Plane hooks
hook_plane_Scale = 'd.a';
hook_plane_XSize = 'd.c';
hook_plane_YSize = 'd.d';
hook_plane_ZSize = 'd.b';

// Player hooks
hook_player_Name = 'pp.Cc';
hook_player_SkillLevel = 'Hook';
hook_player_Level = 'Hook';
hook_player_Team = 'pp.zc';

// Sdmodel hooks
hook_sdmodel_PointsX = 'sfa.v';
hook_sdmodel_PointsY = 'sfa.pb';
hook_sdmodel_PointsZ = 'sfa.fb';

// Sdplane hooks
hook_sdplane_TileHeights = 'gu.A';

// Sdtoolkit hooks
hook_sdtoolkit_Viewport = 'lea.O';
hook_sdtoolkit_XScale = 'lea.B';
hook_sdtoolkit_YScale = 'lea.Y';
hook_sdtoolkit_ZMin = 'lea.M';
hook_sdtoolkit_ZMax = 'lea.R';
hook_sdtoolkit_YMin = 'lea.z';
hook_sdtoolkit_YMax = 'lea.G';
hook_sdtoolkit_XMin = 'lea.I';
hook_sdtoolkit_XMax = 'lea.J';

// Sdviewport hooks
hook_sdviewport_ZOff = 'cr.q';
hook_sdviewport_ZX = 'cr.p';
hook_sdviewport_ZY = 'cr.l';
hook_sdviewport_ZZ = 'cr.o';
hook_sdviewport_YOff = 'cr.i';
hook_sdviewport_YX = 'cr.k';
hook_sdviewport_YY = 'cr.s';
hook_sdviewport_YZ = 'cr.j';
hook_sdviewport_XOff = 'cr.r';
hook_sdviewport_XX = 'cr.h';
hook_sdviewport_XY = 'cr.m';
hook_sdviewport_XZ = 'cr.n';

Now, it should work based on my observations (because I'm not an active reflection user) and mabye not all hooks are needed.. But meh, like I said, I was bored.