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

Post by Xypher »

I think I built them with the right version headers, I only have the Python 2.4 headers on my computer.

Also, I need the Python plugin because otherwise the new event/mini-games I'm designing won't work, since they are written in Python.

EDIT: Looked through the Python plugin source, and I think I found the problem. I don't have a copy of CFPython.py or whatever. Crashes right after saying "PYTHON - Start initCFPython.", so I found that in plugin_python.c. This line:

Code: Select all

m = Py_InitModule("CFPython", CFPythonMethods);
is what I think causes the crash. Where can I get CFPython off of CVS(i.e. what module do I checkout?)
bort
Forum Junkie
Posts: 607
Joined: Sun Jun 20, 2004 9:40 pm
Location: LG

Post by bort »

I think it is in the crossfire distro cvs.
Look for CFPytho.c
And compile it.
lordyoukai.DA
My wraith is cooler than your dragon.
Xypher
Luser
Posts: 14
Joined: Wed Jun 29, 2005 11:16 pm

Post by Xypher »

Pythons working now, apparently 2.4 doesn't like to cooperate with CF on my comp. But now it crashes occasionally while trying to load a map. I'm using the maps meant for my version of the server, too. Without the Python plugin, the same thing happens.
Ryo
Forum Fanatic
Posts: 752
Joined: Mon May 19, 2003 9:16 pm
Location: Paris, France

Post by Ryo »

IT could be interesting to have the map names, if possible.
Glad to know Python works :)
bort
Forum Junkie
Posts: 607
Joined: Sun Jun 20, 2004 9:40 pm
Location: LG

Post by bort »

Can cf have a python specific configuration or use option?
lordyoukai.DA
My wraith is cooler than your dragon.
Rednaxela
Senior member
Posts: 434
Joined: Wed Jan 26, 2005 5:13 am

Post by Rednaxela »

Actually, the compile time python option (to disable/enable, and specify path if not automatically detected) was just added to CVS yesterday by Mark Wedel in response to a post on the mailing list about 5 months ago :D
Post Reply