Wargus / stratagus

The Stratagus strategy game engine
GNU General Public License v2.0
614 stars 115 forks source link

Network Gaming with Stratagus #92

Closed timfel closed 8 years ago

timfel commented 8 years ago

I am trying to play a LAN using stratagus and wargus. One PC has WIndows 7, and my laptop has Windows Vista. I have tried setting both computers up with manual IP and Subnet addresses and auto IP and subnet addresses, just to see if either will work.

Say PC 1 has 192.168.0.153 as its (manual) IP address...I create a game using this PC, then join using the laptop and typing in the PCs IP address. I click connect... ... ...nothing happens. No connection is established. If I use IPConfig, each computer picks up the other, no worries - and transferring data between the two computer in windows is easily done. I have given Stratagus permission to get past the firewall on both PCs as well.

What part am I doing wrong/what part am I missing altogether, to make this game able to be played on my network? I am using a crossover network cable to to link to two machines together as well, and this I am told is what I am meant to do to get the two talking - which they do, hence the easy data swapping in windows.

Please help.


Imported from Launchpad using lp2gh.

timfel commented 8 years ago

(by joris-dauphin) I think It should work... Anything in stdout/stderr ? stratagus version ? stratgus uses port 6660 by default and UDP. Each PC have to be able to see directly each other.

timfel commented 8 years ago

(by dinky-dye-aussie) Stratagus version is 2.2.7, trunk release 8693 on both computers. using latest wargus scripts. I did not try typing in 6660, will look up the UDP thing to see what I can do to make it work.

I will report back.

timfel commented 8 years ago

(by iddqd-mail) Network was fixed, it works correctly now :)