[RÉSOLU] 2 fois la meme map

Tout ce qui concerne la configuration et l'administration des serveurs.
Rendez-vous dans Outils de communication & communautaires pour la conception de sites Internet.
Répondre
Avatar du membre
faxtarus
Messages : 18
Enregistré le : 13 juil. 2011, 15:12

2 fois la meme map

Message par faxtarus » 24 août 2011, 16:15

bonjour à toutes et à tous
Maintenant que mon serveur est lancé, il lance 2 fois la même map,
exemple: il lance abbey, il se termine puis la relance, il se termine puis lance casa qui une fois terminé se relance
ou ai je cafouillé?
merci d'avance

Avatar du membre
vsnd
Ancien responsable UTF
Messages : 945
Enregistré le : 03 avr. 2011, 20:58
Localisation : Poznań

Re: 2 fois la meme map

Message par vsnd » 24 août 2011, 16:18

Abbey est la map de départ dans le server.cfg. Abby est à la première ligne de ton cyclemap, ce qui veux dire qu'il charge la map par défaut et une fois terminé il active le cyclemap.txt et là, il tombe sur Abbey, à nouveau.

Changes la première map dans ton cyclemap ;)

Avatar du membre
faxtarus
Messages : 18
Enregistré le : 13 juil. 2011, 15:12

Re: 2 fois la meme map

Message par faxtarus » 24 août 2011, 16:30

D'accord, et donc pour qu'abbey soit dans la suite il faut la mettre à la fin de mapcycle, ou c'est inutile?
Et pourquoi a chaque map, il double?

Avatar du membre
Sparkwade
Membre de l'association
Membre de l'association
Messages : 1442
Enregistré le : 31 août 2008, 10:15

Re: 2 fois la meme map

Message par Sparkwade » 24 août 2011, 17:01

Jericho a écrit :Abbey est la map de départ dans le server.cfg. Abby est à la première ligne de ton cyclemap, ce qui veux dire qu'il charge la map par défaut et une fois terminé il active le cyclemap.txt et là, il tombe sur Abbey, à nouveau.

Changes la première map dans ton cyclemap ;)
Tu pourrais éviter de dire n'importe quoi ?

Si la première map du cfg et celle du cyclemap est la même, il va pas la charger 2 fois ...
En revanche s'il n'y a que ut4_abbey dans le cyclemap.txt c'est sûr qu'il va boucler dessus ...

On peut avoir ton server.cfg et ton cyclemap faxtarus ?

Avatar du membre
faxtarus
Messages : 18
Enregistré le : 13 juil. 2011, 15:12

Re: 2 fois la meme map

Message par faxtarus » 24 août 2011, 17:16

la map recommence mais on change d’équipe, style revanche, je me suis mal exprimé

config:
//*** Master Servers *** Servers the server will report to if 'dedicated' is set to 2. When set to 1, it doesn't report.
set sv_master1 "" //This one will be set automatically by the game-engine, so just leave it blank
set sv_master2 "master.urbanterror.info"
set sv_master3 "master2.urbanterror.info"


//*** General Game Settings ***
set sv_maxclients "16" //max clientslots available on the server, using more than 16 is not advised. It can cause lag and most maps are not built for it. Going over 24 can cause nasty bugs.
set g_maxGameClients "0" //max clients that can actually join the game. Other clients are forced to spectate. 0=all
set sv_privateClients "0" //Amount of private slots. This amount of slots will be reserved for players who enter the right privatepassword
sets sv_dlURL "http://lyris-music.fr/urtmap" //Sets the address for auto-downloading. Auto-download only works on ioUrbanTerror-clients, not quake3-clients. The client will try to download <sv_dlURL>/q3ut4/mapname.pk3. So if your server is running ut4_coolmap and sv_dlURL is set to 'yoursite.com/maps', make sure the maps is hosted at http://www.yoursite.com/maps/q3ut4/ut4_coolmap.pk3. Leaving this set 'urbanterror.net' will make it use a map mirror with the most common maps on it. If you got your own hosting, please us that though, to save bandwith.

//----------------------------------
// Server Setup
//----------------------------------
seta g_matchmode "0" // matchmode is for matchplay. Features timeouts and ready-commands
seta g_gametype "3" // 0=FreeForAll, 3=TeamDeathMatch, 4=Team Survivor, 5=Follow the Leader
// 6=Capture and Hold, 7=Capture The Flag, 8=Bombmode
seta sv_allowDownload "1" // Disables downloading of files from server that client does not already have
seta sv_cheats "0" // Turns off in-game cheats
seta sv_floodprotect "0" // Enables text flooding for team binds
seta sv_maxrate "0" // Sets server rate, 0 = max
seta sv_maxPing "130" // Grants access to server regardless of ping
seta sv_minPing "0" // Grants access to server regardless of ping
seta sv_pure "1" // Enables pure server protection from basic cheats
seta sv_reconnectlimit "0" // Allows unlimited player reconnects
seta sv_timeout "90" // Time in seconds before a 999 player is dropped
seta g_allowBulletPrediction "1" // Enabled bullet prediction
seta g_antiwarp "1" // Enables anti-warping gamecode
seta g_antiwarptol "50" // Penalty for anybody with ping-flux above 50ms
seta g_bulletPredictionThreshold "5" // Default distance a player needs to have traveled before a wall-check is done
seta g_enablePrecip "0" // Disables weather effects
seta g_gravity "800" // Default Gravity Level
seta g_healthreports "1" // Players will know attacker's health post-mortem
seta g_inactivity "0" // Players are not kicked for being afk
seta g_knockback "1000" // Default knockback from a weapon, higher number = greater knockback
seta g_log "games.log" // Sets a seperate log file for Urban Zone League macthes
seta g_logsync "2" // Enabled real-time log writing
seta g_logroll "0" // Disables log rollover
seta g_maintainTeam "1" // On map reloads, players will spawn on the same team as before
seta g_maxteamkills "0" // Maximum number of team kills allowed before a player is auto-kicked
seta g_refNoBan "1" // Referees cannot ban fellow gamers
seta g_removeBodyTime "10" // Time in seconds for dead bodies to fade away
seta g_teamautojoin "0" // Disables players being forced into the action upon joining server
seta g_teamForceBalance "1" // Disables the server forcing even teams in terms of numbers
seta g_syncronousClients "0" // Setting to 1 may cause server to feel laggy
seta logfile "3" // Appends the console log
seta pmove_fixed "1" // Fixed frequency player physics
seta pmove_msec "8" // Time between 2 advances of player physics
seta timescale "1" // Normal gamespeed

//=================================================
// MATCH SETTINGS
//=================================================

//----------------------------------
// Organizational
//----------------------------------
seta g_allowChat "2" // Allows chat between all players on server
seta g_allowVote "559" // Enables voting for all votable settings
seta g_armbands "1" // Allow players to assign their own armbands color for better use of minimap
seta g_deadchat "2" // Dead can talk to everyone
seta g_failedVoteTime "45" // Time in seconds before a vote fails
seta g_pauselength "0" // Allows server admin to pause indefinitely
seta g_timeouts "3" // Number of timeouts possible in a round
seta g_timeoutlength "300" // Length of timeout in seconds

//----------------------------------
// Gameplay Settings
//----------------------------------
seta fraglimit "0" // Removes Fraglimit in Team Survivor/Bomb Mode and Capture limit in CTF
seta timelimit "10" // Sets timelimit for 10 minutes a round.
seta g_followstrict "1" // Replaces followforced and followenemy
seta g_friendlyFire "2" // Players are able to kill their own teammates without being kicked by server
seta g_gear "0" // No weapons restrictions
seta g_maxrounds "0" // Turns maxrounds off so timelimit works
seta g_respawnProtection "2" // Seconds that a player is invulnerable after they have spawned
seta g_suddendeath "0" // Disables Sudden Death in the event of equal scores when timelimit is reached
seta g_swaproles "1" // Turns swaproles on
seta g_warmup "10" // Seconds of warmup time between map load and match begin.

//----------------------------------
// CTF Settings
//----------------------------------
seta capturelimit "0" // Disables the Capture Limit
seta g_hotpotato "1" // Disables automatic Flag dropping after x minutes (New in 4.0)
seta g_flagReturnTime "30" // Seconds, after a flag is dropped, that it will automatically be returned.
seta g_respawnDelay "10" // Length of time before respawn, ignored as we uses waverespawn
seta g_WaveRespawns "1" // wave respawn (1) or traditional timed respawns (0)
seta g_redwave "15" // Sets red wave for max 14 seconds
seta g_bluewave "15" // Sets blue wave for max 14 seconds

//----------------------------------
// TS and Bomb Settings
//----------------------------------
seta g_bombexplodetime "30" // Time that bomb counts down until BOOM!!
seta g_bombdefusetime "6" // Time required to defuse a ticking bomb
seta g_bombRules "1" // Setting of "0" scores Bomb by traditional method
seta g_survivorRule "0" // End of round, with players left alive, results in a draw
seta g_roundTime "4" // Length of time between each TS/Bomb round


//----------------------------------
// Visual Identifers
//----------------------------------

//*** Map Rotation ***
set g_mapcycle "mapcycle.txt" //name of mapcycle-file, located in q3ut4 directory
map ut4_abbey //what map to start with

mapcycle
ut4_abbey
ut4_casa
ut4_algiers
ut4_austria
ut4_riyadh
ut4_sanctuary

Avatar du membre
vsnd
Ancien responsable UTF
Messages : 945
Enregistré le : 03 avr. 2011, 20:58
Localisation : Poznań

Re: 2 fois la meme map

Message par vsnd » 24 août 2011, 17:17

Tu pourrais éviter de dire n'importe quoi ?
Cela me paraissait logique :roll:

Code : Tout sélectionner

map ut4_abbey //what map to start with
ut4_abbey

Avatar du membre
faxtarus
Messages : 18
Enregistré le : 13 juil. 2011, 15:12

Re: 2 fois la meme map

Message par faxtarus » 24 août 2011, 17:22

de plus quand je lance le server, il marque dans la fenetre dos: 2 teams avec 31 entities

Avatar du membre
Sparkwade
Membre de l'association
Membre de l'association
Messages : 1442
Enregistré le : 31 août 2008, 10:15

Re: 2 fois la meme map

Message par Sparkwade » 24 août 2011, 18:15

Ca beau être logique, si tu n'en as aucune idée tu postes pas ...

@faxtarus : oui en fait c'est le comportement normal, ça permet de faire jouer les équipes de chaque côté de la map (utilisé en match ctf/bomb par ex). C'est la variable g_swaproles qui est responsable de ce comportement. Il suffit de la mettre à 0 pour désactiver cette fonction, comme ceci :

Code : Tout sélectionner

seta g_swaproles "0"
Pour 2 teams avec 31 entities c'est normal. Ne te soucie pas de ce message. ;-)

Avatar du membre
faxtarus
Messages : 18
Enregistré le : 13 juil. 2011, 15:12

Re: 2 fois la meme map

Message par faxtarus » 24 août 2011, 18:44

Merci ça marche nickel.
Bises à toutes et à tous :mrgreen:

Avatar du membre
Sparkwade
Membre de l'association
Membre de l'association
Messages : 1442
Enregistré le : 31 août 2008, 10:15

[RÉSOLU] 2 fois la meme map

Message par Sparkwade » 24 août 2011, 20:01

Problème résolu
Bonjour,


Il semble que le problème de ce sujet a été résolu.

-----
Merci de votre compréhension.

L'équipe Urban Terror France

Répondre