kajto3 Posted November 15, 2015 Share Posted November 15, 2015 Hellomy problem is, XP resets for all players after server restart. My settings are fine: server.cfg set g_XPSave 21 set g_XPSaveFile "xpsave.cfg" set g_XPSaveMaxAge_xp 48o set g_XPSaveMaxAge 48o set g_XPDecay 0 set g_XPDecayRate 0.0 set g_XPDecayFloor 0.0 set g_maxXP -1 set g_dbUserMaxAge 48oWhen I check them with rcon on server they are the same, except for g_dbUserMaxAge - it says 0, default 0. Admin levels are saved fine. The last settings in cfg are:exec omni-bot.cfgexec maps.cfg maps.cfg contains: set d1 "set g_gametype 6 ; map oasis ; set nextmap vstr d2" set d2 "set g_gametype 6 ; map battery ; set nextmap vstr d3" set d3 "set g_gametype 6 ; map goldrush ; set nextmap vstr d4" set d4 "set g_gametype 6 ; map radar ; set nextmap vstr d5" set d5 "set g_gametype 6 ; map railgun ; set nextmap vstr d6" set d6 "set g_gametype 6 ; map fueldump ; set nextmap vstr d1" vstr d1 exec omni-bot.cfgServer command-line contains additionally:+map oasis (I have to set +map, it's forced in panel)+exec server.cfg (1 cfg) It must be something with this g_dbUserMaxAge. Why it resets to 0? I have set only 1 that cvar. I exec only 1 server config. Can it be something with my xpsave.cfg path? I can't find xpsave file though. Thanks in advance for help. Quote Link to comment Share on other sites More sharing options...
Management gaoesa Posted November 15, 2015 Management Share Posted November 15, 2015 There is no g_XPSaveFile cvar. Your problem is that your launching the mod with the map command, when the g_XPSave is 0, and only after that you execute the server.cfg, which sets the correct value for it. You need to have the g_XPSave value set before the mod launches. You should read the Wiki for installation instructions and cvars. Quote Link to comment Share on other sites More sharing options...
kajto3 Posted November 15, 2015 Author Share Posted November 15, 2015 So, disabling +map from the command-line will possibly fix the problem? 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.