Multiple players from LAN playing online?

Multiple players from LAN playing online?

Discuss your problems with the latest release of the engine here. Problems with games, maps or other utilities belong in their respective forums.

Moderator: Moderators

Post Reply
User avatar
Eazy-O
Posts: 4
Joined: 12 Feb 2009, 18:59

Multiple players from LAN playing online?

Post by Eazy-O »

Hello all,

first post here, although i've been playing Spring for some time now with friends and family. Which directly brings me to my question:

Is it possible for multiple players from one LAN, ergo one external IP, to play via TASClient or Spring Lobby online?

Just in case i wasn't clear enough, i have 3 computers at home, and would like them all to connect online to play in, say, a 3v3 team game. They can all connect into lobby, get into the same Battleroom, start connecting and load the level, but then only the host (i think) actually gets into game (3D engine and all) and waits for the others, while they just have the timer tick away seconds at the loading screen with nothing happening.

Should i assign each computer its own port to use for Spring and would that solve it?

Thanks in advance,
Oskar
User avatar
aegis
Posts: 2456
Joined: 11 Jul 2007, 17:47

Re: Multiple players from LAN playing online?

Post by aegis »

for now, join a game hosted by someone outside your lan
you can use an autohost
User avatar
BrainDamage
Lobby Developer
Posts: 1164
Joined: 25 Sep 2006, 13:56

Re: Multiple players from LAN playing online?

Post by BrainDamage »

if the clients uses SpringLobby, just tell them to write this command in the chat after they joined your game: ( all the clients will have to do )

Code: Select all

/replacehostip yourlanip
where yourlanip is obviously the internal lan ip of the host, the lobby will use that instead of the external ip broadcasted from the server
User avatar
aegis
Posts: 2456
Joined: 11 Jul 2007, 17:47

Re: Multiple players from LAN playing online?

Post by aegis »

though I dunno why tasserver is doin it rong

it's supposed to support it...
User avatar
BrainDamage
Lobby Developer
Posts: 1164
Joined: 25 Sep 2006, 13:56

Re: Multiple players from LAN playing online?

Post by BrainDamage »

because even if the lobby sends it's internal lan ip to the server, no message sends it back to the clients, hence they won't be able to know the internal ip from the server itself

EDIT: do you mean broadcasting the internal ip as opposed to external to all clients that share the same external ip of the host?
User avatar
aegis
Posts: 2456
Joined: 11 Jul 2007, 17:47

Re: Multiple players from LAN playing online?

Post by aegis »

I know uberserver sends the lan ip instead of the external ip when two players share the same external ip...

perhaps it's sending the wrong lan ip?
User avatar
Eazy-O
Posts: 4
Joined: 12 Feb 2009, 18:59

Re: Multiple players from LAN playing online?

Post by Eazy-O »

Brain Damage wrote:

Code: Select all

/replacehostip yourlanip
Worked like a charm! Maybe this would be useful to write down in an FAQ somewhere.

Also, thanks for the help about ranks on the server. ;)
User avatar
hunterw
Posts: 1838
Joined: 14 May 2006, 12:22

Re: Multiple players from LAN playing online?

Post by hunterw »

i have my particular computer's 8452 forwarded and host lan games joined by other people all the time using tasclient
User avatar
aegis
Posts: 2456
Joined: 11 Jul 2007, 17:47

Re: Multiple players from LAN playing online?

Post by aegis »

might be an issue with having multiple network cards - if the lobby detects the wrong one, the local ip won't be forwarded correctly.

though on a properly forwarded connection, the players can connect to the external ip from inside the router and it will still work...
Post Reply

Return to “Help & Bugs”