OpenArena Message Boards

OpenArena => Technical Snafus => Topic started by: Cacatoes on August 09, 2008, 08:26:04 AM



Title: Can't connect to 0.8.0 servers ?
Post by: Cacatoes on August 09, 2008, 08:26:04 AM
Hello,

I managed to get my server listed by dpmaster, but when I try to connect with a 0.8.0 client it stays in "Awaiting Gamestate".

I know JockeTF ( http://rainbow.furver.se/index.php?name=Forums&file=viewtopic&t=1212 ) made some binary using 0.7.0 engine with new protocol, and 0.8.0 clients can connect to it.

Though, I'm wondering about a viable solution. I don't know exactly what's wrong with actual binaries. Maybe I made some mistakes too ;)


Title: Re: Can't connect to 0.8.0 servers ?
Post by: lparcshinoda on August 09, 2008, 09:36:13 AM
I'm having this problem too trying to connecting to my local server ... it keeps in awaiting gamestate. When I had the 0.7.7 server everything was working. I just replaced files to upgrade ;)


Title: Re: Can't connect to 0.8.0 servers ?
Post by: Cacatoes on August 09, 2008, 01:20:01 PM
I tried to set up a server (on tuxfamily hosting service) with the custom binary I found on furver, and it uses 95% CPU, so I had to stop it.
Do other admins using this workaround experience the same ?


Title: Re: Can't connect to 0.8.0 servers ?
Post by: sago007 on August 09, 2008, 03:11:50 PM
I have generated a binary that works. I don't know what went wrong with the one I created for OA... it must have been a failed patching of the source because it worked in all betas.

The source is here: http://brie.ostenfeld.dk/~poul19/public_files/oa/dev080/ioquake3serverFix.tar.bz2

Players that want to host LAN games will most likely have the problem too.


Title: Re: Can't connect to 0.8.0 servers ?
Post by: lparcshinoda on August 10, 2008, 01:13:10 PM
I didn't understand how to fix that :o sorry


Title: Re: Can't connect to 0.8.0 servers ?
Post by: sago007 on August 10, 2008, 01:16:58 PM
I didn't understand how to fix that :o sorry
The reason why it is source was because it was most urgent for server admins and many couldn't run the binaries because they used a newer version of glibc.

Pre-compiled binaries are available now:
http://download.tuxfamily.org/openarena/rel/080/oa080-serverfix.zip



Title: Re: Can't connect to 0.8.0 servers ?
Post by: lparcshinoda on August 11, 2008, 02:47:38 AM
thanks, that worked like a charme ;)


Title: Re: Can't connect to 0.8.0 servers ?
Post by: Ironwall on August 11, 2008, 06:50:46 AM
Perfect. I've spread the word to all the server admins I know.


Title: Re: Can't connect to 0.8.0 servers ?
Post by: Logan on August 14, 2008, 06:46:39 AM

Pre-compiled binaries are available now:
http://download.tuxfamily.org/openarena/rel/080/oa080-serverfix.zip


Is this file for all users who just want to connect and play or is this a server only file? I'm having trouble connecting to a server, so I'm hoping this can help me.


Title: Re: Can't connect to 0.8.0 servers ?
Post by: sago007 on August 14, 2008, 07:30:03 AM
Is this file for all users who just want to connect and play or is this a server only file? I'm having trouble connecting to a server, so I'm hoping this can help me.

It will need to be installed on the server.

Installing it on the client will not help you join servers and is not necessary to join fixed servers. You will need it to host a LAN game though (because there you will be the server)


Title: Re: Can't connect to 0.8.0 servers ?
Post by: Logan on August 15, 2008, 11:21:08 PM
Is this file for all users who just want to connect and play or is this a server only file? I'm having trouble connecting to a server, so I'm hoping this can help me.

It will need to be installed on the server.

Installing it on the client will not help you join servers and is not necessary to join fixed servers. You will need it to host a LAN game though (because there you will be the server)

Ok, so it's safe to say that any server I am having trouble connecting with likely doesn't have this file installed? Is there anything I can do client side to get in?


Title: Re: Can't connect to 0.8.0 servers ?
Post by: Cacatoes on August 16, 2008, 07:35:31 AM
I think there is no workaround client-side.

Why would the admin let a server running with nobody able to connect in ? :D Least thing is to test it ...

BTW, maybe OA mainpage should advertise this hotfix, not every admin think about checking server posts.


Title: Re: Can't connect to 0.8.0 servers ?
Post by: Logan on August 16, 2008, 06:18:37 PM
I think there is no workaround client-side.

Why would the admin let a server running with nobody able to connect in ? :D Least thing is to test it ...

BTW, maybe OA mainpage should advertise this hotfix, not every admin think about checking server posts.

Good idea. I am having trouble connecting to the digichalk server, hope someone over there takes notice of this fix.


Title: Re: Can't connect to 0.8.0 servers ?
Post by: TheUbuntuGuy on August 26, 2008, 08:39:42 PM
I have been using Openarena since 0.7.0, and i recently upgraded to 0.8.0. the upgrade went fine, but now i cant create a server because my friends are stuck is awaiting challange........

i know that there is a patch out, but the files that are included are for windows, and i use ubuntu!!!!!!!!!!!

is there even a linux patch, or am i missing something??

if anyone knows anything, PLEASE post!! thanks in advance!



Title: Re: Can't connect to 0.8.0 servers ?
Post by: damocles on August 26, 2008, 09:08:19 PM
Are you referring to a different set of files?

http://download.tuxfamily.org/openarena/rel/080/oa080-serverfix.zip (http://download.tuxfamily.org/openarena/rel/080/oa080-serverfix.zip)

There are Linux i386 and x86_64 binaries, both the regular client and dedicated server.


Title: Re: Can't connect to 0.8.0 servers ?
Post by: TheUbuntuGuy on August 26, 2008, 09:40:02 PM
no, those are the files.

it turned out that i had downloaded and installed the .deb package for ubuntu, and it did not support the patch. [it used modified .bin executables in system directories]

i got the original .zip and i see the 2 executables .i386.

*****BUT*****   now i cant get them to run.

the default openarena.i386 runs, but the patched one will not even start.
the default, as well as the patched oa_ded.i386 will not run at all.

i tried opening either in terminal, but it keeps saying permission denied, and i have used the sudo command, as well as trying to be a superuser.

what gives??


Title: Re: Can't connect to 0.8.0 servers ?
Post by: damocles on August 26, 2008, 09:52:00 PM
You probably need to mark them executable, chmod +x openarena.i386 (or, another example, if you know what you're doing: chmod 755 openarena.i386).


Title: Re: Can't connect to 0.8.0 servers ?
Post by: yasha on August 27, 2008, 02:21:20 AM
Or, if u are owner of them you can go to properties, permissions and "allow executing file as program", no need of terminal.


Title: Re: Can't connect to 0.8.0 servers ?
Post by: TheUbuntuGuy on August 27, 2008, 09:03:07 AM
i gave the correct permissions, and allowed executing as a program, and it all works now!

thanx


Title: Re: Can't connect to 0.8.0 servers ?
Post by: High_Noonan on September 17, 2008, 05:37:51 PM
OK, I am a dumbass.
How do I use this oa080-serverfix?

I am running a dedicated server on a Ubuntu box with deb file install from getdeb.

Where am I to drop these files?

/usr/games/
/usr/share/games/openarena/
or
~/.openarena/

In the past, I ran the openarena-server +exec server.cfg command to launch the server.
Does that stay the same, or do I have to do something different now...once I get the files moved to the proper directory?


Title: Re: Can't connect to 0.8.0 servers ?
Post by: Cacatoes on September 18, 2008, 08:03:30 AM
Linux uses $PATH to locate files which you can run without specifying the directory its in.
You can type:
Code:
echo $PATH
To see which directories are searched within.
And you can locate where from a command was called by typing :
Code:
which name_of_the_command

$PATH may not be set up to search within the current directory, that means you have to type "./binary_name" to run it, instead of just typing "binary_name".

When you start your server, you have to find the binary you run.
If you installed some .deb package, you can find out which files have been installed by typing :
Code:
dpkg-query -L package_name # (ie: openarena)
Seek binaries inside the list, and see where they've been installed, probably in /usr/games/openarena-0.x.x

The content of the serverfix zip file has to replace the binary you usually use to start you server, so check after some oa_ded.* file, and replace it with the one in the .zip.
Then make sure it is executable to the user who will run the server (do not start it being root, oh well you can't with ubuntu ...)
Code:
ls -l | grep oa_ded
If not executable,
Code:
chmod +x oa_ded.*
should do it.

Use right parameters/script to start your server, and it should work.


Title: Re: Can't connect to 0.8.0 servers ?
Post by: sago007 on September 18, 2008, 09:42:13 AM
You cannot use the serverfix with versions installed from deb files. I have not tested getdeb but I believe they obey to the Debian way of doing things by splitting it up in platform specific and platform independent files. Serverfix does not support that. You will need to get getdeb to create a new binary package.

You might be able to do it by starting the serverfix binary with "+set fs_path /usr/share/openarena/" or where the data files are.


Title: Re: Can't connect to 0.8.0 servers ?
Post by: High_Noonan on September 18, 2008, 05:03:13 PM
Hmmm.
Thanks for the replies.
Someone might want to fix the wiki.
(DO NOT LINK) h t t p s : / / openarena . wikia . com/wiki/LinuxInstall#Ubuntu
I'll try that stuff out and see how it goes.


Title: Re: Can't connect to 0.8.0 servers ?
Post by: fufinha on September 18, 2008, 05:42:29 PM
on 0.7.0 the files default to to the homepath... ie. ./openarena

on 0.8.0 its basepath, where the main exe ./baseoa is.


Title: Re: Can't connect to 0.8.0 servers ?
Post by: feLiZ_naVidAD on November 10, 2008, 12:57:20 PM
Is this hotfix needed in 0.8.1?


Title: Re: Can't connect to 0.8.0 servers ?
Post by: sago007 on November 10, 2008, 03:39:48 PM
Is this hotfix needed in 0.8.1?
No, it is not even compatible


Title: Re: Can't connect to 0.8.0 servers ?
Post by: feLiZ_naVidAD on November 10, 2008, 04:31:11 PM
I saw the server in dpmaster after a few minutes... :)
Thanks