SRL Archive - Client Hacking

#614


lordsaturn

2010-07-14 15:29:02

Post 'em.

=== SMART Public Updater by BenLand100 ===

Preparing to run searches on:
* 736 class files
* From client version: 614

LoginIndex... completed successfully
BaseAnimableXY... completed successfully
NPC... completed successfully
NPCDefName... completed successfully
NPCNode... completed successfully
NPCIndexArray... completed successfully
NPCNodes... completed successfully
NPCCount... completed successfully
GroundPlane... completed successfully
RSInteractable... completed successfully
Toolkit... completed successfully
Viewport... completed successfully
StandardDetail... completed successfully
MinimapAngle... completed successfully
Animation... completed successfully
QueueXY... completed successfully
Camera... completed successfully
MenuOptionCount... completed successfully
MenuXY... completed successfully
MenuNodeList... completed successfully
NodeListHead... completed successfully
NodeNext... completed successfully
MenuOption... completed successfully
CharacterHeight... completed successfully
NPCLevel... completed successfully
LoopCycle... completed successfully
LoopCycleStatus... completed successfully
HPRatio... completed successfully
Interacting... completed successfully
PlayerName... completed successfully
PlayerIndexArray... completed successfully
GetPlayers... completed successfully
PlayerDef... completed successfully

Finished after 17882ms

Static Fields:
om.H => LoginIndex
s.L => MyPlayer
fi.a => BaseX
fn.t => BaseY
bl.B => NPCIndexArray
mm.c => NPCNodes
qp.x => NPCCount
kg.p => GroundSettingsArray
pd.o => LoadedPlane
hq.N => PlaneArray
vm.a => Toolkit
waa.A => MapAngle
wd.d => DestX
vb.o => DestY
ow.ab => MenuOptionCount
naa.d => MenuX
nr.g => MenuY
kf.e => MenuOpen
pt.A => MenuNodeList
oca.c => LoopCycle
naa.d => PlayerCount
nr.g => PlayerIndexArray
vi.E => GetPlayers

Class bt => Animable
i => PixelX
n => PixelY
t => Plane

Class uea => Player
Ac => GetLevel
md => GetName
pd => PlayerDef

Class va => Character
Yb => GetHitDamges
N => Animation
wc => Motion
oc => WalkQueueX
uc => WalkQueueY
sb => GetHeight
dc => LoopCycleStatus
W => HPRatio
G => GetInteracting

Class kw => NPC
Uc => NPCDef

Class ei => NPCDef
K => GetActions
ob => GetName
cb => GetLevel

Class vb => NPCNode
m => GetNPC

Class hl => GroundTile

Class d => Plane

Class gfa => RSInteractable

Class oa => Toolkit

Class q => Viewport

Class eq => SDViewport
h => xOff
l => xX
n => xY
o => xZ
g => yOff
f => yX
i => yY
k => yZ
p => zOff
q => zX
m => zY
j => zZ

Class fv => SDToolkit
db => xMin
J => xMax
V => yMin
M => yMax
Q => zMin
C => zMax
eb => xScale
Z => yScale
D => Viewport

Class gw => SDPlane
G => TileHeights

Class su => NodeList
f => Current
d => Head

Class ia => Node
j => Next
a => Previous

Class ln => Menu
x => Action
u => Option

Class n => PlayerDef


Found 71 hooks.
{**
* 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 = 614;

{Static Hooks}
hook_static_LoginIndex = 'om.H';
hook_static_MyPlayer = 's.L';
hook_static_BaseX = 'fi.a';
hook_static_BaseY = 'fn.t';
hook_static_NPCIndexArray = 'bl.B';
hook_static_NPCNodes = 'mm.c';
hook_static_NPCCount = 'qp.x';
hook_static_GroundSettingsArray = 'kg.p';
hook_static_LoadedPlane = 'pd.o';
hook_static_PlaneArray = 'hq.N';
hook_static_Toolkit = 'vm.a';
hook_static_MapAngle = 'waa.A';
hook_static_DestX = 'wd.d';
hook_static_DestY = 'vb.o';
hook_static_MenuOptionCount = 'ow.ab';
hook_static_MenuX = 'naa.d';
hook_static_MenuY = 'nr.g';
hook_static_MenuOpen = 'kf.e';
hook_static_MenuNodeList = 'pt.A';
hook_static_LoopCycle = 'oca.c';
hook_static_PlayerCount = 'naa.d';
hook_static_PlayerIndexArray = 'nr.g';
hook_static_GetPlayers = 'vi.E';

{Class Animable}
class_Animable = 'bt';
hook_animable_PixelX = 'i';
hook_animable_PixelY = 'n';
hook_animable_Plane = 't';

{Class Player}
class_Player = 'uea';
hook_player_GetLevel = 'Ac';
hook_player_GetName = 'md';
hook_player_PlayerDef = 'pd';

{Class Character}
class_Character = 'va';
hook_character_GetHitDamges = 'Yb';
hook_character_Animation = 'N';
hook_character_Motion = 'wc';
hook_character_WalkQueueX = 'oc';
hook_character_WalkQueueY = 'uc';
hook_character_GetHeight = 'sb';
hook_character_LoopCycleStatus = 'dc';
hook_character_HPRatio = 'W';
hook_character_GetInteracting = 'G';

{Class NPC}
class_NPC = 'kw';
hook_npc_NPCDef = 'Uc';

{Class NPCDef}
class_NPCDef = 'ei';
hook_npcdef_GetActions = 'K';
hook_npcdef_GetName = 'ob';
hook_npcdef_GetLevel = 'cb';

{Class NPCNode}
class_NPCNode = 'vb';
hook_npcnode_GetNPC = 'm';

{Class GroundTile}
class_GroundTile = 'hl';

{Class Plane}
class_Plane = 'd';

{Class RSInteractable}
class_RSInteractable = 'gfa';

{Class Toolkit}
class_Toolkit = 'oa';

{Class Viewport}
class_Viewport = 'q';

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

{Class SDToolkit}
class_SDToolkit = 'fv';
hook_sdtoolkit_xMin = 'db';
hook_sdtoolkit_xMax = 'J';
hook_sdtoolkit_yMin = 'V';
hook_sdtoolkit_yMax = 'M';
hook_sdtoolkit_zMin = 'Q';
hook_sdtoolkit_zMax = 'C';
hook_sdtoolkit_xScale = 'eb';
hook_sdtoolkit_yScale = 'Z';
hook_sdtoolkit_Viewport = 'D';

{Class SDPlane}
class_SDPlane = 'gw';
hook_sdplane_TileHeights = 'G';

{Class NodeList}
class_NodeList = 'su';
hook_nodelist_Current = 'f';
hook_nodelist_Head = 'd';

{Class Node}
class_Node = 'ia';
hook_node_Next = 'j';
hook_node_Previous = 'a';

{Class Menu}
class_Menu = 'ln';
hook_menu_Action = 'x';
hook_menu_Option = 'u';

{Class PlayerDef}
class_PlayerDef = 'n';

Shuttleu

2010-07-14 16:10:41

what was changed?

there is nothing on the front page…

~shut

TRiLeZ

2010-07-14 18:12:00


[-------------------TRiBot Updater-------------------]
Client Revision: 614.
Loaded 736 classes from runescape-614.jar in 797 ms.

Class bt implements Animable
» getLocalX() int bt.i
» getLocalY() int bt.n
» getPlane() byte bt.t

Class va implements Character
» getLoopCycleStatus() int va.dc
» getAnimation() int va.N
» getModels() Broken Hook
» getWalkingX() int[] va.uc
» getWalkingY() int[] va.oc
» getCurrentWaypoint() Broken Hook
» getWalkingTypes() byte[] va.tc

Class client implements Client
» getBaseX() int fi.a
» getBaseY() int fn.t
» getLoginIndex() int om.H
» getMyPlayer() uea s.L
» getMinimapScale() int iaa.s
» getMinimapSetting() int cc.c
» getMinimapAngle() int cda.c
» getMinimapOffset() float waa.A
» getNpcCount() int qp.x
» getNpcIndices() Broken Hook
» getNpcNodes() vb[] mm.c
» getPlayerCount() int naa.d
» getPlayerIndices() int[] nr.g
» getPlayers() uea[] vi.E
» getLoopCycle() int oca.c
» getUsername() java.lang.String lc.c
» getPassword() java.lang.String wl.f
» getPlane() int pd.o
» getPlanes() d[] hq.N
» getMainToolkit() oa vm.a
» getMenuOptionCount() Broken Hook
» getSelectedObjectName() java.lang.String gv.h
» getSelectedActionName() Broken Hook
» getGroundTiles() hl[][][] dw.V
» getMapWidth() int al.o
» getMapHeight() int cr.k
» getIsMenuOpen() Broken Hook
» getIsSpellSelected() boolean va.Sb
» getSpellTarget() int jea.K
» getPlayerRights() int dw.W

Class ow implements InteractiveObject1
» getId() short ow.w

Class dt implements InteractiveObject2
» getObjectData() s dt.E

Class faa implements Interface
» getParentID() int faa.Vb
» getChildren() faa[] faa.Kb
» getX() int faa.wb
» getY() int faa.ub
» getType() int faa.qb
» getWidth() int faa.kd
» getHeight() int faa.xc
» getContentType() int faa.R
» getUID() int faa.Pc
» getComponentID() int faa.o
» getIsHidden() boolean faa.Sb

Class kw implements Npc
» getNpcDef() ei kw.Uc

Class vb implements NpcNode
» getNpc() kw vb.m

Class lt implements ObjectDefinition

Hooked: 49/55 hooks in 2094ms.
Took: 2891ms to update.

cohen

2010-07-15 07:53:49

Most likely bug fixes, or preparation for the new dungeoneering update next week

Shuttleu

2010-07-18 17:52:05

i need the latest hooks in the form of hooks.simba, please :)

~shut

EDIT: i updated my hooks.simba and the hook_character_Animation doesnt seem to work

lordsaturn

2010-07-18 19:01:13

va.N is the correct hook for animation. check your code or paste here please.

Edit: unless you can prove me wrong

Blumblebee

2010-07-19 20:55:19

I've found that the current R_ChooseOption hooks don't work, neither do the R_Bankscreen hooks, maybe that's just me but just my results so far.

i luffs yeww

2010-07-19 20:59:42

^ I can second the problem with R_ChooseOption.

lordsaturn

2010-07-19 22:46:27

have you checked the hooks or just the function?

deleteme

2010-07-24 09:27:45

From: TRiLeZ

[-------------------TRiBot Updater-------------------]
Client Revision: 614.
Loaded 736 classes from runescape-614.jar in 797 ms.

Class bt implements Animable
» getLocalX() int bt.i
» getLocalY() int bt.n
» getPlane() byte bt.t

Class va implements Character
» getLoopCycleStatus() int va.dc
» getAnimation() int va.N
» getModels() Broken Hook
» getWalkingX() int[] va.uc
» getWalkingY() int[] va.oc
» getCurrentWaypoint() Broken Hook
» getWalkingTypes() byte[] va.tc

Class client implements Client
» getBaseX() int fi.a
» getBaseY() int fn.t
» getLoginIndex() int om.H
» getMyPlayer() uea s.L
» getMinimapScale() int iaa.s
» getMinimapSetting() int cc.c
» getMinimapAngle() int cda.c
» getMinimapOffset() float waa.A
» getNpcCount() int qp.x
» getNpcIndices() Broken Hook
» getNpcNodes() vb[] mm.c
» getPlayerCount() int naa.d
» getPlayerIndices() int[] nr.g
» getPlayers() uea[] vi.E
» getLoopCycle() int oca.c
» getUsername() java.lang.String lc.c
» getPassword() java.lang.String wl.f
» getPlane() int pd.o
» getPlanes() d[] hq.N
» getMainToolkit() oa vm.a
» getMenuOptionCount() Broken Hook
» getSelectedObjectName() java.lang.String gv.h
» getSelectedActionName() Broken Hook
» getGroundTiles() hl[][][] dw.V
» getMapWidth() int al.o
» getMapHeight() int cr.k
» getIsMenuOpen() Broken Hook
» getIsSpellSelected() boolean va.Sb
» getSpellTarget() int jea.K
» getPlayerRights() int dw.W

Class ow implements InteractiveObject1
» getId() short ow.w

Class dt implements InteractiveObject2
» getObjectData() s dt.E

Class faa implements Interface
» getParentID() int faa.Vb
» getChildren() faa[] faa.Kb
» getX() int faa.wb
» getY() int faa.ub
» getType() int faa.qb
» getWidth() int faa.kd
» getHeight() int faa.xc
» getContentType() int faa.R
» getUID() int faa.Pc
» getComponentID() int faa.o
» getIsHidden() boolean faa.Sb

Class kw implements Npc
» getNpcDef() ei kw.Uc

Class vb implements NpcNode
» getNpc() kw vb.m

Class lt implements ObjectDefinition

Hooked: 49/55 hooks in 2094ms.
Took: 2891ms to update.


Thank you! It contains some things that seems worth to investigate for me :D

Narcle

2010-07-24 16:04:52

Updated more hooks.

Added Experiences and Levels - use GetME with TMe record.

Shuttleu

2010-07-24 16:17:48

From: Narcle
Updated more hooks.

Added Experiences and Levels - use GetME with TMe record.


:eek: experiences has finally been added!
Thank you!

i have been waiting for this for ages!

~shut

EDIT: what would woodcutting be?

Narcle

2010-07-24 16:20:35

From: Shuttleu
:eek: experiences has finally been added!
Thank you!

i have been waiting for this for ages!

~shut

EDIT: what would woodcutting be?


check in player.scar in srl, the constants are the same, Nava2 changed them to work with both

lordsaturn

2010-07-24 17:06:46

From: Shuttleu
:eek: experiences has finally been added!
Thank you!

i have been waiting for this for ages!

~shut

EDIT: what would woodcutting be?


Shut if you need something like the above again just shove a little bit and youll most likely get it.

Narcle

2010-07-24 17:33:05

From: lordsaturn
Shut if you need something like the above again just shove a little bit and youll most likely get it.


Aye, the Exp/Level hooks are actually easy to get. The secondary object hooks and a couple others I still have no idea where Drags gets them. I haven't been able to find them in any of the java bots as of yet (if they are there, no idea where).

Edit:
Oh if someone needs CamPosX/Y here they are, I forgot to add them.

hook_static_CamPosX = 'op.F';
hook_static_CamPosY = 'hu.y';

Shuttleu

2010-07-24 17:54:47

From: lordsaturn
Shut if you need something like the above again just shove a little bit and youll most likely get it.


i did ask for them previously but no one got them :(

~shut

Shuttleu

2010-07-25 09:24:01

has anybody been able to get the R_ChooseOption hook yet?

~shut

pyroryan

2010-07-25 18:51:34

From: Shuttleu
has anybody been able to get the R_ChooseOption hook yet?

~shut


From: Shuttleu
has anybody been able to get the R_ChooseOption hook yet?

~shut


Guessing hook_static_MenuX and hook_static_MenuY are wrong?


hook_static_MenuX = 'naa.d';
hook_static_MenuY = 'nr.g';

I believe they should be:

hook_static_MenuX = 'qea.n';
hook_static_MenuY = 'm.f';


Also other hooks (updated to #614)

hook_character_Orientation = 'J';
hook_npcdef_GetID = 'eb';
class_Ground = 'hl';
hook_ground_AnimableList = 'z';

Shuttleu

2010-07-25 18:59:08

From: pyroryan
Guessing hook_static_MenuX and hook_static_MenuY are wrong?


I believe they should be:


Also

hook_character_Orientation = 'J';
Hooks list supplied by [email]kvnh93@gmail.com[/email]


thanks, i will give them a try

~shut

EDIT: Thank you, it works, who is [email]kvnh93@gmail.com[/email] anyway?

pyroryan

2010-07-25 19:15:54

From: Shuttleu
thanks, i will give them a try

~shut

EDIT: Thank you, it works, who is [email]kvnh93@gmail.com[/email] anyway?


He was one of the two original runedev admins (he was developer). RuneDev was updating rsbot stuff (probably hooks too) when rsbot.org was down. He left runedev already once rsbot.org came back so don't bother searching for him.

TRiLeZ

2010-07-25 23:55:11

Here's my new updater log if anyone wants it:

[-------------------TRiBot Updater-------------------]
Client Revision: 614.
Loaded 736 classes from runescape-614.jar in 345 ms.

Class bt implements Animable
» getLocalX() int bt.i
» getLocalY() int bt.n
» getPlane() byte bt.t

Class va implements Character
» getLoopCycleStatus() int va.dc
» getAnimation() int va.N
» getModels() ba[] va.pc
» getWalkingX() int[] va.uc
» getWalkingY() int[] va.oc
» getCurrentWaypoint() int va.wc
» getWalkingTypes() byte[] va.tc

Class client implements Client
» getBaseX() int fi.a
» getBaseY() int fn.t
» getLoginIndex() int om.H
» getMyPlayer() uea s.L
» getMinimapScale() int iaa.s
» getMinimapSetting() int cc.c
» getMinimapAngle() int cda.c
» getMinimapOffset() float waa.A
» getNpcCount() int qp.x
» getNpcIndices() int[] bl.B
» getNpcNodes() vb[] mm.c
» getPlayerCount() int naa.d
» getPlayerIndices() int[] nr.g
» getPlayers() uea[] vi.E
» getLoopCycle() int oca.c
» getUsername() java.lang.String lc.c
» getPassword() java.lang.String wl.f
» getPlane() int pd.o
» getPlanes() d[] hq.N
» getMainToolkit() oa vm.a
» getSelectedObjectName() java.lang.String gv.h
» getSelectedActionName() java.lang.String hfa.e
» getGroundTiles() hl[][][] dw.V
» getMapWidth() int al.o
» getMapHeight() int cr.k
» getMenuOptionCount() int ow.ab
» getIsMenuOpen() boolean kf.e
» getMenuNodeList() su pt.A
» getMenuHeight() int m.f
» getMenuWidth() int jba.w
» getMenuX() int qea.n
» getMenuY() int m.f
» getIsSpellSelected() boolean va.Sb
» getSpellTarget() int jea.K
» getPlayerRights() int dw.W

Class ow implements InteractiveObject1
» getId() short ow.w

Class dt implements InteractiveObject2
» getObjectData() s dt.E

Class faa implements Interface
» getParentID() int faa.Vb
» getChildren() faa[] faa.Kb
» getX() int faa.wb
» getY() int faa.ub
» getType() int faa.qb
» getWidth() int faa.kd
» getHeight() int faa.xc
» getContentType() int faa.R
» getUID() int faa.Pc
» getComponentID() int faa.o
» getIsHidden() boolean faa.Sb

Class kw implements Npc
» getNpcDef() ei kw.Uc

Class vb implements NpcNode
» getNpc() kw vb.m

Class lt implements ObjectDefinition

Hooked: 60/60 hooks in 867ms.
Took: 1223ms to update.
:D

Nava2

2010-07-26 00:15:30

Damn Trilez, bravo.

deleteme

2010-07-26 15:27:43

From: TRiLeZ
Here's my new updater log if anyone wants it:

[-------------------TRiBot Updater-------------------]
Client Revision: 614.
Loaded 736 classes from runescape-614.jar in 345 ms.

Class bt implements Animable
» getLocalX() int bt.i
» getLocalY() int bt.n
» getPlane() byte bt.t

Class va implements Character
» getLoopCycleStatus() int va.dc
» getAnimation() int va.N
» getModels() ba[] va.pc
» getWalkingX() int[] va.uc
» getWalkingY() int[] va.oc
» getCurrentWaypoint() int va.wc
» getWalkingTypes() byte[] va.tc

Class client implements Client
» getBaseX() int fi.a
» getBaseY() int fn.t
» getLoginIndex() int om.H
» getMyPlayer() uea s.L
» getMinimapScale() int iaa.s
» getMinimapSetting() int cc.c
» getMinimapAngle() int cda.c
» getMinimapOffset() float waa.A
» getNpcCount() int qp.x
» getNpcIndices() int[] bl.B
» getNpcNodes() vb[] mm.c
» getPlayerCount() int naa.d
» getPlayerIndices() int[] nr.g
» getPlayers() uea[] vi.E
» getLoopCycle() int oca.c
» getUsername() java.lang.String lc.c
» getPassword() java.lang.String wl.f
» getPlane() int pd.o
» getPlanes() d[] hq.N
» getMainToolkit() oa vm.a
» getSelectedObjectName() java.lang.String gv.h
» getSelectedActionName() java.lang.String hfa.e
» getGroundTiles() hl[][][] dw.V
» getMapWidth() int al.o
» getMapHeight() int cr.k
» getMenuOptionCount() int ow.ab
» getIsMenuOpen() boolean kf.e
» getMenuNodeList() su pt.A
» getMenuHeight() int m.f
» getMenuWidth() int jba.w
» getMenuX() int qea.n
» getMenuY() int m.f
» getIsSpellSelected() boolean va.Sb
» getSpellTarget() int jea.K
» getPlayerRights() int dw.W

Class ow implements InteractiveObject1
» getId() short ow.w

Class dt implements InteractiveObject2
» getObjectData() s dt.E

Class faa implements Interface
» getParentID() int faa.Vb
» getChildren() faa[] faa.Kb
» getX() int faa.wb
» getY() int faa.ub
» getType() int faa.qb
» getWidth() int faa.kd
» getHeight() int faa.xc
» getContentType() int faa.R
» getUID() int faa.Pc
» getComponentID() int faa.o
» getIsHidden() boolean faa.Sb

Class kw implements Npc
» getNpcDef() ei kw.Uc

Class vb implements NpcNode
» getNpc() kw vb.m

Class lt implements ObjectDefinition

Hooked: 60/60 hooks in 867ms.
Took: 1223ms to update.
:D


Thank you! I read some other updaters on other forums, and I must say every one contains it unique fields ^^

pyroryan

2010-07-26 17:05:05


class_InteractiveObject1 = 'ow';
hook_interactiveobject_GetID = 'w';

Try these. Can't figure out what the 2nd one is.