Author Topic: Glest multiplayer  (Read 15207 times)

martiño

  • Behemoth
  • *******
  • Posts: 1,095
    • View Profile
Glest multiplayer
« on: 15 December 2007, 17:10:21 »
As you might already know, from version 3.0.0 Glest includes multiplayer play over LAN/Internet.

To play:

- One player has to host the game: go to "new game" and open some network slots
- The other players have to join by typing the IP of the host in the "join game" menu and then clicking on "connect".
- The host has to launch the game.
- If you are behind a router, you will have to use the IP of the router and redirect TCP port 61357 to your machine (only if you want to host games).
- If you disable fog of war or change any other files in the glest folder the game is likely to get out of sync and crash.
« Last Edit: 20 March 2008, 11:04:07 by martiño »

Jamesgamer

  • Guest
Re: Glest multiplayer
« Reply #1 on: 15 December 2007, 20:07:45 »
Quote from: "martinho"
- If you are behind a router, you will have to use the IP of the router and redirect TCP port 61357 to your machine.


could you please explain to people like me that don't know how to do that? where is the "redirect TCP port 61357" button  :confused:
« Last Edit: 1 January 1970, 00:00:00 by Jamesgamer »

@kukac@

  • Guest
topic
« Reply #2 on: 16 December 2007, 07:08:12 »
open your webbrowser, and open the 192.168.0.1 address. the next step is depending on your router, you should find something like virtual servers, or port forwarding. make a new open port with protocol TCP with the port 61357.
« Last Edit: 1 January 1970, 00:00:00 by @kukac@ »

hailstone

  • GAE Team
  • Battle Machine
  • ********
  • Posts: 1,568
    • View Profile
(No subject)
« Reply #3 on: 16 December 2007, 11:47:31 »
There is lots of tutorials on port forwarding for different routers at http://portforward.com/ . The process is fairly similar for each.
« Last Edit: 1 January 1970, 00:00:00 by hailstone »
Glest Advanced Engine - Admin/Programmer
https://sourceforge.net/projects/glestae/

Jamesgamer

  • Guest
(No subject)
« Reply #4 on: 16 December 2007, 16:44:09 »
On portforward.com i found a tut on how to forward port with my router, but it says i need a "static ip adress"... do i really need one?

http://www.portforward.com/english/rout ... efault.htm

Static ip adress tut (which I do not want to follow due to length >_<):
http://www.portforward.com/networking/static-xp.htm
« Last Edit: 1 January 1970, 00:00:00 by Jamesgamer »

martiño

  • Behemoth
  • *******
  • Posts: 1,095
    • View Profile
(No subject)
« Reply #5 on: 16 December 2007, 17:30:50 »
You don't really need a static address, but if you have a dynamic one you will have to change the router settings every time your IP changes.

Anyway, you only need to do the redirection if you want to host games, you can still play if somebody else does it.
« Last Edit: 1 January 1970, 00:00:00 by martiño »

Jamesgamer

  • Guest
(No subject)
« Reply #6 on: 17 December 2007, 23:19:09 »
Thanks, martinho.

Do all the players have to have the same copy of the factions? EX: if i host a game with a minor alteration in the science faction for a unit, will my friend have to change the same thing in his files?

PS: how do i change my icon on the left
<<<
« Last Edit: 1 January 1970, 00:00:00 by Jamesgamer »

jbr

  • Guest
(No subject)
« Reply #7 on: 18 December 2007, 01:07:21 »
I believe that if two players have different versions of same-name factions, then they will see two very different games play out, assuming it doesn't just crash. I haven't tried it myself yet, so one of the developers may know more at this point.

As to the icon, I assume you mean your rank icon, which only changes when you gain new post-count based ranks. You can always set your own avatar though, just like any other phpbb forum.
« Last Edit: 1 January 1970, 00:00:00 by jbr »

martiño

  • Behemoth
  • *******
  • Posts: 1,095
    • View Profile
(No subject)
« Reply #8 on: 18 December 2007, 01:30:36 »
Quote from: "Jamesgamer"
Thanks, martinho.

Do all the players have to have the same copy of the factions? EX: if i host a game with a minor alteration in the science faction for a unit, will my friend have to change the same thing in his files?

PS: how do i change my icon on the left
<<<


All the players must have exactly the same data, otherwise the games will get out of sync and crash. The game checks that all players have the same version of the game, but doesn't check the data.
« Last Edit: 1 January 1970, 00:00:00 by martiño »

jbr

  • Guest
(No subject)
« Reply #9 on: 18 December 2007, 03:15:01 »
I understand why that is the way it is in the first release, but I certainly hope that will eventually change. Perhaps a checksum or something?
I would also hope that the game will eventually sync itself with the host, like it does now with the 40fps fixed limit.
« Last Edit: 1 January 1970, 00:00:00 by jbr »

titi

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 4,240
    • View Profile
    • http://www.titusgames.de
(No subject)
« Reply #10 on: 18 December 2007, 08:43:11 »
There are different platforms out there with probably slightly different xmls ( EOFs for example could be different). If this is not the case you can create a checksum for the structure of the played faction. This should be enough.


Another thing that would be really really great is some kind of masterserver, where you can see open games. Otherwise it's difficult to find others to play.
For the beginning the "server browser" can probably be a website which displays open games. In this context it would be nice to get an ingame window/fullscreen switch.
« Last Edit: 1 January 1970, 00:00:00 by titi »
Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios

martiño

  • Behemoth
  • *******
  • Posts: 1,095
    • View Profile
(No subject)
« Reply #11 on: 18 December 2007, 14:26:00 »
I agree that a checksum and a master server are very useful features, however our priority at the moment is to get the game 100% solid, once that is done we will think about adding other stuff.
« Last Edit: 1 January 1970, 00:00:00 by martiño »

hailstone

  • GAE Team
  • Battle Machine
  • ********
  • Posts: 1,568
    • View Profile
(No subject)
« Reply #12 on: 19 December 2007, 01:18:59 »
Quote from: "titi"
Another thing that would be really really great is some kind of masterserver, where you can see open games. Otherwise it's difficult to find others to play.

AF and I are working on incorporating his lobby with Glest. We are about half way or more being complete.
« Last Edit: 1 January 1970, 00:00:00 by hailstone »
Glest Advanced Engine - Admin/Programmer
https://sourceforge.net/projects/glestae/

AF

  • Guest
(No subject)
« Reply #13 on: 19 December 2007, 02:14:55 »
AFLobbys side stands at 96% complete but is functionally complete.
« Last Edit: 1 January 1970, 00:00:00 by AF »

Jamesgamer

  • Guest
(No subject)
« Reply #14 on: 19 December 2007, 19:39:52 »
Quote from: "titi"
Another thing that would be really really great is some kind of masterserver, where you can see open games. Otherwise it's difficult to find others to play.
For the beginning the "server browser" can probably be a website which displays open games. In this context it would be nice to get an ingame window/fullscreen switch.


In the mean time... we could use the topic i made :?  :o

http://www.glest.org/glest_board/viewtopic.php?t=3094
« Last Edit: 1 January 1970, 00:00:00 by Jamesgamer »

titi

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 4,240
    • View Profile
    • http://www.titusgames.de
(No subject)
« Reply #15 on: 19 December 2007, 20:23:53 »
an irc channel would be much better.
We can connect there if we want to play

so if you want to play connect here:
irc://irc.freenode.net/glest

!!!UPDATE: marthino posted an official irc channel. Please use this one now:

irc://efnet/glest
« Last Edit: 1 January 1970, 00:00:00 by titi »
Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios

orion

  • Guest
I don't understand
« Reply #16 on: 8 January 2008, 21:37:16 »
What is irc? I'd love to be able to play a multiplayer glest game, but my web browser can't open the link to the irc://... site. Please help
« Last Edit: 1 January 1970, 00:00:00 by orion »

titi

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 4,240
    • View Profile
    • http://www.titusgames.de
(No subject)
« Reply #17 on: 9 January 2008, 09:09:09 »
you must have an irc client installed for example:

http://www.mozilla.org/projects/rt-messaging/chatzilla
or http://www.xchat.org/ ( shareware)
« Last Edit: 1 January 1970, 00:00:00 by titi »
Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios