What's new

Global save co 5-6h?

sputerkarol

Advanced User
Joined
Oct 25, 2008
Messages
479
Reaction score
29
Witam, czy da si? zrobi? global save co 5-6h? czyli, ?e 5 minut przed restartem wyskakuje "za 5 minut global save, prosimy sie wylogowac".I sam sie zapisywal oraz restartowal?.Jest taki program czy cos? jak co? to OTS jest postawiony na systemie "Linux".Z g?ry dzi?ki,
Dattler
 

Ovner

Senior User
Joined
Jun 21, 2009
Messages
528
Reaction score
54
Age
31
Odp: Global save co 5-6h?

W config.lua

Code:
	globalSaveEnabled = "no"
	globalSaveHour = 8
	shutdownAtGlobalSave = "yes"
	cleanMapAtGlobalSave = "no"

Sobie ustawiasz co ile godzin ma by? itd.
Je?li b?dzie shutdown to chyba b?dzie pisa? :>.
 

redius

Active User
Joined
Mar 7, 2009
Messages
87
Reaction score
4
Odp: Global save co 5-6h?

Musisz pogrzeba? w confing.lua , pozmienia? .. tam b?dziesz mia? GlobalSave itp to poprostu w r?wnej kolejno?ci pozaznaczaj "no" , potem masz godziny... , to najlepiej 6h ,
to chyba tyle, - nie pami?tam dawno nie robi?em w?asnego OTS :eek:



EDIT - Sory Ovner , nie zauwa?y?em twojego posta. ?eby nie by?o ?e co? ?ci?gn??em .
 

sputerkarol

Advanced User
Joined
Oct 25, 2008
Messages
479
Reaction score
29
Odp: Global save co 5-6h?

ja mam takie co?
-- Real Server Save
-- note: serverSaveHour means like 03:00, not that it will save every 3 hours,
-- if you want such a system use autoSaveEachMinutes. this serversave method
-- may be unstable, we recommend using otadmin if you want real serversaves.
serverSaveEnabled = "no"
serverSaveHour = 5
shutdownAtServerSave = "yes"
cleanMapAtServerSave = "yes"

i server ani sie nie wylacza ani nie pisze ze za 5 minut global save.
 

Ovner

Senior User
Joined
Jun 21, 2009
Messages
528
Reaction score
54
Age
31
Odp: Global save co 5-6h?

Code:
-- Real Server Save
-- note: serverSaveHour means like 03:00, not that it will save every 3 hours,
-- if you want such a system use autoSaveEachMinutes. this serversave method
-- may be unstable, we recommend using otadmin if you want real serversaves.
serverSaveEnabled = "yes"
serverSaveHour = 5
shutdownAtServerSave = "yes"
cleanMapAtServerSave = "yes"


Teraz b?dzie working.
 

sputerkarol

Advanced User
Joined
Oct 25, 2008
Messages
479
Reaction score
29
Odp: Global save co 5-6h?

a mam jeszcze jedno pytanie
-- Real Server Save
-- note: serverSaveHour means like 03:00, not that it will save every 3 hours,
-- if you want such a system use autoSaveEachMinutes. this serversave method
-- may be unstable, we recommend using otadmin if you want real serversaves.
to znaczy, ze server bedzie zapisywal sie tylko o 3 w nocy?
 

Kowol

Senior User
Joined
Apr 9, 2008
Messages
1,250
Reaction score
158
Odp: Global save co 5-6h?

To znaczy ?e wpisujesz o kt?rej codziennie ma by? save a nie co ile godzin ma by?. Aby jednak zrobi? inaczej musisz u?y?
Code:
autoSaveEachMinutes
 

Viper xD

Senior User
Joined
Jun 22, 2009
Messages
693
Reaction score
110
Odp: Global save co 5-6h?

-- Real Server Save
-- note: serverSaveHour means like 03:00, not that it will save every 5 hours,
-- if you want such a system use autoSaveEachMinutes. this serversave method
-- may be unstable, we recommend using otadmin if you want real serversaves.
Teraz bedzie sie zapisywal o 3:00,8:00,13:00,18:00,23:00 :D:D mam nadzieje ze pomoglem:)
 

sputerkarol

Advanced User
Joined
Oct 25, 2008
Messages
479
Reaction score
29
Odp: Global save co 5-6h?

Ale ja chce zrobi? global save co 5h powie mi kto? jak?;/
 

Monter08

Active User
Joined
Jun 23, 2008
Messages
76
Reaction score
5
Odp: Global save co 5-6h?

#sputerkarol
W confingu itp. co si? zaczyna na "---" "<---" "--->" to jest tylko informacja czyli mo?esz sobie nawet tam napisa? "--- Ots by XxXx" albo "--- exp x100" i tak silnik tego nie przeczyta

Tu masz:
serverSaveEnabled = "yes" --- server ma si? zapisywa?? yes/no
serverSaveHour = 5 --- co ile godzin server si? b?dzie zapisywa?
shutdownAtServerSave = "yes" --- server ma si? wy??cza? po jego zapisaniu? yes/no
cleanMapAtServerSave = "yes" --- czyszczenie mapy po save? yes/no (je?li dasz ?e server si? wy??cza po save, to tu daj NO)
Ju? ci wcze?niej to pisali!!
 
Last edited:

Viper xD

Senior User
Joined
Jun 22, 2009
Messages
693
Reaction score
110
Odp: Global save co 5-6h?

Cytat:
-- Real Server Save
-- note: serverSaveHour means like 03:00, not that it will save every 5 hours,
-- if you want such a system use autoSaveEachMinutes. this serversave method
-- may be unstable, we recommend using otadmin if you want real serversaves.


Teraz bedzie sie zapisywal o 3:00,8:00,13:00,18:00,23:00 :D:D mam nadzieje ze pomoglem:)


Jesli masz inny config to ma wygladac tak o zeby bylo co 5h:
-- time to save the server (default = 5)
autosave = 300


Przeciez wszystko ci dokladnie zapisalem
 
Last edited:

sputerkarol

Advanced User
Joined
Oct 25, 2008
Messages
479
Reaction score
29
Odp: Global save co 5-6h?

Dobra, dzi?ki wszystkim, ?e chcia?o wam si? po?wi?ci? mi troch? czasu, zaraz wrzuce config na dedyka i zobacze czy dzia?a,Pozdrawiam
Dattler
 

sputerkarol

Advanced User
Joined
Oct 25, 2008
Messages
479
Reaction score
29
Odp: Global save co 5-6h?

Ehh, zrobi?em tak jak m?wicie poczeka?em 5 godzin i global save nie by?o.?adnych oznak, Prosz? o pomoc ;//.
 

Viper xD

Senior User
Joined
Jun 22, 2009
Messages
693
Reaction score
110
Odp: Global save co 5-6h?

To wez mi daj urywek twojego configu gdzie jest mowa o save i ci go przerobie OK?
 

sputerkarol

Advanced User
Joined
Oct 25, 2008
Messages
479
Reaction score
29
Odp: Global save co 5-6h?

-- The Forgotten Server Config
-- Account Manager
accountManager = "no"
newPlayerChooseVoc = "no"
newPlayerSpawnPosX = 95
newPlayerSpawnPosY = 117
newPlayerSpawnPosZ = 7
newPlayerTownId = 1
newPlayerLevel = 1
newPlayerMagicLevel = 0
generateAccountNumber = "no"
-- Banishments
broadcastBanishments = "yes"
banDays = 2
finalBanDays = 3
killsToBan = 15
-- Battle
worldType = "pvp"
hotkeyAimbotEnabled = "yes"
protectionLevel = 400
killsToRedSkull = 10
pzLocked = 9000
deathLosePercent = 4
criticalHitChance = 14
removeAmmoWhenUsingDistanceWeapon = "yes"
removeChargesFromRunes = "no"
timeToDecreaseFrags = 2 * 60 * 60 * 1000
whiteSkullTime = 10 * 10 * 1000
-- Commands
displayGamemastersWithOnlineCommand = "no"
-- Connection Config
ip = "94.23.93.114"
port = 7171
loginTries = 10
retryTimeout = 5 * 1000
loginTimeout = 60 * 1000
maxPlayers = "200"
motd = "Welcome to the DattlerOT"
onePlayerOnlinePerAccount = "yes"
allowClones = 0
serverName = "DattlerOTS"
loginMessage = "Witamy na DattlerOTS.Milej Gry"
adminLogsEnabled = "yes"
statusTimeout = 5 * 60 * 1000
replaceKickOnLogin = "yes"
-- Deathlist
deathListEnabled = "yes"
maxDeathRecords = 10
-- Guilds
ingameGuildSystem = "no"
-- Highscores
highscoreDisplayPlayers = 15
updateHighscoresAfterMinutes = 60
-- Houses
housePriceEachSQM = 15000
houseRentPeriod = "never"
-- Idle
kickIdlePlayerAfterMinutes = 15
-- Item Usage
timeBetweenActions = 200
timeBetweenExActions = 1000
-- Map
mapName = "Evolutions"
mapAuthor = "Dattler"
randomizeTiles = "yes"
-- Messaging
enableRuleViolationReports = "yes"
maxMessageBuffer = 25
-- MySQL
mysqlHost = "xxx"
mysqlUser = "xxx"
mysqlPass = "xxx"
mysqlDatabase = "xxx"
mysqlPort = 3306
-- Premium Account
freePremium = "yes"
-- PVP Server
displayOnOrOffAtCharlist = "no"
allowChangeOutfit = "yes"
noDamageToSameLookfeet = "no"
experienceByKillingPlayers = "yes"
-- Rates
-- NOTE: experienceStages configuration is located in data/XML/stages.xml.
rateExperience = 1000.0
rateSkill = 400.0
rateLoot = 5.0
rateMagic = 300.0
rateSpawn = 1.0
experienceStages = "yes"
-- Real Server Save
-- note: serverSaveHour means like 03:00, not that it will save every 5 hours,
-- if you want such a system use autoSaveEachMinutes. this serversave method
-- may be unstable, we recommend using otadmin if you want real serversaves.
serverSaveEnabled = "yes"
serverSaveHour = 1
shutdownAtServerSave = "yes"
cleanMapAtServerSave = "no"

-- Server saving
autoSaveEachMinutes = 15
saveGlobalStorage = "no"
-- Spawns
deSpawnRange = 2
deSpawnRadius = 100
-- SqLite
sqliteDatabase = "forgottenserver.s3db"
-- SQL
sqlType = "mysql"
passwordType = "plain"
-- Startup
defaultPriority = "realtime"
-- Status
ownerName = "Ante & Limannen"
ownerEmail = "Anonomuis"
url = "http://94.23.93.114/"
location = "Europe/Sweden"
To m?j config...(Teraz zmienilem na 1h).
 

Viper xD

Senior User
Joined
Jun 22, 2009
Messages
693
Reaction score
110
Odp: Global save co 5-6h?

serverSaveEnabled = "yes"
serverSaveHour = 5
shutdownAtServerSave = "no"
cleanMapAtServerSave = "yes"

Tu masz co 5h nie bedzie sie wylaczal serv podczas zapisywania i bedzie save razem z cleanem
 

Ziomal1214

Active User
Joined
Dec 10, 2008
Messages
123
Reaction score
2
Odp: Global save co 5-6h?

jak ustawi? aby save by? co 5 min?
 

Xart Irok

Senior User
Joined
Sep 7, 2008
Messages
2,925
Reaction score
419
Age
32
Odp: Global save co 5-6h?

przepraszam za baraze all userow w tym temacie ale przyda wam sie lekcja angielskiego
PHP:
note: serverSaveHour means like 03:00, not that it will save every 3 hours,
znaczeniu tego slowa wyraznie jest napisane ze by tak nie robic bo save bedzie sie wlasnie robil co 3 radze global save nie stosowac na dedykach jesli nie umiecie zrobic na nim auto staru aplikacji bo jesli ustawic tak a nagle po 3 godzinach server sie wylacza a potem juz sie nie wlaczy chyba ze go recznie otpalicie ale w odpie ze komus o w noc by sie chcialo specjalnie wstawac ze by wlaczyc swoj ots
 
Top