Jump to content

  • Log in with Facebook Log in with Twitter Log In with Google Log In with Steam Sign In
  • Create Account
Photo

Yet another XP save issue


  • Please log in to reply
5 replies to this topic

#1
OFFLINE   roissgil

roissgil

    Member

  • Members
  • PipPip
  • 24 posts
2
A step in the right direction

I've seen a lot of them, and read them, and checked settings til my eyes are crossed... so please forgive me for posting yet another one.

 

Admin levels stick, but XP does not (for anyone, it seems)

 

// XP Save configuration
set g_XPSave 27
set g_XPSaveMaxAge_xp "36h"
set g_XPSaveMaxAge "36h"
set g_damageXP 0
set g_damageXPLevel "50"
set g_maxXP "-1"
set g_XPSaveMinXP "-1"

 

set g_dbUserMaxAge "12o"
 

I've done dboptimization and dbcleanup .

 

The last thing in my server config is exec'ing the rotation.

 

I have no lua mods loaded.. and I have no idea what QMM is.

 

This is the command line to start the server.

 

command line start up is:  +set net_ip 108.61.125.67 +set net_port 27960 +set fs_homepath /usr/local/games/et/1195692/108.61.125.67:27960/ +set fs_basepath /usr/local/games/et/1195692/108.61.125.67:27960/ +set sv_maxclients 16 +set com_hunkmegs 256 +set fs_game silent +exec server.cfg

 

Any help would be appreciated.

 



#2
OFFLINE   TheSilencerPL

TheSilencerPL

    Advanced Member

  • Management
  • PipPipPipPip
  • 3096 posts
216
On the road to fame
  • LocationPoland

try setting g_XPSave 31



#3
OFFLINE   roissgil

roissgil

    Member

  • Members
  • PipPip
  • 24 posts
2
A step in the right direction

Excellent.  That worked.  So it will still respect the g_XPSaveMaxAge_xp and g_XPSaveMaxAge settings if I add in the 4 bit for XPSave?



#4
OFFLINE   gaoesa

gaoesa

    Advanced Member

  • Management
  • PipPipPipPip
  • 4391 posts
341
Will become famous
  • LocationFinland

The g_XPSave is badly documented and the xp save is a bit of a mess. The flag 4 will prevent XP resets on map starts when the game type is objective. It also prevents xp resets on map restarts and alike. The cvars for the XP age are respected even with this flag.



#5
OFFLINE   TheSilencerPL

TheSilencerPL

    Advanced Member

  • Management
  • PipPipPipPip
  • 3096 posts
216
On the road to fame
  • LocationPoland

In my opinion it should be respected still, but I would ask @gaoesa for confirmation as he knows that better than me.

 

EDIT1:

oh, thanks @gao for clarifying that, didn't notice your response. Apparently we were replying at the same time :) 10 minutes difference in "Submit"



#6
OFFLINE   roissgil

roissgil

    Member

  • Members
  • PipPip
  • 24 posts
2
A step in the right direction

Thank you both!






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users