Digital Paint Discussion Board

Paintball 2: The Game => Server Discussion => Topic started by: sk89q on August 18, 2007, 12:30:56 PM

Title: Paintball on rc.d
Post by: sk89q on August 18, 2007, 12:30:56 PM
Has anyone gotten Paintball to automatically boot with rc.d?

I've tried and I've failed =(
Title: Re: Paintball on rc.d
Post by: jitspoe on August 20, 2007, 07:50:52 PM
How are you trying to run it?  I assume you're trying to set it up as a server.  I would think creating a script to just run "paintball2 +set dedicated 1 +exec ..." would work, but I've never dealt with setting stuff up on boot in linux, though, so I don't know.  I'm sure it's an unnecessarily complicated process. ;)
Title: Re: Paintball on rc.d
Post by: XtremeBain on August 20, 2007, 07:57:56 PM
It's not terribly hard.
I had a script at one point, it's just a matter of copying one of the rc.d scripts for a simple service and throwing in your server script instead.  What distro are you using?  I'll put together one for you.
Title: Re: Paintball on rc.d
Post by: sk89q on August 21, 2007, 03:17:24 PM
I'm using FreeBSD.

I tried copying an existing rc.d script, and even read documentation on rc.d, but I haven't been able to get the server to boot.
Title: Re: Paintball on rc.d
Post by: XtremeBain on August 21, 2007, 07:14:21 PM
I'm using FreeBSD.

That's one of the few OS I have never made one for, but I'll give it a shot.
Title: Re: Paintball on rc.d
Post by: sk89q on August 22, 2007, 11:07:27 AM
Thanks =]
Title: Re: Paintball on rc.d
Post by: XtremeBain on August 22, 2007, 11:25:26 AM
I thought that I could install FreeBSD 6.2 (Developer build, no X) on a 2GB VMWare OS.  After an hour or so of slow (70KB/s) download from the only mirror I could login to it failed because the disk was full.  I'll expand the drive a couple GB and try it again tonight.