Run and paste the output here:
strace -e trace=bind,listen ./srcds_linux -game left4dead2 +map
c1m1_hotel -port 27020 > /dev/null
pizzahut wrote:
> It's in the forum thread, here's a c&p:
>
> Start lines:
>
> PORT=27017
> ./srcds_run -game left4dead -port $PORT +map l4d_hospital01_apartment
>
> PORT=27020
> ./srcds_run -game left4dead2 -port $PORT +map c1m1_hotel
>
> That's an excerpt of the script, in detail it's
>
> script 1: start_l4d1.sh
>
> #!/bin/sh
> cd ~/game_servers/left_4_dead
> screen -dmS l4d1 ./l4d1.sh
>
> Script 2: l4d1.sh
>
> #!/bin/sh
>
> PORT=27017
>
> echo "Please run this script via screen!"
> echo "Server start in 10s, press Ctrl-C to abort."
> # sleep 10
>
> while true
> do
> echo "*** Terminating servers running on port $PORT..."
> kill `ps -fu j0hn | grep "port $PORT" | grep -v grep | awk '{print $2}'`
pkill -fU j0hn "port $PORT"
:D
> sleep 2
>
> echo "*** Updating Steam..."
> ./steam
>
> echo "Updating L4D1 ..."
> ./steam -command update -game left4dead -dir .
>
> echo "Starting L4D1 server ..."
> cd l4d
> ./srcds_run -debug -game left4dead -port $PORT +map
> l4d_hospital01_apartment
> cd ..
(cd l4d; ./srcds... )
>
> echo "Waiting 10s before looping, hit Ctrl-C to stop the script ..."
> sleep 10
> done
>
> And similar for the L4D2 server.
>
> 2009/11/25 Joonas Lehtolahti <[email protected]>
>
>> How are you specifying the game port for the servers exactly?
>>
>>
> _______________________________________________
> 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