SRL Archive - Help and Support

Reflection ID/Interface Question


Pure1993

2009-06-02 23:04:16

Hey guys,
Got a tiny question concerning reflection…
Is it possible to get some type of ID for "items" located in the chat window?
Example:


Now, a general question: Is there a some kind of text in which functions like: SmartGetFieldInt are listed and explained? I'd be interested in developing some reflection functions, but at the moment, I am only able to use, not create, and I don't know how to go about learning those things, except from looking through the includes… :S

Thanks in advance,
Pure1993 (a.k.a. Stur Pure… still waiting for that name change… ;))

ShowerThoughts

2009-06-02 23:06:47

Hmm, so you're working on a fletcher not a fighting script?

Richard

2009-06-02 23:10:13

I don't think that its possible to do this, but it may be. Have you tried to RSBot debugger?

If it doesn't work, I made a fletching function that supports all bows, look in the skills SVN.

Pure1993

2009-06-02 23:13:05

From: Richard
I don't think that its possible to do this, but it may be. Have you tried to RSBot debugger?

If it doesn't work, I made a fletching function that supports all bows, look in the skills SVN.


alright, thanks, I'll look for the debugger then… (didn't even know that existed… have never been on rsbot… got all my IDs through scar… hell of a work… xD)

Naike

2009-06-02 23:36:16

Remember, Color is faster then Reflection.

So if it can be done easier in Color, then do it that way.

ShowerThoughts

2009-06-02 23:41:10

From: N1ke!
Remember, Color is faster then Reflection.

So if it can be done easier in Color, then do it that way.


I told him that already.

Pure1993

2009-06-02 23:56:55

From: Hermen
I told him that already.


Yeah, sure w/e… go ahead and blame me for wanting to learn.. :p

Anyway, thanks for the fast answers. I guess I will have to rely upon one line of color: "GetColor"… there goes my dream of a 100% ref script xD

Method

2009-06-03 02:31:31

The information for each bow is probably found in one of the model fields of each of those interfaces. I'm not sure which interface that is (you'll have to figure it out), but try debugging it with RSBot or KBot (which has a better debug for interfaces).

Also, don't feel compelled to use only reflection or only color because of what people say or what claims they make about either of them. Experiment with both if you're interested in both and decide for yourself.

Waddo

2009-06-11 17:45:13

I used to have a rsbot debugger type thing dont know if it still works
will try find it in a minute