nickpoo2
New Member
- Joined
- Jan 19, 2009
- Messages
- 92
- Reaction score
- 0
when i get to the part when it says
the next line looks like this
i dont no how to fix it so heres the script:
Code:
Initializing game state modules and registering services...
the next line looks like this
Code:
[Error - GlobalEvent Interface]
[10/08/2010 13:46:32] data/globalevents/scripts/start.lua:onStartup
[10/08/2010 13:46:32] Description:
[10/08/2010 13:46:32] data/globalevents/scripts/start.lua:2: attempt to concatenate a nil value
[10/08/2010 13:46:32] stack traceback:
[10/08/2010 13:46:32] data/globalevents/scripts/start.lua:2: in function <data/globalevents/scripts/start.lua:1>
i dont no how to fix it so heres the script:
Code:
function onStartup()
db.executeQuery("UPDATE `players` SET `online` = 0 WHERE `world_id` = " .. getConfigValue('worldId') .. ";")
return true
end