Page 1 of 1

Trying to Set up a listen server

Posted: Mon Aug 30, 2010 5:35 am
by FluffyMikuo
I've tried using sv_lan 0 and heartbeat in an autoexec file but it doesnt work which i read up to do in 2008, so i'm guessing that probably changed. So how can i set one up if thats possible, or is it impossible due to the stupid valve updates

Posted: Mon Aug 30, 2010 9:02 am
by TESLA-X4
Changes to sv_lan don't take effect until a mapchange, so try changing maps after setting it.

Posted: Mon Aug 30, 2010 1:29 pm
by MasterofPuppets
And you don't need an autoexec. file to create a listen server, just forward your ports correctly then use sv_lan 0 and heartbeat in the console then use changelevel (mapname). It should work correctly.

Posted: Mon Aug 30, 2010 5:41 pm
by FluffyMikuo
Well thats one problem I have, my router doesn't like forwarding ports properly.
I got a Dlink DIR-655, I followed the instructions from portforward[DOT]com but that didnt work because their tutorial is outdated I believe.
The pictures they had for examples were different, and the tech support didn't help at all when I asked. (He asked for the brandname and model number when I addressed it in the title and in my question =_=)
Can't I use something like Gameranger to make this work? I don't think gameranger has obsidian conflict in the lists.

Also by using an autoexec to do sv_lan 0 and heartbeat, I dont need to change the map so people can join off right as I start up the server.

Posted: Tue Aug 31, 2010 12:19 am
by MasterofPuppets
I haven't used a DLink, all I know is how to use a linksys router. If your router is having trouble forwarding ports, then it isn't really possible to create a server, unless you fix the router problem itself.

Posted: Tue Aug 31, 2010 5:47 am
by TESLA-X4
Well, being a Source engine based mod, there's little deviation (none, in fact) in port requirements between mods (and even official Valve games, for that matter). If there's a preset for 'Half-Life 2', 'Counter-Strike Source' or some other official Valve game, use it - it should work just fine.

Posted: Tue Aug 31, 2010 6:35 am
by FluffyMikuo
I'm aware of that, but my router just doesn't what to forwardports properly, it keeps adding a ipaddress instead of leaving it blank or zeros when i try to forward a TCP port.

I have ports 27020-27039 TCP and 1600 UDP forwarded with an IP Address of my internal ip, and 27000-27015 UDP forwarded with an Ip address of zeros.
When i looked at the pictures from portforward.com, the ip address fields were empty, and it said 20 -- port forwarding rules where as mine said 24

Posted: Tue Aug 31, 2010 7:16 pm
by TESLA-X4
Port forwarding is really telling your router, "Send any data you get on port <number> to this computer <IP address>." That's why the site recommends you to set up a static IP for the computer, or the router will not be able to determine where to send the packets to (it drops them instead, and your server becomes invisible) if the computer gets assigned a different address for whatever reason. You'll need to set up a static IP for the computer, and then set the port forwarding rules to forward incoming connections from those ports to the computer's IP address.

Edit:
Also, Source engine servers use UDP ports for client connections and TCP for RCON. That's probably why you're getting that problem - the router doesn't know which computer on your network to send them to, since the IP address is all zeros!

Posted: Wed Sep 01, 2010 1:30 am
by FluffyMikuo
I guess i missed that, I'll look into it more before I ask for further help Thanks mate

Posted: Wed Sep 01, 2010 2:06 am
by FluffyMikuo
Well I just set up a static IP, and reforwarded the ports, how ever the server still isnt working. I also had disabled my Firewall
Image
Heres a picture of what I did. Did I make a a mistake somewhere?

Posted: Wed Sep 01, 2010 6:23 am
by TESLA-X4
Use these instead:

Image

Edit:
Oh, and you can leave the 'Alternate DNS server' field blank instead of entering an inaccessible address, just make sure the preferred one isn't blank and is correct.

Posted: Fri Sep 03, 2010 2:55 am
by FluffyMikuo
It didnt work. My server isnt showing up on the list still. I used the Port Foward Checker, and it would seem the TCP ports are open but not the UDP