Issue information

Issue ID
#2611
Status
Fixed
Severity
None
Started
Hercules Elf Bot
Dec 30, 2008 22:10
Last Post
Hercules Elf Bot
Dec 30, 2008 22:10
Confirmation
N/A

Hercules Elf Bot - Dec 30, 2008 22:10

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

The script command "atcommand" bugs with the new update. First, when used by a NPC they are logged if the charcommand level is higher than the minimum log level, even if the atcommand level is under this minimum.

For exemple, a script using:

atcommand "@cleanmap";

with atcommands logged at lvl 40, and @cleamap being lvl 39 and #cleanmap lvl 40

will make the command to be logged, when it shouldn't. If both values for at and charcommands are set to 39 then nothing will be logged.

Other bug: when trying to log the atcommands used by a NPC, it prints an error message on the map server, about map_index[0] not being found (basically it looks for the location of who used the command, and is unable to find one when it's a NPC).

This post has been edited by NoHealing: Dec 30 2008, 02:11 PM