Internet games with windows & linux client

Internet games with windows & linux client

Discuss everything related to running Spring on your chosen distribution of Linux.

Moderator: Moderators

Post Reply
Ariol
Posts: 2
Joined: 19 Feb 2008, 21:03

Internet games with windows & linux client

Post by Ariol »

Hi@all.

I hope someone can help me, but first of all : "TA Spring is really great" :wink:


This is my current situation:

On my PC (Ubuntu 7.10):
- Spring 0.76b1 (repository-install)
- TASServer.jar (LAN-Mode)

On my friend's pc (Windows XP Home):
- Spring 0.76b1 (Windows-Installer)

We are not in a LAN environment, so we both enabled port forwarding on our routers (8000-8500 TCP & UDP).
We can both connect to the LobbyServer where it all seems to work allright. (chat, hosting games,... is working)

The problem occurs when we try to start a battle. The host can connect as used while the client only get's "Connecting to server". After a while he is kicked back to the lobby.

Singleplayer-games work for both of us.

Has someone already tried something like this and got it working?
User avatar
Peet
Malcontent
Posts: 4384
Joined: 27 Feb 2006, 22:04

Re: Internet games with windows & linux client

Post by Peet »

If a tasserver is on the same computer as a player, that player cannot host.
Ariol
Posts: 2
Joined: 19 Feb 2008, 21:03

Re: Internet games with windows & linux client

Post by Ariol »

Ok, thx for your answer.

But what if i am running the server and my friend is hosting the game.
It's not working in this combination either.

EDIT: I've tried the Windows-version with wine and i tried it by letting the server run on my laptop. No result yet.
User avatar
clericvash
Posts: 1394
Joined: 05 Oct 2004, 01:05

Re: Internet games with windows & linux client

Post by clericvash »

Why can the same pc not host and play, that is a bit pointless??!
User avatar
BrainDamage
Lobby Developer
Posts: 1164
Joined: 25 Sep 2006, 13:56

Re: Internet games with windows & linux client

Post by BrainDamage »

clericvash wrote:Why can the same pc not host and play, that is a bit pointless??!
you cannot run tasserver in the same pc of the host because the host will use tasserver to resolve it's external ip to broadcast to the clients, if you host both the game and tasserver, the server will resolve the ip as 127.0.0.1 and broadcast that, so clients won't be able to connect
User avatar
clericvash
Posts: 1394
Joined: 05 Oct 2004, 01:05

Re: Internet games with windows & linux client

Post by clericvash »

Hmm that is a bit annoying, other games can do it i am sure as i have done it before, is there no way around that?
Auswaschbar
Spring Developer
Posts: 1254
Joined: 24 Jun 2007, 08:34

Re: Internet games with windows & linux client

Post by Auswaschbar »

clericvash wrote:Hmm that is a bit annoying, other games can do it i am sure as i have done it before, is there no way around that?
Use official lobby server?
HAARP
Posts: 182
Joined: 06 Apr 2006, 07:18

Re: Internet games with windows & linux client

Post by HAARP »

Shouldn't this be possible by using 2 NICs on one PC? Alternatively use scrap parts to build a small lobby server.
User avatar
Peet
Malcontent
Posts: 4384
Joined: 27 Feb 2006, 22:04

Re: Internet games with windows & linux client

Post by Peet »

clericvash wrote:Hmm that is a bit annoying, other games can do it i am sure as i have done it before, is there no way around that?
Manually edit the clients' script.txt to set the host IP to the external ip of the host.
Suprano
Posts: 12
Joined: 18 Mar 2006, 18:21

Re: Internet games with windows & linux client

Post by Suprano »

did you try to let the windows pc run the lobbyserver and the linux pc hosts?

--Ano
Post Reply

Return to “Linux”