SRL Archive - Client Hacking

#641


pyroryan

2011-03-28 14:45:25


const
ClientVersion = 641;
HookRev = 1;


{Static Hooks}
hook_static_LoginIndex = 'ct.r';
hook_static_getFriendsWorlds = 'dv.e';
hook_static_getFriendsList = 'ie.h';
hook_static_CameraYaw = 'be.n';
hook_static_MyPlayer = 'cg.D';
hook_static_BaseX = 'pe.F';
hook_static_BaseY = 'ap.D';
hook_static_NPCIndexArray = 'bk.f';
hook_static_LoopCycle = 'kp.h';
hook_static_NPCNodes = 'gfa.u';
hook_static_NPCCount = 've.b';
hook_static_GroundSettingsArray = 'ti.d';
hook_static_LoadedPlane = 'cea.id';
hook_static_PlaneArray = 'wk.i';
hook_static_Toolkit = 'jga.kb';
hook_static_MenuOptionCount = 'ka.m';
hook_static_MenuCollapsedOptionsCount = 'ls.b';
hook_static_MenuX = 'rfa.o';
hook_static_MenuY = 'nv.j';
hook_static_MenuWidth = 'oq.hb';
hook_static_MenuHeight = 'ml.w';
hook_static_MenuX2 = 'wp.h';
hook_static_MenuY2 = 'dga.e';
hook_static_MenuWidth2 = 'nr.b';
hook_static_MenuHeight2 = 'id.k';
hook_static_MenuNodeList = 'th.u';
hook_static_MenuOpen = 'iv.h';
hook_static_GetInterfaces = 'lf.d';
hook_static_ValidInterfaces = 'od.I';
hook_static_IsMenuTabbed = 'sg.d';
hook_static_getCollapsedMenuItems = 'u.b';
hook_static_getNPCNC = 'tha.c';
hook_static_getItemDefLoader = 'kj.m';
hook_static_GetSettings = 'gi.h';
hook_static_getObjectDefLoader = 'nf.c';
hook_static_GroundItemCache = 'bh.N';
hook_static_GetSkillExperiences = 'ea.l';
hook_static_GetSkillLevels = 'po.p';
hook_static_MapAngle = 'g.q';
hook_static_DestX = 'fo.l';
hook_static_DestY = 'jc.P';
hook_static_PlayerCount = 'gca.w';
hook_static_PlayerIndexArray = 'ri.h';
hook_static_GetPlayers = 'rw.f';
hook_static_CamPosX = 'ov.q';
hook_static_CamPosY = 'sk.eb';
hook_static_GroundTiles = 'ud.m';
hook_static_GetCrossHairColor = 'ce.i';

{Class Animable}
class_Animable = 'uq';
hook_animable_PixelX = 'l';
hook_animable_PixelY = 't';
hook_animable_Plane = 'j';

{Class Player}
class_Player = 'cea';
hook_player_GetLevel = 'td';
hook_player_GetName = 'Qc';
hook_player_GetTeam = 'Uc';
hook_player_PlayerDef = 'Rd';

{Class Character}
class_Character = 'ni';
hook_character_GetHitDamges = '';
hook_character_Animation = 'wb';
hook_character_Motion = 'Pc';
hook_character_WalkQueueX = 'Jc';
hook_character_WalkQueueY = 'Kc';
hook_character_GetHeight = 'fc';
hook_character_LoopCycleStatus = 'xb';
hook_character_HPRatio = 'wc';
hook_character_GetInteracting = 'mb';
hook_character_Orientation = 'Bc';

{Class AnimableNode}
class_AnimableNode = 'fe';
hook_AnimableNode_GetAnimable = 'e';
hook_AnimableNode_GetNext = 'b';

{Class AnimableEntity}
class_AnimableEntity = 'ht';
hook_animableentity_getAreaX1 = 'J';
hook_animableentity_getAreaX2 = 'M';
hook_animableentity_getAreaY1 = 'C';
hook_animableentity_getAreaY2 = 'I';

{Class PlayerDef}
class_PlayerDef = 'wh';
hook_playerdef_GetEquipment = 'l';

{Class NPC}
class_NPC = 'wq';
hook_npc_NPCDef = 'id';

{Class NPCDef}
class_NPCDef = 'sk';
hook_npcdef_GetActions = 'U';
hook_npcdef_GetName = 'pb';
hook_npcdef_GetLevel = 'fb';
hook_npcdef_GetID = 'M';

{Class NPCNode}
class_NPCNode = 'qha';
hook_npcnode_GetNPC = 'j';

{Class GroundTile}
class_GroundTile = '';

{Class Plane}
class_Plane = 's';

{Class RSInteractable}
class_RSInteractable = 'mg';

{Class Toolkit}
class_Toolkit = 'ha';

{Class Viewport}
class_Viewport = 'ih';

{Class SDViewport}
class_SDViewport = 'bg';
hook_sdviewport_xOff = 'g';
hook_sdviewport_xX = 'y';
hook_sdviewport_xY = 'G';
hook_sdviewport_xZ = 'E';
hook_sdviewport_yOff = 'k';
hook_sdviewport_yX = 'f';
hook_sdviewport_yY = 'J';
hook_sdviewport_yZ = 'd';
hook_sdviewport_zOff = 's';
hook_sdviewport_zX = 'r';
hook_sdviewport_zY = 'o';
hook_sdviewport_zZ = 'C';

{Class SDToolkit}
class_SDToolkit = 'fga';
hook_sdtoolkit_Viewport = 'I';
hook_sdtoolkit_xMin = 'gb';
hook_sdtoolkit_xMax = 'O';
hook_sdtoolkit_yMin = 'hb';
hook_sdtoolkit_yMax = 'V';
hook_sdtoolkit_zMin = 'L';
hook_sdtoolkit_zMax = 'S';
hook_sdtoolkit_xScale = 'U';
hook_sdtoolkit_yScale = 'db';

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

{Class SDModel}
class_SDModel = 'mda';
hook_sdmodel_getIndices1 = 'N';
hook_sdmodel_getIndices2 = 'T';
hook_sdmodel_getIndices3 = 'P';
hook_sdmodel_getPointsX = 'Pb';
hook_sdmodel_getPointsY = 'Wb';
hook_sdmodel_getPointsZ = 'M';

{Class NodeListCache}
class_NodeListCache = 'jj';
hook_nodelistcache_GetNodeList = 'j';

{Class NodeList}
class_NodeList = 'mba';
hook_nodelist_Current = 's';
hook_nodelist_Head = 'l';

{Class Node}
class_Node = 'no';
hook_node_Next = 'e';
hook_node_GetID = 'g';
hook_node_Previous = 'c';

{Class MenuGroupNode}
class_MenuGroupNode = 'ida';
hook_MenuGroupNode_getNodeSubListItems = 'w';

{Class NodeSubList}
class_NodeSubList = 'vu';
hook_nodesublist_getHead = 'm';

{Class NodeSub}
class_NodeSub = 'ob';
hook_nodesub_Next = 'j';

{Class Menu}
class_Menu = 'sba';
hook_menu_Option = 'A';
hook_menu_Action = 'w';

{Class ObjectInterface}
class_ObjectInterface = 'uv';
hook_interface_GetActions = 'jd';
hook_interface_GetX = 'fb';
hook_interface_GetY = 'jb';
hook_interface_GetWidth = 'h';
hook_interface_GetHeight = 'lc';
hook_interface_GetText = 'ad';
hook_interface_GetTextureID = 'ac';
hook_interface_GetTextColor = 'c';
hook_interface_GetModelID = 'u';
hook_interface_GetModelZoom = 'cd';
hook_interface_GetName = 'kb';
hook_interface_GetChildren = 'nc';
hook_interface_GetID = 'db';
hook_interface_GetStack = 'bb';
hook_interface_GetParentID = 'kd';
hook_interface_IsHidden = 'Pc';

{Class NodeCache}
class_NodeCache = 'baa';
hook_nodecache_GetNodes = 'o';

{Class Item}
class_Item = 'kn';
hook_item_GetID = 'j';
hook_item_GetStack = 'o';

{Class ItemDefLoader}
class_ItemDefLoader = 'go';
hook_itemdefloader_getMRUNodes = 'n';

{Class ItemDef}
class_ItemDef = 'ov';
hook_itemdef_getLoader = 'H';
hook_itemdef_getGroundActions = 'o';
hook_itemdef_getActions = 'n';

{Class MRUNodes}
class_MRUNodes = 'gw';
hook_mrunodes_getNodeCache = 'j';

{Class SettingArray}
class_SettingArray = 'qo';
hook_settingarray_GetData = 'd';

{Class ObjectDefLoader}
class_ObjectDefLoader = 'ql';
hook_objectdefloader_getMRUNodes = 'm';

{Class Ground}
class_Ground = 've';
hook_ground_AnimableList = 'k';
hook_ground_WallObject1 = 'g';
hook_ground_WallObject2 = 'j';
hook_ground_WallDecoration1 = 'o';
hook_ground_WallDecoration2 = 'f';
hook_ground_FloorDecoration = 'i';

{Class WallObjectData}
class_WallObjectData = 'dfa';
hook_WallObjectData_GetID = 'kb';
hook_WallObjectData_GetModel = 'X';
hook_WallObjectData_GetOrientation = 'cb';

{Class WallDecorationData}
class_WallDecorationData = 'sfa';
hook_WallDecorationData_GetID = 'P';
hook_WallDecorationData_GetModel = 'gb';
hook_WallDecorationData_GetOrientation = 'hb';

{Class FloorDecorationData}
class_FloorDecorationData = 'ra';
hook_FloorDecorationData_GetID = 'hb';
hook_FloorDecorationData_GetModel = 'X';
hook_FloorDecorationData_GetOrientation = 'ra.V';

{Class InteractiveObject}
class_InteractiveObject = 'gj';
hook_interactiveobject_GetID = 'sb';
hook_interactiveobject_GetModel = 'V';
hook_interactiveobject_GetOrientation = 'rb';

{Class InteractiveObject2}
class_InteractiveObject2 = 'bo';
hook_interactiveobject2_GetObjectData = 'db';

{Class SecondLevelObject}
class_SecondLevelObject = 'dj';
hook_secondlevelobject_GetID = 'l';
hook_secondlevelobject_GetModel = 'E';
hook_secondlevelobject_GetOrientation = 'M';

{Class WallObjectSub2}
class_WallObjectSub2 = 'oq';
hook_wallobjectsub2_getComposite = 'cb';

{Class WallDecorationSub2}
class_WallDecorationSub2 = 're';
hook_walldecorationsub2_getComposite = 'M';

{Class FloorDecorationSub2}
class_FloorDecorationSub2 = 'jga';
hook_floordecorationsub2_getComposite = 'J';

Verifying a few hooks.

Edit:
Done.
Also updated RRL for any scripters who use it.

Emaziz

2011-03-28 15:08:03

You rule :D

WT-Fakawi

2011-03-28 15:09:26

It is awfuly quite in RS atm. :)

pyroryan

2011-03-28 15:11:05

From: WT-Fakawi
It is awfuly quite in RS atm. :)


Wonder what other bots are up…

Brandon

2011-03-28 15:13:20

From: pyroryan
Wonder what other bots are up…


RSBuddy is the only other one that is up.. I just tested all of them lol.
Btw thanks for this!

Floor66

2011-03-28 16:08:20

My RiD is still going strong! COLOR FTW.

On topic:
you are tha best pyro <3

footballjds

2011-03-28 16:23:33

From: ggzz
RSBuddy is the only other one that is up.. I just tested all of them lol.
Btw thanks for this!


RSBuddy was back up in like 2 hours… :D

Harry

2011-03-28 16:29:42

Rumor has it that a lot of NPC IDs were changed?

pyroryan

2011-03-28 16:37:29

From: Harry
Rumor has it that a lot of NPC IDs were changed?


Rumor has it that in the 3 hour O Chem lab, I spilled my purified n-butyl bromide (spent 1-1.5 hours on it), broke the Erlenmeyer, and only left lab 5 minutes after everyone else. Skills :stirthepot::spot::p

On the topic, I have no idea. I'll check later.

WT-Fakawi

2011-03-28 16:42:05

Well, Goblin Sounds have changed, thats for sure!

Floor66

2011-03-28 16:44:37

Aww damn now that broke all my scripts! :P
Seriously tho, do they sound better?

Floor66

2011-03-28 16:45:55

Aww damn now that broke all my scripts! :P
Seriously tho, do they sound better?

Coh3n

2011-03-28 20:23:50

From: Floor66
My RiD is still going strong! COLOR FTW.

On topic:
you are tha best pyro <3

RiD is color?

TomTuff

2011-03-28 20:36:13

From: Coh3n
RiD is color?


Yeah it doesn't even have it's own client.

Coh3n

2011-03-28 20:43:14

From: TomTuff
Yeah it doesn't even have it's own client.

Like it's 100% color? Wow, I'm about 1000x more impressed by their scripts now.

i luffs yeww

2011-03-28 20:44:07

From: Coh3n
Like it's 100% color? Wow, I'm about 1000x more impressed by their scripts now.


Well I'm sure they use some math and strings and what not.. ;)

Coh3n

2011-03-28 20:45:19

From: i luffs yeww
Well I'm sure they use some math and strings and what not.. ;)

Lol you know what I meant, smartass. :p

Flight

2011-03-28 21:57:58

From: Coh3n
Lol you know what I meant, smartass. :p


I laughed. :) And here I thought Scar/Simba was the only color.

lordsaturn

2011-03-28 22:08:45

Note that it's easy to decompile RiD bots and look at the source, although it is obfuscated.

pyroryan

2011-03-28 22:11:08

From: lordsaturn
Note that it's easy to decompile RiD bots and look at the source, although it is obfuscated.


And its strings are encrypted.

footballjds

2011-03-28 22:11:50

From: Flight
I laughed. :) And here I thought Scar/Simba was the only color.


Just watched their pest control commercial. Jaw drop.

Brandon

2011-03-28 22:39:20

wth when did this happen??!?!

[ATTACH]10921[/ATTACH]

i luffs yeww

2011-03-28 22:50:01

#641.

Iamadam

2011-03-29 08:18:59

If any of the hooks don't work, cross reference with these (from community updater).
Animable class : uq
Player class : cea
Character class : ni
AnimableNode class : fe
AnimableEntity class : ht
PlayerDef class : wh
NPC class : wq
NPCDef class : sk
NPCNode class : qha
GroundTile class : hp
Interactable class : mg
Toolkit class : ha
Viewport class : ih
SDViewport class : bg
SDToolkit class : fga
SDPlane class : s
SDModel class : mda
NodeListCache class : jj
NodeList class : mba
Node class : no
MenuGroupNode class : ida
NodeSubList class : vu
NodeSub class : ob
Menu class : sba
Interface class : uv
NodeCache class : baa
Item class : kn
ItemDefLoader class : go
ItemDef class : dv
MRUNodes class : gw
SettingArray class : qo
ObjectDefLoader class : ql
Ground class : ve
WallObjectData class : dfa
WallDecorationData class : sfa
FloorDecorationData class : ra
InteractiveObject class : gj
InteractiveObject2 class : bo
SecondLevelObject class : dj
WallObjectSub2 class : oq
WallDecorationSub2 class : re
FloorDecorationSub2 class : jga
GrandExchange class : lk
ClientScript class : oea
HDToolkit class : dw
Direct3DToolkit class : kfa
CacheFile class : kv
CustomCursorSetup class : lha
Stream class : dc
ObjectInterface class : bda
WallObject class : pn
WallDecoration class : ki
FloorDecoration class : uda
----- Finished in 78ms -----
----- Starting Search: CharacterStuff -----
Character_animation: wb
Character_hpRatio: wc
Character_motion: Pc
----- Finished in 31ms -----
----- Starting Search: Stream -----
Stream_buffer: S
Stream_bufferOffset: U
----- Finished in 0ms -----
----- Starting Search: NpcIndexArray -----
npcIndexArray: bk.f
NPCCount: ve.b
----- Finished in 16ms -----
----- Starting Search: SDToolkitSearch -----
StaticToolkit: jga.kb
SDToolkit_viewport: I
SDToolkit_xScale: U
SDToolkit_yScale: db
SDToolkit_zMin: L
SDToolkit_zMax: S
SDToolkit_yMax: V
SDToolkit_yMin: hb
SDToolkit_xMax: O
SDToolkit_xMin: gb
----- Finished in 125ms -----
----- Starting Search: SDViewportSearch -----
SDViewport_xX: y
SDViewport_xY: G
SDViewport_xZ: E
SDViewport_yX: f
SDViewport_yy: J
SDViewport_yZ: d
SDViewport_zX: r
SDViewport_zY: o
SDViewport_zZ: C
SDViewport_yOff: k
SDViewport_zOff: s
SDViewport_xOff: g
----- Finished in 0ms -----
----- Starting Search: ClientScript -----
Interface_actions: jd
Interface_modelZoom: cd
Interface_children: nc
Interface_parentID: kd
Interface_isHidden: Pc
Interface_modelID: u
Interface_hScroll: Tc
Interface_maxHScroll: V
Interface_minHScroll: h
Interface_vScroll: Qc
Interface_maxVScroll: Pb
Interface_minVScroll: lc
Interface_modelRotationX: yc
Interface_modelRotationY: Gc
Interface_modelRotationZ: Ec
Interface_itemIndex: Fb
skillLevels: po.p
skillExperiences: ea.l
----- Finished in 172ms -----
----- Starting Search: NPCNodeSearch -----
myPlayer: cg.D
Player array: rw.f
nodeID: g
nodePrev: c
nodeNext: e
npcNodeArray: gfa.u
AnimableNode_getAnimable: e
AnimableNode_getNext: b
----- Finished in 16ms -----
----- Starting Search: BaseXYSearch -----
baseX: pe.F
baseY: ap.D
----- Finished in 16ms -----
----- Starting Search: AnimablePixelXYSearch -----
Animable_plane: j
Animable_pixelX: l
Animable_pixelY: t
----- Finished in 16ms -----
----- Starting Search: FriendsSearch -----
friendsList: ie.h
friendsWorlds: dv.e
----- Finished in 125ms -----
----- Starting Search: DebugMethodSearch -----
loadedPlane: cea.id
character_walkQueueX: Jc
character_walkQueueY: Kc
mapWidth: oe.m
mapHeight: ar.j
----- Finished in 15ms -----
----- Starting Search: CamPosFinder -----
cameraZ: ai.e
cameraY: sk.eb
cameraX: ov.q
----- Finished in 31ms -----
----- Starting Search: InterfaceSearch -----
InterfaceArray: ch.y
InterfaceArray: lf.d
ObjectInterface_children: nc
ObjectInterface_actions: jd
Interface_height: lc
Interface_width: h
Interface_y: jb
Interface_x: fb
Interface_text: ad
Interface_id: db
Interface_textColor: c
Interface_stack: bb
Interface_textureID: ac
Interface_name: kb
----- Finished in 109ms -----
----- Starting Search: NPCDefSearch -----
NPCDefInstance: id
npc_actions: U
npc_name: pb
----- Finished in 0ms -----
----- Starting Search: Objects -----
WallObjectData_model: X
WallObjectData_ID: kb
WallDecorationData_model: gb
WallDecorationData_ID: P
FloorDecorationData_model: X
FloorDecorationData_ID: hb
InteractiveObject_model: V
InteractiveObject_ID: sb
SecondLevelObject_model: E
SecondLevelObject_ID: t
----- Finished in 16ms -----
----- Starting Search: Player -----
PlayerDef_equipment: l
Player_combatLevel: td
NPC_combatLevel: Rc
MenuOptionCount: ka.m
----- Finished in 15ms -----
----- Starting Search: GroundSearch -----
Ground_WallDecoration1: f
Ground_WallObject1: g
Ground_FloorDecoration: i
Ground_WallObject2: j
Ground_AnimableList: k
Ground_WallDecoration2: o
GroundSettingsArray: ti.d
----- Finished in 0ms -----
Update fail at: GroundSearch
----- Starting Search: AnimableEntity -----
AnimableEntity_x2: M
AnimableEntity_y2: I
AnimableEntity_x1: J
AnimableEntity_y1: C
----- Finished in 32ms -----
----- Starting Search: NPCInteracting -----
Character_interacting: mb
Player_array: rw.f
----- Finished in 0ms -----
----- Starting Search: LoginIndexSearch -----
loginIndex: ct.r
----- Finished in 0ms -----
----- Starting Search: LoopCycle -----
LoopCycle: kp.h
----- Finished in 31ms -----
----- Starting Search: MenuSearch -----
Found menu variables using feature space :)
menuX: rfa.o
menuY: nv.j
menuWidth: oq.hb
menuHeight: ml.w
MenuY2: dga.e
MenuX2: wp.h
MenuWidth2: nr.b
MenuOptionCount: ka.m
MenuHeight2: id.k
menuTabbed: sg.d