View Full Version : Spearhead ports for use behind routers
rudedog
02-25-2005, 11:20 PM
Taken from the Spearhead manual
TCP port 12203 (default ), 12204 - 12218
Master UDP port: 12300
Server UDP port 12203 (default), 12204 -12218
Note: you will need TCP and UPD ports 6667, 3783,27900,28900.29900.29901.13139 and 6515 open to use Gamespy to connect to Internet servers
smokeringhalo
05-15-2005, 08:13 PM
Im trying to set up a spearhead server but it simply wont show up in the in game browser nor gamespy.
I use zonealarm (which usually takes care of these things with program permission rights) but even with just using windows firewall with the ports listed here open, it still wont show up.
The server will show up in the lan menu and I can connect by entering in the IP address, just not the internet in game browser or gamespy (without which you might as well play SP cause no ones coming)
Am I missing something here?
rudedog
05-15-2005, 08:37 PM
are you connecting through a hardware router?
If yes you need to forward all these ports as well as open them in all your firewall programs you may be using....
smokeringhalo
05-15-2005, 09:01 PM
are you connecting through a hardware router?
If yes you need to forward all these ports as well as open them in all your firewall programs you may be using....
yes
(sigh)
now im really stuck as i have no idea how to forward them.
but hey, thanks for narrowing the problem down for me.
smokeringhalo
05-16-2005, 12:02 AM
After finally finding documentation on how to forward ports from the manufacturer, i have found that mine isnt a router at all, but simply an ADSL bridge modem with no telnet support.
So basically I'm back at square 1.
If I just have a bridge shouldn't it allow the port connections?
Also, I have been checking the in game browser and gamespy from the same pc the servers on. Would this have any bearing on it not showing?
P.S. This site is the best for documentation I've found. I wouldn't have even gotten as far as I have without it. Thanks!
SNYPE
05-16-2005, 10:43 AM
Your modem simply gives you an ethernet connection from your DSL. You will still need a router/firewall between it and your lan. The port forwarding needs to be done via the router/firewall you use. You are correct that you will NOT be able to see your server on GSpy if you are looking for it from within your lan. Have a friend look for it from his computer.
Software firewalls (XP, ZoneAlarm,etc) seem to have more problems with game servers due to the dynamic ports used by the game server. You would be better off using a hardware firewall/router (linksys, netgear, etc).
rudedog
05-16-2005, 12:03 PM
Thanks, thats what where here for.
I would check with your provider as well. some DLS providers don't allow certain ports and or might be blocking others game spy will need
smokeringhalo
05-16-2005, 01:30 PM
Your modem simply gives you an ethernet connection from your DSL. You will still need a router/firewall between it and your lan. The port forwarding needs to be done via the router/firewall you use. You are correct that you will NOT be able to see your server on GSpy if you are looking for it from within your lan. Have a friend look for it from his computer.
Software firewalls (XP, ZoneAlarm,etc) seem to have more problems with game servers due to the dynamic ports used by the game server. You would be better off using a hardware firewall/router (linksys, netgear, etc).
Thanks for the reply
Im still at square one however because I have opened the firewall ports to no avail. This is windows firewall (it is turned off due to zonealarm at the moment)
http://img182.echo.cx/img182/659/ports4dk.jpg
There are 2 ports not shown - Gamespy Dplay and Gamespy UDP pings
Zonealarm is even less configurable allowing only "trusted zones" by
host/site, ip address, ip range, subnet.
SNYPE
05-17-2005, 11:11 AM
As I said...Software firewalls present problems for game servers.
They are fine for clients but on the server its another story because they are much TOO restrictive. Give your server a static IP, place it in the DMZ of a hardware firewall/router, forward your ports (if necessary) and you are set.
smokeringhalo
05-17-2005, 02:47 PM
Unfortunately my ISP will not allow static IPs with my current plan.
For the same bandwidth of my dynamic line, the static line is almost 3 times as much.
Guess its back to UT2004 DM server for me.
Thanks for the information, you guys are great!
SNYPE
05-18-2005, 11:37 AM
You dont need a static Public IP, just a static Private IP on your lan. We are talking about port forwarding and in order to set the rules you need a static IP.
A static Public IP would be nice but you can still run a server without it since the IP will stay the same as long as you leave it on 24/7.
canadian bacon
07-10-2005, 05:08 PM
I cant say enough thank you's to Rude for being so thorough and informative about proper routing guidlines when setting up a router. Yo have solved so many problems with the spec release, that I can now look forward to a good nights sleep after 5 days of hair pulling. I was ready to set my pc on Fire!!
Thanks Rude :salute:
rudedog
07-10-2005, 05:38 PM
Glad we could help.
That's what we get paid for......ah wait a minute.... we don't get paid ....doh.. ;)
Anytime.
barney[uk]
01-03-2007, 02:05 PM
im having a similar problem i forwaded the necessary ports but i cant se my server in the browser only lan. thinking that other players couldnt join it. but a player managed to connect whilst i was testing mods. ive switched to another
router and the virtual servers section is different from the the last router
these are the potrs ive forwaded
Server Name External Port Start External Port End Protocol Internal Port Start Internal Port End Server IP Address Remove
spearhead 12201 12218 TCP/UDP 12201 12218 192.168.2.2
spearhead 12300 12300 TCP/UDP 12300 12300 192.168.2.2
:confused:
-Slick-cRiSsI
01-03-2007, 02:11 PM
This can probably help you for Ports fowarding. You need to open all ports for GameSpy + Ports for Spearhead or AA.
http://www.tmmworld.com/Default.aspx?tabid=56
barney[uk]
06-11-2008, 05:34 AM
no need. it was windows firewwal checkbox. im glad i read this post. was sending me potty figuring out why i couldnt
connect to my sh server
barney[uk]
08-16-2008, 02:22 PM
ive had to post a reply because for some reason the site wont let me post a new thread . same problem im getting on modtheater. ive had the mini mod for a while now
recentley i joined a sh server which had players starting off small instead of having to find the doll and shrink themselves i was thinking if i could modify my mini mod to do the same. but im not sure how it was changed and i dont think the clan are gonna just hand it over to me lol ill post the text files of the mod
this the text file of mohdm1 ive checked the original southern france and its not the same
// SOUTHERN FRANCE - dm/mohdm1
main:
// set scoreboard messages
setcvar "g_obj_alliedtext1" "Mini Adventure"
setcvar "g_obj_alliedtext2" "Southern France"
setcvar "g_obj_alliedtext3" ""
setcvar "g_obj_axistext1" ""
setcvar "g_obj_axistext2" ""
setcvar "g_obj_axistext3" ""
setcvar "g_scoreboardpic" "mohdm1"
setcvar "g_gametypestring" "Mini Adventure"
// call additional stuff for playing this map round based is needed
if(level.roundbased)
thread roundbasedthread
level waittill prespawn
//*** Precache Dm Stuff
exec global/DMprecache.scr
exec global/3rdperson.scr
exec global/message.scr
level.script = maps/dm/mohdm1.scr
exec global/ambient.scr mohdm1
level waittill spawn
setcvar "cheats" "1"
setcvar "developer" "1"
setcvar "thereisnomonkey" "1"
//************************************************** *********//
//THIS IS WHERE THE DOLL IS
level.med = spawn script_model
level.med model "player/german_Winter_1.tik"
level.med.origin = ( -012 1400 386 )
level.med.angles = ( -1.87 -180 0 )
//************************************************** *********//
//SHRINK PART OF THE DOLL
level.trigger = spawn trigger_use
level.trigger origin ( -012 1360.78 386 )
level.trigger setsize (0 0 0) ( 168 168 168 )
level.trigger setthread modelsizeis
//************************************************** *********//
//GROW PART OF THE DOLL
level.trigger = spawn trigger_use
level.trigger origin ( -012 1234.78 386 )
level.trigger setsize (0 0 0) ( 168 168 168 )
level.trigger setthread modelsizeis1
//************************************************** *********//
end
//-----------------------------------------------------------------------------
roundbasedthread:
// Can specify different scoreboard messages for round based games here.
level waitTill prespawn
level waittill spawn
// set the parameters for this round based match
level.dmrespawning = 0 // 1 or 0
level.dmroundlimit = 5 // round time limit in minutes
level.clockside = kills // set to axis, allies, kills, or draw
level waittill roundstart
end
//************************************************** *********//
//SHRINKS YOU
modelsizeis:
local.player = parm.other
local.player scale "0.5"
end
//************************************************** *********//
//************************************************** *********//
//RETURNS YOU TO NORMAL SIZE
modelsizeis1:
local.player = parm.other
local.player scale "1"
end
//************************************************** *********//
end
this is the 3rdperson scr text file
setcvar "cheats" "1"
setcvar "developer" "1"
setcvar "thereisnomonkey" "1"
thread 3rdon
end
3rdon:
for(local.i = 1;local.i <= $player.size;local.i++)
{
$player[local.i] stufftext ("cg_3rd_person 1")
$player[local.i] stufftext ("cg_cameraverticaldisplacement -18")
}
wait 0.1
goto 3rdon
end
GaSplat
08-17-2008, 08:09 PM
Note - I am barely a noob when it comes to modding.
Having said that, it looks like they are calling the setthread modelsizeis. You might look for that in one of the start up scripts (like DMprecache or if it is map specific then in a custom maps/dm/mohdm1.scr
barney[uk]
08-19-2008, 10:34 PM
setthread modelsizes? not sure what they are i have found the dm precache i ghuess your talking aboit the maps precache ie MP_Brest_DM_precache. i fiddled about with the southern france maps scr file all it got me was 3rd person and no doll
but i wasnt mini
// SOUTHERN FRANCE - dm/mohdm1
main:
// set scoreboard messages
setcvar "g_obj_alliedtext1" "Mini Adventure"
setcvar "g_obj_alliedtext2" "Southern France"
setcvar "g_obj_alliedtext3" ""
setcvar "g_obj_axistext1" ""
setcvar "g_obj_axistext2" ""
setcvar "g_obj_axistext3" ""
setcvar "g_scoreboardpic" "mohdm1"
setcvar "g_gametypestring" "Mini Adventure"
// call additional stuff for playing this map round based is needed
if(level.roundbased)
thread roundbasedthread
level waittill prespawn
//*** Precache Dm Stuff
exec global/DMprecache.scr
exec global/3rdperson.scr
exec global/message.scr
level.script = maps/dm/mohdm1.scr
exec global/ambient.scr mohdm1
level waittill spawn
setcvar "cheats" "1"
setcvar "developer" "1"
setcvar "thereisnomonkey" "1"
roundbasedthread:
// Can specify different scoreboard messages for round based games here.
level waitTill prespawn
level waittill spawn
// set the parameters for this round based match
level.dmrespawning = 0 // 1 or 0
level.dmroundlimit = 5 // round time limit in minutes
level.clockside = kills // set to axis, allies, kills, or draw
level waittill roundstart
end
//************************************************** *********//
//SHRINKS YOU
modelsizeis:
local.player = parm.other
local.player scale "0.5"
end
//************************************************** *********//
GaSplat
08-20-2008, 12:32 AM
suggest you hit modtheater.com. They have tutorials and such and can better help explain functions and how calls are made.
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.