teeworlds icon indicating copy to clipboard operation
teeworlds copied to clipboard

No Masters Servers Linux 32 Bit

Open lordraz0r opened this issue 10 years ago • 5 comments

Hi I use the Linux 32 bit build but it always reports no master servers. I tried running a DM server on the same server and it worked perfectly and reported to master servers. Also verified if it is a firewall issue and it is not. Please assist

lordraz0r avatar Feb 04 '15 08:02 lordraz0r

Okay, I hope this isn't because I'm using getaddrinfo() from a statically linked binary. Could you try whether compiling OpenFNG from source gives something that works for you? Thanks for reporting

fstd avatar Feb 05 '15 00:02 fstd

I don't know how to compile it so, The bug still exist, no news ?

cleme29 avatar Sep 13 '15 16:09 cleme29

@BloodMan29 I'd like to fix it, but what am I supposed to do, it (obviously) worked in my own tests. Someone affected by this bug needs to compile OpenFNG from source, otherwise there is little to no chance of isolating the problem. @lordraz0r didn't provide any more feedback. Compiling OpenFNG isn't difficult. I can even guide you through the process.

Catch me on IRC. #OpenFNG on irc.quakenet.org

fstd avatar Sep 13 '15 17:09 fstd

It seems like my original guess was correct and this is in fact due to using getaddrinfo() in a statically linked binary. Apparently, static linking isn't really supported by the GNU idi^H^H^Hpeople anymore.

There's nothing i can do about it (other than perhaps trying to avoid all DNS resolutions in the server, although this would mean the master servers have to be hardwired. Not a good idea.)

So i'll probably use this fact as an excuse to drop support for binary releases altogether. I mean, why are people using prebuilt binaries on Linux anyway.. Oh right, compiling form source is 'too difficult'.

I might replace the binary releases with a script that tries to automate as much as possible of the build process.

fstd avatar Sep 16 '15 14:09 fstd

I might replace the binary releases with a script that tries to automate as much as possible of the build process.

74cac2f08275fbfa15a533d59547374f17df0fb6 adds that (openfng.sh). When run, it will attempt to build and then launch openfng, arguments given to it are passed on to OpenFNG.

This means the correct procedure to run OpenFNG on Linux is now: git clone https://github.com/fstd/teeworlds.git cd teeworlds ./openfng.sh -f openfng.cfg #(or any other config file)

This will update (if there are new commits), then build and run teeworlds. Unnecessary rebuilds are avoided.

This renders the prebuilt linux binaries obsolete.

fstd avatar Sep 16 '15 23:09 fstd