Digital Paint Discussion Board

Paintball 2: The Game => Server Discussion => Topic started by: KiLo on January 20, 2008, 09:24:33 PM

Title: Linux Server Setup Guide
Post by: KiLo on January 20, 2008, 09:24:33 PM
Now I know sk89q has a guide for this up on his site but I would like to see something that is more step by step like the Windows servers setup guide that we already have.
Title: Re: Linux Server Setup Guide
Post by: KnacK on January 20, 2008, 09:38:08 PM
Here's what I did:

Untar the package to my Desktop "/home/KnacK/Desktop" so that the file/folder structure is complete.

This is the script I use to launch screen then start the server:
Code: [Select]
#!/bin/bash
screen -A -m -d -S server27910 ./server27910.sh

This is the actual command line used to start the server:
Code: [Select]
#!/bin/sh
while true; do
./paintball2 +set dedicated 1 +set public 1 +set maxclients 16 +exec server27910 +map midnight
done


Title: Re: Linux Server Setup Guide
Post by: Cameron on January 20, 2008, 09:49:28 PM
I just untarred (dont know if that is a word) the package, then just use terminal 2 start it when i need it.  Otherwise i just use a windows version, easier to start if it is not a dedicated server.  Then just used ./paintball2 +set and so on.
Title: Re: Linux Server Setup Guide
Post by: jitspoe on January 22, 2008, 02:06:10 PM
Here's what I do:

screen -S <servername>
cd /path/to/paintball2
gdb paintball2
run +set dedicated 1 ...
ctrl+A+D

Then if the server crashes, I can screen -r <servername> and poke around in gdb (gnu debugger) to figure out what happened.
Title: Re: Linux Server Setup Guide
Post by: lekky on January 22, 2008, 03:26:27 PM
Here's what I do:

screen -S <servername>
cd /path/to/paintball2
gdb paintball2
run +set dedicated 1 ...
ctrl+A+D

Then if the server crashes, I can screen -r <servername> and poke around in gdb (gnu debugger) to figure out what happened.

ditto
Title: Re: Linux Server Setup Guide
Post by: Cameron on January 22, 2008, 07:34:09 PM
Here's what I do:

screen -S <servername>
cd /path/to/paintball2
gdb paintball2
run +set dedicated 1 ...
ctrl+A+D

Then if the server crashes, I can screen -r <servername> and poke around in gdb (gnu debugger) to figure out what happened.
To sophisticated 4 me.  It also depends what you are going to use the server for.  No point going through that kinda stuff if ur gonna have it up for just some fun with ur friends.