PlaneShift
Support => Technical Help: Problems BEFORE entering the game => Topic started by: Klandestyne on December 18, 2003, 01:22:48 pm
-
Two quick questions if people could please spare a moment:
1. I\'m compiling with MSVC and getting linking problems. Could someone please point me to a good list of all the external dependancies you need when building the client from scratch.
2. The file psbehave.cpp is not what I\'d expect. Can a user really just tweak this and get superman like characteristics, or will the server do these calculations itself and correct positional information?
Thanks.
-
1. You will need Crystal Space and CEL
2. Yes, the server will do (or does) all calculations, this is for anti-cheat
-
Thanks for the reply.
1. I\'ve got the CEL, but one of the files it was complaining about was zlib.lib. A download from zlib.net didn\'t provide any files which I could easily identify as the right ones.
Have I missed something here?
2. Oh Well - There goes my career as a super-hero 8-).
-
zlib.lib is a linking libary. Maybe your Visual Studio has a pre-built one? If not, just download Zlib and compile the zlib.lib file...
-
Crystal Space has a \"library package\" that you need to download that has a bunch of .libs .dlls that you will need. Read up on that on the Crystal Space website.
-
I\'ve got those external libraries, and I\'m now passed the zlib stuff.
I\'ve downloaded the PS Code:
- planeshift-0.2.010FullSourceAndArt.tar.gz
And external stuff:
- Python-2.3.2-1.exe
- cel-2003-12-16[1].113701.zip
- cs96_004.zip
- msvc_libs_0.97dev006_py230.zip
The CS project seems to be consistently crashing my MSVC, and compiling PS is complaining about a lack of libcstool_d. It appears to be something of an impass!
Can you please let me know if I have the right files and if I\'m on the right path to getting the PS client compiling.
Cheers.
-
Make sure you build CS in debug mode because it is looking for the _d ( the debug version ) of Crystal Space libraries. Or if you want you can edit the project files and just remove the _d on the library names if you have built CS in optimized mode and want to use that. I am not sure if the \'optimized\' settings in MSVC are set to use the optimized CS libs. It has been a while since I have built in windows since I use linux most of the time.
You are on the correct path but it is a not a straight line path and there are often many forks in the road :).
-
Yahooooo!
Did it all on my home PC and it worked pretty quickly.
Even managed to get an interesting pick:
- http://www.steadman.info/temp/ps_hack.jpg