Make it easy for him  from one newbie to another :D

Make copy of your start up script and server.cfg so youll have 2 start
scripts 1 and 2) and a standard server.cfg and a server2.cfg

Start_server1

#!/bin/sh

cd /home/smeg/bin/hlds_steam/hlds_steam   (all my installers are in 1st
hlds_steam directory)
./hlds_run -game cstrike -autoupdate -pingboost 2 +ip 202.36.205.21
+port 27015
+maxplayers 20 +map de_dust &

Start_server2

#!/bin/sh

cd /home/smeg/bin/hlds_steam/hlds_steam
./hlds_run -game cstrike -autoupdate -pingboost 2 +ip 202.36.205.21
+servercfgfi
le server2.cfg +port 27025 +maxplayers 12 +map de_dust &

Don�t for get to "cp server.cfg server2.cfg"

Then you can have diferent server names, settings, passwords, etc




-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Wednesday, October 01, 2003 4:09 AM
To: [EMAIL PROTECTED]
Subject: AW: [hlds_linux] running two linux dedicated counter-strike
server for LAN


try unique ports for each server

-----Urspr�ngliche Nachricht-----
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Auftrag von Ivan Sy
Gesendet: Tuesday, September 30, 2003 17:46
An: [EMAIL PROTECTED]
Betreff: [hlds_linux] running two linux dedicated counter-strike server
for LAN


Good day all.

i have a LAN of 15 computers all running counter strike perfectly fine,
with my debian box as my dedicated server. However sometimes, not all 15
computers wants to play on a given map, (and voting scheme could create
a quarrel between LAN players)

so i need a way to create two or even three dedicated server on my
debian box. (i dont have any other linux box)

so i tried

./hlds_run ...blah blah +ip 192.168.0.2 +port 27015
and run another
./hlds_run ... blah blah +ip 192.168.0.3 +port 27015
for the other one.

where:
eth1 = 203.215.76.121 --> dsl
eth0 = 192.168.0.1  --> lan
eth0:0 = 192.168.0.2 --> i did just just to try for dual server eht0:1 =
192.168.0.3 --> and also this

Note: "everytime" i run a dedicated counter-strike server it uses my
static ip, given by my isp. 203.215.76.121. even if i designate +ip
192.168.0.2 it still uses my static ip, but during execution and on
playing it works perfectly fine.

when trying to run another counter-strike dedicated server, it generates
this error:
UDP_Opensocket: port 27015: bind: Address already in use Couldn't
allocate dedicated server ip port

heres the setup:
first server:
./hlds_run -game cstrike -insecure -nomaster +sv_lan 1 +maxplayers 20
+map de_dust2 -no ipx +ip 192.168.0.2 +port 27015 second server:
./hlds_run -game cstrike -insecure -nomaster +sv_lan 1 +maxplayers 20
+map cs_deathmatch -no ipx +ip 192.168.0.3 +port 27015

Thank you all.



_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives,
please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives,
please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux

Reply via email to