Toon posts:

[RTCW: ET] nq.cfg g_XPSave instellen

Pagina: 1
Acties:

Verwijderd

Topicstarter
Goedenavond,

Ik heb een vraag,

Ik heb een server met de mod Noquarter, de game is RTCW: ET. Ik heb dit ingevuld in de mod configuratie, alleen hij saved de xp niet, hier is de code. In de documentatie staat helemaal niks , en een forum is er niet van hun. Daarom vraag ik het hier.

code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
// g_XPSave - Sets flags for allowing per player XP saving between campaigns, rounds, etc. 
// 0 - Disable XP saving  
// 1 - Store XP when a client disconnects  
// 2 - Don't reset XP to the pre-map start values on a map restart, shuffle, etc..  
// 4 - Never ever reset xp  
// 8 - Force the disconnection of clients with the same GUID as the connecting client. 
//     This is useful in saving the stored XP of players with unreliable network connections 
//     since they should still get their stored XP even if reconnecting immediately with a new IP address  
// Default: 0 
set g_XPSave "4"

// g_XPSaveFile - Sets the filename you want XPSave to store data in. This file will be 
// relative to your fs_game directory (much like g_shrubbot). 
// Default: "xpsave.cfg" 
set g_XPSaveFile "xpsave.cfg"

// g_XPSaveMaxAge - The number of seconds that must pass without a connection from this player before
// XPSave forgets their XP and skills. 
// Default: 86400 (1 day) 
set g_XPSaveMaxAge 86400

// g_XPDecay - Decays players' XP on the server when set to 1. 
// This feature is mainly used with the g_XPSave 4 flag which allows XP to continue building forever. 
// 1 - Enable XP Decay  
// 2 - Do not decay a player's XP when they are disconnected from the server.  
// 4 - Do not decay a player's XP for the class they are currently playing as.  
// 8 - Do not decay a player's XP while they are spectating  
// 16 - Do not decay a player's XP during warmup/intermission  
// 32 - Do not decay a player's XP when he/she is playing on a team.  
// 64 - Do not decay a player's Battle Sense XP when he/she is playing.  
// 128 - Do not decay a player's Light Weapons XP when he/she is playing.  
// Default: 0 
set g_XPDecay 27

// g_XPDecayFloor - This is the minimum that any particular skill can be reduced to by g_XPDecay. 
// For example, setting this to 540.0 will ensure that no player will ever lose rank or
// skill levels due to g_XPDecay. 
// Default: 0 
set g_XPDecayFloor 540.0

// g_XPDecayRate - This is the rate (in skill points per second) that XP skill points for EACH 
// skill will decay when g_XPDecay is enabled. Setting this to 0.2 would result in a player losing
// 12 points per minute IN ALL SKILLS, so up to 84XP per minute if the player has skill points for each skill. 
// Default: 0 
set g_XPDecayRate 0.0

// g_maxXP - This will reset a players XP once their overall XP score reaches it.
// It useful for servers with XPSave that never resets. Set to -1 to disable. 
// Default: -1 
set g_maxXP 10000


Wie kan mij helpen?

XeroxJB

  • ph4ge
  • Registratie: Augustus 2004
  • Laatst online: 22:25
Probeer het is in het ET topic, maar ik denk niet dat veel mensen je kunnen helpen omdat iedereen etpro speelt.

toolkist schreef op vrijdag 24 februari 2023 @ 08:41: "Nah deze keer heb je gewoon gelijk. Geniet ervan, zo vaak zeg ik dat niet tegen je :+"


  • flashback1989
  • Registratie: Augustus 2005
  • Laatst online: 28-11 10:40
// g_XPSave - Sets flags for allowing per player XP saving between campaigns, rounds, etc.
// 0 - Disable XP saving
// 1 - Store XP when a client disconnects
// 2 - Don't reset XP to the pre-map start values on a map restart, shuffle, etc..
// 4 - Never ever reset xp
// 8 - Force the disconnection of clients with the same GUID as the connecting client.
// This is useful in saving the stored XP of players with unreliable network connections
// since they should still get their stored XP even if reconnecting immediately with a new IP address
// Default: 0
set g_XPSave "4"

dit werkt optelbaar
je wilt dat hij xp opslaat en niet reset
dat is dus 1 en 4
dus g_xpsave "5"

  • Crash
  • Registratie: Oktober 2001
  • Laatst online: 20:56
Tikje naar SPV :)