Server launcher for UNIX
Maybe someone would find this good. With Sauerbraten, open up a new map:
/newmap
and save it as xstartup:
/savemap xstartup
Quit Sauerbraten and write this to a file ./cserver (customise the launching options and Sauerbraten path):
#!/bin/sh
cd ~/sauer/
echo sleep 3 [ connect $1 ] > packages/base/xstartup.cfg
./bin_unix/linux_client -w1280 -h1024 -lxstartup
Make it executable:
chmod +x ./cserver
And test it out:
./cserver 88.198.9.140
It should now connect. Enjoy!
Posted on Wednesday, 4th April 2007 by Drakas