Pages: [1]
  Print  
Author Topic: OpenArena server 0.7.6 and 0.7.0 problem port not opening  (Read 7558 times)
Aleks
Nub


Cakes 0
Posts: 4


« on: October 30, 2008, 01:44:34 PM »

Hi all ... I`m pissed A LOT!!!!
sry .. :/

Well... I`ve been trying to set up a server so a few friends of mine can play on it ... I had OA 0.7.0 first, made a server.cfg with this content :

// openarena example servercfg linux
// save as server.cfg in ~/.openarena/baseoa/
// start with:
// cd <openarena_base_dir>
// ./ioq3ded.i386 +set dedicated 2 +set net_port <PORT> +exec server.cfg +map aggressor
// <PORT> is usually 27960

net_port 2410
sv_hostname "Test server 1"
sv_maxclients 16
sv_master1 "dpmaster.deathmask.net"
sv_maxPing 150
sv_minPing 0
sv_pure 1
sv_maxRate 25000
//Tip: If g_delaghitscan is used sv_fps should be 20 for best results
sv_fps 20
sv_allowdownload 1

sv_privateClients "2" // slots substracted from sv_maxclients
sv_privatePassword "test"

capturelimit 8
timelimit 15
fraglimit 35

set rconPassword "z32gj" // for remote ingame servercontrol

g_motd "Test!"
g_quadfactor 4
g_inactivity 0
g_allowvote 1

//If you want to use unlagged functionality (since 0.7.6)
g_delagHitscan 1

//Special modes since 0.7.6:
//g_instantgib 1
//g_rockets 1
//g_vampire 0.25 //25%
//g_regen 5 //5 health per sec.

//Gametypes
// 0 = Free For All
// 1 = Tourney
// 3 = Team Deathmatch
// 4 = Capture The Flag
// 8 = Elimination
// 9 = CTF Elimination
// 10 = Last Man Standing
// 11 = Double Domination
// 12 = Domination
g_gametype 0

set d1 "map aggressor; set nextmap vstr d2"
set d2 "map oa_dm1; set nextmap vstr d3"
set d3 "map oa_dm2; set nextmap vstr d4"
set d4 "map oa_dm3; set nextmap vstr d5"
set d5 "map oa_dm4; set nextmap vstr d6"
set d6 "map kaos2; set nextmap vstr d7"
set d7 "map oa_dm5; set nextmap vstr d8"
set d8 "map oa_rpg3dm2;set nextmap vstr d9"
set d9 "map oa_shouse; set nextmap vstr d1"
wait
vstr d1 // start loop at d1


OA server started with the command above just removing the +set port argument, bit I coudn't connect. I tried telnet localhost 2410 didn't want to connect. I added +set net_port 2410 to the starting line ... same thing. I tried turning it on via root... SAME THING. Dropped iptables, same thing. Scanned with nmap NO PORT.

Next ... I tried it on my second PC runnig fedora, same thing... server starts but no open port .. .! First server was ona debian based linux.



Next I downloaded OA 0.7.6 ... apsolutelly the same thing ! Server starts but no port ! ... what can it be wrong HuhHuh I`m really pissed with this.,... Does it mean that I`m a moron ?!
Logged
damocles
Bigger member


Cakes 0
Posts: 158


May cause drowsiness


« Reply #1 on: October 30, 2008, 02:41:21 PM »

If you're trying to set up a public server (not LAN) and are behind a router / firewall, you will need to open and forward ports and UDP traffic from there.  You should be able to see it from http://dpmaster.deathmask.net/?game=openarena&oldprotocol=67.

If you want a custom port, you'll need to specify it on the command line or possibly (I have not tried this) in one of the standard .cfgs (not your own).


Can you just run ioq3ded.i386 +set dedicated 2 +set net_port 2410 (don't exec server.cfg or run a map yet), and check the output?
Code:
Opening IP socket: localhost:2410

If it can't use port 2410, it will try the next 9 ports, or will say:
Code:
WARNING: UDP_OpenSocket: bind: Permission denied
WARNING: Couldn't allocate IP port

You can use netstat --listening to see if it's there.
Code:
udp        0      0 *:2410                  *:*

Remember to have a map running.

Also, if it is a local server (LAN), the browser might not be able to see servers outside of the range of port 27960 -- clients will need to use either +set net_port or +set net_qport (I have not tried this), or connect manually from the console (\connect 192.168.0.1:2410).

If it's running properly, connecting from the same machine (\connect localhost:2410) should always work.
« Last Edit: October 30, 2008, 02:43:15 PM by damocles » Logged
Aleks
Nub


Cakes 0
Posts: 4


« Reply #2 on: October 30, 2008, 03:09:52 PM »

yeah.. public server ... but .. Smiley)) I tried it on a PC that acts like a server thats is like a gateway and its connected directly to the net... no routers no fireawalls
Logged
Pages: [1]
  Print  
 
Jump to: