PlaneShift
Support => Technical Help: Problems BEFORE entering the game => Topic started by: rogerw on June 19, 2004, 09:39:09 pm
-
I complied the source code under windows and got everything ready to go. Then I launched the server and entered within the console \"loadmap hydlaa\", \"spawn hydlaa\", finally \"ready\". Everything looked pretty well here, but when I opened a client, trouble came, client side threw the following error:
\"The server could not create your player entity, please contact the tech staff.\"
and the server side also raised an error:
Check Login for: \'Roger\'
Guild info: Player is (0) in guild (0).
User \'Roger\' (5) added to active client list
Requested World!
function name not available: Could not CreateActor because sector specified was NULL.
Error while creating Entity for Player \'Roger\'
Remove player \'Roger\' (5)
***Warning: Error while creating player in world!
In file
E:\\PSV0.2.010.Snapshot\\planeshift\\src\\server\\pscelserver.cpp func
tion line 895
It seems that the server did really accept the account and just got the trouble at the stage of world loading. I tried several different accouts(including those initial acounts in the database), but failed to get rid of it.
Does anybody know how to solve this problem?
Thanks a lot in anticipation.
-
Hmm... it has been a while since I compiled my server, but I think it\'s the fault of the database. The .sql files shipped with the source don\'t support the ps maps, they are written for the podium map only. You can try to start the server and load the podium map. If you can log on, you need to modify your databse to get it to work with the other maps.
-
Thanx, Karosh, I loaded the podium map, but it seemed not to work. problem is still there.
Could you please tell me how to modify the database a little bit in detail?
-
It raised underlying error when loading map podium:
CEL is searching for meshfact \'femdermorian\'...Not Found, so loading /planeshift
/models/femdermorian.spr
crystalspace.maploader.parse.meshfactory: Could not open mesh object file \'/plan
eshift/models/femdermorian.spr\' on VFS!
cel.pfmesh.loadmeshfactory: Error loading mesh object factory \'/planeshift/model
s/femdermorian.spr\'!
CEL is searching for meshfact \'stoneb\'...Not Found, so loading /planeshift/model
s/stoneb.spr
crystalspace.maploader.parse.meshfactory: Could not open mesh object file \'/plan
eshift/models/stoneb.spr\' on VFS!
cel.pfmesh.loadmeshfactory: Error loading mesh object factory \'/planeshift/model
s/stoneb.spr\'!
functi
on name not available: Could not load the /planeshift/models/femdermorian.spr me
sh or the stoneb mesh.
functi
on name not available: InitMesh failed, so Actor cannot be created.
Error while creating Entity for Player \'Roger\'
Remove player \'Roger\' (2)
***Warning: Error while creating player in world!
In file E:\\MMORPG\\PSV0.2.010.Snapshot\\planeshift\\src\\server\\pscelserver.cpp func
tion line 907
I just wondering what and where these meshfacts are.
And as seen from the responses, stoneb.spr was missing, but I searched entire directory, couldnot find this file, does anyone know where can I download it?
-
Why run a own server?
MB server.. REALLY old code, so why?
Debug cvs server instead
-
The official server is really slow, i just wanna see the entire scene better within my own server.
-
The .spr files are in the file models.zip in the /art/ directory. But I wonder why it searches for stoneb.spr, shouldn\'t it be maledwarf.spr? Hmm... I\'m not sure, because I don\'t run my server anymore since it\'s a bit useless. Crystal spawns and /buddy give don\'t work and it\'s boring just running around without these all one since there are no npcs too. I rather stick around with the CB CVS.
-
Yep, it\'s really a bit strange since I cannot find stoneb.spr at all, and this problem exists within some textures when loading the world file.
-
Wo, It did work after compling cvs code. But just as what you said,
client just can load podium map, could you please tell me how to
modify the database to get other maps into work?
-
Copy the following into a file, let\'s say dbpatch.sql and do the following:
mysql -u planeshift -pplaneshift
source dbpatch.sql;
exit
INSERT INTO `races` VALUES (0, \'Stonebreaker\', \'maledwarf\', 0, 0, \'1.png\', \'M\', \'19.18\', \'-4.05\', \'-115.22\', \'hydlaa_plaza\');
INSERT INTO `races` VALUES (1, \'Enkidukai\', \'maleenk\', 0, 1, \'1.png\', \'M\', \'19.18\', \'-4.05\', \'-115.22\', \'hydlaa_plaza\');
INSERT INTO `races` VALUES (2, \'Ynnwn\', \'maleynnwn\', 0, 1, \'1.png\', \'M\', \'19.18\', \'-4.05\', \'-115.22\', \'hydlaa_plaza\');
INSERT INTO `races` VALUES (3, \'Ylian\', \'maleylian\', 0, 1, \'1.png\', \'M\', \'19.18\', \'-4.05\', \'-115.22\', \'hydlaa_plaza\');
INSERT INTO `races` VALUES (4, \'Xacha\', \'malexacha\', 0, 1, \'1.png\', \'M\', \'19.18\', \'-4.05\', \'-115.22\', \'hydlaa_plaza\');
INSERT INTO `races` VALUES (5, \'Nolthrir\', \'malenolthrir\', 0, 1, \'1.png\', \'M\', \'19.18\', \'-4.05\', \'-115.22\', \'hydlaa_plaza\');
INSERT INTO `races` VALUES (6, \'Dermorian\', \'maledermorian\', 0, 1, \'1.png\', \'M\', \'19.18\', \'-4.05\', \'-115.22\', \'hydlaa_plaza\');
INSERT INTO `races` VALUES (7, \'Hammerwielder\', \'maledwarfh\', 0, 0, \'1.png\', \'M\', \'19.18\', \'-4.05\', \'-115.22\', \'hydlaa_plaza\');
INSERT INTO `races` VALUES (8, \'Diaboli\', \'malediaboli\', 0, 1, \'1.png\', \'M\', \'19.18\', \'-4.05\', \'-115.22\', \'hydlaa_plaza\');
INSERT INTO `races` VALUES (9, \'Kran\', \'kran\', 0, 1, \'1.png\', \'N\', \'19.18\', \'-4.05\', \'-115.22\', \'hydlaa_plaza\');
INSERT INTO `races` VALUES (10, \'Lemur\', \'malelemur\', 0, 1, \'1.png\', \'M\', \'19.18\', \'-4.05\', \'-115.22\', \'hydlaa_plaza\');
INSERT INTO `races` VALUES (11, \'Klyros\', \'maleklyros\', 0, 1, \'1.png\', \'M\', \'19.18\', \'-4.05\', \'-115.22\', \'hydlaa_plaza\');
INSERT INTO `races` VALUES (12, \'Enkidukai\', \'femenk\', 0, 1, \'1.png\', \'F\', \'19.18\', \'-4.05\', \'-115.22\', \'hydlaa_plaza\');
INSERT INTO `races` VALUES (13, \'Stonebreaker\', \'femdwarf\', 0, 0, \'1.png\', \'F\', \'19.18\', \'-4.05\', \'-115.22\', \'hydlaa_plaza\');
INSERT INTO `races` VALUES (14, \'Ynnwn\', \'femynnwn\', 0, 1, \'1.png\', \'F\', \'19.18\', \'-4.05\', \'-115.22\', \'hydlaa_plaza\');
INSERT INTO `races` VALUES (15, \'Ylian\', \'femylian\', 0, 1, \'1.png\', \'F\', \'19.18\', \'-4.05\', \'-115.22\', \'hydlaa_plaza\');
INSERT INTO `races` VALUES (16, \'Xacha\', \'femxacha\', 0, 1, \'1.png\', \'F\', \'19.18\', \'-4.05\', \'-115.22\', \'hydlaa_plaza\');
INSERT INTO `races` VALUES (17, \'Nolthrir\', \'femnolthrir\', 0, 1, \'1.png\', \'F\', \'19.18\', \'-4.05\', \'-115.22\', \'hydlaa_plaza\');
INSERT INTO `races` VALUES (18, \'Dermorian\', \'femdermorian\', 0, 1, \'1.png\', \'F\', \'19.18\', \'-4.05\', \'-115.22\', \'hydlaa_plaza\');
INSERT INTO `races` VALUES (19, \'Hammerwielder\', \'femdwarfh\', 0, 0, \'1.png\', \'F\', \'19.18\', \'-4.05\', \'-115.22\', \'hydlaa_plaza\');
INSERT INTO `races` VALUES (20, \'Diaboli\', \'femdiaboli\', 0, 1, \'1.png\', \'F\', \'19.18\', \'-4.05\', \'-115.22\', \'hydlaa_plaza\');
INSERT INTO `races` VALUES (21, \'Lemur\', \'femlemur\', 0, 1, \'1.png\', \'F\', \'19.18\', \'-4.05\', \'-115.22\', \'hydlaa_plaza\');
INSERT INTO `races` VALUES (22, \'Klyros\', \'femklyros\', 0, 1, \'1.png\', \'F\', \'19.18\', \'-4.05\', \'-115.22\', \'hydlaa_plaza\');
INSERT INTO `races` VALUES (23, \'Rogue\', \'malerogue01\', 0, 1, \'malerogue_skin_01.png\', \'M\', \'19.18\', \'-4.05\', \'-115.22\', \'hydlaa_plaza\');
The first time you log on you might have to use /spawn to get back to the plaza, since your current location is still based on the podium map.
-
Thanx for your answering so quickly.
I still have serveral qustions.
\"you might have to use /spawn to get back to the plaza\"
does it mean when I start the server , I must enter a command \"spawn hydlaa\"?
I orderly entered \"loadmap hydlaa\", \"spawn hydlaa\" and \"ready\", but still got the error message.
And I found there is a table called sector_info within the database, should I append a record for new sector \"hydlaa_plaza\"?
-
Oh, you\'re right, I forgot this:
INSERT INTO `sector_info` VALUES (\'room\', 25, 50, 25, 50, 500, 3000, 5, 10);
INSERT INTO `sector_info` VALUES (\'temple\', 100, 200, 100, 200, 100, 500, 10, 20);
INSERT INTO `sector_info` VALUES (\'podium\', 0, 0, 0, 0, 0, 0, 0, 0);
INSERT INTO `sector_info` VALUES (\'tavern\', 0, 0, 0, 0, 0, 0, 0, 0);
INSERT INTO `sector_info` VALUES (\'library\', 0, 0, 0, 0, 0, 0, 0, 0);
INSERT INTO `sector_info` VALUES (\'large\', 25, 50, 25, 50, 500, 3000, 5, 10);
Add this as the one before.
To play you need following maps: hydlaa tower temple dungeon
Type these commands in the server console:
loadmap hydlaa
loadmap dungeon
loadmap tower
loadmap temple
spawn
ready
Now the server is ready and you can connect with the client. After you logged in you have to use /spawn without a parameter in the client to reset your char to the correct spawn point.
-
Wo, thanx a lot buddy, it did work now.
But I still got low framerate when running hydlaa. I don\'t know whether it is a problem of client or not.
-
Yes, the cause of slowness has nothing to do with the client/server connection, it\'s just a matter of the client graphics engine being choked with lot of data. Nothing can save you except ridiculous amounts of RAM, an incredibly fast graphics card, and some luck.
Hopefully CB will be better, but it\'s hard to say.