Author Topic: Source Code?  (Read 1030 times)

Termon Winterwalker

  • Traveller
  • *
  • Posts: 12
    • View Profile
Source Code?
« 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?

Uyaem

  • Hydlaa Notable
  • *
  • Posts: 747
    • View Profile
(No subject)
« Reply #1 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
The internet is "the terrorists'" most important weapon, they say.
Wrong.
Fear is their most important weapon.
Ours is our freedom.

Termon Winterwalker

  • Traveller
  • *
  • Posts: 12
    • View Profile
(No subject)
« Reply #2 on: June 14, 2005, 12:30:48 pm »
Thank you!

Termon Winterwalker

  • Traveller
  • *
  • Posts: 12
    • View Profile
(No subject)
« Reply #3 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.

Platyna

  • Hydlaa Notable
  • *
  • Posts: 556
    • View Profile
(No subject)
« Reply #4 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.
Zuzanna K. Filutowska
RPG Players Community || Platyna\'s Planeshift Warehouse
\"The only thing necessary for evil to triumph is for good men to do nothing.\" -- Edward Burke

Termon Winterwalker

  • Traveller
  • *
  • Posts: 12
    • View Profile
(No subject)
« Reply #5 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 ]
« Last Edit: June 14, 2005, 08:04:20 pm by Termon Winterwalker »

Ralas

  • Hydlaa Citizen
  • *
  • Posts: 255
  • Explorers Guild
    • View Profile
    • Reincrownation :D
(No subject)
« Reply #6 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 . . .
Yliakum, a really big crystal. These are the voyages of the Explorers Guild.  Its ongoing mission: to explore strange new maps, to seek out new life and new NPCs.  To boldly glitch where no one has glitched before.

www.reincrownation.com :D

josephoenix

  • IRC Op
  • Hydlaa Notable
  • **
  • Posts: 706
    • View Profile
(No subject)
« Reply #7 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
Sir John Falstaff: "Let the skie raine Potatoes: let it thunder, to the tune of Greenesleeues"

Termon Winterwalker

  • Traveller
  • *
  • Posts: 12
    • View Profile
(No subject)
« Reply #8 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.

Platyna

  • Hydlaa Notable
  • *
  • Posts: 556
    • View Profile
(No subject)
« Reply #9 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.
Zuzanna K. Filutowska
RPG Players Community || Platyna\'s Planeshift Warehouse
\"The only thing necessary for evil to triumph is for good men to do nothing.\" -- Edward Burke

Termon Winterwalker

  • Traveller
  • *
  • Posts: 12
    • View Profile
(No subject)
« Reply #10 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.

Platyna

  • Hydlaa Notable
  • *
  • Posts: 556
    • View Profile
(No subject)
« Reply #11 on: June 15, 2005, 07:51:34 pm »
Above works for me, so it is worth to give it a try.


Regards.
Zuzanna K. Filutowska
RPG Players Community || Platyna\'s Planeshift Warehouse
\"The only thing necessary for evil to triumph is for good men to do nothing.\" -- Edward Burke