kommodus Posted March 21, 2013 Share Posted March 21, 2013 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 // LOGGING set 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" server.log 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. Cheers. Quote Link to comment Share on other sites More sharing options...
Management gaoesa Posted March 22, 2013 Management Share Posted March 22, 2013 It sounds like you might have g_XPSave 0 when the mod starts and the setting is changed after. It is important that the g_XPSave cvar has it's value before the map command is executed. As admin levels stay and the XP is not reset between maps, that sounds like the reason for the server start XP reset. Make sure you don't have duplicated config files. One in etmain and one in silent folder. Quote Link to comment Share on other sites More sharing options...
Management hellreturn Posted March 22, 2013 Management Share Posted March 22, 2013 Please don't post "part" of configs. Because with half parts we can't help you much. Post the full config and we will see your XP save issue is resolved. Quote Link to comment Share on other sites More sharing options...
kommodus Posted March 22, 2013 Author Share Posted March 22, 2013 Actually I'm in work and so far I checked ftp and i had server.cfg in etmain aswell in silent folder, when I'll at home I'll check if deleting server.cfg from etmain solved problem if not I'll post full configs. THX for replies. Quote Link to comment Share on other sites More sharing options...
kommodus Posted March 22, 2013 Author Share Posted March 22, 2013 Ok problem solved, after deleting server.cfg from etmain so far everything seems to be fine. Once again thanks for help. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.