dont buy arrow quiver
dont buy arrow quiver
Hi,
my scout hits today level 49 and i moved him to a new area. Now that my char is level 49, he can use "Gunpowder Arrow Quiver".
I made new waypoints with repair path in this area and the bot will not buy any arrow quiver. I used the merchant function before without any problems.
Zone: Weeping Coast
NPC: Barry Haishenmo@Boulderwind Village
my scout hits today level 49 and i moved him to a new area. Now that my char is level 49, he can use "Gunpowder Arrow Quiver".
I made new waypoints with repair path in this area and the bot will not buy any arrow quiver. I used the merchant function before without any problems.
Zone: Weeping Coast
NPC: Barry Haishenmo@Boulderwind Village
- Administrator
- Site Admin
- Posts: 5353
- Joined: Sat Jan 05, 2008 4:21 pm
Re: dont buy arrow quiver
First, I need you to provide some more information. First, add this line to your profile:
(it should, obviously, go in the options section)
Now, place one of the quivers in the very first slot in the first page of your inventory. Start the bot. As it is mapping the inventory, it will dump out a lot of extra information (so you should probably pause it as soon as it starts printing this stuff out). The first one is related to the quiver. It should look like this:
What does that line say?
Code: Select all
<option name="DEBUG_INV" value="true" />
Now, place one of the quivers in the very first slot in the first page of your inventory. Start the bot. As it is mapping the inventory, it will dump out a lot of extra information (so you should probably pause it as soon as it starts printing this stuff out). The first one is related to the quiver. It should look like this:
Code: Select all
DEBUG item:update(): slot 1 bagId 61 Id 200000 name Gunpowder Arrow Quiver qty 99
Re: dont buy arrow quiver
Thanks for your answer, the line says:Administrator wrote:First, I need you to provide some more information. First, add this line to your profile:(it should, obviously, go in the options section)Code: Select all
<option name="DEBUG_INV" value="true" />
Now, place one of the quivers in the very first slot in the first page of your inventory. Start the bot. As it is mapping the inventory, it will dump out a lot of extra information (so you should probably pause it as soon as it starts printing this stuff out). The first one is related to the quiver. It should look like this:What does that line say?Code: Select all
DEBUG item:update(): slot 1 bagId 61 Id 200000 name Gunpowder Arrow Quiver qty 99
Code: Select all
DEBUG item:update(): slot 1 bagId 62 Id 202083 name Gunpowder Arrow Quiver qty 1- Administrator
- Site Admin
- Posts: 5353
- Joined: Sat Jan 05, 2008 4:21 pm
Re: dont buy arrow quiver
Try adding this line to database/consumables.xml:
It should go in line 53 (though, it doesn't really mater where you put it). Let me know if this works.
Code: Select all
<potion type="arrow_quiver" id="202083" name="Gunpowder Arrow Quiver" level="49" />
Re: dont buy arrow quiver
I added it, but still won't work, and i saw this line was already in this file at line 45
//edit:
I just made a test waypoint in the previous zone Ravenfell and there the bot will buy Gunpowder Arrow Quiver!
But the only difference i see between the both npcs, is that the Quivers from the NPC in Weeping Coast are on the latest page in buy menu.
So
Zone: Weeping Coast
NPC: Barry Haishenmo@Boulderwind Village
dont works
Zone: Ravenfell
NPC: Buruk Wright@Abandoned Fortress
works
//edit:
I just made a test waypoint in the previous zone Ravenfell and there the bot will buy Gunpowder Arrow Quiver!
But the only difference i see between the both npcs, is that the Quivers from the NPC in Weeping Coast are on the latest page in buy menu.
So
Zone: Weeping Coast
NPC: Barry Haishenmo@Boulderwind Village
dont works
Zone: Ravenfell
NPC: Buruk Wright@Abandoned Fortress
works
- Administrator
- Site Admin
- Posts: 5353
- Joined: Sat Jan 05, 2008 4:21 pm
Re: dont buy arrow quiver
Are they both the same item ID? That's strange that it works for one and not the other.
Re: dont buy arrow quiver
No, i bought one of each npc and compared:
and this is the merchant log from both npc
Code: Select all
036% [******************--------------------------------]DEBUG item:update(): sl
ot 23 bagId 83 Id 202083 name Gunpowder Arrow Quiver qty 1
038% [*******************-------------------------------]DEBUG item:update(): sl
ot 24 bagId 64 Id 202083 name Gunpowder Arrow Quiver qty 1and this is the merchant log from both npc
Code: Select all
We successfully target NPC Barry Haishenmo and try to open the dialog window.
Mapping inventory (bagslot 1 to 60)...
100% [**************************************************]
Mapping inventory (bagslot 1 to 60)...
100% [**************************************************]
Mapping inventory (bagslot 1 to 60)...
100% [**************************************************]
Clearing target.Code: Select all
We successfully target NPC Buruk Wright and try to open the dialog window.
Mapping inventory (bagslot 1 to 60)...
100% [**************************************************]
Mapping inventory (bagslot 1 to 60)...
100% [**************************************************]
Shopping........................................................................
................................................
Shopping...
Mapping inventory (bagslot 1 to 60)...
100% [**************************************************]
Clearing target.- Administrator
- Site Admin
- Posts: 5353
- Joined: Sat Jan 05, 2008 4:21 pm
Re: dont buy arrow quiver
Try editing classes/inventory.lua, line 281. Change the 20 in "for storeSlot = 1, 20, 1 do" to a higher number such as 30. The higher the number is, more store inventory slots will be checked for the item you need, but it will also take longer. Let me know what works.
Re: dont buy arrow quiver
Thanks, this works!Administrator wrote:Try editing classes/inventory.lua, line 281. Change the 20 in "for storeSlot = 1, 20, 1 do" to a higher number such as 30. The higher the number is, more store inventory slots will be checked for the item you need, but it will also take longer. Let me know what works.
This NPC has 28 slots, and the Gunpowder Arrow Quiver was on slot 28.
thanks again