Page 1 of 1

Bot isn't using any potion / wrong value update item id

Posted: Thu Dec 30, 2010 2:52 am
by Wobit
Hello,

Having a small problem using this excellent prgm, it's not using hp/mp pots at all, always saying didn't found any pots in bag

Code: Select all

Thu Dec 30 07:58:42 2010 : Wrong value returned in update of item id: 202506
Thu Dec 30 07:58:42 2010 : Wrong value returned in update of item id: 203043
Thu Dec 30 07:58:42 2010 : Wrong value returned in update of item id: 203294
Thu Dec 30 07:58:42 2010 : Wrong value returned in update of item id: 202903
Thu Dec 30 07:58:42 2010 : Wrong value returned in update of item id: 202902
Thu Dec 30 07:58:42 2010 : Wrong value returned in update of item id: 202903
Thu Dec 30 07:58:42 2010 : Wrong value returned in update of item id: 203085
Thu Dec 30 07:58:42 2010 : Wrong value returned in update of item id: 203087
Thu Dec 30 07:58:42 2010 : Wrong value returned in update of item id: 202435
Thu Dec 30 07:58:42 2010 : Wrong value returned in update of item id: 203086
Thu Dec 30 07:58:42 2010 : Wrong value returned in update of item id: 203154
Thu Dec 30 07:58:42 2010 : Wrong value returned in update of item id: 201086
Thu Dec 30 07:58:42 2010 : Wrong value returned in update of item id: 201238
Thu Dec 30 07:58:42 2010 : Wrong value returned in update of item id: 201088
This is what I get when I start bot.lua , it still works but client crash a lot, maybe caused by this

(I got last version, d/l'ed on r544 topic + updated via svn)

(I dodged problem adding skill in skills database I redirect to the hotkey with a hp pots but at each update it red flag my files)

last thing : what should I had to use the power of the lion skill (elite r/k) which need Lion's protection to be trigered, tried to mess around the reqbuff ; self ; etc... but always returns me error.

Thanks for reading, hope you can help me solve the problem concerning the wrong value returned

Re: Bot isn't using any potion / wrong value update item id

Posted: Thu Dec 30, 2010 7:28 am
by jduartedj
Try deleting contents on rom folder and updating the SVN.

Re: Bot isn't using any potion / wrong value update item id

Posted: Thu Dec 30, 2010 7:38 am
by rock5
I just tried your method of downloading 544 and then doing an SVN update. I ended up with about 5 files that did not update properly. That's probably what's causing your problems.

If you are using TortoiseSVN or similar software and are creating a new installation of rombot, don't download and install an older version of the bot and then try and update it. It most often causes conflicts and fails to make a proper copy of the current revision. Instead just right-click an empty 'rom' folder and select 'SVN Checkout' and enter the svn address and you'll end up with an exact copy of the current revision.

Or if you have already tried to update an older version of the bot and are having conflict problems, right-click the 'rom' folder and select 'TortoiseSVN/Revert' to revert all the rombot files to an exact copy of the current revision. That should fix any conflict or merge problems.

Edit: While I was writing this it looks like jduartedj already answered; and with a 1 line answer. I really have to learn not to ramble on. :)

Re: Bot isn't using any potion / wrong value update item id

Posted: Thu Dec 30, 2010 11:55 am
by jduartedj
rock5 wrote: Edit: While I was writing this it looks like jduartedj already answered; and with a 1 line answer. I really have to learn not to ramble on. :)
hehe, well simple and direct. But you get credits for explaining why!

Re: Bot isn't using any potion / wrong value update item id

Posted: Sat Jan 01, 2011 10:00 am
by Wobit
Thanks for tips, answers and advices

I deleted files failing to update and it replaced 'em correctly etc... it now use pots, I still got sometimes (not 100%) a bunch of the errors "fail to update" like in 1st post.

For power of the lion elite I added it in skills.lua as heal tool with 60 sec cd, and replaced cooldown of lion's protection to 45 sec, it works like this.

Thanks again

Regards