Hi I'm realised the bot mistakes potions with the same name!
Right now I have 151 Elemental Spirit Stone (lvl 46) and 99 Elemental Spirit Stone (lvl 51) and he is comsuming the lvl 46 ones, that are not minstack nor best potion! (I'm lvl 53 btw)
So... woot!
Potions mixup!
Potions mixup!
Thanks for reading! 
Some of you might find this useful: RoM-bot Wiki
User Functions Repository (and other useful files): Addon Repo
Latest SVN updates: SVN updates
Some of you might find this useful: RoM-bot Wiki
User Functions Repository (and other useful files): Addon Repo
Latest SVN updates: SVN updates
Re: Potions mixup!
There are 2 entries in the rombat database for 'Elemental Spirit Stone' with different Ids. Looking at the code that chooses the best potion, it searches by Id. So I'm not sure how it could be confusing the 2.
Are you sure it's using the wrong one? Are they both in your bag?
Are you sure it's using the wrong one? Are they both in your bag?
- 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
- Administrator
- Site Admin
- Posts: 5353
- Joined: Sat Jan 05, 2008 4:21 pm
Re: Potions mixup!
At first I thought it would be because the code to use an item would expect a name. Guess I was wrong. And the inventory goes by bagslots. I'm not seeing anything in the code that would cause such a thing to happen. The only thing I can imagine it would be is if there was some bug in the memory-based inventory code that is causing it to read the level 51 potions as the level 49 potions. Maybe that scans the tables by name?
Re: Potions mixup!
I'm pretty sure ... my MP was going down really fast and I noticed I always had 99 (my default) of the lvl 51 potions! then I let the bot play a bit on wander and I noticed it used potions of lvl 46.rock5 wrote: Are you sure it's using the wrong one? Are they both in your bag?
Will test again for double sure but I'm sure...
Thanks for reading! 
Some of you might find this useful: RoM-bot Wiki
User Functions Repository (and other useful files): Addon Repo
Latest SVN updates: SVN updates
Some of you might find this useful: RoM-bot Wiki
User Functions Repository (and other useful files): Addon Repo
Latest SVN updates: SVN updates