Error when starting Win32 server

A place for people to post strange occurances that could be potential bugs.

Moderator: Board moderators

Xypher
Luser
Posts: 14
Joined: Wed Jun 29, 2005 11:16 pm

Error when starting Win32 server

Post by Xypher »

Whenever I start the latest CVS build(as of 6/29/05) of Crossfire Server on Win32, I get thousands of error messages saying something like "Unknown color: grey" or "Unrecognized string:". I have the maps installed in the share directory. Any ideas?
Leaf
Forum Aficionado
Posts: 1994
Joined: Tue Apr 29, 2003 5:55 pm
Location: Minnesota, USA
Contact:

Post by Leaf »

While annoying and not very pretty.. those errors and warnings might be harmless.

Perhaps someone with more Win32 experience can comment on the error messages?
Xypher
Luser
Posts: 14
Joined: Wed Jun 29, 2005 11:16 pm

Post by Xypher »

I filtered out those useless errors, and found a group about not being able to find the archfiles, so I think I installed them in the wrong place. Where should these be?
Ryo
Forum Fanatic
Posts: 752
Joined: Mon May 19, 2003 9:16 pm
Location: Paris, France

Post by Ryo »

Did you compile server yourself? how do you launch the server?

Check the following things:
* server (crossfire32.exe) is in <server path>
* file <server path>\share\archetypes exists
* you launch the server from the <server path> path, not from somewhere else.

If you checked out using cvs, did you make *sure* that you're *certain* you used the --lf option? (hint: unix new line, as opposed to windows newline).
Also, if checked from CVS, you need to copy files from <server path>\lib to <server path>\share, and replace 'share\treasure' by 'share\treasure.bld'.
Xypher
Luser
Posts: 14
Joined: Wed Jun 29, 2005 11:16 pm

Post by Xypher »

Thanks, that worked, I forgot about the --lf option. But now that this is working, the server crashes every time someone tries to create a player. It doesn't give an error message either. It happens right after the characters race is selected.
Ryo
Forum Fanatic
Posts: 752
Joined: Mon May 19, 2003 9:16 pm
Location: Paris, France

Post by Ryo »

Did you copy the files around as instructed?
Xypher
Luser
Posts: 14
Joined: Wed Jun 29, 2005 11:16 pm

Post by Xypher »

Yes, all the <serverpath>\lib files were copied to the <serverpath>\share directory, and treasures was replaced with treasures.bld. The server is being run from <serverpath>. It is invoked through a command line.

EDIT: Thought it might be outdated maps, so I got the latest off of CVS and put them in <serverpath>\share\maps(where my old maps were). Now whenever I run the server it crashes after trying to initialize the Python plugin. Python is installed on my system.
Ryo
Forum Fanatic
Posts: 752
Joined: Mon May 19, 2003 9:16 pm
Location: Paris, France

Post by Ryo »

Then try removing the 'plugin_python.dll' file that is somewhere around (i assume you built it), to test whether it works or not without it. What's your Python version?
Xypher
Luser
Posts: 14
Joined: Wed Jun 29, 2005 11:16 pm

Post by Xypher »

It doesn't crash on startup without the Python plugin. Using Python 2.4. It's the only version I have on my machine.
Ryo
Forum Fanatic
Posts: 752
Joined: Mon May 19, 2003 9:16 pm
Location: Paris, France

Post by Ryo »

Python is not totally required to run the game.
Most features should work correctly, but you won't be able to use advanced stuff (improved guilds, for instance).

I'm not sure why Python makes everything crash. I assume you compiled the plugin with correct Python version headers?
Post Reply