SRL Archive - Client Hacking

Client Revision 599 Hooks


TRiLeZ

2010-04-13 17:40:43


[--------------TRiLeZ's Updater--------------]
Client Revision: 599
Loaded 542 classes from runescape-599.jar

[ Mouse ]
CLASS te implements com.rs.hooks.Mouse
getComponent() --> field java.awt.Component te.K
isLoggingMovements() --> field boolean te.L
getMouseX() --> field int te.x
getMouseY() --> field int te.J

[ Stream ]
CLASS sv implements com.rs.hooks.Stream
getData() --> field byte[] sv.v
getOffset() --> field int sv.T

[ Interface ]
CLASS at implements com.rs.hooks.Interface
getChildren() --> field at[] at.dc

[ FileOnDisk ]
CLASS oh implements com.rs.hooks.FileOnDisk
getRandomAccessFile() --> field java.io.RandomAccessFile oh.a
getFile() --> field java.io.File oh.c

[ Character ]
CLASS dc implements com.rs.hooks.Character
getMessage() --> field java.lang.String dc.Mb
getWalkQueueX() --> field int[] dc.Fc
getWalkQueueY() --> field int[] dc.zc

[ Player ]
CLASS pf implements com.rs.hooks.Player
getAccountName() --> field java.lang.String pf.pd
getDisplayName() --> field java.lang.String pf.sd

[ Animable ]
CLASS tn implements com.rs.hooks.Animable
getPlane() --> field byte tn.l
getLocalX() --> field int tn.q
getLocalY() --> field int tn.t

[ SDPlane ]
CLASS mq implements com.rs.hooks.SDPlane
getTileHeights() --> field int[][] mq.q

[ Client ]
CLASS client implements com.rs.hooks.Client
getNpcIndexArray() --> static int[] bs.D
getMyPlayer() --> static pf cq.U
getPlayerIndexArray() --> static int[] ju.h
getPlayerCount() --> static int fn.G
getNpcCount() --> static int rp.E
getPlayerArray() --> static pf[] hi.d
getBaseX() --> static int nr.C
getBaseY() --> static int kh.l
getPlane() --> static int cr.N
getLoginIndex() --> static int on.z
getPlanes() --> static ya[] rj.hb
getMainToolkit() --> static za ds.o

Found 30/30 hooks in 2047ms.

EDIT: More hooks!!!
EDIT2: More hooooks!!!!

Wanted

2010-04-13 17:46:25

TY.

Not 100% sure if my animation is right though. :(

TRiLeZ

2010-04-13 17:53:30

From: IceFire908
TY.

Not 100% sure if my animation is right though. :(


Test it out then. :p

Naum

2010-04-13 18:05:29

Thanks for this, TrilAz :)

Kasi

2010-04-13 18:06:31

erm how do we actually put this into the hook's file

Method

2010-04-13 21:59:23

From: pur3b100d
erm how do we actually put this into the hook's file


Match up the fields that are in there to the constants in Hooks.scar and replace the current values with those ones.

Nava2

2010-04-13 22:32:26

Method, perhaps you could release the part of your updater that converts between your old format and the SCAR version?

Method

2010-04-13 22:41:16

From: Nava2
Method, perhaps you could release the part of your updater that converts between your old format and the SCAR version?


It just took the list of fields I had identified and wrote them to a file. It'd need a list of fields to work in its current state (which is pretty poor considering I haven't touched that part of the code in a year or so).

It'd be better just to write another piece of code to parse out his output, perhaps even in SCAR.

g0tp0t

2010-04-16 21:37:16

i dont have hooks.scar…??

TRiLeZ

2010-04-16 22:03:56

From: g0tp0t
i dont have hooks.scar…??


You need to download reflection.

g0tp0t

2010-04-17 16:31:02

i did, i used the scar reflection installer, but i just now used tortoise svn instead and now i get hooks .scar, but is blank, so how do i add hooks? just paste?

g0tp0t

2010-04-17 18:35:57

how do i add these hooks, paste?

ill delete after post

i luffs yeww

2010-04-17 18:40:39

I THINK it's something like this..

There should be something like "getData = 'va.6'" (random characters, the important part is the getData or maybe just Data), and that should be changed from 'va.6' to 'sv.v'. It takes some common sense. :p

Timer

2010-04-17 18:55:33

Jebus these are outdated shaddup.

TRiLeZ

2010-04-17 20:14:08

From: Timer
Jebus these are outdated shaddup.


I'm gonna make some more patterns for more hooks and post the up-to-date hooks later today.

g0tp0t

2010-04-17 21:29:14

well if thats common sense, could someone post a tut? lol, replace all the -> with = or copy paste or what, i have an empty hooks file so i cant find and replace anything?

Timer

2010-04-17 22:04:00

From: TRiLeZ
I'm gonna make some more patterns for more hooks and post the up-to-date hooks later today.


Have fun. :)

g0tp0t

2010-04-17 22:08:05

but how do i add hooks to hooks.scar, which is completely empty btw

Method

2010-04-17 22:39:56

No it isn't?? :confused:

ZaSz

2010-04-17 22:55:08

I thought it wasn't empty, he just downloaded wrong I thought.

SO I was right silently :D

[hmm, completely spam post?]

g0tp0t

2010-04-17 23:13:26

ok, that is weird, i was gonna paste in hooks and this time it wasnt empty, i didnt change or update since i last tried, hmm well, mine isnt filled with null… this is mine from srl dev:

//------------------------------------------------------------------\\
//-- Scar Non-Standard Resource Library --||
//-- Reflection Routines - Hooks --||
//------------------------------------------------------------------//


const
// Build number
RSBuild = 548;

// NPC
NPCDef = 'Ec';

// Player
CharName = 'Qc';
CharLevel = 'yc';

// Client
NPCIndexArray = 'fa.i';
NPCArray = 'pg.Fb';
NPCCount = 'ie.i';

PlayerIndexArray = 'sj.B';
PlayerArray = 'dl.f';
PlayerCount = 'ma.q';
MyPlayer = 'fl.u';

BaseX = 'da.J';
BaseY = 'vi.i';

LoopCycle = 'rc.f';

GroundHeights = 'aa.l';
GroundSettings = 'wd.l';
BaseLayer = 'ej.l';

CamX = 'ji.e';
CamY = 'jh.e';
CamZ = 'uf.p';
CamPitch = 'll.e';
CamYaw = 'b.k';

LoginIndex = 'qd.y';

SettingsArray = 'tg.i';

IsMembers = 've.S';

MaxLevels = 'sh.a';
CurrentLevels = 'dg.A';
Experiences = 'ai.d';

MapOffsetAngle = 'mg.G';
CompassAngle = 'ge.P';

ChatMessages = 'ua.p';
ChatTypes = 'gh.u';
ChatNames = 'tj.F';

MenuOptionsCount = 'ek.E';
MenuOpen = 'rc.e';
MenuX = 'lm.m';
MenuY = 'wj.k';
MenuOptions = 'mf.I';
MenuActions = 'ta.d';

SelectedItemName = 'qg.c';

FlagX = 'kb.d';
FlagY = 'ad.e';

// Character
CharAnim = 'ic';
CharMotion = 'Vb';
CurrentX = 'O';
CurrentY = 'T';
LoopCycleStatus = 'rb';
CharHPRatio = 'p';
CharHeight = 'Hb';
TurnDirection = 'X';
CharInteracting = 'ab';

SelfInteracting = 'lh.h';

// NPCDef
NPCName = 'W';
NPCType = 'lb';
NPCLevel = 'y';

// Ground Item Finding
GroundItemArray = 'wd.s';
GroundItemHead = 'a';
NextGroundItem = 'e';
GroundItem = 'E';
GroundItemID = 'p';
GroundItemStackSize = 'q';

GroundArray = 'rl.J';

// Object Hooks
Object1 = 'w';
Object2 = 'F';
Object3 = 'G';
Object4 = 'n';
Object5Array = 'q';

ObjectUID1 = 'd';
ObjectUID2 = 'g';
ObjectUID3 = 'i';
ObjectUID4 = 'm';
ObjectUID5 = 'f';

// Interface Hooks
// General
InterfaceCache = 'je.z';
ValidInterfaceArray = 'cf.b';
InterfaceChildren = 'p';
InterfaceText = 'i';
TextColor = 'u';
SelectedModelID = 'Xc';
NotSelectedModelID = 'U';
SelectedModelType = 'yc';
NotSelectedModelType = 'ic';
ModelZoom = 'id';

// Bank
BankItemID = 'Qb';
BankItemStackSize = 'Eb';
BankItemName = 'Tc';
BankItemIndex = 'ud';

// Inventory
InventoryItemIDs = 'Pc';
InventoryItemStackSizes = 't';

ZaSz

2010-04-17 23:17:00

548 is like 5-6 months ago, but you would just replace those with updated ones.

g0tp0t

2010-04-18 21:16:50

that is straight from the google repos, how get newer version?

i luffs yeww

2010-04-18 21:23:23

http://villavu.com/forum/showthread.php?t=56222

THAR YA GAH.