Issue information

Issue ID
#1987
Status
Fixed
Severity
None
Started
Hercules Elf Bot
Aug 3, 2008 16:14
Last Post
Hercules Elf Bot
Mar 5, 2012 8:55
Confirmation
N/A

Hercules Elf Bot - Aug 3, 2008 16:14

Originally posted by [b]Yonimelavo[/b]
http://www.eathena.ws/board/index.php?autocom=bugtracker&showbug=1987

CODE
[2008-08-02 03:54:52][Error]: wrong item ID : countitem(0)
[2008-08-02 03:54:52][Debug]: Source (NPC): Aile#da at job_duncer (43,93)
[2008-08-02 03:54:52][Debug]: Source (NPC): Aile#da at job_duncer (43,93)

That's this:

CODE
set .@size, getarraysize(.@item);
for( set .@i, 0; .@i < .@size && countitem(.@item[.@i]) >= .@count[.@i]; set .@i, .@i + 1 );


And... the items aren't deleted. I don't know if that's right, but I report it as an aditional possible bug.