how can i get the current healpots in inventory
and how can i get the value of healpotions i saved in my profile? ty
get current heal potions
Re: get current heal potions
What do you mean? What is it that you are trying to do?
The basic inventory find command is.
The basic inventory find command is.
Code: Select all
pots = inventory:findItem("PotName")
- Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
- I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
- How to: copy and paste in micromacro
________________________
Quote:- “They say hard work never hurt anybody, but I figure, why take the chance.”
- Ronald Reagan
Re: get current heal potions
that i found, too.
i want to look in my inventory if there are potions left. if the lvl req is 5 or 55, that doesn't matter. i thought there is a function for that because if i run the bot and he my health is under HP_LOW_POTION the bot tells me that there are no useable potions left. Is that a function or does it checks EVERY potionid?
i hope u understand me
i want to look in my inventory if there are potions left. if the lvl req is 5 or 55, that doesn't matter. i thought there is a function for that because if i run the bot and he my health is under HP_LOW_POTION the bot tells me that there are no useable potions left. Is that a function or does it checks EVERY potionid?
i hope u understand me
Re: get current heal potions
What about to chack how much potions do you have them in bag?
Code: Select all
if 20 < inventory:itemTotalCount(itemID) then
..your code...
end
Re: get current heal potions
i want to use the waypointfile on more than2 chars. both of them use different healthportions. so i need to check about 3 id.. i hoped that there is a functions for this
last question:
is it possible to access the HP_LOW_POTION value that is saved in my profile?
something like player.HP_LOW_POTION?
last question:
is it possible to access the HP_LOW_POTION value that is saved in my profile?
something like player.HP_LOW_POTION?
Re: get current heal potions
If it says you don't have a usable potion in bags #-# there are a few things to concider.
First is are you using rental bags and haven't adjusted the maximum bag slot number in profile.
Second are you using a potion that isn't listed in rom/database/consumables.xml
Third are you using a client version that is old and the addresses may be incorrect.
First is are you using rental bags and haven't adjusted the maximum bag slot number in profile.
Second are you using a potion that isn't listed in rom/database/consumables.xml
Third are you using a client version that is old and the addresses may be incorrect.
Remember no matter you do in life to always have a little fun while you are at it
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
Who is online
Users browsing this forum: Ahrefs [Bot] and 2 guests