Page 1 of 1

Internet games with windows & linux client

Posted: 19 Feb 2008, 21:21
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?

Re: Internet games with windows & linux client

Posted: 19 Feb 2008, 21:33
by Peet
If a tasserver is on the same computer as a player, that player cannot host.

Re: Internet games with windows & linux client

Posted: 19 Feb 2008, 21:44
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.

Re: Internet games with windows & linux client

Posted: 19 Feb 2008, 22:39
by clericvash
Why can the same pc not host and play, that is a bit pointless??!

Re: Internet games with windows & linux client

Posted: 19 Feb 2008, 22:43
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

Re: Internet games with windows & linux client

Posted: 19 Feb 2008, 23:33
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?

Re: Internet games with windows & linux client

Posted: 20 Feb 2008, 14:08
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?

Re: Internet games with windows & linux client

Posted: 20 Feb 2008, 16:35
by HAARP
Shouldn't this be possible by using 2 NICs on one PC? Alternatively use scrap parts to build a small lobby server.

Re: Internet games with windows & linux client

Posted: 20 Feb 2008, 20:52
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.

Re: Internet games with windows & linux client

Posted: 24 Feb 2008, 18:42
by Suprano
did you try to let the windows pc run the lobbyserver and the linux pc hosts?

--Ano