Em data/globalevents.xml
Altere sua tag de save para esta..
<globalevent name="save" interval="600" event="script" value="save.lua"/>
e em data/globalevents/script no arquivo save.lua altere coloque este...
local config = {
broadcast = {120, 30},
shallow = "no",
delay = 120,
events = 30
}
config.shallow = getBooleanFromString(config.shallow)
local function executeSave(seconds)
if(isInArray(config.broadcast, seconds)) then
local text = ""
if(not config.shallow) then
text = "Full s"
else
text = "S"
end
text = text .. "erver save within " .. seconds .. " seconds, please mind it may freeze!"
doBroadcastMessage(text)
end
if(seconds > 0) then
addEvent(executeSave, config.events * 1000, seconds - config.events)
else
doSaveServer(config.shallow)
end
end
function onThink(interval, lastExecution, thinkInterval)
if(table.maxn(config.broadcast) == 0) then
doSaveServer(config.shallow)
else
executeSave(config.delay)
end
return true
end
Agora no config.lua estas linhas ...
globalSaveEnabled =
globalSaveHour =
shutdownAtGlobalSave =
cleanMapAtGlobalSave =
Ficará assim ....
globalSaveEnabled = false
globalSaveHour = 4
shutdownAtGlobalSave = true
cleanMapAtGlobalSave = false






info
Grupo: Campones
Registrado: 04/05/11
Posts: 54
Reputação: +5
Char no Tibia: Demon Killer
Pessoal meu server começo a dar rollback e não sei mas oque fazer ja tentei procurar bugs e etc.. mas todos os bugs que tinha ja foram corrigidos
Meu mapa é grande mas mesmo assim n teria como dar rollback ja que o atual do server era maior
to com o server pokeDash Advanced 1.4_d
Mapa: 19.672 KB
Spawn: 492 KB
House: 50KB
versão:
Log:
Se alguém poder me ajudar agradeço deste já, aguardarei reposta até mas.