Issue information

Issue ID
#4628
Status
Fixed
Severity
Low
Started
Hercules Elf Bot
Dec 9, 2010 1:25
Last Post
Hercules Elf Bot
Dec 9, 2010 1:25
Confirmation
N/A

Hercules Elf Bot - Dec 9, 2010 1:25

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

Currently the command uses getarraysize internally, which leads to unpredictable results with arrays, that contain empty elements, as getarraysize returns only amount of set elements, even when there are 0 or "" gaps in between.

This problem is actually known for long, as per script_commands.txt entry for deletearray.