Author Topic: Got the server working now - new problem  (Read 1770 times)

EmpireGames

  • Wayfarer
  • *
  • Posts: 5
    • View Profile
Got the server working now - new problem
« on: August 11, 2009, 12:31:32 am »
I am new. I finally managed to get everything compiled. I ended up having to remove all mention of psminigameboard because that kept giving all kinds of errors. But other then that I got everything compiled. I am now trying to start the server. When I start it up it says my config files are located in a directory that didn't even exist and I also get a bunch of errors about not being able to load different plugins. Is that because the config file are not located where the server is looking for them and if so how can I change where it is looking?
« Last Edit: August 11, 2009, 10:35:32 pm by EmpireGames »

Tuxide

  • Hydlaa Notable
  • *
  • Posts: 715
    • View Profile
    • Banker
Re: Trying to start the server
« Reply #1 on: August 11, 2009, 05:50:42 am »
There are many ways to compile PlaneShift and the answer to your question depends on what method you used and how informative your post is.

EmpireGames

  • Wayfarer
  • *
  • Posts: 5
    • View Profile
Re: Trying to start the server
« Reply #2 on: August 11, 2009, 06:26:48 am »
Ok I compiled everything in release with Static lib. Everything compiled fine accept I got a bunch of errors with the PS Server concerning the minigameboard so I removed the cpp and header for minigameboard and commented out all reference to it in the server. After that the server compiled just fine. I then got the art assets from SVN. The client started complaining about not being able to load the effects so I downloaded the normal PS client and moved all the art assets to the development Planeshift folder. Now the compiled client works fine. Before I started compiling anything I set the path to the crystal space folder and CEL.

I have also compiled everything in debug with DLLs. The errors are still there.  The errors are:

could not load plugin 'crystalspace.documentsystem.tinyxml'
could not load plugin 'crystalspace.syntax.load.service.text'
could not load plugin with class 'crystalspace.syntax.load.service.text'

failed to initialize plugin 'crystalspace.level.loader'

failed to initialize plugin 'crystalspace.graphics3d.shadercompiler.xmlshader'

Tuxide

  • Hydlaa Notable
  • *
  • Posts: 715
    • View Profile
    • Banker
Re: Trying to start the server
« Reply #3 on: August 11, 2009, 06:58:13 am »
I was hoping you would say this, but it looks like you're using Windows because you're using DLLs.  Are you using Visual Studio or MinGW, and which version?

It looks like it's not finding your DLLs even though they're there.  Do you have any spaces in your CRYSTAL or your PATH (the part that points to your CS libs) variables?  For example, instead of using "C:\Documents and Settings\Foobar" use "C:\Docume~1\Foobar" notation and rebuild everything (run the ./configure scripts again if you're using MinGW).

EmpireGames

  • Wayfarer
  • *
  • Posts: 5
    • View Profile
Re: Trying to start the server
« Reply #4 on: August 11, 2009, 07:10:23 am »
I am using Visual C++ 9. I followed the guide http://planeshift.svn.sourceforge.net/viewvc/planeshift/trunk/docs/compiling.html including the name for folders and locations so no there is no spaces in any of my folder names. The development folder is located at C:\development\planeshift, the CS folder is C:\development\cs, and the CEL is located at C:\development\CEL.

I am using the stable version of both CS and PS.

EmpireGames

  • Wayfarer
  • *
  • Posts: 5
    • View Profile
Re: Trying to start the server
« Reply #5 on: August 11, 2009, 06:42:45 pm »
Ok I got everything working. I logged on and was playing around. I went to go to another region and for some reason it failed to load the region. Here is the log message:

Tue Aug 11 12:35:01 2009, <..\..\src\common\engine\psworld.cpp:169 psWorld::ExecuteFlaggedRegions SEVERE>
Tue Aug 11 12:35:01 2009, Loading region npcroom2 failed!
Tue Aug 11 12:35:01 2009, <..\..\src\client\psengine.cpp:1890 psEngine::FatalError SEVERE>
Tue Aug 11 12:35:01 2009, Loading region failed!

I loaded all the regions on the server according to the guide:

PS Server: loadmap npcroom1
PS Server: loadmap npcroom2
PS Server: loadmap npcroom_corr
PS Server: loadmap podium
PS Server: spawn
PS Server: ready

It had been working when I first started fooling around with it but then after a couple times of going back and forth it stopped and now won't even work after a server restart.