PDA

View Full Version : Reflection Walking Path Maker Thing.



Turpinator
01-09-2014, 03:36 AM
Just whipped this up quickly because i needed a path...

So... Start it up, Login, and DISABLE SMART.

Now... go to your point that you want to walk to and click ENABLE SMART.
NOW DONT PRESS ANYTHING! Smart will disable itself again automatically.
It will then print out your position and store it to a tile array/point array.

Next, Move to your next spot. ENABLE SMART again...
it will save that spot to the array and print it out again.

repeat until youre content. Copy and paste array from the debug window into script, etc.


program ReflPathMaker;
{$Define SMART}
{$I SRL-OSR/SRL.simba}

const
{how randy do you like it?}
randy = 1;

{current revision corresponds to elfyys include. get new hooks there or somewhere else.}
{updated ones should be at http://osrreflection.googlecode.com/git/Core/Hooks.simba}
ReflectionRevision = '33';
HookLocalPlayer = 'g.ho';
HookGetBaseX = 'o.cc';
HookGetBaseY = 'aa.ci';
HookCharacterX = 'k';
HookCharacterY = 'p';
HookGetBaseXMultiplier = -2032069411;
HookGetBaseYMultiplier = -170410595;
HookCharacterXMultiplier = -657252599;
HookCharacterYMultiplier = -1947713529;
{end hook consts}

Procedure DeclarePlayers;
begin
HowManyPlayers := 1;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0;
end;

(*
R_GetTileGlobal2
~~~~~~~~~~~
.. code-block:: pascal
function R_GetTileGlobal: TPoint;
Returns the current location of player.
.. note::
by Brandon
*)
function R_GetTileGlobal2: TPoint;
var
Me: Integer;
begin
Me := SmartGetFieldObject(SmartCurrentTarget, 0, HookLocalPlayer);
Result.X := (SmartGetFieldInt(SmartCurrentTarget, 0, HookGetBaseX) * HookGetBaseXMultiplier) + (SmartGetFieldInt(SmartCurrentTarget, Me, HookCharacterX) * HookCharacterXMultiplier) div 128;
Result.Y := (SmartGetFieldInt(SmartCurrentTarget, 0, HookGetBaseY) * HookGetBaseYMultiplier) + (SmartGetFieldInt(SmartCurrentTarget, Me, HookCharacterY) * HookCharacterYMultiplier) div 128;
SmartFreeObject(SmartCurrentTarget, Me);
end;

function TPAPathToString(TPA: TPointArray): String;
var
i : integer;
begin
result := '';
for i := 0 to length(TPA) - 1 do
result := result + ' Point(' + intToStr(TPA[i].X) + ', ' + intToStr(TPA[i].Y) + '),';
result[1] := '[';
result[length(result)] := ']';
end;

function TPAPathToStringRandom(TPA: TPointArray; ran: integer): String;
var
i : integer;
ranstr: string;
begin
result := '';
ranstr := ' + RandomRange(' + IntToStr(iAbs(ran)*-1) + ', ' + IntToStr(iAbs(ran)) + ')';
for i := 0 to length(TPA) - 1 do
result := result + ' Point(' + intToStr(TPA[i].X) + ranstr + ', ' + intToStr(TPA[i].Y) + ranstr + '),';
result[1] := '[';
result[length(result)] := ']';
end;

var
path : TPointArray;
begin
DeclarePlayers;
SetupSRL;
setlength(path, 0);
SmartSetEnabled(SmartCurrentTarget, false);
repeat
wait(500);
until LoggedIn;
if not LoggedIn then TerminateScript;
repeat
if SmartEnabled(SmartCurrentTarget) then
begin
SmartSetEnabled(SmartCurrentTarget, false);
setlength(path, length(path) + 1);
path[length(path) - 1] := R_GetTileGlobal2;
ClearDebug;
if randy > 0 then
writeln(TPAPathToStringRandom(path, randy))
else
writeln(TPAPathToString(path));
wait(2000);
end;
wait(100);
until false;
end.

sample output:
[Point(2467 + RandomRange(-1, 1), 3475 + RandomRange(-1, 1)), Point(2465 + RandomRange(-1, 1), 3462 + RandomRange(-1, 1)), Point(2463 + RandomRange(-1, 1), 3450 + RandomRange(-1, 1))]

[Point(2462, 3427), Point(2461, 3412), Point(2460, 3398), Point(2461, 3385), Point(2458, 3389), Point(2451, 3394)]

(just a simple path from the bank in tree gnome stronghold to the magic tree)

Sjoe
01-09-2014, 03:37 AM
very useful! cool gadget turp :p

didn't know u played/scripted for osr?

Hoodz
01-09-2014, 08:19 AM
saved and definitely going to use it!

Edit: you can remove line 27 idx: integer; :p

Turpinator
01-09-2014, 02:21 PM
saved and definitely going to use it!

Edit: you can remove line 27 idx: integer; :p

Ah yeah i missed removing that var. Initially i was going to use length(path) and stuff, but for some reason thought it wouldnt work, so i switched path[idx] and incremented it and SetLength(idx +1) etc, but then realized i didnt need it.

I out the idx on the forum post here, so i must have missed that one. :D

Turpinator
01-09-2014, 02:29 PM
saved and definitely going to use it!

Edit: you can remove line 27 idx: integer; :p

Ah yeah i missed removing that var. Initially i was going to use length(path) and stuff, but for some reason thought it wouldnt work, so i switched path[idx] and incremented it and SetLength(idx +1) etc, but then realized i didnt need it.

I out the idx on the forum post here, so i must have missed that one. :D

Also, removed the requirement for elfyyy's refl include. (just ripped Brandon's get pos and the hooks directly into the script)
So... if the hooks change/etc, youll need to manually update them.

Hoodz
01-09-2014, 02:31 PM
Ah yeah i missed removing that var. Initially i was going to use length(path) and stuff, but for some reason thought it wouldnt work, so i switched path[idx] and incremented it and SetLength(idx +1) etc, but then realized i didnt need it.

I out the idx on the forum post here, so i must have missed that one. :D

i dont know how to do this so im asking this to you:

is it possible to output the code like: [point(x, y), point(x, y), point(x, y)] so you dont have to manually add "point".
its also nice to add a option randomness: if true the output will be like: [point(x + RandomRange(-1, 1), y + RandomRange(-1, 1)), point(x + RandomRange(-1, 1), y + RandomRange(-1, 1))]

Turpinator
01-09-2014, 02:34 PM
i dont know how to do this so im asking this to you:

is it possible to output the code like: [point(x, y), point(x, y), point(x, y)] so you dont have to manually add "point".
its also nice to add a option randomness: if true the output will be like: [point(x + RandomRange(-1, 1), y + RandomRange(-1, 1)), point(x + RandomRange(-1, 1), y + RandomRange(-1, 1))]

good point, i forgot that pascal script doesnt allow for assigning tpoints from arrays.
Lemme just update that... and ill add a random option also.

edit: Added. yes, i realize i could have made it just store the current point into a string with the point() stuff then just display it as it would save computational time, but meh.

EDIT2:i have just been informed that the hooks updated today... so. hold on for a bit as we wait for them to get updated.

Hoodz
01-09-2014, 03:50 PM
program ReflPathMaker;
{$Define SMART}
{$I SRL-OSR/SRL.simba}

const
{do you want a random path?}
MakeRandom = true;
{how randy do you like it?}
randy = 1;


{current revision corresponds to elfyys include. get new hooks there or somewhere else.}

ReflectionRevision = '32';
HookLocalPlayer = 'aw.hf';
HookGetBaseX = 'y.cp';
HookGetBaseY = 'be.cs';
HookCharacterX = 'w';
HookCharacterY = 'z';
HookGetBaseXMultiplier = -2001773755;
HookGetBaseYMultiplier = -1712339069;
HookCharacterXMultiplier = 79908219;
HookCharacterYMultiplier = 1269869755;
{end hook consts}


Procedure DeclarePlayers;
begin
HowManyPlayers := 1;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0;
end;

(*
R_GetTileGlobal2
~~~~~~~~~~~
.. code-block:: pascal
function R_GetTileGlobal: TPoint;
Returns the current location of player.
.. note::
by Brandon
*)
function R_GetTileGlobal2: TPoint;
var
Me: Integer;
begin
Me := SmartGetFieldObject(SmartCurrentTarget, 0, HookLocalPlayer);
Result.X := (SmartGetFieldInt(SmartCurrentTarget, 0, HookGetBaseX) * HookGetBaseXMultiplier) + (SmartGetFieldInt(SmartCurrentTarget, Me, HookCharacterX) * HookCharacterXMultiplier) div 128;
Result.Y := (SmartGetFieldInt(SmartCurrentTarget, 0, HookGetBaseY) * HookGetBaseYMultiplier) + (SmartGetFieldInt(SmartCurrentTarget, Me, HookCharacterY) * HookCharacterYMultiplier) div 128;
SmartFreeObject(SmartCurrentTarget, Me);
end;

function TPAPathToString(TPA: TPointArray): String;
var
i : integer;
begin
result := '[';
for i := 0 to length(TPA - 1) do
result := result + 'Point(' + intToStr(TPA[i].X) + ', ' + intToStr(TPA[i].Y) + '),';
result[length(result)] = ']';
end;

function TPAPathToStringRandom(TPA: TPointArray; ran: integer): String;
var
i : integer;
ranstr: string;
begin
result := '[';
ranstr := ' + RandomRange(' + intToStr(-1*abs(ran)) + ', ' + intToStr(abs(ran)) + ')';
for i := 0 to length(TPA - 1) do
result := result + 'Point(' + intToStr(TPA[i].X) + ranstr + ', ' + intToStr(TPA[i].Y) + ranstr + '),';
result[length(result)] = ']';
end;

var
path : TPointArray;
begin
DeclarePlayers;
SetupSRL;
setlength(path, 0);
repeat
wait(500);
until not SmartEnabled(SmartCurrentTarget);
if not LoggedIn then TerminateScript;
repeat
if SmartEnabled(SmartCurrentTarget) then
begin
SmartSetEnabled(SmartCurrentTarget, false);
setlength(path, length(path) + 1);
path[length(path) - 1] := R_GetTileGlobal2;

if MakeRandom then
writeln(TPAPathToStringRandom(path, randy))
else
writeln(TPAPathToString(path);

wait(3000);
end;
wait(100);
until false;
end.

^^ hoodz test that out for me, wrote it in notepad. :D


[Error] (59:31): Type mismatch at line 59
the same error is also in the random procedure
the line is something like this:
result := result1 + 'Point(' + intToStr(TPA[i].X) + ', ' + intToStr(TPA[i].Y) + '),';

Turpinator
01-09-2014, 04:15 PM
[Error] (59:31): Type mismatch at line 59
the same error is also in the random procedure
the line is something like this:
result := result1 + 'Point(' + intToStr(TPA[i].X) + ', ' + intToStr(TPA[i].Y) + '),';

result := result1 + 'Point('...
Whered the result1 come from?

Idk. it looks right. unless somewhere i missed something? try it replaced with...
function TPAPathToString(TPA: TPointArray): String;
var
i : integer;
p : TPoint;
begin
result := '[';
for i := 0 to length(TPA) - 1 do
begin
p := TPA[i];
result := result + 'Point(' + intToStr(p.X) + ', ' + intToStr(p.Y) + '),';
end;
result[length(result)] := ']';
end;

function TPAPathToStringRandom(TPA: TPointArray; ran: integer): String;
var
i : integer;
ranstr: string;
begin
result := '[';
ranstr := ' + RandomRange(' + intToStr(-1*abs(ran)) + ', ' + intToStr(abs(ran)) + ')';
for i := 0 to length(TPA) - 1 do
begin
p := TPA[i];
result := result + 'Point(' + intToStr(p.X) + ranstr + ', ' + intToStr(p.Y) + ranstr + '),';
end;
result[length(result)] := ']';
end;


EDIT Just realized
result[length(result)] := ']'; was comparing and not assigning. so that may have been the problem.

Hoodz
01-09-2014, 04:23 PM
for i := 0 to length(TPA - 1) do
[Error] (60:31): Type mismatch at line 60

:(

Turpinator
01-09-2014, 04:37 PM
for i := 0 to length(TPA - 1) do
[Error] (60:31): Type mismatch at line 60

:(

FIXED. wow. i... i blame notepad.
should have been length(TPA) - 1.

Wu-Tang Clan
01-09-2014, 11:20 PM
can one of these be made for RS3?

Kyle
01-10-2014, 12:18 AM
can one of these be made for RS3?

Is there a reflection include for Rs3?

Wu-Tang Clan
01-10-2014, 12:38 AM
Is there a reflection include for Rs3?

Oh wow I am retarded...
anyways this would just be spscrap.getmypos();

Turpinator
01-10-2014, 01:14 AM
Finally had a chance to actually test it and fix the things i wrote wrong... Annyway. used abs instead of iAbs and missed a parenthesis and stuff.

feel free to use it meow hoodz and elfyyy.

Hoodz
01-10-2014, 07:19 AM
Finally had a chance to actually test it and fix the things i wrote wrong... Annyway. used abs instead of iAbs and missed a parenthesis and stuff.

feel free to use it meow hoodz and elfyyy.

Thanks, This came at the right time!

anth_
01-10-2014, 02:06 PM
Thank you. this looks useful! Is reflection needed to use the path or does it just create a TPA? (sorry for my understanding, I'm a little out of the game :P)

Turpinator
01-11-2014, 09:17 AM
Thank you. this looks useful! Is reflection needed to use the path or does it just create a TPA? (sorry for my understanding, I'm a little out of the game :P)

It uses reflection to create a path that is in turn used in reflection walking.

anth_
01-12-2014, 12:17 AM
OKay. Thank you very much! :)

vizzyy
01-31-2014, 06:29 AM
I thank you for your efforts in bringing this to the community..

Now if someone could please give me some assistance. When I run this program I only get the same exact coordinate returned over and over.
"[Point(2037204196 + RandomRange(-1, 1), 185627106 + RandomRange(-1, 1)), Point(2037204196 + RandomRange(-1, 1), 185627106 + RandomRange(-1, 1)), Point(2037204196 + RandomRange(-1, 1), 185627106 + RandomRange(-1, 1))]"

In SMART it's saying cannot find "g.ho" the obviously something to do with the hooklocalplayer variable.

I have tried downloading and replacing the hook from http://osrreflection.googlecode.com/git/Core/Hooks.simba to no avail.

Justin
01-31-2014, 07:25 AM
I thank you for your efforts in bringing this to the community..

Now if someone could please give me some assistance. When I run this program I only get the same exact coordinate returned over and over.
"[Point(2037204196 + RandomRange(-1, 1), 185627106 + RandomRange(-1, 1)), Point(2037204196 + RandomRange(-1, 1), 185627106 + RandomRange(-1, 1)), Point(2037204196 + RandomRange(-1, 1), 185627106 + RandomRange(-1, 1))]"

In SMART it's saying cannot find "g.ho" the obviously something to do with the hooklocalplayer variable.

I have tried downloading and replacing the hook from http://osrreflection.googlecode.com/git/Core/Hooks.simba to no avail.

Hooks are currently outdated.
elfyyy; NKN;

NKN
01-31-2014, 12:19 PM
Hooks are currently outdated.
elfyyy; NKN;
Someone should show me how to push to the repo so I can do it.

In the meantime, I guess I have to work on my updater now that Javahacking doesn't like posting multipliers.
This is probably the best one so far:


Client detected as ^^> client implements org/shadowbot/osrs/client/accessories/IClient
[S] client.ih detected as ^^> getWidgetNodes() desc Lfd; fdesc Lfd;
[S] client.bc detected as ^^> getLocalNpcs() desc [Lq; fdesc [Lorg/shadowbot/osrs/client/accessories/INPC;
[S] client.gs detected as ^^> getLocalPlayers() desc [Ld; fdesc [Lorg/shadowbot/osrs/client/accessories/IPlayer;
[S] client.ht detected as ^^> getGroundArray() desc [[[Lfm; fdesc [[[Lorg/shadowbot/osrs/client/accessories/IDequeList;
[S] de.p detected as ^^> getWidgets() desc [[Lfi; fdesc [[Lorg/shadowbot/osrs/client/accessories/IWidget;
[S] m.de detected as ^^> getRegion() desc Lcr; fdesc Lorg/shadowbot/osrs/client/accessories/IRegion;
[S] ai.ha detected as ^^> getMyPlayer() desc Ld; fdesc Lorg/shadowbot/osrs/client/accessories/IPlayer;
[S] client.c * -1670769777 detected as ^^> getGameState() desc I fdesc I
[S] client.lb detected as ^^> getWidgetPositionsX() desc [I fdesc [I
[S] client.li detected as ^^> getWidgetPositionsY() desc [I fdesc [I
[S] client.hf detected as ^^> getSkillLevelArray() desc [I fdesc [I
[S] client.hp detected as ^^> getRealSkillLevelArray() desc [I fdesc [I
[S] client.hd detected as ^^> getSkillExpArray() desc [I fdesc [I
[S] client.iu detected as ^^> getMenuActions() desc [Ljava/lang/String; fdesc [Ljava/lang/String;
[S] client.im detected as ^^> getMenuOptions() desc [Ljava/lang/String; fdesc [Ljava/lang/String;
[S] null.null detected as ^^> isMenuOpen() desc Z fdesc Z
[S] null.null * -1 detected as ^^> getMenuX() desc I fdesc I
[S] null.null * -1 detected as ^^> getMenuY() desc I fdesc I
[S] null.null * -1 detected as ^^> getMenuWidth() desc I fdesc I
[S] null.null * -1 detected as ^^> getMenuHeight() desc I fdesc I
[S] ek.ez * 1129828653 detected as ^^> getCameraX() desc I fdesc I
[S] bk.fx * -1995220103 detected as ^^> getCameraZ() desc I fdesc I
[S] e.fs * -1767149505 detected as ^^> getCameraY() desc I fdesc I
[S] dd.fk * 1088698925 detected as ^^> getYaw() desc I fdesc I
[S] ec.fi * -1358330977 detected as ^^> getPitch() desc I fdesc I
[S] f.dm detected as ^^> getReceivedMessage() desc (ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;I)V fdesc (ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;I)V
[S] o.l detected as ^^> getItemComposite() desc (II)Las; fdesc (II)Las;
[S] bd.p detected as ^^> getGameObjectComposite() desc (II)Lae; fdesc (II)Lae;
[S] di.cs * -1 detected as ^^> getBaseX() desc I fdesc I
[S] s.cq * -1 detected as ^^> getBaseY() desc I fdesc I
[S] ev.ho * -1 detected as ^^> getPlane() desc I fdesc I
[S] y.l detected as ^^> getTileFlags() desc [[[B fdesc [[[B
[S] y.p detected as ^^> getTileHeights() desc [[[I fdesc [[[I
[S] client.io * -2010021751 detected as ^^> getMenuCount() desc I fdesc I
[S] client.b * 1475713196 detected as ^^> getLoopCycle() desc I fdesc I
Widget detected as ^^> fi implements org/shadowbot/osrs/client/accessories/IWidget
[N] fi.dn detected as ^^> getChildren() desc [Lfi; fdesc [Lorg/shadowbot/osrs/client/accessories/IWidget;
[N] fi.bc detected as ^^> getParent() desc Lfi; fdesc Lorg/shadowbot/osrs/client/accessories/IWidget;
[N] fi.aj * 958641033 detected as ^^> getModelType() desc I fdesc I
[N] fi.ba detected as ^^> getActions() desc [Ljava/lang/String; fdesc [Ljava/lang/String;
[N] fi.br detected as ^^> getText() desc Ljava/lang/String; fdesc Ljava/lang/String;
[N] fi.bv detected as ^^> getName() desc Ljava/lang/String; fdesc Ljava/lang/String;
[N] fi.ah * -324863453 detected as ^^> getTextColor() desc I fdesc I
[N] fi.b * -47615529 detected as ^^> getRelativeX() desc I fdesc I
[N] fi.x * 2027951925 detected as ^^> getRelativeY() desc I fdesc I
[N] fi.t * -533250970 detected as ^^> getWidth() desc I fdesc I
[N] fi.f * 94096743 detected as ^^> getHeight() desc I fdesc I
[N] fi.j detected as ^^> isHidden() desc Z fdesc Z
[N] fi.n * -1309562047 detected as ^^> getIndex() desc I fdesc I
[N] fi.ao * 1804824873 detected as ^^> getRotationX() desc I fdesc I
[N] fi.bj * 1939922359 detected as ^^> getRotationY() desc I fdesc I
[N] fi.bo * 657735553 detected as ^^> getRotationZ() desc I fdesc I
[N] fi.g * -2002774201 detected as ^^> getContentType() desc I fdesc I
[N] fi.q * -1287762657 detected as ^^> getScrollX() desc I fdesc I
[N] fi.z * 263918959 detected as ^^> getScrollY() desc I fdesc I
[N] fi.au * 1345564568 detected as ^^> getTextureId() desc I fdesc I
[N] fi.ak * -1794564355 detected as ^^> getModelId() desc I fdesc I
[N] fi.as * -554464291 detected as ^^> getBorderThickness() desc I fdesc I
[N] fi.r * 121626956 detected as ^^> getType() desc I fdesc I
[N] fi.ds * -860830795 detected as ^^> getStaticPosition() desc I fdesc I
NPCComposite detected as ^^> aa implements org/shadowbot/osrs/client/accessories/INPCComposite
[N] aa.a detected as ^^> getName() desc Ljava/lang/String; fdesc Ljava/lang/String;
[N] aa.t detected as ^^> getActions() desc [Ljava/lang/String; fdesc [Ljava/lang/String;
[N] aa.o * -727775171 detected as ^^> getId() desc I fdesc I
[N] aa.ar detected as ^^> isClickable() desc Z fdesc Z
[N] aa.z detected as ^^> isVisable() desc Z fdesc Z
ItemComposite detected as ^^> as implements org/shadowbot/osrs/client/accessories/IItemComposite
[N] as.h detected as ^^> isMembers() desc Z fdesc Z
[N] as.m detected as ^^> getName() desc Ljava/lang/String; fdesc Ljava/lang/String;
PlayerComposite detected as ^^> fr implements org/shadowbot/osrs/client/accessories/IPlayerComposite
[N] fr.d detected as ^^> isFemale() desc Z fdesc Z
[N] fr.l detected as ^^> getEquipment() desc [I fdesc [I
ProjectileComposite detected as ^^> ar implements org/shadowbot/osrs/client/accessories/IProjectileComposit
NPC detected as ^^> q implements org/shadowbot/osrs/client/accessories/INPC
[N] q.p detected as ^^> getNpcComposite() desc Laa; fdesc Lorg/shadowbot/osrs/client/accessories/INPCComposite;
Actor detected as ^^> af implements org/shadowbot/osrs/client/accessories/IActor
[N] af.ad * 1578023687 detected as ^^> getAnimation() desc I fdesc I
[N] af.h detected as ^^> isAnimating() desc Z fdesc Z
[N] af.aw detected as ^^> getSpokenMessage() desc Ljava/lang/String; fdesc Ljava/lang/String;
[N] af.aj * 1447246719 detected as ^^> getInteractingIndex() desc I fdesc I
[N] af.k * -822402119 detected as ^^> getX() desc I fdesc I
[N] af.t * 1567553858 detected as ^^> getY() desc I fdesc I
[N] af.as detected as ^^> getHitCycles() desc [I fdesc [I
[N] af.an detected as ^^> getHitTypes() desc [I fdesc [I
[N] af.al detected as ^^> getHitDamages() desc [I fdesc [I
[N] af.bt * 162969490 detected as ^^> getOrientation() desc I fdesc I
[N] af.ao * -1408094945 detected as ^^> getHealth() desc I fdesc I
[N] af.ad * 1578023687 detected as ^^> getMaxHealth() desc I fdesc I
Model detected as ^^> dl implements org/shadowbot/osrs/client/accessories/IModel
Player detected as ^^> d implements org/shadowbot/osrs/client/accessories/IPlayer
[N] d.l detected as ^^> getPlayerComposite() desc Lfr; fdesc Lorg/shadowbot/osrs/client/accessories/IPlayerComposite;
[N] d.e detected as ^^> getModel() desc Ldl; fdesc Lorg/shadowbot/osrs/client/accessories/IModel;
[N] d.p detected as ^^> getName() desc Ljava/lang/String; fdesc Ljava/lang/String;
[N] d.x * -430801897 detected as ^^> getSkullIcon() desc I fdesc I
CacheNode detected as ^^> fe implements org/shadowbot/osrs/client/accessories/ICacheNode
CollisionMap detected as ^^> dc implements org/shadowbot/osrs/client/accessories/ICollisionMap
Node detected as ^^> fn implements org/shadowbot/osrs/client/accessories/INode
[N] fn.do detected as ^^> getUid() desc J fdesc J
[N] fn.dc detected as ^^> getNext() desc Lfn; fdesc Lorg/shadowbot/osrs/client/accessories/INode;
[N] fn.ea detected as ^^> getPrevious() desc Lfn; fdesc Lorg/shadowbot/osrs/client/accessories/INode;
NodeHashTable detected as ^^> fd implements org/shadowbot/osrs/client/accessories/INodeHashTable
[N] fd.l detected as ^^> getBuckets() desc [Lfn; fdesc [Lorg/shadowbot/osrs/client/accessories/INode;
WidgetNode detected as ^^> x implements org/shadowbot/osrs/client/accessories/IWidgetNode
[N] x.p * -443735481 detected as ^^> getId() desc I fdesc I
GameObject detected as ^^> cq implements org/shadowbot/osrs/client/accessories/IGameObject
[N] cq.o detected as ^^> getRenderable() desc Lcy; fdesc Lorg/shadowbot/osrs/client/accessories/IRenderable;
[N] cq.e * -1 detected as ^^> getId() desc I fdesc I
[N] cq.p * 644713415 detected as ^^> getPlane() desc I fdesc I
[N] cq.w * 1295351185 detected as ^^> getRelativeX() desc I fdesc I
[N] cq.m * 648046773 detected as ^^> getRelativeY() desc I fdesc I
[N] cq.p * 644713415 detected as ^^> getOffsetX() desc I fdesc I
[N] cq.m * 648046773 detected as ^^> getOffsetY() desc I fdesc I
[N] cq.d * 1415747019 detected as ^^> getX() desc I fdesc I
[N] cq.x * 105285191 detected as ^^> getY() desc I fdesc I
[N] cq.l * 1787021057 detected as ^^> getZ() desc I fdesc I
[N] cq.a * 1717635003 detected as ^^> getOrientation() desc I fdesc I
[N] cq.r * -396044895 detected as ^^> getFlags() desc I fdesc I
GroundRegion detected as ^^> cr implements org/shadowbot/osrs/client/accessories/IRegion
[N] cr.a detected as ^^> getGroundTiles() desc [[[Lcl; fdesc [[[Lorg/shadowbot/osrs/client/accessories/IGroundTile;
[N] cr.y detected as ^^> getGameObjects() desc [Lcq; fdesc [Lorg/shadowbot/osrs/client/accessories/IGameObject;
GroundTile detected as ^^> cl implements org/shadowbot/osrs/client/accessories/IGroundTile
[N] cl.w detected as ^^> getBoundary() desc Lcf; fdesc Lorg/shadowbot/osrs/client/accessories/IBoundary;
[N] cl.y detected as ^^> getFloorDecoration() desc Ldj; fdesc Lorg/shadowbot/osrs/client/accessories/IFloorDecoration;
[N] cl.i detected as ^^> getWallObject() desc Ldm; fdesc Lorg/shadowbot/osrs/client/accessories/IWallObject;
[N] cl.s detected as ^^> getGameObjects() desc [Lcq; fdesc [Lorg/shadowbot/osrs/client/accessories/IGameObject;
Projectile detected as ^^> m implements org/shadowbot/osrs/client/accessories/IProjectile
GameObjectComposite detected as ^^> ae implements org/shadowbot/osrs/client/accessories/IGameObjectComposite
[N] ae.s detected as ^^> getName() desc Ljava/lang/String; fdesc Ljava/lang/String;
[N] ae.ah detected as ^^> getActions() desc [Ljava/lang/String; fdesc [Ljava/lang/String;
Renderable detected as ^^> cy implements org/shadowbot/osrs/client/accessories/IRenderable
[N] cy.bh * -1 detected as ^^> getModelHeight() desc I fdesc I
DequeList detected as ^^> fm implements org/shadowbot/osrs/client/accessories/IDequeList
[N] fm.p detected as ^^> getHead() desc Lfn; fdesc Lorg/shadowbot/osrs/client/accessories/INode;
[N] fm.l detected as ^^> getNext() desc Lfn; fdesc Lorg/shadowbot/osrs/client/accessories/INode;
WallObject detected as ^^> dm implements org/shadowbot/osrs/client/accessories/IWallObject
[N] dm.i detected as ^^> getRenderable() desc Lcy; fdesc Lorg/shadowbot/osrs/client/accessories/IRenderable;
[N] dm.y detected as ^^> getRenderable1() desc Lcy; fdesc Lorg/shadowbot/osrs/client/accessories/IRenderable;
[N] dm.m * -1 detected as ^^> getId() desc I fdesc I
[N] dm.p * 102145065 detected as ^^> getPlane() desc I fdesc I
[N] dm.l * 1059137573 detected as ^^> getX() desc I fdesc I
[N] dm.d * 1665398555 detected as ^^> getY() desc I fdesc I
[N] dm.o * 1837258279 detected as ^^> getOrientation() desc I fdesc I
[N] dm.u * 473372305 detected as ^^> getFlags() desc I fdesc I
Boundary detected as ^^> cf implements org/shadowbot/osrs/client/accessories/IBoundary
[N] cf.a detected as ^^> getRenderable() desc Lcy; fdesc Lorg/shadowbot/osrs/client/accessories/IRenderable;
[N] cf.i * -1 detected as ^^> getId() desc I fdesc I
[N] cf.p * 915352357 detected as ^^> getPlane() desc I fdesc I
[N] cf.l * 2033256605 detected as ^^> getX() desc I fdesc I
[N] cf.d * 77455911 detected as ^^> getY() desc I fdesc I
[N] cf.x * -738096157 detected as ^^> getOrientationTwo() desc I fdesc I
[N] cf.o * -1121828537 detected as ^^> getOrientation() desc I fdesc I
[N] cf.y * -1011953033 detected as ^^> getFlags() desc I fdesc I
FloorDecoration detected as ^^> dj implements org/shadowbot/osrs/client/accessories/IFloorDecoration
[N] dj.x detected as ^^> getRenderable() desc Lcy; fdesc Lorg/shadowbot/osrs/client/accessories/IRenderable;
[N] dj.o * -1 detected as ^^> getId() desc I fdesc I
[N] dj.p * -533012019 detected as ^^> getPlane() desc I fdesc I
[N] dj.l * -1919544959 detected as ^^> getX() desc I fdesc I
[N] dj.d * 418793159 detected as ^^> getY() desc I fdesc I
[N] dj.a * -2046870043 detected as ^^> getFlags() desc I fdesc I
Item detected as ^^> c implements org/shadowbot/osrs/client/accessories/IItem
[N] c.p * 1247617319 detected as ^^> getId() desc I fdesc I
[N] c.l * 1153687903 detected as ^^> getStackSize() desc I fdesc I
-^^-^^> 28/28 classes transformed.
-^^-^^> 137/137 fields transformed.
-^^-^^> 63/75 multipliers found.
-^^-^^> Analyzed Classes in 1189 MS!!
--------> Magorium Updater <--------

vizzyy
01-31-2014, 03:44 PM
Thank you for your expedient response, sir. If you wouldn't mind, why is it that hooks need to be updated, or rather, the reason they become outdated? And what is the purpose of hooks, do they pull the information from the SMART client? Thanks for your time.

joulaha
02-06-2014, 11:15 AM
Outdated regarding the update? :(

Turpinator
02-16-2014, 01:50 AM
Outdated regarding the update? :(


{current revision corresponds to elfyyys include. get new hooks there or somewhere else.}
{updated ones should be at http://osrreflection.googlecode.com/git/Core/Hooks.simba}
(youre supposed to get the updated ones from there...)

Pakyakkistan
02-21-2014, 12:12 AM
What do you use to replace the hooks within the Walking Path thing to get the hooks to be correct? Checked the Hooks, and, there is nothing in the Hooks that is named the constants in the Walking Path thing. Can't you just include the Hooks into the script on start up so you wouldn't have to declare the Const within the script itself?
Edit:Never mind, just used GetTileGlobal and printed to debug. Totally didn't see the Reflection include at the bottom of the include function list....

ry0240
02-22-2015, 03:36 PM
Thanks for this, does anybody know if there's another utility-like script that displays all the main screen tiles on smart? I remember there was one for the pascal version of reflection made by Frement, if not, how do you guys go about finding certain tile points that you want to be used in a script?