Digital Paint Discussion Board

Paintball 2: The Game => Server Discussion => Topic started by: Justinph5 on January 17, 2013, 09:28:16 PM

Title: Need help fixing servers
Post by: Justinph5 on January 17, 2013, 09:28:16 PM
I am pretty much finished with setting up servers and a php match site, but I'm having some problems with my servers and the config files.

The server doesn't seem to update to my config files, and when I go in the game as an op or rcon, and try to change something, it says "no game loaded"... It seems like it might be a permission error, but what do I need to adjust?

(Linux)
Title: Re: Need help fixing servers
Post by: SuperMAn on January 18, 2013, 09:33:53 AM
Make sure whole paintball folder has read/write/execute permissions.  

If you want an easy solution just do:
chmod -R 777 /path/to/paintball2


It isn't best practice to give 777 but it will work.  I am not an expert with linux permissions, I believe the lowest you would need is 755.

Gives the owner of the file read/write/execute and all others just read.
Title: Re: Need help fixing servers
Post by: Justinph5 on January 18, 2013, 11:52:38 AM
Oh true, I gave things read and write, but I forgot execute. I'll change that tonight. Thanks!
Title: Re: Need help fixing servers
Post by: ic3y on January 18, 2013, 12:30:23 PM
It isn't best practice to give 666 but it will work.  I am not an expert with linux permissions, I believe the lowest you would need is 644.
Gives the owner of the file read/write/execute and all others just read.

Isnt it 777 and 755 ?
Title: Re: Need help fixing servers
Post by: SuperMAn on January 18, 2013, 04:16:08 PM
Isnt it 777 and 755 ?

Yeah you are right, I will fix my post.  Been a while since I worked with linux permissions =s.
Title: Re: Need help fixing servers
Post by: Justinph5 on January 18, 2013, 09:54:21 PM
hmm, I set permissions to 777 for everything in paintball, but in game, when I try to change commands, it still says 'no game loaded'... Any other ideas?
Title: Re: Need help fixing servers
Post by: ic3y on January 19, 2013, 03:37:35 AM
hmm, I set permissions to 777 for everything in paintball, but in game, when I try to change commands, it still says 'no game loaded'... Any other ideas?

Whats your start command?
Title: Re: Need help fixing servers
Post by: Justinph5 on January 20, 2013, 05:16:12 PM
i think I have it as ./paintball2 +set dedicated 1 +set public 1 +exec myserver.cfg +map pbcup +set port 27910
Title: Re: Need help fixing servers
Post by: T3RR0R15T on January 20, 2013, 05:34:58 PM
Can you post the log files?
Title: Re: Need help fixing servers
Post by: Justinph5 on January 20, 2013, 05:40:47 PM
Code: [Select]
[02:24:20] ------- Loading gamei386.so -------
[02:24:20] LoadLibrary(./pball/gamei386.so)
[02:24:20] -------------------------
[02:24:20] 52 CMDlist entrys found.
[02:24:20] -------------------------
[02:24:20] ==== PB2 InitGame ====
[02:24:20] autojoin on, normal
[02:24:20] === Rotation Init ===
[02:24:20] 13 maps added to rotation.
[02:24:20] Global login enabled.
[02:24:20] ------- Server Initialization -------
[02:24:20] mapname: midnight
[02:24:20] entfile: pball/maps/ent/midnight.ent
[02:24:20] ==== PB2 InitMatch ====
[02:24:20] == Map Loaded: midnight ==
[02:24:20] === Team Flag CTF ===
[02:24:20] 30 entities inhibited
[02:24:20] 0 teams with 0 entities
[02:24:20] ACE: No node file found, creating new one...done.
[02:24:20] 20:00 left in match.
[02:24:20] -------------------------------------
[02:24:24] Sending heartbeat to 192.246.40.37:27900.
[02:24:24] Sending heartbeat to 70.85.9.178:27900.
[02:24:24] Sending heartbeat to 69.10.30.248:27900.
[02:24:24] Heartbeat acknowledged from 70.85.9.178:27900.
Title: Re: Need help fixing servers
Post by: ViciouZ on January 20, 2013, 05:57:51 PM
Are you using the command "cvar_set x y"?
Title: Re: Need help fixing servers
Post by: Justinph5 on January 20, 2013, 06:18:35 PM
oh... haha, so it wasn't the servers with the problem, it was me :P  I kept trying to use sv set. Danka