Spring on lan?

Spring on lan?

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

Torrasque
Posts: 1022
Joined: 05 Oct 2004, 23:55

Spring on lan?

Post by Torrasque »

I will make a lan in a fews weeks. But it will be in a warhouse without any internet connection.
I know you can set up a game with the "script.txt" file, but it is not very userfriendly, and at eight player, it's even hard to have all the player with the same script.txt.

Just a way to create a battleroom and join it with the ip would be really usefull.

jouninkomiko said he was working on it, but now with his job, I don't exept to see it happend in a near future.
So my question is , is anybody working on that? (if not, I will perhaps make a "quick fix" programe...but, as my coding skill sucks, I don't exept to have anything working :))
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

err, other than load up a chatserver on the host, and do the usual IP>IP game without battleroom I dont know.

Or perhaps if you could run the game server jounin made and change the code at the necessary points int he client to reflect the server address change and the database......
coryrc
Posts: 81
Joined: 01 May 2005, 23:09

Re: Spring on lan?

Post by coryrc »

Torrasque wrote:I will make a lan in a fews weeks. But it will be in a warhouse without any internet connection.
I know you can set up a game with the "script.txt" file, but it is not very userfriendly, and at eight player, it's even hard to have all the player with the same script.txt.

Just a way to create a battleroom and join it with the ip would be really usefull.

jouninkomiko said he was working on it, but now with his job, I don't exept to see it happend in a near future.
So my question is , is anybody working on that? (if not, I will perhaps make a "quick fix" programe...but, as my coding skill sucks, I don't exept to have anything working :))
I should at least have a program that generates a script and allows people to talk in the battleroom by then.
Torrasque
Posts: 1022
Joined: 05 Oct 2004, 23:55

Post by Torrasque »

Great!

(coryrc : are you Brrr?)
coryrc
Posts: 81
Joined: 01 May 2005, 23:09

Post by coryrc »

Torrasque wrote:(coryrc : are you Brrr?)
Sorry, I don't understand that question....

Oh, and I'll change my message: I WILL have something done in TWO weeks maximum.

Also, if you wanted, you can run the real Spring server; it's available in the code. You'll just need to point the DNS for clan-sy.com (?) to the computer running the server.
User avatar
LordMatt
Posts: 3393
Joined: 15 May 2005, 04:26

Post by LordMatt »

I should at least have a program that generates a script and allows people to talk in the battleroom by then.
Looking forward to it!

Will it be possible to play with two computers on a LAN against others on the internet, or not yet?

LordMatt.
User avatar
Ace07
Posts: 348
Joined: 21 Apr 2005, 20:46

Post by Ace07 »

You have to wait for the new client to be done. We hope to fix all Lan<->Wan incompatibilities in the release of the new Lobby Client.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

Ace, you're a star.
coryrc
Posts: 81
Joined: 01 May 2005, 23:09

Post by coryrc »

LordMatt wrote:possible to play with two computers on a LAN against others on the internet, or not yet?
I take it you were the one with the problems?

I'll give a little GUI interface to the script that lets people make last minute changes to such things as host ip/port before it launches the game (maybe in the server tab of the battleroom instead? we'll see)
User avatar
LordMatt
Posts: 3393
Joined: 15 May 2005, 04:26

Post by LordMatt »

It was F for Fragging who posted this thread, but I am also having the problem, as I can't play online together with my brother.

Anything you could give us would be greatly appreciated.

LordMatt.
coryrc
Posts: 81
Joined: 01 May 2005, 23:09

Post by coryrc »

LordMatt wrote:this thread
Okay, so the method of changing the IP address didn't work for you? Because, what I suggested would only be an easier way of doing that.

I haven't been able to play Spring yet (no access to windoze boxes that have 3d graphics) to understand the system yet.
User avatar
Ace07
Posts: 348
Joined: 21 Apr 2005, 20:46

Post by Ace07 »

It won't work, because there is a bug in the client that prevents it from working. You can either play LAN only, or WAN only. That is how I understand it.
User avatar
LordMatt
Posts: 3393
Joined: 15 May 2005, 04:26

Post by LordMatt »

Okay, so the method of changing the IP address didn't work for you? Because, what I suggested would only be an easier way of doing that.
What I tried was to use that method to start a game using the client for just the two of us. It didn't work then because the host timed out.

Perhaps related is that when we play a regular LAN game using Spring.exe, it won't work when I'm server, but will when he is. My LAN looks like this:
Image

LordMatt.
coryrc
Posts: 81
Joined: 01 May 2005, 23:09

Post by coryrc »

Oh, I've dealt with a similar problem on windoze boxes before. The problem was the Zonealarm firewall blocked the internet sharing. What firewall, builtin one? I wish you could try without the firewall on, it might give a clue.

So, you set up a game on SY's server, he joined, you started, and it didn't work?
I take it he can't host games for other people?
User avatar
genblood
Posts: 862
Joined: 19 Jan 2005, 03:37

Post by genblood »

The way you are sharing the network connect could be share
through a Linksys type device with nat. You can also, convert
a old pentuim PC into a firewall box too. A program call
Smoothwall Express, its a GPL firewall solution


You can get more info at http://www.smoothwall.org
User avatar
LordMatt
Posts: 3393
Joined: 15 May 2005, 04:26

Post by LordMatt »

Oh, I've dealt with a similar problem on windoze boxes before. The problem was the Zonealarm firewall blocked the internet sharing. What firewall, builtin one? I wish you could try without the firewall on, it might give a clue.

So, you set up a game on SY's server, he joined, you started, and it didn't work?
I take it he can't host games for other people?
The Firewall is Norton 2004. I can host games fine for online games by myself, as my firewall is configured to allow spring connections through. Just in case, I just allowed the private addresses through: 192.168.0.1 - 192.168.0.255.

I've done some more testing, and I can't join a game (in the client) hosted on his computer, though he can join one I host. (In fact, I bet he can't host games because I'm not sure his computer can accept incoming connections, given that it is behind NAT created by my computer.)

When I host and he joins on the client, both start and load, but his game exits without error shortly after displaying a "connecting to server" message. If he tries to connect to my game immediately after using the spring.exe by typing in my computer's local IP, my computer's spring displays several "lost connection to Joshua" messages, and eventually his spring starts without commanders, and then exits shortly after without error. The same thing happens if I try to be server with spring.exe locally, though if he is server, we can play fine.

LordMatt.
coryrc
Posts: 81
Joined: 01 May 2005, 23:09

Post by coryrc »

Hmmmm.
What if you set up your computer with just the standard windows firewall and allow incoming connections on the host port, and, obviously, shutdown the Norton firewall? Check that other people can join the game, then see if your brother can join. If he can't, will it work if he changes host IP to 192.168.0.1?

edit: Though, of course, this is easier solved with both or neither of you behind a NAT.
User avatar
LordMatt
Posts: 3393
Joined: 15 May 2005, 04:26

Post by LordMatt »

I disabled my internet (via the NIC) and firewall and tried to be server with spring.exe, and the same thing happened as I described above. I think there may be something wrong with the drivers on one of my NICs, as there should be no reason that wouldn't have worked. Unless Spring doesn't like the fact that one computer is providing DCHP to the other.

LordMatt.
coryrc
Posts: 81
Joined: 01 May 2005, 23:09

Post by coryrc »

Did you try disabling Internet Connection Sharing first?
User avatar
LordMatt
Posts: 3393
Joined: 15 May 2005, 04:26

Post by LordMatt »

Did you try disabling Internet Connection Sharing first?
I did disable the shared internet connection, I'm not sure what else there would be to do. I'm going to try to reinstall the drivers.

Edit: This didn't help at all, I disabled everything except the two LAN ports being used to connect the two computers, and still got the same result. It's rediculous as the two computers have the same motherboard and are using the same ethernet port to connect. I am out of ideas.

Edit2: I just hosted an OTA game on my computer fine, and I can host Online games in spring fine, why couldn't I host a LAN spring game? :(

LordMatt.
Post Reply

Return to “Engine”