Hosting LAN games
Sun, 2009-04-19 03:17
How can one host their own game of Hedgewars? In the LAN menu, there are only three options:
Update
Specify
Connect
Trying to connect to localhost of 127.0.0.1 does not work. If one can only join games, how is anyone playing without connecting to the official server?
You probably have not compiled netserver. From INSTALL:
--
1. Configure:
$ cmake .
or
$ cmake -DCMAKE_CXX_FLAGS="flags" -DCMAKE_INSTALL_PREFIX="install prefix" -DDATA_INSTALL_DIR="data dir" .
add -DWITH_SERVER=1 to compile net server (requires Glasgow Haskell Compiler)
--
So you will need GHC and then add -DWITH_SERVER=1
Well, Im not sure, but that would make some kind of sense at least.
Thanks, it does make sense that I would need to compile netserver along with the rest of the hedgewars source, but since this release (0.9.10) has binaries available for all of my operating systems (and I do use all three), I was hoping they would include all online functionality. I'll try compiling from source and see if it adds anything.
Out of curiosity, has anyone successfully hosted a LAN game using the vanilla binaries available from the main site?
I was wondering that too, since on my windows xp box I can host lan games, but not on my ubuntu box. Not really a big issue for me since I use windows most of the time.
I was able to do it with the getdeb packages.
I just re-installed on my Ubuntu machine from the getdeb packages, and I am able to host a game now.
Once the option to host a LAN game was available, I still had to configure my router to forward the port I wanted to use.
Still can't get it to compile on my Macbook for the life of me-- keep getting an error about not having a pascal compiler, and I have tried several different ones. Anyone know what flag to throw in to specify the path to freepascal or gpc?