Page 2 of 2

Posted: Fri Jul 01, 2005 3:47 pm
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?)

Posted: Sun Jul 03, 2005 8:52 pm
by bort
I think it is in the crossfire distro cvs.
Look for CFPytho.c
And compile it.

Posted: Tue Jul 05, 2005 6:11 pm
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.

Posted: Tue Jul 05, 2005 6:25 pm
by Ryo
IT could be interesting to have the map names, if possible.
Glad to know Python works :)

Posted: Sat Jul 09, 2005 5:58 pm
by bort
Can cf have a python specific configuration or use option?

Posted: Sat Jul 09, 2005 6:57 pm
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