SRL Archive - Reflection Discussion

newbie question[s]


TomTuff

2009-06-12 07:24:46

1. WHAT ARE HOOKS?

2. WHAT'S THE EASIEST WAY TO UPDATE REFLECTION?

3. WHAT ARE THE BASICS OF REFLECTION (I.E. WHATS THE GIST OF HOW IT WORKS)?

4. DOES REFLECTION COME WITH SRL?

thankyou :)

ian.

2009-06-12 07:27:39

1. Hooks are ID's/tiles/ways to recognize them, I believe.
2. Add SetupReflection; right after SetupSRL; ;)
3. It get's tiles and ID's and then does what color scripts do, but instead of color, it looks at tiles/ID's :]
4. if you get the open-dev rev it does, I believe. I'm not sure about public rev..

TomTuff

2009-06-12 07:29:47

From: 99_

2. Add SetupReflection; right after SetupSRL; ;)


so wait i don't need to download anything…?

ian.

2009-06-12 07:31:42

You need to have the Reflection folder.. srl/srl is where it's at :] (or should be, if you have it).

TomTuff

2009-06-12 07:32:49

ok then u have misunderstood my question number 2 then :P i have that, but tortoise svn has a bunch of red checkmarks even though i just checked it out at http://scarreflection.googlecode.com/svn/trunk/ …?

senrath

2009-06-12 07:35:07

Reflection does not, and probably never will, come with SRL. It's a separate thing.

Edit: Delete your reflection folder, then recheck it out from this url:
http://scardevreflection.googlecode.com/svn/trunk/

That's the dev repository, which is better (for the most part) than the "public" repository.

ian.

2009-06-12 07:38:54

that's not the open-dev rev ;] get that one and you'll have ref :]

TomTuff

2009-06-12 07:43:52

From: 99_
that's not the open-dev rev ;] get that one and you'll have ref :]


what's the trunk url for the open-dev rev?

[lulz-ensue]dev and rev rhyme… aren't i sartm person?[/lulz-ensue]

senrath

2009-06-12 08:01:58

From: tomtuff
what's the trunk url for the open-dev rev?

[lulz-ensue]dev and rev rhyme… aren't i sartm person?[/lulz-ensue]


Check my previous post.

Method

2009-06-12 09:05:19

To clarify numbers one and three:

Hooks are fields (variables) with the game client that have been identified that are associated with certain things within the game. For example, there is a variable for your game character that holds information on its location, orientation, animation, etc. Each of those properties is a field (or hook) and can be accessed through reflection.

Reflection goes through the client and accesses these fields using the features of the java.lang.reflect package that have been included within SMART for us. After accessing them, we can do calculations to figure out locations of objects, the text an interface has, and almost anything else you want to find out.

Nava2

2009-06-12 09:27:00

Just so you know, reflection us not in any SRL Rev.