akademissss
Active User
- Joined
- Jan 13, 2010
- Messages
- 102
- Reaction score
- 3
Witam mam par? spraw do poprawy dok?adnie takie
Klikam na gracza na default pokazuje mi 13:45 You are Noob (======|======)
na silniku [17/04/2010 13:45:14] Error during getDataInt(rep). to po 1
Po 2 pojawia mi si? takie co?
17/04/2010 13:45:49] OTSYS_SQLITE3_PREPARE(): SQLITE ERROR: no such column: players.onlinetimetoday (UPDATE "players" SET "onlinetimetoday"=players.onlinetimetoday+60, "onlinetimeall"=players.onlinetimeall+60 WHERE "online" = 1
Po 3 jak sprawdzam !online pokazuje na silniku
[17/04/2010 13:40:07] [Warning - Vocations::getVocation] Vocation 4294967295 not found.
Po 4 loguje si? gracza silnik pokazuje
[17/04/2010 13:46:42] Akademis has logged in.
[17/04/2010 13:46:42] Error during getDataInt(auction_balance).
Po 5 silnik
[17/04/2010 20:49:48] [Warning - MoveEvent::configureEvent] Wrong vocation name: Wizard
[17/04/2010 20:49:48] [Warning - MoveEvent::configureEvent] Wrong vocation name: Shura
[17/04/2010 20:49:48] [Warning - MoveEvent::configureEvent] Wrong vocation name: Sniper
[17/04/2010 20:49:48] [Warning - MoveEvent::configureEvent] Wrong vocation name: Gladiator
Wiem tylko ?e to wszystko wi??e si? z data/actions oraz data/XML/vocationsza tylko nie wiem co zmieni? ?eby nie by?o tych problem?w pomoc repucik
Nikt nie wie jak mi pom?c ;/
Kto umie przerobi? ten skrypt
21:04 Full server save within 120 seconds, please stay in safe place! <<<bez tego
21:06 Full server save within 30 seconds, please stay in safe place!
i tutaj ?e jeszcze pisa?o ?e kolejny za 30 minut
Klikam na gracza na default pokazuje mi 13:45 You are Noob (======|======)
na silniku [17/04/2010 13:45:14] Error during getDataInt(rep). to po 1
Po 2 pojawia mi si? takie co?
17/04/2010 13:45:49] OTSYS_SQLITE3_PREPARE(): SQLITE ERROR: no such column: players.onlinetimetoday (UPDATE "players" SET "onlinetimetoday"=players.onlinetimetoday+60, "onlinetimeall"=players.onlinetimeall+60 WHERE "online" = 1
Po 3 jak sprawdzam !online pokazuje na silniku
[17/04/2010 13:40:07] [Warning - Vocations::getVocation] Vocation 4294967295 not found.
Po 4 loguje si? gracza silnik pokazuje
[17/04/2010 13:46:42] Akademis has logged in.
[17/04/2010 13:46:42] Error during getDataInt(auction_balance).
Po 5 silnik
[17/04/2010 20:49:48] [Warning - MoveEvent::configureEvent] Wrong vocation name: Wizard
[17/04/2010 20:49:48] [Warning - MoveEvent::configureEvent] Wrong vocation name: Shura
[17/04/2010 20:49:48] [Warning - MoveEvent::configureEvent] Wrong vocation name: Sniper
[17/04/2010 20:49:48] [Warning - MoveEvent::configureEvent] Wrong vocation name: Gladiator
Wiem tylko ?e to wszystko wi??e si? z data/actions oraz data/XML/vocationsza tylko nie wiem co zmieni? ?eby nie by?o tych problem?w pomoc repucik
Nikt nie wie jak mi pom?c ;/
Kto umie przerobi? ten skrypt
21:04 Full server save within 120 seconds, please stay in safe place! <<<bez tego
21:06 Full server save within 30 seconds, please stay in safe place!
i tutaj ?e jeszcze pisa?o ?e kolejny za 30 minut
local config = {
broadcast = "yes"
}
config.broadcast = getBooleanFromString(config.broadcast)
local function executeSave(seconds)
if(seconds == 0) then
doSaveServer()
return true
end
if(seconds == 120 or seconds == 30) then
doBroadcastMessage("Full server save within " .. seconds .. " seconds, please stay in safe place!")
end
seconds = seconds - 30
if(seconds >= 0) then
addEvent(executeSave, 30 * 1000, seconds)
end
end
function onThink(interval, lastExecution, thinkInterval)
if(not config.broadcast) then
doSaveServer()
return true
end
executeSave(120)
return true
end