Page 1 of 1

Linux Dedicated Server Problems (looked EVERYWHERE)

Posted: Wed Aug 09, 2006 7:29 am
by Pandemic
Ok, so I am setting up a dedicated server for q3a on my linux box just for fun.. When I run it, it all runs fine, i think (the stuff below is what goes on after my start command)

and my dedserver.cfg will be posted after the output all the way at the bottom :)

Once its up and all, I go to connect to it from my q3a client... and well... it just sits there.. and sits there.. and does nothing... (this is at the connecting screen) btw, i am using my server's internal IP.

I checked the netstat and the output is this (for the q3a server):
Proto Recv-Q Send-Q Local Address Foreign Address State User Inode
udp 0 0 *:27960 *:* root 39579

^^^^ thats the only thing I see that is using the port 27960
now see that the state is not LISTENING.. So i have no clue whats going on... anyway here is this:


xorserv@xorserv:~/q3ds$ sudo ./linuxq3ded +set dedicated 2 +exec dedserver.cfg +exec gamecycle.config
Q3 1.11 linux-i386 Nov 24 1999
----- FS_Startup -----
Current search path:
/home/xorserv/.q3a/baseq3
./baseq3/pak0.PK3 (3539 files)
./baseq3

----------------------
execing default.cfg
execing q3config.cfg
couldn't exec autoexec.cfg
--- Common Initialization Complete ---
Opening IP socket: localhost:27960
Hostname: localhost.localdomain
Alias: localhost
Alias: xorserv
IP: 127.0.0.1
dedicated is read only.
execing dedserver.cfg
------ Server Initialization ------
Server: q3dm7
Loading dll file qagame.
Failed to load dll, looking for qvm.
Loading vm file vm/qagame.qvm.
VM file qagame compiled to 1406264 bytes of code
------- Game Initialization -------
gamename: baseq3
gamedate: Nov 21 1999
Warning: cvar "dedicated" given initial values: "1" and "0"
------------------------------------------------------------
InitGame: \gamename\baseq3\sv_privateClients\0\mapname\q3dm7\protocol\43\g_gametype\0\version\Q3 1.11 linux-i386 Nov 24 1999\capturelimit\8\g_maxGameClients\0\sv_floodProtect\1\sv_maxRate\0\sv_maxclients\15\sv_hostname\noname\timelimit\0\fraglimit\10\dmflags\0
^[[Binfo_firstplace doesn't have a spawn function
info_secondplace doesn't have a spawn function
info_thirdplace doesn't have a spawn function
0 teams with 0 entities
20 items registered
-----------------------------------
------- BotLib Initialization -------
loaded weapons.c
loaded items.c
loaded syn.c
loaded rnd.c
loaded match.c
loaded rchat.c
------------ Map Loading ------------
trying to load maps/q3dm7.aas
loaded maps/q3dm7.aas
camp spot at 1180.0 -148.0 188.0 in solid
found 65 level items
-------------------------------------
32 bots parsed
30 arenas parsed
AAS initialized.
-----------------------------------
execing gamecycle.config
==== ShutdownGame ====
ShutdownGame:
------------------------------------------------------------
AAS shutdown.
------ Server Initialization ------
Server: q3dm1
Loading vm file vm/qagame.qvm.
VM file qagame compiled to 1406264 bytes of code
------- Game Initialization -------
gamename: baseq3
gamedate: Nov 21 1999
Warning: cvar "dedicated" given initial values: "1" and "0"
------------------------------------------------------------
InitGame: \gamename\baseq3\bot_minplayers\0\sv_privateClients\0\mapname\q3dm1\protocol\43\g_gametype\0\version\Q3 1.11 linux-i386 Nov 24 1999\capturelimit\8\g_maxGameClients\0\sv_floodProtect\1\sv_maxRate\0\sv_maxclients\15\sv_hostname\noname\timelimit\0\fraglimit\10\dmflags\0
0 teams with 0 entities
12 items registered
-----------------------------------
------- BotLib Initialization -------
loaded weapons.c
loaded items.c
loaded syn.c
loaded rnd.c
loaded match.c
loaded rchat.c
------------ Map Loading ------------
trying to load maps/q3dm1.aas
loaded maps/q3dm1.aas
found 18 level items
-------------------------------------
32 bots parsed
30 arenas parsed
AAS initialized.
-----------------------------------
Hitch warning: 591 msec frame time
Resolving master3.idsoftware.com
master3.idsoftware.com resolved to 192.246.40.56:27950
Sending heartbeat to master3.idsoftware.com
Hitch warning: 3580 msec frame time
Resolving authorize.quake3arena.com
authorize.quake3arena.com resolved to 192.246.40.56:27952
try moving the pin to Sending heartbeat to master3.idsoftware.com
Sending heartbeat to master3.idsoftware.com


********************
********************
********************
********************
********************
********************

set sv_hostname "Ubuntu YAY!"
set sv_maxclients 15
set g_motd "Sup? :D"
set g_quadfactor 4
set g_weaponrespawn 1
set g_forcerespawn 0
set rconpassword "*******"

set d1 "map q3dm7 ; set nextmap vstr d2"
set d2 "map q3dm1 ; set nextmap vstr d3"
set d3 "map q3dm17 ; set nextmap vstr d4"
set d4 "map q3tourney2 ; set nextmap vstr d1"

vstr d1

Posted: Wed Aug 09, 2006 8:14 am
by ^misantropia^
Looks sound. I take it you're using the demo version. Have you tried the icculus source? The demo comes with the PR 1.11 binary, which contains heaps of bugs.

Posted: Wed Aug 09, 2006 5:46 pm
by Pandemic
demo as in... linuxq3ded is a demo? or my pak0.PK3 is from a demo quake3?


I just found linuxq3ded on google.. and I've seen it working.. But I did not know that there are other quake3 servers ^_^

I'l get the icculus later on and repost if it works, or whats going on :)

Thanks!

Posted: Wed Aug 09, 2006 7:18 pm
by raw
I've ran a few dedicated Linux Q3 servers without issues. If you're behind a firewall or using ipchains, be sure you allow all of the ports necessary for the connection to succeed.

Posted: Wed Aug 09, 2006 11:59 pm
by prince1000
Opening IP socket: localhost:27960
Hostname: localhost.localdomain
Alias: localhost
Alias: xorserv
IP: 127.0.0.1
dedicated is read only.
execing dedserver.cfg
edit: err nm

post your server cfg. do you have net_ip and net_port set in these cfgs? even if you do you should put +set net_port 27960 and net_ip 192.168.0.x in you shortcut to be sure.

type net_port/ip in server console to see where you stand after that.

Posted: Thu Aug 10, 2006 3:45 am
by Pandemic
my server config:

Code: Select all

set sv_hostname "Ubuntu YAY!"
set sv_maxclients 15
set g_motd "Sup? "
set g_quadfactor 4
set g_weaponrespawn 1
set g_forcerespawn 0
set rconpassword "*******"

set d1 "map q3dm7 ; set nextmap vstr d2"
set d2 "map q3dm1 ; set nextmap vstr d3"
set d3 "map q3dm17 ; set nextmap vstr d4"
set d4 "map q3tourney2 ; set nextmap vstr d1"

vstr d1
Also, i've tried to run IOquake3 server, and I get the error:

Code: Select all

./ioquake3.i386: error while loading shared libraries: libopenal.so.0: cannot open shared object file: No such file or directory

Posted: Thu Aug 10, 2006 4:05 am
by axbaby
it looks like it's running but why does it start in q3dm7 ..shutdown then seems to restart fine in q3dm1 ???

things you should try

-download and install the osp mod

--startup like this as a test
xorserv@xorserv:~/q3ds$ sudo ./linuxq3ded +set dedicated 2 +exec dedserver.cfg +map q3dm7

Posted: Thu Aug 10, 2006 4:06 am
by prince1000
did you try adding what i said in your shortcut?

edit: wahts in gamecycle.cfg?

Posted: Thu Aug 10, 2006 4:24 am
by Pandemic
prince1000 wrote: edit: wahts in gamecycle.cfg?
not sure.. i think thats in the pak file..

**

Now i tired to run

Code: Select all

sudo ./linuxq3ded +set dedicated 2 +exec dedserver.cfg +map q3dm7
still doing the same thing..

Posted: Thu Aug 10, 2006 5:09 am
by Pandemic
alright, now i got the IOq3 server working.. just wondering now why its giving me the error when i try to connect to the server: "interface is version 3, expected 6" but i am guessing thats because my cleint is out of date.. i'l update it and repost :P

Posted: Thu Aug 10, 2006 5:12 am
by Pandemic
updated client.. getting same error.. any ideas?

Posted: Thu Aug 10, 2006 5:58 am
by Pandemic

Code: Select all

"interface is version 3, expected 6"
after i updated, i took the pak0 file from the updated client and updated the server pak0 file with the new one.. still get the error though.. hrm..

Posted: Thu Aug 10, 2006 8:32 am
by AmIdYfReAk
I'm sorry if this is said, i kinda skimmed :)

but have you found the 1.32B q3ded,

your con dump up top says you are running 1.11.

Ftp.idsoftware.com if you want to download it :)

Posted: Thu Aug 10, 2006 8:49 am
by DooMer
That error comes up because of a fucked up install. I've had it a few times, and a reinstall set things straight.

I forget exactly what the deal was that causes the error, but it's somewhat common. For windows I figured it was an old .exe or something.

Posted: Fri Aug 11, 2006 9:03 pm
by Pandemic
I cant find the "q3ded" executable anywhere in the FTP.. nor on google..

*sigh

Hrm... if anyone has the latest, could you send it to me at:
pandemic{at}@impulse100{dot}net

Posted: Fri Aug 11, 2006 10:00 pm
by Pandemic
awesome, i got the server, and it all works now.. Thanks for everyones help!! :D