Author Topic: Easy way to install Planeshift  (Read 17979 times)

jayc

  • Wayfarer
  • *
  • Posts: 1
    • View Profile
(No subject)
« Reply #30 on: May 22, 2005, 08:29:41 pm »
Thanks for scripting all of this. :)

I updated all the art files but when I try to run the client, I get this:

jay@desktop:~/easy_planeshift$ ./psrun psclient
WARNING: could not load plugin \'crystalspace.graphics2d.glx\'
Error loading Graphics2D plugin.
WARNING: failed to initialize plugin \'crystalspace.graphics3d.opengl\'
No 3D driver!
psclient:  No 3d driver (iGraphics3D) plugin!

3D is working fine though.  Any ideas?

Edit:  Oops I see now there\'s a thread about this.  I\'m guessing this was because I didn\'t have my nvidia headers installed.  (apt-get install nvidia-glx-dev).  Rebuilding now.
« Last Edit: May 22, 2005, 08:35:26 pm by jayc »

AndyAWS

  • Traveller
  • *
  • Posts: 36
    • View Profile
(No subject)
« Reply #31 on: May 22, 2005, 09:14:11 pm »
Well, the build seems to have worked as far as I can tell, I didn\'t watch it the whole time.

The updater is running now, there were some warnings in the beginning about not finding critical files (server only)...I assume that means it couldn\'t find files the server would need, which is fine...right?

uteck

  • Wayfarer
  • *
  • Posts: 2
    • View Profile
(No subject)
« Reply #32 on: May 22, 2005, 10:11:20 pm »
I see that my box also had /etc/alternitives/automake pointing to automake-1.4.  Perhaps it will run after rebuilding it.  Building it with 1.4 I can\'t get the client to start.

bil@supertoy:~/games/Planeshift/easy_planeshift$ ./psrun updater -auto
Warning, can\'t find paths for win or mac or linux updater application! (Server only)
Critical files () not found (Server only)
NOTIFY: psUpdaterEngine initialized.
Downloading registry...
0%....25%....50%....75%....100%
Loaded registry
Checking for updates.. This may take a while
Warning: Couldn\'t find module \'other_os\' in registry.
All files are up-to-date!
Please wait while saving files..
==== Update complete ====
bil@supertoy:~/games/Planeshift/easy_planeshift$ ./psrun psclient
./psrun: line 16: ./psclient: No such file or directory
bil@supertoy:~/games/Planeshift/easy_planeshift$  

Or is this a different problem?  By the way, the box is Libranet 3.0, 2.6.11 kernel with Xorg 6.8.1.

kealaulu

  • Wayfarer
  • *
  • Posts: 4
    • View Profile
2 problems, related?
« Reply #33 on: May 22, 2005, 10:13:21 pm »
Am I the only one getting the following error during the planeshift portion of the ./build?

C++ ./out/linuxx86/optimize/src/npcclient/pathfind.o
src/npcclient/pathfind.cpp: In function `typename csList::Iterator FindInList(csList&, T&) [with T = psANode*]\':
src/npcclient/pathfind.cpp:583:   instantiated from here
src/npcclient/pathfind.cpp:576: error: dependent-name ` csList::Iterator\' isparsed as a non-type, but instantiation yields a type
src/npcclient/pathfind.cpp:576: note: say `typename  csList::Iterator\' if a type is meant


I can make it work, seemingly, by changing line 576 of pathfind.cpp from
    return csList::Iterator();
to
    return typename csList::Iterator();

but this feels like a kludge to me. Might it be my version of gcc? I\'m using 3.4.3 and seem to have all of the dependencies.

Also, when my build completes I still have no \'updater\' file in my binaries/planeshift folder, so ./psrun updater -auto isn\'t working for me. :-(

I just downloaded the new 0.3 tarball and am considering running the whole thing all over (third time). Sure hope it works....

Again thanks for the help. I\'d have never gotten even this far without the great scripts. Sure wish I knew what I was doing wrong though...
« Last Edit: May 22, 2005, 10:21:11 pm by kealaulu »

AndyAWS

  • Traveller
  • *
  • Posts: 36
    • View Profile
(No subject)
« Reply #34 on: May 22, 2005, 10:28:26 pm »
0.3??

Does that mean my 0.2 build that is almost done updateing isn\'t going to work?

malverian

  • Hydlaa Resident
  • *
  • Posts: 56
    • View Profile
(No subject)
« Reply #35 on: May 22, 2005, 11:10:11 pm »
jayc, I will note this in the README for future release. Thanks.

uteck, can you join #planeshift-build on irc.freenode.net or private message me so I can help you with your problem? That would make things a bit easier to troubleshoot.

kealaulu, that error happens for everyone and shouldn\'t affect your ability to use Planeshift. It\'s simply some example binary for running an NPC (used if you host a server and need non-player characters). Your problem with not having the updater binary I cannot describe. I also recommend you join me in #planeshift-build irc channel for more abrupt assistance.

AndyAWS, 0.2 should still work fine. The only changes with 0.3 were some changes to the wrapper scripts and such.. (minor). Also, as mentioned before you can extract new versions of the build scripts over your current easy_planeshift directory and it will not require you to rebuild from scratch.
« Last Edit: May 22, 2005, 11:12:36 pm by malverian »

kealaulu

  • Wayfarer
  • *
  • Posts: 4
    • View Profile
worked! (?)
« Reply #36 on: May 22, 2005, 11:45:51 pm »
Sweet, finally seem to have a build that\'s worked, least as far as the updater appearing for me. Running that now.

Will look to join the IRC if/when I have further problems with it. Thanks much for the help.

Not sure why updater didn\'t build at first. But I did install the devel version of libcurl which I\'d apparently overlooked (had non-devel installed). Perhaps that caused the problem? Dunno.

malverian

  • Hydlaa Resident
  • *
  • Posts: 56
    • View Profile
(No subject)
« Reply #37 on: May 23, 2005, 12:50:12 am »
Yeah, not having libcurl dev libs would definitely do it :) The updater uses libcurl

AndyAWS

  • Traveller
  • *
  • Posts: 36
    • View Profile
(No subject)
« Reply #38 on: May 23, 2005, 04:13:20 am »
I\'m getting this when I run ./psrun psclient

./psrun: line 16: 20427 Segmentation fault      ./$@

The planeshift screen flashes for a second and dies.

if i go to easy_planeshift/binaries/planeshift/ and run ./psclient

The screen stays up but the bar across the bottom does nothing and I get:

crystalspace.pluginmgr.loadplugin:
  WARNING: could not load plugin \'cel.physicallayer\'
Couldn\'t load plugin for PlLayer.


Also the music plays fine.

AndyAWS

  • Traveller
  • *
  • Posts: 36
    • View Profile
(No subject)
« Reply #39 on: May 23, 2005, 04:28:50 am »
OK, it seems to be a random thing...if I keep trying \"./psrun psclient\" eventually it runs.

I can log in, then I get to character creation, and it\'s \"Waiting On Server Data\" forever.

I had the same problem with the previous verion, and I was hoping the new client would fix the problem.

Working through it before I had eliminated any firewall problems and I was told that packets were getting lost somewhere.

As far as I can tell this problem has affected other people..Linux and Win...and the commomality seems to be using a DSL modem  through a router.

Like I said I was hoping the new server would work...I\'m not sure I want to bother putting any more time into this.

malverian

  • Hydlaa Resident
  • *
  • Posts: 56
    • View Profile
(No subject)
« Reply #40 on: May 23, 2005, 04:58:09 am »
Andy, this is an odd problem and it does seem like many others are running into it. Apparently there are times when they can log in and play fine. But it only lets them get to the point of logging in once every 20-30 tries.

This is a problem I think we should try to help the Planeshift developer team fix. If you can provide any more specific information, please do so. Perhaps we should start a new thread to address this issue fully as I don\'t believe there is anything else I can do with my scripts to resolve this.

malverian

  • Hydlaa Resident
  • *
  • Posts: 56
    • View Profile
(No subject)
« Reply #41 on: May 23, 2005, 05:00:28 am »
New version of build scripts (0.4). Upgrade is optional, simply cleans up the way running \"./build\" works after the first time (clears out object files first).

I\'ve also created a new option \"./build -diagnose\" that you can use to help me understand more about your system when there are problems.

malverian

  • Hydlaa Resident
  • *
  • Posts: 56
    • View Profile
(No subject)
« Reply #42 on: May 23, 2005, 05:11:46 am »
Okay, I know this is ridiculous, but I give you all 0.5. You can now build using \"./build -debug\" to compile with debugging symbols. This will help the planeshift team track down bugs since you can submit much more useful bug reports.

Baghe

  • Wayfarer
  • *
  • Posts: 8
    • View Profile
Yeahhh!
« Reply #43 on: May 23, 2005, 07:51:41 am »
Happy to announce that i\'ve finally been able to build and play!
To mandrake users(mdk 10.0)
export WANT_AUTOCONF=1

before using malverian\'s scripts like this
./buid -initial && ./psrun updater -auto
so you can go to see the last star wars ;-)
Have\'nt quite tested the game play , just moved around on the plaza though

nice job Malverian!

kealaulu

  • Wayfarer
  • *
  • Posts: 4
    • View Profile
Indirect rendering?
« Reply #44 on: May 23, 2005, 09:32:12 am »
I just noticed that when I ./psrun psclient I get yellow text (quickly scrolls off the screen so didn\'t see it before) that says:

Indirect rendering may indicate a flawed OpenGL setup if you run on a local X server.

It also says this at the top of the splash screen, which I never noticed since my splash screen consistantly crashes right after the first note of the music (or what would be the first note when I have sound turned off)

Hope that provides some more insight into why so many of us are having this crash problem. BTW, I\'ve yet to have it not crash. I tried it over and over to see about this randomness some have spoken of, but guess I\'m either unlucky or it\'s conistant on my machine. :/

Sorry bout not comin back on chat earlier Mal, system crashed from runnin out of HD space lol.