Issue information

Issue ID
#449
Status
Fixed
Severity
None
Started
Hercules Elf Bot
Nov 19, 2007 4:37
Last Post
Hercules Elf Bot
Nov 19, 2007 4:37
Confirmation
N/A

Hercules Elf Bot - Nov 19, 2007 4:37

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

I didn't think much of this in the beginning. It only seemed to happen with the BotKiller script I installed, however, it quickly started showing up more and more as I got more and more users on my server, even with BotKiller disabled.

In normal conditions, query_sql works fine, but after a while, I'm not sure whether this is based on time or query_sql executions, errors begin showing up on map-server and all the query_sql scripts stop functioning. This is an example of the error

CODE
[Error]: script:query_sql: not a variable
[Debug]: Data: reference name='@sGetR' type=C_NAME
[Debug]: Source (NPC): ShopGirl (invisible/not on a map)


During a browse through of the code, it seems that it thinks a result from query_sql is not an array.

This has been happening over multiple revisions, just noticed it now especially.

Even if the variable passed through query_sql is an '.@var', it says the same thing just changed the reference name.