but this engine cant read the new items.otb !=(
How to save server :/ ??
i have on TFS 0.3 Npc wich save the server but on 0.2 wont work :[ i need saveserver cause im worry about crash and big rollback (
change in npc, saveServer() for saveData().
=p
saveDelay = 10 * 60 * 1000
storageValue = 2342
if (getGlobalStorageValue(storageValue) == -1) then
function save(saveDelay)
saveData()
print(">>>>Players Saved<<<<")
addEvent(save, saveDelay, saveDelay)
end
addEvent(save, saveDelay, saveDelay)
setGlobalStorageValue(storageValue, 1)
end