elking
Swev-v2.sytes.net Comming Soon !<>!
Hello Otland.
I need help with this problems.
First one :When I put items on this floor I didn't find anything as like space
http://speedy*****malware.localhost/CWgxj/floor.png
Second : I need fix this bug
Record.lua
globalevents.xml
And Thanks
BUMP
BUMP
I need help with this problems.
First one :When I put items on this floor I didn't find anything as like space
Code:
<item id="10764" article="a" name="Brown Floor" />
<attribute key="type" value="floor" />
http://speedy*****malware.localhost/CWgxj/floor.png
Second : I need fix this bug
Code:
[06/02/2014 13:28:30] [Error - GlobalEvent Interface]
[06/02/2014 13:28:30] data/globalevents/scripts/record.lua:onRecord
[06/02/2014 13:28:30] Description:
[06/02/2014 13:28:30] data/globalevents/scripts/record.lua:2: attempt to call field 'query' (a nil value)
[06/02/2014 13:28:30] stack traceback:
[06/02/2014 13:28:30] data/globalevents/scripts/record.lua:2: in function <data/globalevents/scripts/record.lua:1>
Record.lua
Code:
function onRecord(current, old, cid)
db.query("INSERT INTO `server_record` (`record`, `world_id`, `timestamp`) VALUES (" .. current .. ", " .. getConfigValue('worldId') .. ", " .. os.time() .. ");")
addEvent(doBroadcastMessage, 150, "New record: " .. current .. " players are logged in.", MESSAGE_STATUS_DEFAULT)
end
globalevents.xml
Code:
<globalevent name="playersrecord" type="record" event="script" value="record.lua"/>
And Thanks
BUMP
BUMP
Last edited by a moderator: