Problem setting up listenserver

Obsidian General.
partymetroid
Pixel
Posts: 3
Joined: Fri Aug 08, 2008 2:36 am

Problem setting up listenserver

Post by partymetroid »

Hello. None of my friends can connect to my server. I am using the default settings, except for the name of the server (partymetroid) and the password. Whenever I enter the game, I type in sv_lan 0 into the developer console, to no avail. All of my friends get the "LAN Games Restricted to Class C Clients" message.

I am not behind a firewall, and I am directly connected to my modem (no router).

I would like to note that, however, if I DO connect through my router, we cannnot even get this far. What ports should I open up to the world?
JarskiFIN
Polygon
Polygon
Posts: 26
Joined: Sat Jul 12, 2008 7:53 pm

Post by JarskiFIN »

I set up my server like this:
map oc_archive;sv_lan 0;heartbeat;sv_password XXXXX

So, change that oc_archive to map you want. You need to type these in console at main menu.
User avatar
Neico
Lead Coder
Lead Coder
Posts: 1799
Joined: Tue Aug 15, 2006 3:39 pm
Location: Germany
Contact:

Post by Neico »

you can put that into game.cfg as well (or autoexec.cfg)
Image
partymetroid
Pixel
Posts: 3
Joined: Fri Aug 08, 2008 2:36 am

Post by partymetroid »

Neither of these posts helped me find a solution. We are still getting the LAN error. I typed in sv_lan 0 into the console to no avail. I typed in heartbeat into the console also to no avail.

At least I have my ports forwarded correctly now...
User avatar
Neico
Lead Coder
Lead Coder
Posts: 1799
Joined: Tue Aug 15, 2006 3:39 pm
Location: Germany
Contact:

Post by Neico »

sv_lan 0 takes effect on the next mapchange
Image
Hell-met
Obsidian Gold
Obsidian Gold
Posts: 2885
Joined: Tue Jun 27, 2006 4:09 am
Location: BIENVENUE DANS MON PAYS LE KEBEK

Post by Hell-met »

You could simply use Hamachi and connect with your friend that way.

www.google.com
partymetroid
Pixel
Posts: 3
Joined: Fri Aug 08, 2008 2:36 am

Post by partymetroid »

Neico wrote:sv_lan 0 takes effect on the next mapchange
I see. Thank you very much. :)

That's kind of strange, though. :S
Charles445
Polygon
Polygon
Posts: 23
Joined: Sun Jul 27, 2008 11:02 pm

Post by Charles445 »

I've been trying to host a server as well.
Even with all of that done, the server DOES show up on the sv list.
When people join however, they just lose connection (after 4 retries)
I honestly don't know why this isn't working.
Does anybody have any idea to what could be going on?
I can host listen servers in episode 1 source games, but not in OC.
Anybody know why this isn't working?
shiftey
npc_combinegunship
npc_combinegunship
Posts: 705
Joined: Thu Oct 09, 2008 4:45 pm
Contact:

Post by shiftey »

I've always typed in map oc_undersiege to test my maps and random people would show up and run around my map while I'm testing it. When I checked the servers list it would show up.

However, recently I selected "Create Server" from the main menu and ever since, my server no longer appears in the server list. Creating a server somehow corrupts one of the files that sends your server info to the master list. I checked everything in the obsidian folder (not including subfolders) and the cfg folder and they don't seem to be the problem.

So what file did it mess with?
JigglyWiggly
Banned
Posts: 150
Joined: Mon Jul 28, 2008 11:55 am

Post by JigglyWiggly »

Listen servers are disgusting use dedicated servers :lol:
Deathy
npc_metropolice
npc_metropolice
Posts: 255
Joined: Sun Jun 10, 2007 8:42 pm
Location: Germany
Contact:

Post by Deathy »

JigglyWiggly wrote:Listen servers are disgusting use dedicated servers :lol:
You know, us mappers are a bit lazy sometimes and we won't put a map on a dedi just to test something. It's easier to start up a listen.. :wink:
Image
oc_28-seconds-later_b2 (90% - on halt)
JigglyWiggly
Banned
Posts: 150
Joined: Mon Jul 28, 2008 11:55 am

Post by JigglyWiggly »

Can't you in the console just type "map oc_whatever"
Deathy
npc_metropolice
npc_metropolice
Posts: 255
Joined: Sun Jun 10, 2007 8:42 pm
Location: Germany
Contact:

Post by Deathy »

Oh yeah there was still a problem left..
Try to use heartbeat (it should send information to the master server).
Image
oc_28-seconds-later_b2 (90% - on halt)
Dillen
Vertex
Vertex
Posts: 6
Joined: Sat May 02, 2009 11:20 pm

Post by Dillen »

Charles445 wrote:I've been trying to host a server as well.
Even with all of that done, the server DOES show up on the sv list.
When people join however, they just lose connection (after 4 retries)
I honestly don't know why this isn't working.
Does anybody have any idea to what could be going on?
I can host listen servers in episode 1 source games, but not in OC.
Anybody know why this isn't working?
I have the same problem when people tries to join my server, i think i have the right ports forwarded on my router and allowed it in the windows firewall. Wich ports is required to be open for all to work correctly?
User avatar
Vasili
npc_helicopter
npc_helicopter
Posts: 901
Joined: Wed Aug 02, 2006 8:22 pm
Location: England

Post by Vasili »

It's a process of elimination.

Also, why so bumping?
Post Reply