[CF-Devel] Python questions

crossfire-devel at archives.real-time.com crossfire-devel at archives.real-time.com
Fri Jan 7 17:30:38 CST 2005


Hello.

 From plugin_python.c:6716:

static PyObject* CFPayAmount(PyObject* self, PyObject* args)
{
     long whoptr;
     uint64 to_pay;
     int val;
     CFParm* CFR;

--> if (!PyArg_ParseTuple(args,"lL",&whoptr,&to_pay))
         return NULL;

I get an 'internal error' on that. Is my Python version too old (using 
2.1) to handle the "lL" ?

-----------------

Also, under Windows, there's a big issue, which was already raised 
some months ago, but is still there: the 'settings' variable is NOT 
available from the plugin module - it has default values, not the ones 
loaded from server itself. And i fear all other variables are in the 
same case... I guess the best fix would be to use callbacks for all 
those variables?

Nicolas

_______________________________________________
crossfire-devel mailing list
     
     crossfire-devel at lists.real-time.com
     
     
     https://mailman.real-time.com/mailman/listinfo/crossfire-devel
     
     
    


More information about the crossfire mailing list