ETMods.net

N!tmod, a Wolfenstein: Enemy Territory Modification!

You are not logged in.

Announcement

You can donate to help us keeping services online.

#1 10-Apr-15 19:32:56

Zer0
Member
Registered: 28-Mar-15
Posts: 8

XP reset after 10 maps? Is that possible?

My question is if i use this cvar like in the description below the xp will be reseted after 10 maps?

//Number of maps need to be played before player XP is reset.
set g_resetXPMapCount "10"

And these others cvars? I need to disable them or can leave at default values?

g_XPSave
Bitflag to modify XPSave options
0 : Disable XPSave
1 : Enable XPSave - Saved when client disconnects, or when map ends/restarts
2 : Don't erase current map XP when map restarts
4 : Never reset saved XP - XP can still be reset using !resetxp, !resetmyxp.
8 : Drop clients with the same NGUID as a connecting client to avoid corrupted XPSave
Default: 15
Note: XPSave system requires a valid SQLite database!

g_XPSaveMaxAge
XPSave duration in seconds.
Default: 86400
Note: This value is ignored if g_XPSave flag 4 is enabled!

Last edited by Zer0 (10-Apr-15 19:33:34)

Offline

#2 10-Apr-15 19:53:53

N!trox*
Administrator
Registered: 30-Mar-10
Posts: 1,090

Re: XP reset after 10 maps? Is that possible?

You only need to disable the the g_XPSave flag 4 (Never reset XP).
And it will reset XP for EVERY users in database after the defined count of maps have been played.


iluvnitmod.png

Offline

#3 10-Apr-15 21:01:19

Zer0
Member
Registered: 28-Mar-15
Posts: 8

Re: XP reset after 10 maps? Is that possible?

thx!!

I would like to ask too if its possible drop/kick spectators only when the server gets full?
i have set these cvars like that but ppls gets kicked/droped when server has 3 -4 players

set g_inactivity "180"
set g_spectatorInactivity "180"
set g_inactivityOptions "2"

Other problem is how i could disable the option to choose mp40 and thomson from limbo menu and have same choices like etmain/etpro?

Last edited by Zer0 (10-Apr-15 21:06:09)

Offline

#4 10-Apr-15 22:15:05

N!trox*
Administrator
Registered: 30-Mar-10
Posts: 1,090

Re: XP reset after 10 maps? Is that possible?

Oops, Cvar reference was wrong...

I've updated it: g_inactivityOptions
Flag 2 = Don't wait for a full server to drop inactive spectators

Don't use flag 2, and it will not kick any inactive players if the server isn't full.

As for MP40/Thompson in limbo, it has always been this way in N!tmod since the 1st release ever, and it can't be disabled.


iluvnitmod.png

Offline

#5 12-Apr-15 19:26:42

Zer0
Member
Registered: 28-Mar-15
Posts: 8

Re: XP reset after 10 maps? Is that possible?

How i can disable messages like "xxxxxx was revived by XXXXXXXXXX" ?

Offline

#6 12-Apr-15 20:12:04

N!trox*
Administrator
Registered: 30-Mar-10
Posts: 1,090

Re: XP reset after 10 maps? Is that possible?


iluvnitmod.png

Offline

#7 13-Apr-15 20:35:52

Zer0
Member
Registered: 28-Mar-15
Posts: 8

Re: XP reset after 10 maps? Is that possible?

I have this n_reviveSpreeOptions at 1 and it shows to everyone all revives not only spree revives? Is that correct?

Offline

#8 13-Apr-15 20:42:06

N!trox*
Administrator
Registered: 30-Mar-10
Posts: 1,090

Re: XP reset after 10 maps? Is that possible?

Flag 1 means the revive sprees will be announced.

If the flag 4 is set, it will show revives just like it does when a player is killed.

If you disabled flag 4 and you still see the revives announces, then there is something else broadcasting them to players.

I've seen this on servers where the "rspree" LUA module was running. Which is totally useless because N!tmod has its own built-in the revive spree system, and all it does is duplicating the job that's already done inside the mod...


iluvnitmod.png

Offline

Board footer

Powered by FluxBB