SRL Archive - Reflection Discussion

Ummmm


rogeruk

2009-10-05 18:44:25

Stupid topic name yaya

Build 564

Updated some stuff, more to come.
It'll soon work as before :)

// N1ke!
Any offical info about this? :P

YoHoJo

2009-10-05 18:45:41

…?

Rich

2009-10-05 18:46:46

What's the discussion meant to be about? Reflection being updated soon? :confused:

rogeruk

2009-10-05 18:50:32

Off the SVN it just updated for me.

Rich

2009-10-05 18:52:11

From: rogeruk
Off the SVN it just updated for me.


Oooh. Thanks. Does this involved temp. or perm. fixes, or don't you know?

EDIT: SvN didn't update it for me :confused:

What link are you using to download it through?

rogeruk

2009-10-05 18:54:47

http://scardevreflection.googlecode.com/svn/trunk ?

Rich

2009-10-05 19:09:03

From: rogeruk
http://scardevreflection.googlecode.com/svn/trunk ?


Ah, that'll be why. I put the link that wasn't the dev rev. Thanks for that. :)

Gu3st...

2009-10-05 19:17:41

Still a lot of "null"'s in hooks.scar

rogeruk

2009-10-05 19:49:21

From: Zyt3x
Still a lot of "null"'s in hooks.scar


Yeap but its enough you get you excited lol. :D

Cant wait

Narcle

2009-10-05 20:15:00

I've heard progress is being made? Which is good timing, I'm itching to use it again. /scratches back

alar82

2009-10-05 21:35:11

Well TileToMS converts tile to wrong coordinates, way off like 10k pixels.
However tile finding from client is fine, tiles are same coords as before.
Aint there a method for clicking tile directly,without converting?

Naike

2009-10-05 23:32:14

I am going to do some work on/off for reflection.

Fixing and redoing some parts that doesn't work anymore.
Don't expect everything to be 100% by tomorrow ;)

Progress is being made however, yeah…

mormonman

2009-10-06 00:15:16

From: N1ke!
I am going to do some work on/off for reflection.

Fixing and redoing some parts that doesn't work anymore.
Don't expect everything to be 100% by tomorrow ;)

Progress is being made however, yeah…


In tandem with Method? Maybe I should start trying to help…

Gu3st...

2009-10-06 00:24:48

From: mormonman
In tandem with Method? Maybe I should start trying to help…
I think we need more people to maintain reflection

Method

2009-10-06 00:56:39

Somebody said tile walking was working (maybe RM or N1ke), and player and npc finding should work also.

Naike

2009-10-06 01:58:02

Method, you really need to update that CPU of yours..

I told you last night, that both Player, NPC and Walking is working.
Some parts might be partly broken.

Also, mormonman, get on MSN asap.

rogeruk

2009-10-06 02:00:08

From: N1ke!
Method, you really need to update that CPU of yours..

I told you last night, that both Player, NPC and Walking is working.
Some parts might be partly broken.

Also, mormonman, get on MSN asap.


Confirmed also. Happy to test if ever needs to be.

TileToMS updated or?

Method

2009-10-06 03:21:10

From: N1ke!
Method, you really need to update that CPU of yours..

I told you last night, that both Player, NPC and Walking is working.
Some parts might be partly broken.

Also, mormonman, get on MSN asap.


I was right then…..

alar82

2009-10-11 20:47:10

Hey, got still same problem.
Trying to left click some ground near me(startpos) and red dot still goes away from screen:/ into some mystical coords shown in reportbox.

Method

2009-10-11 20:51:33

TileToMs hasn't been fixed (and I've never claimed to have fixed it), so no main screen clicking will work.

Did somebody say otherwise??

AwesomeSRL

2009-10-16 15:10:28

From: Method
TileToMs hasn't been fixed (and I've never claimed to have fixed it), so no main screen clicking will work.

Did somebody say otherwise??


No, I think that sounds about right. I havent seen any changed being done to TileToMs, and on top of that Reflection scripts still aren't doing the first task of just logging in. Also when I login for it, it cant ever find what it is supposed to correctly and just does random clicks everywhere.

Smarter Child

2009-10-16 19:24:46

From: AwesomeSRL
No, I think that sounds about right. I havent seen any changed being done to TileToMs, and on top of that Reflection scripts still aren't doing the first task of just logging in. Also when I login for it, it cant ever find what it is supposed to correctly and just does random clicks everywhere.


Just use, LoginPlayer from SRL for now.

AwesomeSRL

2009-10-17 15:34:36

From: Smarter Child
Just use, LoginPlayer from SRL for now.


Even when I edit the script to do such, it still doesnt detect any of the items that the script uses which are inside my bank and end the script saying it cannot be found when I can clearly see it myself. =[

Ahh well, I think it will get fixed if all the hooks are done being update… :p

rogeruk

2009-10-17 19:20:57

From: AwesomeSRL
Even when I edit the script to do such, it still doesnt detect any of the items that the script uses which are inside my bank and end the script saying it cannot be found when I can clearly see it myself. =[

Ahh well, I think it will get fixed if all the hooks are done being update… :p


Only certain parts are updated and working. Wait for fully updated release.

JPHamlett

2009-10-18 00:43:41

From: rogeruk
Only certain parts are updated and working. Wait for fully updated release.


lol sence the last update of hooks NPC fnding is broken again

Method

2009-10-18 11:36:43

From: J_Pizzle
lol sence the last update of hooks NPC fnding is broken again


Hooks.scar hasn't been updated for revision 567, so nothing works. :confused:

JPHamlett

2009-10-18 14:38:27

ohhhhhhhhhhh ok

killhack95

2009-10-26 13:49:52

Someone said more peopple are needed to maintain reflection?
Well if theres a need for some sort of stuff with other programming languages (c++ to be more exact) i could help if needed.

Baked0420

2009-10-26 14:10:53

killhack, reflection is only done in Java (the hooks, which is what people want maintained) as far as I know, the include might have some stuff from C++ through plug-ins, but no clue.

EDIT: another update today, so we're at RSBuild 568 then?

stein3

2009-10-26 16:51:26

I'm still waiting for reflection to work before I relearn SCAR/SRL. It's changed a lot since I stopped programming (just when SMART was introduced).

Method

2009-10-26 17:05:59

From: Baked0420
killhack, reflection is only done in Java (the hooks, which is what people want maintained) as far as I know, the include might have some stuff from C++ through plug-ins, but no clue.

EDIT: another update today, so we're at RSBuild 568 then?


RuneScape is at build #569 right now.

Wanted

2009-10-27 10:42:31

Ello mate, just wanted to inform you that RSBot is up and running with the new RuneTek5, i've heard that you use the same Hooks and Tiles.
Borrowing abit wouln't be a crime


Why don't we borrow some hooks? They are exactly the same…:duh:

Bobarkinator

2009-10-27 11:57:36

From: IceFire908
Why don't we borrow some hooks? They are exactly the same…:duh:


I personally, and I think some others, feel that if we did that we would basically be losers. We should be able to find our own hooks.

Cartmann

2009-10-27 15:00:28

Nr. 1 rule in math:
Be lazy …
No need to do double work. That's basicly the reason why we have procedures, instead of just writeing them over and over again.

Wanted

2009-10-27 19:32:17

From: Bobarkinator
I personally, and I think some others, feel that if we did that we would basically be losers. We should be able to find our own hooks.


As great as that sounds, no one would ever know… and from the looks of things we aren't going to 'find our own' anytime soon.

stein3

2009-10-27 20:41:02

Why not ask someone else who has done hook work to join up with SCAR/Freddie/SRL?
I'm sure they'd be willing to help and/or donate their findings.

MylesMadness

2009-10-27 21:01:01

From: Bobarkinator
I personally, and I think some others, feel that if we did that we would basically be losers. We should be able to find our own hooks.
Its more loser to not have working reflection by now…

Bobarkinator

2009-10-27 21:42:22

From: IceFire908
As great as that sounds, no one would ever know… and from the looks of things we aren't going to 'find our own' anytime soon.


From: MylesMadness
Its more loser to not have working reflection by now…


Yeah, you guys are both right. If you feel that way, then just simply get the hooks and use them yourself, share with whoever you want. Nothing is stopping you. I just feel like it's stealing and don't like to do it.

Wanted

2009-10-27 21:58:38

I'm not exactly sure where to get them from…

anyone mind pastebin ing them?

Bobarkinator

2009-10-27 22:25:16

http://www.rsbot.org/vb/

Get RSBot-Ver.jar from SVN or direct download. Extract class files from .jar. Decompile using JAD or JODE (I recommend JAD). Start looking through all the files for accessors. Those are the hooks you need.

JPHamlett

2009-10-29 20:12:47

From: Bobarkinator
http://www.rsbot.org/vb/

Get RSBot-Ver.jar from SVN or direct download. Extract class files from .jar. Decompile using JAD or JODE (I recommend JAD). Start looking through all the files for accessors. Those are the hooks you need.


Cant find it lol ive been looking for ever

Bobarkinator

2009-10-29 20:30:39

http://code.google.com/p/rsbotsvn/

JPHamlett

2009-10-29 20:59:44

stillc ant find the .jar file i can only find the rs.jar which wont open

Bobarkinator

2009-10-29 21:30:18

http://rsbotsvn.googlecode.com/svn/trunk/

Check out from there, run Compile.bat on Windows, or Makefile on Linux

Wanted

2009-10-30 20:32:40

From: Bobarkinator
http://www.rsbot.org/vb/

Get RSBot-Ver.jar from SVN or direct download. Extract class files from .jar. Decompile using JAD or JODE (I recommend JAD). Start looking through all the files for accessors. Those are the hooks you need.


couldn't find any hooks man :(

JPHamlett

2009-10-30 22:10:30

From: IceFire908
couldn't find any hooks man :(


me neither lol

Method

2009-10-31 02:33:47

what

	public final int[] getRSNPCIndexArray()
{
return g.V;
}

public final RSNPC[] getRSNPCArray()
{
return ce.s;
}

public final int getRSNPCCount()
{
return kk.X;
}

public final int[] getRSPlayerIndexArray()
{
return gg.h;
}

public final RSPlayer[] getRSPlayerArray()
{
return i.b;
}

public final int getRSPlayerCount()
{
return ni.W;
}

public final int getBaseX()
{
return ik.R;
}

public final RSPlayer getMyRSPlayer()
{
return ck.T;
}

public final int getBaseY()
{
return wc.H;
}

public final int getPublicChatMode()
{
return ae.h;
}

public final int getLoopCycle()
{
return ng.h;
}

public final int getSelfInteracting()
{
return cj.f;
}

public final byte[][][] getGroundByteArray()
{
return ua.S;
}

public final int[][][] getGroundIntArray()
{
return gn.x;
}

public final int getPlane()
{
return lf.i;
}

public final int getCamPosX()
{
return si.n;
}

public final int getCamPosY()
{
return sl.p;
}

public final int getCamPosZ()
{
return ka.y;
}

public final int getCameraPitch()
{
return se.n;
}

public final int getCameraYaw()
{
return sn.E;
}

public final Rectangle[] getRSInterfaceBoundsArray()
{
return bj.A;
}

public final boolean[] getValidRSInterfaceArray()
{
return gh.d;
}

public final String getCurrentUsername()
{
return pj.f;
}

public final String getCurrentPassword()
{
return rh.P;
}

public final RSInterface[][] getRSInterfaceCache()
{
return r.H;
}

public final MouseWheel getMouseWheel()
{
return bh.b;
}

public final Mouse getMouse()
{
return sf.r;
}

public final Keyboard getKeyboard()
{
return fl.o;
}

public final Callback getCallback()
{
return callback;
}

public final void setCallback(Callback arg0)
{
callback = arg0;
}

public final int getLoginIndex()
{
return qr.ed;
}

public final int[] getSettingArray()
{
return ie.N;
}

public final int[] getSkillExperiencesMax()
{
return af.n;
}

public final int getMinimapScale()
{
return ve.k;
}

public final int[] getCURVECOS()
{
return bq.e;
}

public final int[] getCURVESIN()
{
return bq.a;
}

public final int getMinimapSetting()
{
return lf.g;
}

public final int getMinimapAngle()
{
return qj.G;
}

public final float getMinimapOffset()
{
return fl.n;
}

public final boolean isSpellSelected()
{
return qq.g;
}

public final int isItemSelected()
{
return fb.P;
}

public final String getSelectedItemName()
{
return jc.x;
}

public final NodeCache getRSItemNodeCache()
{
return ii.h;
}

public final StatusNodeList getRSInteractingDefList()
{
return ae.d;
}

public final RSGround[][][] getRSGroundArray()
{
return rp.j;
}

public final String[] getChatMessages()
{
return eh.c;
}

public final String[] getChatNames()
{
return na.f;
}

public final int[] getChatTypes()
{
return eh.l;
}

public final int getMenuOptionsCount()
{
return he.c;
}

public final boolean isMenuOpen()
{
return bo.S;
}

public final int getMenuX()
{
return ma.Z;
}

public final int getMenuY()
{
return am.f;
}

public final NodeList getActionDataList()
{
return fk.h;
}

public final Signlink getSignlink()
{
return l.h;
}

public final boolean isFlagged()
{
return op.b;
}

public final MRUNodes getRSItemDefMRUNodes()
{
return qf.g;
}

public final boolean isMembers()
{
return bo.w;
}

public final MRUNodes getRSObjectDefMRUNodes()
{
return vj.g;
}

public final int getDestX()
{
return hd.n;
}

public final int getDestY()
{
return hd.n;
}

public final int getDetailLevel()
{
return fc.f;
}

public final TileData[] getTileData()
{
return tf.p;
}

public final RSGroundData[] getRSGroundDataArray()
{
return kk.U;
}

public final int[] getSkillLevels()
{
return iq.e;
}

public final int[] getSkillExperiences()
{
return gh.m;
}

public final int[] getSkillLevelMaxes()
{
return cd.c;
}

public final NodeCache getRSInterfaceNC()
{
return rk.e;
}

public final int getGUIRSInterfaceIndex()
{
return gr.D;
}

rogeruk

2009-10-31 10:36:05

Those will work?

Nava2

2009-10-31 10:38:04

From: rogeruk
Those will work?


Should, but is the include updated?

rogeruk

2009-10-31 10:38:55

I tried putting those in the Hooks.scar but scar just crashes now when i try to use reflection.

MylesMadness

2009-10-31 11:06:38

From: rogeruk
I tried putting those in the Hooks.scar but scar just crashes now when i try to use reflection.
Did you replace the includes in hooks.scar with those? You have to hand do it

rogeruk

2009-10-31 11:12:16

Replaced all that i could see were the same some are called different or not used.

Wanted

2009-10-31 16:27:31

From: Method
what

	public final int[] getRSNPCIndexArray()
{
return g.V;
}

public final RSNPC[] getRSNPCArray()
{
return ce.s;
}

public final int getRSNPCCount()
{
return kk.X;
}

public final int[] getRSPlayerIndexArray()
{
return gg.h;
}

public final RSPlayer[] getRSPlayerArray()
{
return i.b;
}

public final int getRSPlayerCount()
{
return ni.W;
}

public final int getBaseX()
{
return ik.R;
}

public final RSPlayer getMyRSPlayer()
{
return ck.T;
}

public final int getBaseY()
{
return wc.H;
}

public final int getPublicChatMode()
{
return ae.h;
}

public final int getLoopCycle()
{
return ng.h;
}

public final int getSelfInteracting()
{
return cj.f;
}

public final byte[][][] getGroundByteArray()
{
return ua.S;
}

public final int[][][] getGroundIntArray()
{
return gn.x;
}

public final int getPlane()
{
return lf.i;
}

public final int getCamPosX()
{
return si.n;
}

public final int getCamPosY()
{
return sl.p;
}

public final int getCamPosZ()
{
return ka.y;
}

public final int getCameraPitch()
{
return se.n;
}

public final int getCameraYaw()
{
return sn.E;
}

public final Rectangle[] getRSInterfaceBoundsArray()
{
return bj.A;
}

public final boolean[] getValidRSInterfaceArray()
{
return gh.d;
}

public final String getCurrentUsername()
{
return pj.f;
}

public final String getCurrentPassword()
{
return rh.P;
}

public final RSInterface[][] getRSInterfaceCache()
{
return r.H;
}

public final MouseWheel getMouseWheel()
{
return bh.b;
}

public final Mouse getMouse()
{
return sf.r;
}

public final Keyboard getKeyboard()
{
return fl.o;
}

public final Callback getCallback()
{
return callback;
}

public final void setCallback(Callback arg0)
{
callback = arg0;
}

public final int getLoginIndex()
{
return qr.ed;
}

public final int[] getSettingArray()
{
return ie.N;
}

public final int[] getSkillExperiencesMax()
{
return af.n;
}

public final int getMinimapScale()
{
return ve.k;
}

public final int[] getCURVECOS()
{
return bq.e;
}

public final int[] getCURVESIN()
{
return bq.a;
}

public final int getMinimapSetting()
{
return lf.g;
}

public final int getMinimapAngle()
{
return qj.G;
}

public final float getMinimapOffset()
{
return fl.n;
}

public final boolean isSpellSelected()
{
return qq.g;
}

public final int isItemSelected()
{
return fb.P;
}

public final String getSelectedItemName()
{
return jc.x;
}

public final NodeCache getRSItemNodeCache()
{
return ii.h;
}

public final StatusNodeList getRSInteractingDefList()
{
return ae.d;
}

public final RSGround[][][] getRSGroundArray()
{
return rp.j;
}

public final String[] getChatMessages()
{
return eh.c;
}

public final String[] getChatNames()
{
return na.f;
}

public final int[] getChatTypes()
{
return eh.l;
}

public final int getMenuOptionsCount()
{
return he.c;
}

public final boolean isMenuOpen()
{
return bo.S;
}

public final int getMenuX()
{
return ma.Z;
}

public final int getMenuY()
{
return am.f;
}

public final NodeList getActionDataList()
{
return fk.h;
}

public final Signlink getSignlink()
{
return l.h;
}

public final boolean isFlagged()
{
return op.b;
}

public final MRUNodes getRSItemDefMRUNodes()
{
return qf.g;
}

public final boolean isMembers()
{
return bo.w;
}

public final MRUNodes getRSObjectDefMRUNodes()
{
return vj.g;
}

public final int getDestX()
{
return hd.n;
}

public final int getDestY()
{
return hd.n;
}

public final int getDetailLevel()
{
return fc.f;
}

public final TileData[] getTileData()
{
return tf.p;
}

public final RSGroundData[] getRSGroundDataArray()
{
return kk.U;
}

public final int[] getSkillLevels()
{
return iq.e;
}

public final int[] getSkillExperiences()
{
return gh.m;
}

public final int[] getSkillLevelMaxes()
{
return cd.c;
}

public final NodeCache getRSInterfaceNC()
{
return rk.e;
}

public final int getGUIRSInterfaceIndex()
{
return gr.D;
}


Where did you find those in rsbot? I looked everywhere

Method

2009-10-31 16:30:38

From: IceFire908
Where did you find those in rsbot? I looked everywhere


I just decompiled the client class inside rs.jar.

Wanted

2009-10-31 16:36:16

From: Method
I just decompiled the client class inside rs.jar.


holy****

so will this work?

Edit :-/

JPHamlett

2009-10-31 18:28:59

From: IceFire908
holy****

so will this work?

Edit :-/


you need to replace them with the hooks but in scar format but i cant figure out what all the hooks mean

rogeruk

2009-10-31 18:50:56

Method, any help? :)

Wanted

2009-10-31 18:53:54

From: J_Pizzle
you need to replace them with the hooks but in scar format but i cant figure out what all the hooks mean


It's not that simple.

Method

2009-10-31 18:57:34

With what? If you want to grab the hooks from RSBot, you'll need to update both the include and Hooks.scar (just decompile the classes inside rs.jar and you'll be able to locate the different accessor methods throughout it).

rogeruk

2009-10-31 19:04:24

From: Method
With what? If you want to grab the hooks from RSBot, you'll need to update both the include and Hooks.scar (just decompile the classes inside rs.jar and you'll be able to locate the different accessor methods throughout it).


  PlayerIndexArray = 'gg.h';
PlayerArray = 'i.b';
PlayerCount = 'ni.W';
MyPlayer = 'ck.T';

I updated the Hooks.scar as much as i can understand from the classes. What other files need updated then?

Dunno if i even done it right lol.

Method

2009-10-31 19:08:00

Anything that doesn't work right now needs to be updated, which probably means everything except walking, for the most part.

rogeruk

2009-10-31 19:33:40

Too complicated for me lol. I got some parts working like char name and stuff but nothing good.

JPHamlett

2009-11-01 13:50:05

From: rogeruk
Too complicated for me lol. I got some parts working like char name and stuff but nothing good.



me too lol

ape

2009-11-01 22:35:20

I'm going to try to see if I can get this stuff working.

rogeruk

2009-11-06 07:13:25

We have the hooks yet reflection is still not working?

MylesMadness

2009-11-06 07:14:39

Well, for the ease of reflection we use method's updater. But if you got the right hooks you just need to fix walking I think

Narcle

2009-11-06 07:24:21

From: rogeruk
We have the hooks yet reflection is still not working?


From what I gather from Method the methods have changed as well. So I think the functions we currently have in reflection svn have to be rewritten etc.

I'm thinking of doing a push to start updating reflection but I have to talk to Method some more and hopefully get a better understanding of what exactly needs to be fixed or gathered.

Naike

2009-11-06 07:37:15

I've already started with small parts, But Method is busy and havn't had time to supply hooks. When I/We have correct hooks I'll take the effort in fixing the parts I can.

Hopefully with Narcle :wub:

Narcle

2009-11-06 07:39:45

From: N1ke!
I've already started with small parts, But Method is busy and havn't had time to supply hooks. When I/We have correct hooks I'll take the effort in fixing the parts I can.

Hopefully with Narcle :wub:


Java isn't my strong point but I'll most likely engross myself into fixing it soon. Unfortunately we might have to do some reverse engineering again depending how different the new engine changed.

I'm dreading objects mostly. Hopefully I can get n3s on it once again. :p

rogeruk

2009-11-06 18:11:26

Yea maybe posting exactly what needs fixed may help us all do our bit to help get reflection back up.

MylesMadness

2009-11-07 14:17:45

From: Narcle
Java isn't my strong point but I'll most likely engross myself into fixing it soon. Unfortunately we might have to do some reverse engineering again depending how different the new engine changed.

I'm dreading objects mostly. Hopefully I can get n3s on it once again. :p
Him and Bobarker can easily do it. They did it for KYAB and reflection the first time.

Wanted

2009-11-07 14:25:58

From: MylesMadness
Him and Bobarker can easily do it. They did it for KYAB and reflection the first time.


KYAB is a lot easier than smart

rogeruk

2009-11-16 11:40:48

Reflection dead then?

Wanted

2009-11-16 17:42:17

From: rogeruk
Reflection dead then?


Looks like it, gees who would of ever though that would happen.

Method

2009-11-16 19:04:38

From: IceFire908
Looks like it, gees who would of ever though that would happen.


Yay, you were right!!!! Congratulations!!!

Wanted

2009-11-16 19:21:02

From: Method
Yay, you were right!!!! Congratulations!!!


*shock* I love your saracasm.

[serious

Is it really beyond fixing?

/]

Method

2009-11-16 21:18:09

From: IceFire908
*shock* I love your saracasm.


For some reason this seems like it's implying that your post wasn't entirely sarcastic.

From: IceFire908
[serious

Is it really beyond fixing?

/]


No.