Hi guys, recently i've decided to start silent server, and I have problem with reseting xp after server is restarted, when server is running rejoining don't cause xp reset. I'm not sure if it's important but admin lvl once added is not looseing after restart. So far i read few topics about xp, but still something is missing for me and I couldn't solve my problem.
Now lets describe file structure.
end of server.cfg
// LOGGINGset g_log "etserver.log" // Game loggingset g_logsync 1set logfile 2 // Console logging ( 1: enable 2: enable and sync )exec silent.cfg// MAP ROTATION//exec campaigncycle.cfg // Campaign mode//exec moja5.cfg//exec objectivecycle.cfg // Objective mode//exec lmscycle.cfg // Last Man Standing mode// WATCHDOG// in case the game dies with an ERR_DROP// or any situation leading to server running with no map//set com_watchdog 10 // defaults 60//set com_watchdog_cmd "exec campaigncycle.cfg" // defaults to quit
part of silent.cfg
////User datebase, XP Save, Shrubbot and Bansset g_dbDirectory "database"set g_dbUserMaxAge "365d"set g_dbMaxAliases 3set g_XPSave 21set g_XPSaveMaxAge_xp "365d"set g_XPSaveMaxAge "365d"set g_XPSaveMinXP "-1"set g_maxXP "-1"set g_damageXP "1"set g_damageXPLevel "50"....//// Lua APIset lua_modules ""set lua_allowedModules ""exec objectivecycle.cfgset com_watchdog 60set com_watchdog_cmd "exec objectivecycle.cfg"
32:05 Start of round.32:05 Cheat logfile open: cheat.log32:05 Execing default.cfg mapconfig for 6 players.32:05 * Execed total of 20 commands from the config file.32:05 Execing battery.cfg mapconfig for 6 players.32:05 * Config file "mapconfigs/battery.cfg" was not found.32:05 *=====INITIALISING USER DATABASE32:05 * Opening user database file userdb.db.32:05 * Opening user database file userxdb.db.32:05 * User database files open. Caching database.32:05 22 players cached from the user database.32:05 No additional user records in the user database.32:05 * Reading aliases database.32:05 Read total of 16 aliases for 8 players.32:05 *=====DATABASE READY FOR USE32:05 ClientConnect: 0
Sorry for poor english, and thanks for any advise.