Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - voidinit

Pages: [1]
1
Technical Help: IN GAME bugs (after loading world) /
« on: January 10, 2005, 08:22:22 pm »
I\'ve been away all weekend.  I\'m (was!) in the USMC Reserves.  Just completed my last drill weekend ever and finalized my discharge.  I didn\'t have time to update the rpms to current CVS version this weekend.

It looks like these RPMs have trouble with debian package installers.  They convert RPMs to .deb pkgs right?

Maybe in the future, as I have time, I\'ll look into making the RPMs more debian friendly, or perhaps making a native .dep package as well.

2
Technical Help: IN GAME bugs (after loading world) /
« on: January 06, 2005, 02:31:10 am »
Now that the updater is running you\'ll need to:

rm /usr/local/planeshift/vfs.cfg

AFTER running the updater in order for psclient to run properly.

3
Technical Help: IN GAME bugs (after loading world) /
« on: January 05, 2005, 09:31:51 pm »
First, you recursively changed all three dirs to group \"users\"?  Did you chmod -R g+w all three dirs?  I assume your user is a member of group users.

If I understand you correctly you have never installed planeshift before?   That means you have never updated before.  Usually on a brand new installation you would run /usr/local/planeshift/updater first.  I have never not done this, so I don\'t know how the game reacts to running without the updating first.  It could be that psclient is trying to load art that you do not have yet.

If you try to run /usr/local/planeshift/updater, and get the messgae \"Your version of the updater is newer than the servers.\", you have a couple of choices.

1.) You can wait for the planeshift guys to update their server code.
2.) You can try to to find older code, with an older updater and build it instead of installing planeshift via RPM (The crystal and cel and libcal3d RPMS will work just fine for this, you just need the -devel- packages).
3.) If and when I get the time I\'ll publish my art and data directories.  I\'m at work right now, so that isn\'t an immediate option.   I\'m not sure if PS will allow that either since their art isn\'t GPLed, only their code.

4
Technical Help: IN GAME bugs (after loading world) /
« on: January 05, 2005, 07:52:43 pm »
Running the application as a normal user is good form.

Try this:

cd /usr/local/CS/bin/
./walktest --relight


If you get an error about not being able to save configuration or whatever, then your user account doesn\'t have write permissions to the /usr/local/CS*.  

Give your user account write permissions to /usr/local/CS, /usr/local/cel, and /usr/local/planeshift recursively.

5
Technical Help: IN GAME bugs (after loading world) /
« on: January 05, 2005, 06:38:39 pm »
Quote
Originally posted by confused
crystalspace.pluginmgr.loadplugin:
  WARNING: could not load plugin \'cel.physicallayer\'
Couldn\'t load plugin for PlLayer.
SCF WARNING: 1 unreleased instances of class crystalspace.graphics2d.glx!
SCF WARNING: 1 unreleased instances of class crystalspace.graphics3d.opengl!
SCF WARNING: 1 unreleased instances of class crystalspace.window.x!
SCF WARNING: 1 unreleased instances of class crystalspace.window.x.extf86vm!


This looks like your $CRYSTAL, $CEL and $CSCONFDIR environement variables arent\' set correctly.

You see, some linux distrubutions (RedHat, Fedora) will run every script in /etc/profile.d/ every single time a user logs in.   I setup my RPMs to install a script that set\'s the above mentioned environment variables for you every time you log in.  Your linux distribution does not support this method of setting environment variables.  Maybe it uses a different method.  

You can try:

export CRYSTAL=/usr/local/CS
export CEL=/usr/local/CEL
export CSCONFDIR=$CEL

Then try to run planeshift.


If that works, then use pico or vi or some text editor to add these lines to the ~/.bash_profile file.

Hope this works.

6
Technical Help: IN GAME bugs (after loading world) /
« on: January 05, 2005, 08:15:47 am »
Quote
Originally posted by Nedhrys
hey there,
thanks for building these.
Can\'t download them now, though - when Mozilla connects, nothing happens until it times out some minutes later - are you no longer online?

Did you resolve the difficulties you encountered?

Are there mirrors of these rpms up elsewhere? Or perhaps bit torrent files?

Thanks,

Nedhrys


I\'m not sure if they are mirrored anywhere, and I haven\'t personally built any torrents out of them.

I think I forgot to reinstate the NAT when I brought my firewall back up.  I\'ve done this now, but of course, I can\'t test it from this side of my firewall.  I\'ll verify it from work tommorow.

The planeshift RPM is the latest and greatest from CVS.  Currently, the updater shipped with the latest from CVS is incompatible with the updater running on the server.  

This means:

Backup your art and data directories! You\'ll have to restore those to play.

If you\'ve never installed before and haven\'t run the updater you may have to wait untill they upgrade the server.  You will not be able to download the art you need before the server-side updater is brought into sync with what is commited to CVS.   If I have the time, I may publish rpms of my art and data directories so that they are available when things like this happen.

7
Technical Help: IN GAME bugs (after loading world) / Back Up.
« on: January 04, 2005, 06:36:14 am »
My apologies to anyone who tried to download these rpms in the past few days.  Though I doubt anyone did.

My webserver lost a heat sink, which cause the loss of a CPU. (It needed an upgrade anyway).

Anyway, they are back up.

8
Technical Help: IN GAME bugs (after loading world) /
« on: December 30, 2004, 09:18:39 am »
Alright, I think I figured out what the problem was...


If you install entirely from RPM, you need to do this as root:

mv /usr/local/CS/etc/crystalspace/vfs.bak /usr/local/CS/etc/crystalspace/vfs.cfg

Second run /usr/local/CS/bin/walktest -relight  because this will broken after you follow the rest of these instructions.

Then run the updater.

After running the updater, do this command as root:

mv /usr/local/CS/etc/crystalspace/vfs.cfg /usr/local/CS/crystalspace/etc/crystalspace/vfs.bak

Then run psclient.



It seems that after an update to current, both of these files exist and are merged.  Merging these two files is a bad idea. I\'m not sure if this is the best solution, but it is a solution that seems to work.  

I\'ve updated the planeshift rpm to rename the  /usr/local/CS/crystalspace/crystalspace/vfs.cfg to .bak, but unless you have a current vfs.cfg from planeshift\'s update tool, this is fruitless.  You\'ll have to restore /usr/local/CS/etc/crystalspace/vfs.bak to /usr/local/CS/blahblahblah/vfs.cfg.  Run the updater, then re-rename it to .bak again.

These problems are solveable, it will just take some time to identify problems like these and make sure the solution is universal.

9
Technical Help: IN GAME bugs (after loading world) /
« on: December 30, 2004, 06:39:08 am »
Just an note:

The planeshift RPM is officially broken.  Well, not really the planeshift RPM, it\'s more the CrystalSpace RPM.  Some of Crystal\'s libraries (.so) hardcode in the build directory as their home instead of using the $libdir variable like they should. So passing a --prefix option to configure doesn\'t work at all.

I have added a workaround to the .spec file and I\'ll update the RPMS when I test it.

10
Technical Help: IN GAME bugs (after loading world) / RPMS are here!
« on: December 30, 2004, 04:57:38 am »
I built these to help the linux guys.  Enjoy:

These RPMs are kinda big, and I have limited upstream bandwidth.  I\'ll have to break this if I need to use my internet pipe.  Someone please mirror!

I have RPMS for the latest libcal3d, CrystalSpace, Crystal Entity Layer, and Planeshift.   I plan on updating the Planeshift RPM daily, and the others when needed.  

If you need prerequisites for any of these RPMS, like freetype, libmng or whatever, get the proper packages for your distro.


If you just want to play the game, you\'ll need these rpms

libcal3d
CrystalSpace
cel
planeshift

Install libcal3d first, then CrystalSpace, then cel, then Planeshift.

If you want to build Planeshift yourself from CVS, but don\'t want to screw with the prerequisites, you\'ll need these RPMS in addition to the ones above.  You\'ll also need a mysql package of some sort.

libcal3d-devel
CrystalSpace-devel
cel-devel
Jam
Install libcal3d, libcal3d-devel, cel, cel-devel, CrystalSpace, CrystalSpace-devel.

If you want to run or build a server, you\'ll need a mysql package.  I have one I built for work here, but it\'s not guarunteed to work on any particular platform, You\'ll be better off just getting the pakages for your distro.  This pakcage was custom built for work, so --nodeps is your friend.

MySQL

If you want to develop or code with any of these, you\'ll want the docs.

CrystalSpace-doc
cel-doc

NOTES:  On non-rpm based systems (e.g. Slackware, Debian), you\'ll have to use --nodeps to get these to install.  Your rpm database isn\'t fully populated, so the rpms will complain that you are missing /bin/sh, etc.

You will have to logout/login to your shell after installing these rpms in order for your $CRYSTAL, $CEL, and $CSCONFPATH to be set.  On systems that don\'t support /etc/profile.d/ style of init scripts, you\'ll have to set them yourself.

These are not guarunteed to work on any particular system.  If you have problems, feel free to let me know and I\'ll do my best to remedy them.

The planeshift RPM is currently complaining about perl dependancies.  --nodeps it for now.  I\'ll resolve it eventually.

Updating with the updater sometimes (more like usually) breaks planeshift.  Get the dev packages and rebuild planeshift from CVS.   I\'m  looking into what is causing this behavour, but it\'s not being cooperative.

Jam and RPM don\'t play nice.

Good Practice:

When you install or build Planeshift, you might want to do something like:

groupadd games
chgrp -R games /usr/local/planeshift
usermod -g games $YOUR_USERNAME
chmod -R g+w /usr/local/planeshift

Than run planeshift, the updater, etc. from your user account and not as root.  It\'s never a good idea to run a game, MMORPG, or any beta as root.

.spec files for those interested.

libcal3d.spec
cel.spec
CrystalSpace.spec
jam.spec
planeshift.spec

* Edit to increment build numbers in URLS*

Pages: [1]