Comment configurer un serveur pour le "no XP reset"

Vala, c le Yep Forum! Yep attitude exigée

Modérateurs : [Yep]SpudGun, Modos

Répondre
fabrice

Comment configurer un serveur pour le "no XP reset"

Message par fabrice » 10 juil. 2004

Bijour,

Il est en shrubet et j'ai la commande à ajouter mais,je ne sais pas dans quel fichier(c'est pas dans server.cfg...)
Ne me dites pas google is your friend car je n'ai rien trouvé de concret.
En tous cas pas où il faut ajouter les commandes...

Pour l'installe de shrubet il y a 2 façon:soit on creer un rep shrubet soit on ecrase les fichier dans /etmain.

J'ai choisi la derniere soluce.

Avatar du membre
[Yep]Shazam
Site Admin
Messages : 4976
Enregistré le : 26 sept. 2003

Message par [Yep]Shazam » 10 juil. 2004

Crée un repertoire Shrubet (comme Etpro et Etmain).
dezippe ton fichier Shrubet dedans.
Edite le server.cfg et mets la commande : set g_XPSave 3 (no XP reset avec map_restarts, reset_matches, swap_teams, or shuffle_teams)
ou set g_XPSave 7 (jamais de reset xp)


http://www.ardiem.net/shrubet/index.php?all=1

XP Persistence
Version Added or Last Modified: 1.1
Documentation last modified: 11:10:34 PM Jul 29, 2003
--------------------------------------------------------------------------------
g_XPSave (0) is a bitflagged variable that controls a number of XP persistence-related options. Add up the values corresponding to the desired features to and set g_XPSave appropriately to enable them:
1 - enable XP Saver
2 - XP is not reset on map_restarts, reset_matches, swap_teams, or shuffle_teams
4 - XP never resets (but the XP Saver will still reset when appropriate). 1 must be enabled for this to work.
About the XP Saver
When enabled, a player who is disconnected or kicked will have his XP saved and restored when he reconnects before the end of the campaign. In non-campaign gametypes, saved XP is cleared when XP normally resets.

The XP Saver relies on a valid GUID to match clients and may not work properly if PunkBuster is disabled on both client and server.

Stopwatch with XP Persistence
If you would like to run maps in stopwatch mode without XP resetting after each round, enable both option 1 and 4 (set g_XPSave to 5 or 7). Use the server command clearXP in your map rotation to reset XP at the desired round. Refer to the FAQ for sample rotations using this method.

1.1 Update
Lives left are also stored when the XP Saver is enabled, allowing the XP Saver to work better with limited-life servers.

fabrice

Message par fabrice » 11 juil. 2004

Merci beaucoup!

Je savais qu'en postant ici j'aurais de l'aide :D

En fait j'avais oublié le "set" devant le "XPSave"

Par contre ça marche aussi avec la methode d'installe N°1 c'est a dire qu'on installe shrubet en ecrasant les fichiers dans /etmain.
L'ip du serveur quand même:

217.174.198.215:27960

fabrice

Message par fabrice » 11 juil. 2004

Par contre j'ai un petit probleme,j'ai remarqué que quand certains se connecte le serveur s'arrete"connection interupted" et cela des que certains se connectent...
quelqun a deja vu ça?

Répondre