PlaneShift

Support => Linux Specific Issues => Topic started by: A_passing_lunatic on November 30, 2005, 01:00:13 am

Title: Updating version
Post by: A_passing_lunatic on November 30, 2005, 01:00:13 am
The server has just gone down for a restart, and I\'ve run the updater (It seemed to work, although there wasn\'t much to update).

Now when I try to log back in it tells me that my version isn\'t correct. I think this is Linux specific, because laanx.fragnetics.com says that there are 17 people logged in.
Title: Same for me
Post by: Arnaud on November 30, 2005, 01:04:43 am
It is the same for me : I update and server said that I have a bad version...
Two possibilities :
1) a Linux specific issue (I run a Slackware current)
2) The mirror I use to downlaod updates (solome or something like that) is not up-to-date.
Title:
Post by: Cha0s on November 30, 2005, 01:10:35 am
There\'s been an update (about 30 minutes ago). You\'ll have to wait for new binaries or build from source.
Title:
Post by: acraig on November 30, 2005, 01:18:05 am
Yes, I must apoligize for that.  One of my long standing tasks is to make sure the updater works well so that I can add linux binaries to it.
It seems like everytime I get started I end up working on something else.   Right now I have a pretty full list of stuff to do so I cannot say when I will get on it.  I will do my best though.   So linux people don\'t feel left out!  

Right now your only action is to rebuild your psclient from source ( only need to update planeshift code base to today, no changes in CS or CEL. )
Title:
Post by: A_passing_lunatic on November 30, 2005, 01:21:08 am
I thought the update was just a few bits of data or something. Does that mean that it\'s now version 0.3.013?

Is that the CVS source we need to build from?
Title:
Post by: acraig on November 30, 2005, 02:04:58 am
It\'s not quite  0.3.013 yet which is scheduled for a few weeks.  We didn\'t update CS/CEL just PS code to the latest date. So if you are building from source use today\'s date for planeshift source code.
Title: It need to be said.
Post by: Glendyl Aers on November 30, 2005, 02:33:31 am
The assumption here is that as Linux user, you know how to access CVS.

I for one am not a programmer, and can make no sense of CVS at all.

If a source tarball was available that I am capable of using, otherwise I\'ll just have to wait.

Needless to say I am slightly dissappointed.
Title:
Post by: acraig on November 30, 2005, 02:38:09 am
Working on it.  ( I know I\'ve said that before but I actually am ).  How would you feel about a script that uses cvs?  So everything would be wrapped and you would just have to run something like ./rebuild.sh?

I guess along the lines of how gentoo does an emerge.
Title: Thankyou.
Post by: Glendyl Aers on November 30, 2005, 02:43:32 am
I would certainly appreciate it, as no doubt would others in the same situation as myself.

I am not totally unfamiliar with the command line, and am even capable of writing simple bash scripts, so not a deadset Linux newbie, just not a programmer.

Cheers.
Title:
Post by: arcain on November 30, 2005, 02:44:38 am
i dont know if im on linux but when i try to get in it says im not running the correct versiong of ps to play on this server.i have tried updating.the folowing failed\"psclient.exe,limbing.exe and something else..what should i do?
Title: Re: *.exe
Post by: Glendyl Aers on November 30, 2005, 02:55:02 am
Windows uses .exe to denote an \'exe\'cutable file.

Running the Planeshift updater should solve your problem

I am unable to be more helpful sorry, but I can say that your operating system is not Linux.

Cheers.
Title:
Post by: arcain on November 30, 2005, 02:58:08 am
well ive upaated twice now.the same files keep failing and its still not letting me in..thank you for your help
Title:
Post by: acraig on November 30, 2005, 04:26:15 am
I just created the snap shots for the code, uploaded them, created a web page and then realized they were of the wrong date.   I am a bit strung out tonight so I will have to re-generate them and upload them again, probably won\'t have time tonight so will be tomorrow sometime.
Title:
Post by: confused on November 30, 2005, 05:20:02 am
Quote
Originally posted by acraig
Working on it.  ( I know I\'ve said that before but I actually am ).  How would you feel about a script that uses cvs?  So everything would be wrapped and you would just have to run something like ./rebuild.sh?

I guess along the lines of how gentoo does an emerge.
Just wondering, wuld this ./rebuild.sh be for the source version or binary version (well the 3.11 patched twice to current 3.12)?

I an use the commandline and compile source code, but always end up with heaps of problems with the PS project, thus now only use the binary versions.
Title:
Post by: Bereror on November 30, 2005, 06:47:28 am
Quote
Originally posted by confused
Just wondering, wuld this ./rebuild.sh be for the source version or binary version (well the 3.11 patched twice to current 3.12)?

As I understand the ./rebuild.sh script would get you the latest sources from the CVS repository and build binaries from them and you shouldn\'t need any patches. Of course you still need to get updates for the art files.

It cannot be used as a generic installation method for Linux users, because not too many of us have development packages installed, like cvs, compilers, header files etc.
Title:
Post by: Danok on November 30, 2005, 07:30:51 am
Quote
Originally posted by acraig
I just created the snap shots for the code, uploaded them, created a web page and then realized they were of the wrong date.   I am a bit strung out tonight so I will have to re-generate them and upload them again, probably won\'t have time tonight so will be tomorrow sometime.


Thank you for your hard work, Andrew.  Please don\'t overwork yourself on our account, we can be patient (/me dodges angry glances from others in the room).  ;)

Just out of curiosity, does this update fix the nasty Coreanimation crash bug in the arena?

Also, as long as people are talking about linux auto-compile scripts, hasn\'t there already been one developed here (http:// http://www.planeshift3d.com/wbboard/thread.php?threadid=16615&boardid=41&sid=b0b670a3bdc92ab70deaf7b7b9ed7b9a)?  (Not that I\'ve actually tried it yet myself--I\'m expecting I\'m probably going to have to get my build environment up to snuff before I can be successful with it).
Title:
Post by: Mitchr on November 30, 2005, 01:27:15 pm
I got all new sources from cvs, including cal3d, cel and CS and in all compiled normally but I still get the error:
\"You are not running the current version of Planeshift for this server.\"
Version info says: Planeshift Crystal Blue (0.3.012).

Then I got it all new again and into a new directory, just in case something got leftover from old.  I still got the same error.

Any help would be greatly appreciated.

ie Nothing major, but the -D option is missing from :
cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/planeshift co \"2005-11-30 00:00:00\" planeshift
on the website.

Thanks in advance
Mitch
Title:
Post by: Bereror on November 30, 2005, 01:42:27 pm
Quote
Originally posted by Mitchr
I got all new sources from cvs, including cal3d, cel and CS and in all compiled normally but I still get the error:
\"You are not running the current version of Planeshift for this server.\"
Version info says: Planeshift Crystal Blue (0.3.012).

Then I got it all new again and into a new directory, just in case something got leftover from old.  I still got the same error.

Any help would be greatly appreciated.

To verify that you have correct sources, open src/common/net/messages.h and check the net version defined there.
Code: [Select]
#define PS_NETVERSION   0x0047

If you see a different net version value, then you didn\'t get the right cvs version.
Title:
Post by: acraig on November 30, 2005, 07:52:12 pm
I\'m working my linux strategy at the moment to help standardize on some of the methods.  So you can check on it\'s progress there: http://laanx.fragnetics.com/index.php?page=linux   If people can give an indication of which method they would prefer I can focus some more attention there.
Title:
Post by: confused on November 30, 2005, 08:26:03 pm
I prefer thePackaged Release option 1st of them all.

Easy PlaneShift build script is OK, though it would be nice if the script can sort out the correct buildlist.cfg for the updater to obtain the art and data after binary build.

Still getting timeouts to connect to game server, so can\'t help with any other Linux bugs.
Title:
Post by: acraig on November 30, 2005, 08:44:52 pm
Quote
Originally posted by confused
Easy PlaneShift build script is OK, though it would be nice if the script can sort out the correct buildlist.cfg for the updater to obtain the art and data after binary build.


That can be done. I can make the script wget the correct buildlist.cfg from a psserver website before it starts doing the update/build.
Title:
Post by: A_passing_lunatic on December 01, 2005, 12:28:32 am
I like the idea of an Easy build script. It looks like it would be easy to use, and would take a bit of pressure off the developers to release new binaries.
Title:
Post by: Arnaud on December 01, 2005, 12:36:13 am
I like it too, but do not forget that Linux users are not all coders !
I just say that to avoid a bad idea : Linux users does not systematically mean Guru (my brothers Mandriva Linux to work, play, watch video, etc and have never touch a bash, they are unable to compile a source or create automatic compile script).

I just say that because binary are also really important.
Even for expert user which don\'t want to spend 3 hours to re-compile CS,CEL and PS ;-)
Title:
Post by: acraig on December 01, 2005, 12:44:38 am
My concern with the pre-built stuff is making sure that they work on different platforms.  You roll the dice a bit with pre-built stuff.  At least with the build-your-own you can have some fair confidence that it will work on your system.

It may be an unfair assumptation that all linux people know how to program and develop.  Hard to break that thought though since I am such a tech head :)   And since I\'m using gentoo rebuilding stuff is a way of life to me.  

I think that the easy build script should be good though since most distro\'s have all the required tools except jam.  And most distros have install packages for that.  I am hoping that linux users know how to install things since that is a pretty basic requirement and on something like Gentoo is really easy ( emerge jam )

Title:
Post by: Arnaud on December 01, 2005, 12:47:40 am
I have got this point :-)

Good idea, anyway, I will use it (maybe this will solve all the problem I have when trying to compile CVS sources).
Title:
Post by: Xordan on December 01, 2005, 01:07:22 am
Quote
Originally posted by acraig
My concern with the pre-built stuff is making sure that they work on different platforms.  You roll the dice a bit with pre-built stuff.


Yes, that\'s the biggest problem. Hopefully I\'ll iron out bugs as time goes on, but building it yourself is almost guarenteed to work.

I\'ve released a patch for the update in the thread above.
Title:
Post by: Wired_Crawler on December 01, 2005, 12:16:41 pm
Quote
Originally posted by Xordan
Quote
Originally posted by acraig
My concern with the pre-built stuff is making sure that they work on different platforms.  You roll the dice a bit with pre-built stuff.


Yes, that\'s the biggest problem. Hopefully I\'ll iron out bugs as time goes on, but building it yourself is almost guarenteed to work.

I\'ve released a patch for the update in the thread above.

I prefer to compile myself all software not included in distribution (so \"Howto\" suits my needs best), but it is true, that sometimes it can cause too many troubles to less advanced users.

Little off topic - recently I updated my Mandriva to version 2006 and guess what ? Yesterday I wasted lots of time trying to compile Planeshift (and CS) using four different gcc versions. It looks like \"defined in discarded section\" errors were in the way (known bug in gnu compiler). I have managed to finish compilation finally, but I had to install older version of linker (package binutils from Madriva 2005), which apparently treats those errors differently.
Title:
Post by: Sangwa on December 01, 2005, 11:35:27 pm
Quote
So linux people don\'t feel left out!


It\'s quite hard... I just wish our updater was actually useful.
But I\'ll be happy if you keep the hard work.

PS: I\'m a linux user and I don\'t even know the meaning of CVS.
Title:
Post by: Xordan on December 02, 2005, 12:11:48 am
Quote
Originally posted by Sangwa
PS: I\'m a linux user and I don\'t even know the meaning of CVS.


Concurrent Versioning System.

You have learned something today. :)