PlaneShift
Development => Development Deliberation => VisualC++ => Topic started by: wli34633 on June 08, 2006, 04:20:34 pm
-
I used the compiling guide and had both the PS client and server compiled/built and working on my windows XP (actually I got it running on linux also). I followed every step closely. SInce I have a few issues with the PS client that I built, I also downloaded the Crystal BLue Client from the download site. I am running the downloaded client against my PS built server on my own system. It works fine but everytime I login, it will direct me to the stonebreaker area (it does not matter which character I chose). I was wondering if it meant that way (if the source has limited capability). I have loaded all the maps that are available into mysql and loaded everyone of them also when starting up the server. I just can't get into a different map/area. Maybe I don't understand the game very much, can anybody help?
Thanks.
-
Do you mean the Death Realm, really dark place? Or the place where Stonebreaker's spawn, in the Hydlaa city :} The Stonebreakers don't have their own "area" or world, so to speak. Not yet.
-
If you can't enter other area's except for the one you spawn in, I'd say it's a compatability issue. Latest CVS server and the "old" client are bound to have some issues. If you have troubles with your CVS version, just ask help on IRC channel #planeshift-build. If it's really a bug you're having on CVS, report it on the bugtracker.
-
I think you're talking about the NPC room. If you've loaded up other maps via the aptly named psserver console command "loadmap", you can teleport to them using another aptly named GM command "teleport". Using a GM character (guest or vengeance) do the command "/admin" then "/teleport me map <name>". Ex: "/teleport me map hydlaa_plaza" I recommend you read the in-game help for a full list of commands and syntax. (obviously hidden unless using a GM character) If you need further help with either psserver or GM/admin character commands, feel free to ask.
-
Yes, I am talking about the NPC room. I have added all the 'sectors' into mysql and loaded all the maps using the console command "loadmap". Besides the compiling Guide, I have very little idea of anything else that I can do. Please tell me how to use the "teleport" command. I just want to be able to use the other maps. What I usually do is I use a command prompt to start up PS Server, run the script file to load up all the maps, then I launch the client to play.
c:\development\planeshift>psserver
.
PS Server>exec /this/loadmaps.scr
.
PS Server>spawn
.
PS Server>ready
Thanks in advance.
-
Make sure all maps are inside your script, not just npcroom. When all maps are loaded, you can teleport to them with the command DaveG explained. You can also chose to walk to them of course (if not in NPCroom).
-
Where and how do I issue the /admin and /teleport commands?
I tried to do it in the PS Server prompt, it does not work. I looked at 'help', there is no such commands.
Need some help!!!!!!!!
*edit*
Don't worry about it. I got in hydlaa_plaza. Thanks.
*edit*
Another question: why do I always get the stonebreaker character even though I have chosen other character?????
I noticed that there is a characters.zip file in the art directory, do I need to unzip it and to where????
Please avoid posting two or more successive posts before others have replied. Just edit your last post to add new information. Thanks! --Karyuu
-
You get the stonebreaker? Can you run PSclient.exe with --verbose and see if it gives any errors related to models?
It will say something like "could not find model/texture .........."
And try not to doublepost ;)
-
Yes, I did get a lot of "could not find....."
crystalspace.maploader:
Could not find material '/planeshift/weapons/dagger01a.tga'. Creating new
material using texture with that name
Could not find texture '/planeshift/weapons/dagger01a.tga'. Attempting to
load.
Could not find material '/planeshift/items/boots01a.tga'. Creating new
material using texture with that name
Could not find texture '/planeshift/items/boots01a.tga'. Attempting to load.
Could not find material '/planeshift/items/chest.jpg'. Creating new material
using texture with that name
Could not find texture '/planeshift/items/chest.jpg'. Attempting to load.
SCF_NOTIFY: loading plugin C:\development\CS\gmeshldr.dll to satisfy request for
csGeneralFactoryLoader
SCF_NOTIFY: loading plugin C:\development\CS\genmesh.dll to satisfy request for
csGenmeshMeshObjectType
Could not find material '/planeshift/items/gloves01a.tga'. Creating new
material using texture with that name
.
-
Hmm, nothing abnormal. I get those exact same warnings too during PS launch and I can switch characters here. Maybe some wrong server setting? ???
-
I think so. It should be from the server and somehow it uses only one character no matter what.
Any idea? Can you get other characters? If so, how is your build compare to mine?
-
It's probably database related. Check tables race_info and common_strings. Field cstr_id_mesh in table race_info associates race name (hardcoded?) and gender with mesh id (note 125 for stonebreaker). In table common_strings mesh id is associated with the cal3d file location (for example 125 coresponds to "stonebm"). In cvs version many races have mesh id set to 125, there is no "klyrosm" in common_strings etc. (but enkidukai models should work ok)
You will probably also want to alter values of size_x, size_y, size_z in table race_info, otherwise some characters won't be able to pass through tight passagess, they will tilt on stairs etc.
You need to restart server after making changes to those tables.
-
You can use the /morph command to see other races easily enough. (again, read the in-game help)
-
When I "spawn" after I loaded all the maps, I got the follwoing errors related to 'models' and 'mesh'. I think it may have something to do with why I always get the same character (stonebreaker).
I also realized that the 'cal3d' files are in characters.zip so I unzipped everything into a new directory (created) c:\development\planeshift\models, rebuilt planeshift but still got the same errors.
What is VFS? (Is it Virtual File System?) and now I should have '/planeshift/models/enkim/enkim.cal3d' but why I still got the same errors? Please help.
---------------------------------------------------------------------------------------------------------------------------
crystalspace.maploader.parse:
Could not open map file '/planeshift/models/enkim/enkim.cal3d' on VFS!
cel.pfmesh.loadmeshfactory:
Error loading mesh object factory or library
'/planeshift/models/enkim/enkim.cal3d'!
<c:\development\planeshift\src\server\gem.cpp:737> gemObject::InitMesh:
Could not set mesh with factname=enkim and
filename=/planeshift/models/enkim/enkim.cal3d. Trying dummy model
crystalspace.maploader.parse.image:
Could not open image file '/planeshift/models/cubo_ref.gif' on VFS!
crystalspace.maploader.parse.texture:
Couldn't load image '/planeshift/models/cubo_ref.gif', using checkerboard
instead!
Successfully created actor enkim at 0.00,0.00,-180.00 in sector NPCroom.
Created NPC actor: <MaleEnki> [100] in world
Successfully created actor stonebm at -53.54,0.00,-155.11 in sector NPCroom.
Created NPC actor: <Smith> [99] in world
crystalspace.maploader.parse:
Could not open map file '/planeshift/models/ynnwnm/ynnwnm.cal3d' on VFS!
cel.pfmesh.loadmeshfactory:
Error loading mesh object factory or library
'/planeshift/models/ynnwnm/ynnwnm.cal3d'!
<c:\development\planeshift\src\server\gem.cpp:737> gemObject::InitMesh:
Could not set mesh with factname=ynnwnm and
filename=/planeshift/models/ynnwnm/ynnwnm.cal3d. Trying dummy model
Successfully created actor ynnwnm at 0.00,0.00,-160.00 in sector NPCroom.
Created NPC actor: <Ynnwn> [98] in world
crystalspace.maploader.parse:
Could not open map file '/planeshift/models/ylianm/ylianm.cal3d' on VFS!
cel.pfmesh.loadmeshfactory:
Error loading mesh object factory or library
'/planeshift/models/ylianm/ylianm.cal3d'!
<c:\development\planeshift\src\server\gem.cpp:737> gemObject::InitMesh:
Could not set mesh with factname=ylianm and
filename=/planeshift/models/ylianm/ylianm.cal3d. Trying dummy model
-
You don't want those extracted. You'll need art/characters.zip with everything in it. You should be getting that from the updater.
-
What is VFS? (Is it Virtual File System?)
Probably yes - I always expected that meaning; "Gothic" uses a similar system: Game data files have a logical place in a virtual tree of directories, but can be loaded out of different archives.
-
Confirm that VFS is Virtual File System.
-
OK, I finally got it to work. In psserver.cfg, I have to replace characters.zip for models.zip.
Thanks everyone.
-
Oh, piiiiieeep!!!
Why didn't I think of that...
Removed models.zip and replaced with npcs.zip and characters.zip, so now psserver
and psclient use the same zips for models. <-- from CVS.