SRL Archive - Reflection Help

Poisened


zonfire

2009-08-17 17:14:31

way to know if were poisened using reflection? thanks

mormonman

2009-08-17 17:32:28

just use color on your hp bubble… check to see if it is green.

Method

2009-08-17 18:06:44

There might be an option in the settings array also, try debugging that with a Java bot.

ian.

2009-08-17 23:56:52

Or GetColor of your HP in the top right corner.

zonfire

2009-08-19 15:42:47

yea basically what was thinking, also say i drink a antipoisen will that change item id?

marpis

2009-08-19 22:53:32

From: zonfire
yea basically what was thinking, also say i drink a antipoisen will that change item id?


http://itemdb-rs.runescape.com/Antipoison(1)/viewitem.ws?obj=179
-> ID = 179

http://itemdb-rs.runescape.com/Antipoison(2)/viewitem.ws?obj=177
-> ID = 177

http://itemdb-rs.runescape.com/Antipoison(3)/viewitem.ws?obj=175
-> ID = 175

http://itemdb-rs.runescape.com/Antipoison(4)/viewitem.ws?obj=2446
-> ID = 2446

JPHamlett

2009-08-19 23:00:44

From: marpis
http://itemdb-rs.runescape.com/Antipoison(1)/viewitem.ws?obj=179
-> ID = 179

http://itemdb-rs.runescape.com/Antipoison(2)/viewitem.ws?obj=177
-> ID = 177

http://itemdb-rs.runescape.com/Antipoison(3)/viewitem.ws?obj=175
-> ID = 175

http://itemdb-rs.runescape.com/Antipoison(4)/viewitem.ws?obj=2446
-> ID = 2446


thats if its on the ground

zonfire

2009-08-20 14:32:16

so thats a no to the change in id? sorry really wanna get into scripting with reflection its sooo good

Sabzi

2009-08-20 14:37:36

That's a yes by marpis. But that wasn't the answer for a question: "What are the item IDs for them in the inventory?" as J_Pizzle pointed it out.

If you want to use that IDs(in the inventory) you have to add one for them. So the last would be:
2446 + 1 = 2447

As far as I know.

zonfire

2009-08-20 14:54:24

yes well my script doesnt need them off the ground so if i wantged to just drink them it would be 2448 then no matter wat the doses is that wat your saying?

Sabzi

2009-08-20 15:00:06

I did not really understand what you said but I try to answer.
You have to use the IDs what marpis provided. But for both of them add 1 to the ID to use them in the inventory.

http://itemdb-rs.runescape.com/Antip...tem.ws?obj=179
-> ID = 179/180 in inv

http://itemdb-rs.runescape.com/Antip...tem.ws?obj=177
-> ID = 177/178 in inv

http://itemdb-rs.runescape.com/Antip...tem.ws?obj=175
-> ID = 175/176 in inv

http://itemdb-rs.runescape.com/Antip...em.ws?obj=2446
-> ID = 2446/2447 in inv

Baked0420

2009-08-20 16:32:03

Zonfire, every item has it's own id, potions of different doses will also. And what they are both saying combined is, they have different id's, and to get the id, you just need to go to the g/e database find the ID it says in the URL, and then add one to it, and that's the id for it in the inventory, and if you don't add one, that's the id for if it's on the ground. And Sabzi, I'll try to make it clear for you what he was saying:


yes, well my script doesn't need them off the ground, so if i wanted to just drink them it would be 2448 then, no matter what the doses? Is that what your saying?