Author Topic: Can someone explain this to me?  (Read 4187 times)

s0ul_creat0r

  • Guest
Can someone explain this to me?
« on: 3 August 2009, 20:51:39 »
To connect to a server you need the server's IP, the IP is shown in the lower left corner of the "new game" menu. This is the right IP for LAN play, however if you are under router and you want to play over the internet, you will need the IP of the router. Once you have connected to a server once, the game will remember it, and you can select it from the server list, in the "join game" menu.

Glest uses TCP port 61357, if you are behind a router you will have to forward this port to your computer if you want to host games.

*I really need to know what this means since I am trying to host with a router...*

and that 32 bit vs. 64 bit games are only possible if the player with the 64 bit machine is using 32 bit binaries too.

*I also don't know what this means*

Wow I feel like a noob, sorry guys =(

PolitikerNEU

  • Guest
Re: Can someone explain this to me?
« Reply #1 on: 3 August 2009, 21:12:17 »
The problem is that if multiple computers are connected to your computer, the router does not know what to do with packets coming from an outer destination which were not requested (and this applies even if only 1 compter is actually connected). To be able to let your router know what to do, you say:
If a packet is sent to port xyz, give it to a certain computer in the local network.

In order to forward your port correctly, you have to first connect to your router. In order to do that, you need the IP of your default gateway which you can find out using e.g. ifconfig in a shell.

The second one means: 32bit and 64bit-machines have a different size for "int"s. Because of some floating points things, people can only play together if they use the exact same binary - and since 64bit-machines can run 32bit programs but not otherwise, 64bit-users need to run the 32bit-Program. In order to do that, you need to install 32bit compabilility packages.

s0ul_creat0r

  • Guest
Re: Can someone explain this to me?
« Reply #2 on: 3 August 2009, 21:21:03 »
Ok, I know the ip of my router, now how do I connect it to that port?

Also, if I'm running a 64-bit vista and my friend is running a 32-bit xp, we can't play against each other? How exactly do I make it so we can play against each other without the game freezing/crashing on my 64-bit vista every 5 minutes =(

silnarm

  • GAE Team
  • Behemoth
  • ********
  • Posts: 1,373
    • View Profile
Re: Can someone explain this to me?
« Reply #3 on: 4 August 2009, 02:53:47 »
Ok, I know the ip of my router, now how do I connect it to that port?
That will depend on the router, try to figure out exactly what it is (look for some numbers physically on the device, google them).  Then when you know it's model name/number/whatever, google with that and 'port forwarding'.

Also, if I'm running a 64-bit vista and my friend is running a 32-bit xp, we can't play against each other? How exactly do I make it so we can play against each other without the game freezing/crashing on my 64-bit vista every 5 minutes =(
I don't believe there is a 64 bit version of Glest for windoze, so you shouldn't have any problems with multiplayer, you're using a 32bit binary even on Vista.
Glest Advanced Engine - Code Monkey

Timeline | Downloads

kazakore

  • Guest
Re: Can someone explain this to me?
« Reply #4 on: 20 August 2009, 15:00:08 »
Go to http://portforward.com/ it has details on forwarding ports for many routers.

It also tell you your external IP near the top of the page. For many routers (including the last three home routers I've used) you can get into the configuration software of the router by simply putting this in the address bar of your browser. If you are even vaguely technical hopefully you can work out how to forward a port from there. They often call it something along the lines of Software/Game Sharing or something...