Digital Paint Discussion Board

Paintball 2: The Game => Server Discussion => Topic started by: nowin on May 20, 2010, 02:13:16 PM

Title: Linuxserver Problem
Post by: nowin on May 20, 2010, 02:13:16 PM
V29
Paintball 2 -- Version 2.0
execing configs/default.cfg
[********] Date: 2010-05-20
[20:06:25] ====== Paintball II Initialized ======

[20:06:25] execing configs/server.cfg
[20:06:25] ------- Loading gamei386.so -------
[20:06:25] LoadLibrary(./pball/gamei386.so)
[20:06:25] -------------------------
[20:06:25] 52 CMDlist entrys found.
[20:06:25] -------------------------
[20:06:25] ==== PB2 InitGame ====
[20:06:25] autojoin on, normal
[20:06:25] === Rotation Init ===
[20:06:25] 13 maps added to rotation.
[20:06:25] Global login enabled.
[20:06:25] ------- Server Initialization -------
[20:06:25] mapname: midnight
[20:06:25] ==== PB2 InitMatch ====
[20:06:25] == Map Loaded: midnight ==
[20:06:25] === Team Flag CTF ===
[20:06:25] 30 entities inhibited
[20:06:25] 0 teams with 0 entities
[20:06:25] ACE: No node file found, creating new one...done.
[20:06:25] 20:00 left in match.
[20:06:25] -------------------------------------


My Server ist starting or not Starting??
what is the Problem??

I see the server not at Publiclist and cant not join
Title: Re: Linuxserver Problem
Post by: ic3y on May 20, 2010, 02:28:39 PM
With what you start?

./paintball2 ...
or
Screen?

Is Linux your operation system? Or a server / second pc ?
Title: Re: Linuxserver Problem
Post by: nowin on May 20, 2010, 03:02:11 PM
This is a rootserver Linux OS
 ./paintball 2 +set dedicated 1 +set public 1 +exec server.cfg +map midnight 
Title: Re: Linuxserver Problem
Post by: nowin on May 20, 2010, 03:03:27 PM
when i m starting
./paintball2

Paintball 2 -- Version 2.0
execing configs/default.cfg
Console initialized.

------- sound initialization -------
LoadLibrary("./snd_oss.so")
/dev/dsp: No such file or directory
SNDDMA_Init: Could not open /dev/dsp.
------- Loading ref_pbsdl.so -------
LoadLibrary("ref_pbsdl.so") failed: No such file or directory
recursive shutdown
Error: Couldn't load gl refresh!
Title: Re: Linuxserver Problem
Post by: ic3y on May 20, 2010, 03:18:33 PM
You have permissions ?

Title: Re: Linuxserver Problem
Post by: nowin on May 20, 2010, 05:12:24 PM
777 when i have not permission the server was not starting sending hardbeat
Title: Re: Linuxserver Problem
Post by: vLaD on May 20, 2010, 11:52:46 PM
777 is over kill for paintball2 do 740

i think your ports are probably blocked.

try this: service iptables stop

iptables is a female dog to configure so if that works google how to open ports with iptables and open them and start it.

otherwise leave it off and do chkconfig iptables off

and all that needs to be done as root.


another thing u might want to try is

sudo chown -r username /home/username
Title: Re: Linuxserver Problem
Post by: nowin on May 21, 2010, 09:39:35 AM
chmod 740
ports open
sudo chown -r username

same problem ^^


Paintball 2 -- Version 2.0
execing configs/default.cfg
[********] Date: 2010-05-21
[15:37:05] ====== Paintball II Initialized ======

[15:37:05] execing configs/server.cfg
[15:37:05] Master server at 70.85.9.178:27900
[15:37:05] Sending a ping.
[15:37:05] Master server at 207.38.11.174:27900
[15:37:05] Sending a ping.
[15:37:05] ------- Loading gamei386.so -------
[15:37:05] LoadLibrary(./pball/gamei386.so)
[15:37:05] -------------------------
[15:37:05] 52 CMDlist entrys found.
[15:37:05] -------------------------
[15:37:05] ==== PB2 InitGame ====
[15:37:05] autojoin on, normal
[15:37:05] === Rotation Init ===
[15:37:05] 13 maps added to rotation.
[15:37:05] Global login enabled.
[15:37:05] ------- Server Initialization -------
[15:37:05] mapname: midnight
[15:37:05] ==== PB2 InitMatch ====
[15:37:05] == Map Loaded: midnight ==
[15:37:05] === Team Flag CTF ===
[15:37:05] 30 entities inhibited
[15:37:05] 0 teams with 0 entities
[15:37:05] ACE: No node file found, creating new one...done.
[15:37:05] 20:00 left in match.
[15:37:05] -------------------------------------
Title: Re: Linuxserver Problem
Post by: XtremeBain on May 21, 2010, 09:59:11 AM
What is IP of your server?

Can you post your server.cfg config? (take out rcon and oppass passwords)

What distribution/version and 32bit or 64bit?
Title: Re: Linuxserver Problem
Post by: nowin on May 21, 2010, 10:06:40 AM
32 bit

84.200.248.181:27910

// ----------------------------------------------------------------------
// GENERAL SETTINGS
// ----------------------------------------------------------------------

set autojoin normal
set ffire 0
set grenadeffire 1
set timelimit 20
set fraglimit 50
set elim 60 // time (in seconds) before players respawn
set gren_explodeonimpact 1
set deadtalk 0 // set to 1 to allow dead players to talk to living
set sv_maxvelocity 4096
set swear_filter 0
set sv_votemapenabled 1
set idle 65 // time (in seconds) before idle players are put on observer

// ----------------------------------------------------------------------
// MATCH SETTINGS
// ----------------------------------------------------------------------

set allow_match 0 // set to 1 to enable the "match" command for clan matches
set matchmode_cfg "matchmode.cfg"
set publicmode_cfg "publicmode.cfg"

// ----------------------------------------------------------------------
// CONSOLE LOGGING
// ----------------------------------------------------------------------
//
// logfile
// -------
// 0 - Disable console logging.
// 1 - Buffered logging.  File is wiped each server restart.
// 2 - Continuous logging.  File is wiped each server restart.
// 3 - Continous logging.  File is appended.

set logfile 3

// ----------------------------------------------------------------------
// STANDARD LOGGING
// ----------------------------------------------------------------------

// sl_logging
// ----------
// bit 1, val | 1 : display STDLogging to console
// bit 2, val | 2 : log STDLogging to sl_logfile
// bit 3, val | 4 : send UDP packets to server defined IPs (DISABLED)

// sl_logfile
// ----------
// the file to put the STDlog info in.
// # will be replaced with the PORT number of the server

// set sl_logging 2
// set sl_logfile server#.log

// ----------------------------------------------------------------------
// DOWNLOAD OPTIONS
// ----------------------------------------------------------------------

set allow_download         1
set allow_download_maps    1
set allow_download_models  1
set allow_download_sounds  1
set allow_download_players 1

// ----------------------------------------------------------------------
// OPERATOR SETTINGS
// ----------------------------------------------------------------------

// Use "login password" at the console to obtain op status of said level
// Commands are restricted by level in commands.cfg
set numpasses 5
set oppass1      ""
set oppass1level 1
set oppass2      ""
set oppass2level 50
set oppass3      ""
set oppass3level 100
set oppass4      ""
set oppass4level 150
set oppass5      ""
set oppass5level 150

rcon_password "lol"

you can take putty im chance the password next time the system is nacked

user ragga pw:test123
Title: Re: Linuxserver Problem
Post by: nowin on May 21, 2010, 11:27:06 AM
he was short on the run^^ server1.cfg
Title: Re: Linuxserver Problem
Post by: XtremeBain on May 21, 2010, 12:34:13 PM
Not sure what is going on here.. The server is starting up fine, responding to heartbeats and rcon/status queries (from localhost), but not showing up on dplogin.com's server list.

I'm working behind a firewall now, so I can't do much testing.

What type of VPS is this?
Title: Re: Linuxserver Problem
Post by: vLaD on May 21, 2010, 05:31:15 PM
sudo apt-get install screen
Title: Re: Linuxserver Problem
Post by: ViciouZ on May 21, 2010, 05:36:29 PM
sudo apt-get install screen
tar -xzf information_from_thread.tar.gz
./configure --troll=no
make
make install
Title: Re: Linuxserver Problem
Post by: vLaD on May 21, 2010, 05:58:16 PM
reason i said that vicious was because i went on  his server and currently trying to figure out the problem, with screen i can make a quick run command. and open it any time i want.
Title: Re: Linuxserver Problem
Post by: vLaD on May 21, 2010, 06:11:54 PM
that is weird. i can ping the address but i can't connect to it. it seems like there is another firewall that i can't access.

this seems like a webserver host or something ports 80 8080 and similar where listening.
Title: Re: Linuxserver Problem
Post by: nowin on May 22, 2010, 12:45:20 PM
the System ins nacked no firewall no webserver only os and Paintball srceen is installed
Title: Re: Linuxserver Problem
Post by: nowin on May 22, 2010, 01:14:21 PM
im installing my system new
Title: Re: Linuxserver Problem
Post by: nowin on May 22, 2010, 01:28:46 PM
the problem is I have two systems of the other one goes all the blocks even though identical
Title: Re: Linuxserver Problem
Post by: nowin on May 22, 2010, 02:24:34 PM
sorry guys the network card was faulty.THX for your help
Title: Re: Linuxserver Problem
Post by: vLaD on May 22, 2010, 03:03:42 PM
O i was about to beat my head against my keyboard.
Title: Re: Linuxserver Problem
Post by: nowin on May 22, 2010, 05:16:02 PM
have fun 84.200.248.181:27910 30 Slots
Title: Re: Linuxserver Problem
Post by: vLaD on May 22, 2010, 09:11:38 PM
nowin i created some scripts in your paintball folder so you would be able just to do ./start_server or something like that and it will do all the necessary commands follwed by it. instead of ./paintball2 +set ect ect

also this will only work if you installed screen.

to view the server alll you would need to do once you log in under that name is screen -r

if  you have multiple screens open on the server then screen -r screenname

i think i named it pub screen -r would show u the names if you have more than 1.

once you are viewing and you want to close the screen without killing the game its (ctrl+a+d)

mind you once you do ./start_server it will not do nothing visually but it has probably already started.

screen -r to check.
 
Title: Re: Linuxserver Problem
Post by: jitspoe on May 22, 2010, 10:26:20 PM
Sounds like you have it running now, but if not, it looks like you're missing the "setmaster" line, so the server was starting, but not being added to the master server list.  Either add "+setmaster dplogin.com" to the command line or "setmaster dplogin.com" to the config file.
Title: Re: Linuxserver Problem
Post by: Cameron on May 22, 2010, 10:30:32 PM
Sounds like you have it running now, but if not, it looks like you're missing the "setmaster" line, so the server was starting, but not being added to the master server list.  Either add "+setmaster dplogin.com" to the command line or "setmaster dplogin.com" to the config file.
I find that, even with that in the server config, for the first time that you run it, you have to manually type it into the console once its running.  I've waited for 30mins+ before and it still wouldn't show on the list until I had done it manually.
Title: Re: Linuxserver Problem
Post by: nowin on May 23, 2010, 11:14:22 AM
setmaster dplogin.com is in the server.cfg
Title: Re: Linuxserver Problem
Post by: jitspoe on May 26, 2010, 02:26:52 PM
I find that, even with that in the server config, for the first time that you run it, you have to manually type it into the console once its running.  I've waited for 30mins+ before and it still wouldn't show on the list until I had done it manually.
The setmaster command probably needs to be executed after the map loads.  I think in the current version I've fixed it so there's a slight delay so if you execute it before the map loads, it will still work.