Author Topic: Try to help planeshift  (Read 1327 times)

chonger

  • Wayfarer
  • *
  • Posts: 3
    • View Profile
Try to help planeshift
« on: January 01, 2004, 08:08:06 pm »
Hi,

    First I want to say the Planeshift project looks great. I was very
impressed by the quality of artwork in Planeshift. The network code
and a gui client/server have been finished. A lot have already been
done for this really cool open source project.

     Forgive me if I\'m posting in the wrong place, I am looking for
help setting up my local machine for Planeshift.

    I want to contribute to the Planeshift project, however, from
reading the main site, I know there\'s no chance I\'d qualify to be a
developer. But, since I am a working programmer, I know I can at least
find and debug simple bugs in the code :)

   I downloaded the source and followed acraig\'s instruction (this
site http://www16.brinkster.com/acraig/planeshift/buildmb.html) from
this thread
http://www.planeshift3d.com/wbboard/thread.php?threadid=3933&boardid=17&styleid=3&sid=071d226fae29783c4c3127f979063791
. I did run into some issues.

1. I had a issue with the configure script, seems the mysql
installation was hardcoded instead of using the
$mysqlclient_prefix. Worked around

2. My version of mysql was different from the one used by the dev
team. I had to change the mysqlclient test code to get the configure
script to pass

3. I could not log into the local Planeshift server (probably) because
my map was out of date.

   I believe many of the issues I had was more or less something wrong
on my end. So what I like to find out is how I can setup my local
environment correctly. Also, if I find what I believe is a bug, how do
I verify it\'s not just something wrong on my end before submitting the
bug to the bug tracker. And if I was able to fix a bug, what\'s the
best way of submitting the patch.

   And happy new years everybody! Hope I can help contribute to Planeshift.

   

Moogie

  • Forum Legend
  • *
  • Posts: 4551
  • Artist/Flash Animator
    • View Profile
(No subject)
« Reply #1 on: January 01, 2004, 09:28:29 pm »
I can\'t help you with any of this, but if you would like to talk directly to the developers you can find them in the Public Developer IRC channel.

Server: irc.freenode.com
Channel: #planeshift


Good luck, welcome to PS, and Happy New Year! :)

CadRipper

  • Hydlaa Citizen
  • *
  • Posts: 487
  • merry troublemaker
    • View Profile
(No subject)
« Reply #2 on: January 02, 2004, 03:59:36 am »
Hi Chonger and welcome  :)

First, I would advise you to take the source from this link, because the CVS ones have an issue (you won\'t be able to use the /spawn command, and you will get weird messages on the debug console) :

[URL]http://www.planeshift.it/download_source.html
[/URL]

You can also download them from the Gentoo distribution.

About finding bugs, I would first ask the developers on the IRC channel like Moogie suggested, because I doubt they are still modifying the code of this release (MB). Even if part of it is still in the next release, it has been modified a lot and your efforts would be useless.

Good luck with that, and Happy New Year to you !

markie

  • Wayfarer
  • *
  • Posts: 3
    • View Profile
(No subject)
« Reply #3 on: January 02, 2004, 05:23:25 am »
Maybe I am being a little bit stupid here ( I _am_ just a retarded 18 year old after all :) ) but wouldn\'t it speed up development progress quite alot if people were able to see the source code for CB rather than just MB? Or are we able too?

markie

  • Wayfarer
  • *
  • Posts: 3
    • View Profile
(No subject)
« Reply #4 on: January 02, 2004, 05:34:39 am »
Yep, I was being stupid.. I just managed to get the anonymous cvs to work :) Sorry everyone.. ignore my last ( and first :) ) post! I\'ll be back whining that it won\'t compile on FreeBSD no doubt, anyone tried planeshift on FreeBSD, linux emulation or not?

chonger

  • Wayfarer
  • *
  • Posts: 3
    • View Profile
(No subject)
« Reply #5 on: January 02, 2004, 08:26:39 am »
My first goal is to be able to build out of the CVS like the dev team. Being able to easily pull a \'latest compilable\' version and compile and run the latest server would help people with coding skills track down bugs and fix them. Obviously, if that\'s not possible or not desirable (if the CVS tree changes too rapidly and is not always in a stable state), then I\'d feel fine with using just the latest stable-release version.

I want to note that the Planeshift depends on two external projects, CrystalSpace and CrystalSpace Entity Layer, or CS and cel.

So in order to get a working client you\'ll have to hit 3 moving targets, CS, cel and Planeshift client code. And quite frankly I\'m not sure the latest source.tar.gz works \'out of the box\' (for one thing, the configure.in file is missing in the planeshift directory, and it seems to assume MySQL 4 is installed in /usr/local/mysql).

I think if I can be any help here is to help clarify the compile-installation procedures. At one point, I\'d love to be able to provide ready-to-run binaries of the client for people.

Anyway, all that is a big maybe. I\'m still trying to work out why the latest Planeshift CVS source code doesn\'t work. I hope to provide a updated instruction for compiling the client code on linux soon.

CadRipper

  • Hydlaa Citizen
  • *
  • Posts: 487
  • merry troublemaker
    • View Profile
(No subject)
« Reply #6 on: January 02, 2004, 11:56:52 am »
Chonger, what I meant is that the source you are trying to compile are almost obsolete. They are for the current version of Planeshift, called Molecular Blue (MB). The next version, Crystal Blue (CB) is about to be released and includes a lot of improvements and new features, why don\'t you try to compile this one  instead ? (I hope the link is still correct, I haven\'t compiled CB for months).

tangerine

  • Hydlaa Resident
  • *
  • Posts: 192
    • View Profile
(No subject)
« Reply #7 on: January 02, 2004, 12:28:31 pm »
Quote
from reading the main site, I know there\'s no chance I\'d qualify to be a developer


Where did you get this ? You just have to know C++. Don\'t try to build the source downloadable from this site. That\'s the current public version (molecular blue), not the development version (crystal blue). Look here http://www16.brinkster.com/acraig/planeshift/building.html and download the development version. It\'s public.

After you make it running, get to irc.freenode.net #planeshift find Vengeance or Acraig and ask them to give you some test task before you can be admitted to the team.

chonger

  • Wayfarer
  • *
  • Posts: 3
    • View Profile
(No subject)
« Reply #8 on: January 02, 2004, 10:18:00 pm »
I don\'t know that much C++. But I\'m pretty good at debugging things.

I did pull the latest CVS code, following the instruction on the web page you gave. But I could not compile the src. I ran jam and got the following error message:

...found 59 target(s)...
...updating 17 target(s)...
LinkApplication psserver
g++: ./out/linuxx86/debug/src/common/net/libpsnet.a: No such file or directory
g++: ./out/linuxx86/debug/src/common/engine/libpsengine.a: No such file or directory
( more files not found errors )

Funny thing is, I didn\'t see jam trying to compile libpsnet.a, so of course it wouldn\'t be able to link them...

Has anyone been able to do this?  I pull the cvs source, set env variables,

./configure --disable-jamtest --enable-debug
jam

got error messages, no luck so far.

I have been able to compile to molecular blue release though...