Page 1 of 1

error, trying to open a quiver

Posted: Thu Feb 04, 2010 5:40 pm
by raff
Hi,

now with Rev 418, i just noticed an error, when I start the bot and no arrows are equiped I get this error:

Code: Select all

Mapping inventory (bagslot 1 to 60)...
100% [**************************************************]
D:/.../scripts/classes/inventory.lua:41: attempt to index global 'it
em' (a boolean value)
When I start it, with arrows (no quiver) in the inventory, it works

//edit: It always happens, when the bot tries to open a quiver

Re: error, trying to open a quiver

Posted: Sat Feb 06, 2010 9:22 am
by raff
Hm, I also just compared the itemID from the quivers, but they didnt changed it. Yesterday I got a wrong bagid return from a quiver, but as soon the bot tries to open a quiver, I get the error I posted in the first post.

Re: error, trying to open a quiver

Posted: Sat Feb 06, 2010 10:27 am
by Administrator
And how do you reproduce this? Just create a new archer and let it level to 2 where it should get a quiver?

Re: error, trying to open a quiver

Posted: Sat Feb 06, 2010 10:36 am
by raff
Go to Logar, to the weapon merchant, there you can buy a Quiver. Then be sure that you dont have arrows equipped. If you start then the bot, he will try to open the Quiver, but then comes the error

Re: error, trying to open a quiver

Posted: Sat Feb 06, 2010 12:16 pm
by Administrator
Thanks for the report. This has been fixed. Update using SVN and test it.

Re: error, trying to open a quiver

Posted: Sat Feb 06, 2010 12:18 pm
by raff
Great! Thanks for the fast fix :-)

//edit: tested it, and it works fine