PlaneShift

Support => Technical Help: Problems BEFORE entering the game => Topic started by: Termon Winterwalker on June 14, 2005, 11:10:43 am

Title: Source Code?
Post by: Termon Winterwalker on June 14, 2005, 11:10:43 am
Hi there,

I\'d like to try out Planeshift, but I cannot find out where one can download the client source code.

I am using Gentoo Linux, and even though Planeshift is included within its package manager, the code is firstly outdated and secondly considered unstable within it, thus making it difficult and pointless to install.

No I wanna know where I can get the source. The link to the sourceforge project leads to Nirvana, since there is not a single file within that project. Or is the only way to get it using the CVS repository?
Title:
Post by: Uyaem on June 14, 2005, 11:57:03 am
Since there are updates to the source almost daily, the only way to get the source is using cvs

You can find a complete tutorial on how to build PlaneShift http://laanx.fragnetics.com/index.php?page=build_gentoo
Title:
Post by: Termon Winterwalker on June 14, 2005, 12:30:48 pm
Thank you!
Title:
Post by: Termon Winterwalker on June 14, 2005, 04:45:45 pm
hm, compiled it all with --build=i686-pc-linux-gnu
and CFLAGS and CXXFLAGS both -march=athlon-xp -pipe -O3

Downloading the art now and I am damn excited. :)

However, one file in planeshift failed to compile:

C++ ./out/linuxx86/debug/src/paws_generic/eedit.o
src/paws_generic/eedit.cpp: In member function `bool
   eEditApp::HandleEvent(iEvent&)\':
src/paws_generic/eedit.cpp:185: error: \'struct iEvent\' has no member named \'
   Command\'

Hope that won\'t cause too much trouble... looks like a typo within the source code.
Title:
Post by: Platyna on June 14, 2005, 04:48:37 pm
Source code which may be used to build the client which can be connected to
current server is dated on 19.05.05, it applies to psclient, cs and cel source.
Current one will not work since the netversion has changed.


Regards.
Title:
Post by: Termon Winterwalker on June 14, 2005, 05:11:19 pm
hm...

cvs.sourceforge.net replyed it wouldn\'t understand the -D command so I left it out. Well, I think I\'ll better read the CVS manual.

[EDIT] Found the problem. The order of some commands is confused in the guide. For example

cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/cal3d co cal3d -D 2005-05-18 12:00:00

is wrong. Right would be:

cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/cal3d co -D \"2005-05-18 12:00:00\" cal3d

according to the CVS manual:

cvs [ cvs_options ] cvs_command [ command_options ] [ command_args ]
Title:
Post by: Ralas on June 14, 2005, 09:09:21 pm
I have noticed htis as well, that the syntax in the gentoo guide is not exactly . . . correct.  But I never really figured out the right syntax.  Maybe if you post about that in the linux forum, this will be corrected in the guide . . .
Title:
Post by: josephoenix on June 14, 2005, 09:13:52 pm
If you aren\'t planning on running a testing server, making spell effects, or editing the gui files, you can ignore any errors in psserver, psnpcclient, pawseditor, and eedit.

like Platyna said, you have to use cvs from a certain date to get it to work.

Good luck

josePhoenix
Title:
Post by: Termon Winterwalker on June 14, 2005, 09:37:44 pm
Yeah, will do.

Though I could spank myself for stupidity. I just entered the varibles without an \"export\" into my .bashrc, assuming that, since the shell would source it anyway it wouldn\'t make any difference.
Once I tryed to jam the cel package I found out after two hours of re-dowloading and re-compiling that it does make a difference :roll:

Now my updater is running and my mouse pointer does not move more often then once a second, far slower than when I just downloaded the current version and entered the exports directly into the shell.

Guess I\'ll have to recompile everything except cal3d again once the updater is done.

For now I am gonna post the issue with the guide to the linux forum.
Title:
Post by: Platyna on June 14, 2005, 10:43:44 pm
cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/crystal co -D 2005-05-19 CS
cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/cel co -D 2005-05-19 cel
cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/planeshift co -D 2005-05-19 planeshift

That how it should be correct, if anyone has any doubts how to use cvs command.


Regards.
Title:
Post by: Termon Winterwalker on June 15, 2005, 09:04:00 am
Would those 12 hours make a difference?

Would be one explanation why it didn\'t work, though. I just used the time and date from the guide.
Title:
Post by: Platyna on June 15, 2005, 07:51:34 pm
Above works for me, so it is worth to give it a try.


Regards.