PDA

Voir la version complète : Install + Config Counter Strike Source


spongebob
08/05/2006, 10h55
Bonjour,

Je viens d'obtenir un game plan et je n'arrive à faire fonctionner le jeux counter strike source. Le serveur à l'aire de tourner mais impossible de se connecter.

Je lance le serveur par la commande :

screen -dmS cstrike ./srcds_run -game cstrike +maxplayers 16 +map de_dust2 -port 27015


voici mon server.cfg :

sv_lan 0

// Changez la valeur en fonction de votre réon :
// 0=US East coast, 1=US West coast, 2= South America, 3=Europe, 4=Asia,
// 5=Australia, 6=Middle East, 7=Africa and 255=world.
sv_region 3

// Attribuez un nom à otre serveur :
hostname "S7 Counter Strike Source Serveur by SpongeBob"

// Rcon password (mot de passe du contrôà istance) :
rcon_password "hardcore"

// Si vous souhaitez restreindre l.accèà otre serveur,
// Ãez les // devant la variable sv_password et indiquez le mot de passe // sv_password "votre_mot_de_passe"


// CONFIGURATION DU GAMEPLAY DU SERVEUR
// Indique le temps d.achat en minute maximum :
mp_buytime 1
// Indique le montant maximum d.argent disponible, maximum = 16000
mp_startmoney 8000
// Indique le temps en seconde avant que la bombe n.explose :
mp_c4timer 30
// Autorise les grenades aveuglantes ou non :
mp_flashlight 1
// 1 enables hearing footsteps, 0 disables it
mp_footsteps 1
// 1 enables falling damage, 0 disables it
mp_falldamage 1
// Indique le nombre d.otage maximum tuévant que le joueur soit dénnecté// 0 déctive cette fonctionnalitép_hostagepenalty 0


// CONFIGURATION DU TEMPS, DES MATCHS ET PARTIES
// Timelimit is how many minutes for a map.
mp_timelimit 45
// When a team reaches this amount of wins (before the timelimit or the roundlimit is
// reached), it has won the map. 0=disabled
mp_winlimit 14
// When two teams finish playing this amount of rounds (before the timelimit or the
// winlimit is reached) the map ends. 0=disabled
mp_maxrounds 21
// Round time, in minutes. After this amount of minutes has passed,
// a scenario win is awarded. Min 1, Max 9
mp_roundtime 3
// Sets the seconds before players can move in the beginning of a round
mp_freezetime 4
// TEAMBALANCING
// Toggles the forcing of clients to join teams to make it balanced. 1=on and 0=off
mp_autoteambalance 1
// Sets the maximum number of players that one team can have more than the
// other team. Use a setting of .0. to completely disable the team limiting.
mp_limitteams 1

// FF & TEAMKILL & IDLE
// Toggles friendly fire 1=on and 0=off
mp_friendlyfire 0
// Toggles the forcing of a player to sit out the next round if he
// has just killed a teammate. 1=on and 0=off
mp_tkpunish 1
// Kick idle/team-killing players. 1=on and 0=off
mp_autokick 1
// Kick players who team-kill within this many seconds of a round restart.
mp_spawnprotectiontime 10
// After this many seconds without a message from a client, the client is dropped
sv_timeout 40

// SPECTATORS
// Restricts spectatorcamera view for dead players. 1=on and 0=off
mp_forcecamera 1
// toggles whether the server allows spectator mode or not. 1=on and 0=off
mp_allowspectators 1

// *** IF YOU HAVE LAG ISSUES YOU CAN CHANGE THESE SETTINGS***
// IF YOU KNOW WHAT YOU ARE DOING !
// SET RATES
// Max bandwidth rate allowed on server, 0=unlimited, max=20000
sv_maxrate 8000
// Min bandwidth rate allowed on server, 0=unlimited, 4000=good to keep dialup gamers off the server
sv_minrate 1000
// Maximum updates per second that the server will allow, increasing this will take more cpu power, 100 is max
sv_maxupdaterate 60
// Frame rate limiter
fps_max 300

// DOWNLOAD
// Allow clients to download files
sv_allowdownload 1
// Allow clients to upload customizations files like logospray files
sv_allowupload 1

// *** IF YOU KNOW WHAT YOU ARE DOING YOU CAN CHANGE THESE SETTINGS AS WELL ***
// SERVER LOGGING, creates a logfile (needed for statsprograms), "log off" to turn off logging
log on
// VOICE disabled, if you want VOICE enabled then change 0 into 1
sv_voiceenable 0
// CHEATS & PAUSE
sv_cheats 0
// disable clients. ability to pause the server
sv_pausable 0

// OTHER SETTINGS
// amount of seconds players can chat after the game is over
mp_chattime 15
// if not 0 then game will restart in the specified number of seconds
mp_restartgame 0

// Exec files on startup...these are placed in the "C :\srcds\cstrike\cfg\" folder.
// No big deal if you don.t have these files !


Quelqu'un pourrait il me guider?

Merci d'avance.

Steph62
13/06/2006, 12h07
Pour un serveur cs je met cette commande (qui fonctionne) :
screen -dmS serveur1 ./hlds_run -game cstrike +maxplayers 16 +map de_dust2 +port 27015
Tu remarquera le : "+port 27015 "
Toi tu as : "-port 27015"

Essayes avec un "+" :)

panthere
10/07/2006, 07h17
je te conseil ausi de lancer le screen,
et ensuite de taper la commande pour lancer le jeux, comme cela s'il plente tu vois pourquoi.

Pour quitter ensuite fait un ctrl +d +a (sans relacher la touche ctrl);)

GretZ
10/07/2006, 22h18
euh!!! port c' est bien avec un tiret et non avec un plus:
-port 27015
Par contre rajoute peut etre l' adresse ip:
+ip xxx.xxx.xxx.xxx

nabilgates
18/03/2007, 13h44
Est ce que quelqu'un sais comment faire pour rebooter Counter Strike Source a partir de HLSW

car je viens de débuté donc j'ai bien installer le jeux ça je sais faire mdr mais quand je veux le reboter avec la console bien le server s"arrete


si quelu'un peux maider :D


Merci d'avance

lTommyl
18/03/2007, 21h29
si tu parle d'un restart, créé un fichier .cfg dans cstrike avec la comme données, restart

ensuite, via hlsw tu tape exec restart.cfg

j'ai tester sur mes server source et sa fonctionnne ;)