SRL Archive - Reflection Help

Latest Hooks?


marpis

2011-05-17 12:45:00

So do I get them from the Simba downloader?
RS got updated yesterday, are the hooks up yet?

LolL

2011-05-17 13:02:03

Yes, the hooks are updated. I'm running Strong-holder right now. Just run a reflection-dependent script and they are updated automatically and then make sure to restart the script.

superduperd

2011-05-18 03:59:30

for me it still doesnt work, hooks still outdated, i ran runescape in IE and also ran a reflection script but nothing yet…

TRiLeZ

2011-05-18 17:39:33

Try using SRL's fork for reflection instead of the original one.

Overtime

2011-05-18 17:49:35

Usually if you run a reflection script it will download the hooks for you. For those who don't have the hooks:

http://pyroryan.net46.net/reflection/Hooks.simba

KingKong

2011-05-18 18:23:14

For some reason, it happened to me as well, and i had to manually copy hooks.simba from pyro's website

edfromhumanresources

2011-05-19 11:26:12

The latest hooks.simba revision I can find on github is #646 which doesn't work with the current client, and http://pyroryan.net46.net is timing out. Can someone upload the most recent file elsewhere or point me to one of these programs you use to scrape the hooks from the client?

austin2162

2011-05-19 11:48:12

Hooks are working fine atm and im writing a reflection script.

Overtime

2011-05-19 12:52:30

Latest hooks are 647


const
ClientVersion = 647;
HookRev = 4;


{Static Hooks}
hook_static_LoginIndex = 'fk.e';
hook_static_getChatLines = 'du.w';
hook_static_CameraYaw = 'go.o';
hook_static_MyPlayer = 'ms.x';
hook_static_BaseX = 'ew.f';
hook_static_BaseY = 'gj.Z';
hook_static_NPCIndexArray = 'ub.f';
hook_static_LoopCycle = 'ar.h';
hook_static_getNPCNC = 'br.n';
hook_static_getItemDefLoader = 'dia.x';
hook_static_getObjectDefLoader = 'tha.c';
hook_static_NPCNodes = 'kka.e';
hook_static_NPCCount = 'bc.J';
hook_static_GroundSettingsArray = 'ada.M';
hook_static_LoadedPlane = 'qi.r';
hook_static_PlaneArray = 'qv.x';
hook_static_Toolkit = 'gp.f';
hook_static_getCollapsedMenuItems = 'up.c';
hook_static_MenuOptionCount = 'qj.m';
hook_static_MenuCollapsedOptionsCount = 'id.n';
hook_static_MenuX = 'qg.h';
hook_static_MenuY = 'si.C';
hook_static_MenuWidth = 'vha.h';
hook_static_MenuHeight = 'bp.v';
hook_static_MenuX2 = 'ta.x';
hook_static_MenuY2 = 'hca.q';
hook_static_MenuWidth2 = 'ika.z';
hook_static_MenuHeight2 = 'qc.K';
hook_static_MenuNodeList = 'hia.k';
hook_static_MenuOpen = 'qt.f';
hook_static_IsMenuTabbed = 'mca.J';
hook_static_GetInterfaces = 'waa.y';
hook_static_ValidInterfaces = 'ue.t';
hook_static_GetSettings = 'fda.Eb';
hook_static_GroundItemCache = 'sm.E';
hook_static_GetSkillExperiences = 'jda.n';
hook_static_GetSkillLevels = 'gs.M';
hook_static_MapAngle = 'fb.e';
hook_static_DestX = 'za.o';
hook_static_DestY = 'bp.r';
hook_static_PlayerCount = 'dg.l';
hook_static_PlayerIndexArray = 'kp.q';
hook_static_GetPlayers = 'lp.u';
hook_static_CamPosX = 'lba.l';
hook_static_CamPosY = 'nt.r';
hook_static_GroundTiles = 'vj.m';
hook_static_GetCrossHairColor = 'vt.m';

{Class SDModel}
class_SDModel = 'vl';
hook_sdmodel_getIndices1 = 'Xb';
hook_sdmodel_getIndices2 = 'M';
hook_sdmodel_getIndices3 = 'Jb';
hook_sdmodel_getPointsX = 'rb';
hook_sdmodel_getPointsY = 'xb';
hook_sdmodel_getPointsZ = 'Sb';

{Class ChatLine}
class_ChatLine = 'vn';
hook_chatline_getName = 'n';
hook_chatline_getMessage = 'e';

{Class Animable}
class_Animable = 'lq';
hook_animable_PixelX = 's';
hook_animable_PixelY = 'w';
hook_animable_Plane = 'r';

{Class Player}
class_Player = 'jha';
hook_player_GetLevel = 'vd';
hook_player_GetName = 'Od';
hook_player_GetTeam = 'cd';
hook_player_PlayerDef = 'rd';

{Class Character}
class_Character = 'fda';
hook_character_GetHitDamges = '';
hook_character_Animation = 'zb';
hook_character_Motion = 'Lc';
hook_character_WalkQueueX = 'Oc';
hook_character_WalkQueueY = 'Fc';
hook_character_GetHeight = 'pc';
hook_character_LoopCycleStatus = 'bb';
hook_character_HPRatio = 'cb';
hook_character_GetInteracting = 'Wb';
hook_character_Orientation = 'hc';

{Class AnimableNode}
class_AnimableNode = 'bj';
hook_AnimableNode_GetAnimable = 'i';
hook_AnimableNode_GetNext = 'e';

{Class AnimableEntity}
class_AnimableEntity = 'hd';
hook_animableentity_getAreaX1 = 'G';
hook_animableentity_getAreaX2 = 'D';
hook_animableentity_getAreaY1 = 'y';
hook_animableentity_getAreaY2 = 'E';

{Class PlayerDef}
class_PlayerDef = 'lga';
hook_playerdef_GetEquipment = 'h';

{Class NodeCache}
class_NodeCache = 'rda';
hook_nodecache_GetNodes = 'l';

{Class Item}
class_Item = 'sv';
hook_item_GetID = 'o';
hook_item_GetStack = 'q';

{Class ItemDefLoader}
class_ItemDefLoader = 'en';
hook_itemdefloader_getMRUNodes = 't';

{Class ItemDef}
class_ItemDef = '';
hook_itemdef_getLoader = '';
hook_itemdef_getGroundActions = '';
hook_itemdef_getActions = '';

{Class MRUNodes}
class_MRUNodes = 'tq';
hook_mrunodes_getNodeCache = 'b';
hook_mrunodes_getList = 'j';
hook_mrunodes_getInitialCount = 'q';
hook_mrunodes_getSpaceLeft = 'f';

{Class ObjectDefLoader}
class_ObjectDefLoader = 'sda';
hook_objectdefloader_getMRUNodes = 'h';

{Class NPC}
class_NPC = 'ft';
hook_npc_NPCDef = 'cd';
hook_npc_getLevel = 'md';

{Class NPCDef}
class_NPCDef = 'gj';
hook_npcdef_GetActions = 'U';
hook_npcdef_GetName = 'F';
hook_npcdef_GetLevel = 'u';
hook_npcdef_GetID = 'n';

{Class NPCDefLoader}
class_NPCDefLoader = 'al';
hook_npcdefloader_ModelRef = 'p';

{Class NPCNode}
class_NPCNode = 'go';
hook_npcnode_GetNPC = 'r';

{Class SDViewport}
class_SDViewport = 'ro';
hook_sdviewport_xOff = 'g';
hook_sdviewport_xX = 's';
hook_sdviewport_xY = 'i';
hook_sdviewport_xZ = 'J';
hook_sdviewport_yOff = 'y';
hook_sdviewport_yX = 'B';
hook_sdviewport_yY = 'x';
hook_sdviewport_yZ = 'f';
hook_sdviewport_zOff = 'j';
hook_sdviewport_zX = 'p';
hook_sdviewport_zY = 'r';
hook_sdviewport_zZ = 'H';

{Class SDToolkit}
class_SDToolkit = 'qk';
hook_sdtoolkit_Viewport = 'fb';
hook_sdtoolkit_xMin = 'P';
hook_sdtoolkit_xMax = 'gb';
hook_sdtoolkit_yMin = 'Z';
hook_sdtoolkit_yMax = 'G';
hook_sdtoolkit_zMin = 'db';
hook_sdtoolkit_zMax = 'R';
hook_sdtoolkit_xScale = 'ib';
hook_sdtoolkit_yScale = 'T';

{Class SDPlane}
class_SDPlane = 's';
hook_sdplane_TileHeights = 'b';

{Class NodeListCache}
class_NodeListCache = 'ji';
hook_nodelistcache_GetNodeList = 'm';

{Class NodeList}
class_NodeList = 'fca';
hook_nodelist_Current = 'm';
hook_nodelist_Head = 'a';

{Class Node}
class_Node = 'ko';
hook_node_Next = 'i';
hook_node_GetID = 'f';
hook_node_Previous = 'a';

{Class MenuGroupNode}
class_MenuGroupNode = 'qf';
hook_MenuGroupNode_getNodeSubListItems = 'x';

{Class NodeSubList}
class_NodeSubList = 'ut';
hook_nodesublist_getHead = 'k';

{Class NodeSub}
class_NodeSub = 'kh';
hook_nodesub_Next = 'n';

{Class Menu}
class_Menu = 'vba';
hook_menu_Option = 'B';
hook_menu_Action = 'z';

{Class ObjectInterface}
class_ObjectInterface = 'uaa';
hook_interface_GetActions = 'D';
hook_interface_GetX = 'Fc';
hook_interface_GetY = 't';
hook_interface_GetWidth = 'Dc';
hook_interface_GetHeight = 'V';
hook_interface_GetText = 'bd';
hook_interface_GetTextureID = 'ud';
hook_interface_GetTextColor = 'Sc';
hook_interface_GetModelID = 'Hb';
hook_interface_GetModelZoom = 'kd';
hook_interface_GetName = 'y';
hook_interface_GetChildren = 'fd';
hook_interface_GetID = 'Oc';
hook_interface_GetStack = 'n';
hook_interface_GetParentID = 'Wc';
hook_interface_IsHidden = 'c';

{Class SettingArray}
class_SettingArray = 'mu';
hook_settingarray_GetData = 'g';

{Class SoftReference}
class_SoftReference = 'gw';
hook_softreference_getReference = 't';

{Class HardReference}
class_HardReference = 'ue';
hook_hardreference_getObject = 'u';

{Class Ground}
class_Ground = 'mf';
hook_ground_AnimableList = 'q';
hook_ground_WallObject1 = 'i';
hook_ground_WallObject2 = 's';
hook_ground_WallDecoration1 = 'p';
hook_ground_WallDecoration2 = 'r';
hook_ground_FloorDecoration = 'l';

{Class WallObjectData}
class_WallObjectData = 'm';
hook_WallObjectData_GetID = 'Y';
hook_WallObjectData_GetModel = 'ob';
hook_WallObjectData_GetOrientation = 'bb';

{Class WallDecorationData}
class_WallDecorationData = 'wia';
hook_WallDecorationData_GetID = 'L';
hook_WallDecorationData_GetModel = 'V';
hook_WallDecorationData_GetOrientation = 'Y';

{Class FloorDecorationData}
class_FloorDecorationData = 'uv';
hook_FloorDecorationData_GetID = 'N';
hook_FloorDecorationData_GetModel = 'V';
hook_FloorDecorationData_GetOrientation = 'kb';

{Class InteractiveObject}
class_InteractiveObject = 'wp';
hook_interactiveobject_GetID = 'M';
hook_interactiveobject_GetModel = 'qb';
hook_interactiveobject_GetOrientation = 'lb';

{Class InteractiveObject2}
class_InteractiveObject2 = 'dn';
hook_interactiveobject2_GetObjectData = 'U';

{Class SecondLevelObject}
class_SecondLevelObject = 'hw';
hook_secondlevelobject_GetID = 'D';
hook_secondlevelobject_GetModel = 'A';
hook_secondlevelobject_GetOrientation = 'y';

{Class WallObjectSub2}
class_WallObjectSub2 = 'lh';
hook_wallobjectsub2_getComposite = 'Y';

{Class WallDecorationSub2}
class_WallDecorationSub2 = 'sha';
hook_walldecorationsub2_getComposite = 'N';

{Class FloorDecorationSub2}
class_FloorDecorationSub2 = 'bu';
hook_floordecorationsub2_getComposite = 'I';

{Class GrandExchange}
class_GrandExchange = 'aaa';
hook_grandexchange_getStatus = 'j';
hook_grandexchange_getID = 'g';
hook_grandexchange_getPrice = 'e';
hook_grandexchange_getTotal = 'b';
hook_grandexchange_getTransferred = 'c';
hook_grandexchange_getSpent = 'f';