Issue information

Issue ID
#4640
Status
Fixed
Severity
None
Started
Hercules Elf Bot
Dec 15, 2010 2:05
Last Post
Hercules Elf Bot
Dec 15, 2010 2:05
Confirmation
N/A

Hercules Elf Bot - Dec 15, 2010 2:05

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

Since the few latest revisions, I noticed my setbattleflag causing warnings in my map-server.

The errors were caused because it was expecting 2 strings.

ex : setBattleFlag "base_exp_rate",2000;
the 2000 wasn't a string, so it caused a warning.


Rev14573 seemed to have edited quite a few functions, but I believe setbattleflag was forgotten.



I'm not sure if the following is the real way to fix it, but it seemed to work for me :

src/script.c

CODE
    BUILDIN_DEF(setbattleflag,"ss"),


to

CODE
    BUILDIN_DEF(setbattleflag,"sv"),