General Building C Python module for AC Python 3.3.5 version

Hey,

I've been trying to compile a custom C-API Python module for AC's 3.3.5 Python and using it in-game. The module compiles successfully and I get the finished *.pyd that I can import. Using the module in a local terminal works fine, however, using it in AC leads to a crash (importing is fine though).

Did anybody else try this before, or has somebody a tip I haven't tried yet?

Some more information:

Cheers, and thanks for any input.
 
For anyone interested:

I solved the problem myself, however, I am not sure what was the cause.
Removing the garbage collection flag 'Py_TPFLAGS_HAVE_GC' and the function pointer to the destructor from the 'PyTypeObject' description did the trick.
Be careful, this might lead to a memory leak! :)
 

Latest News

To join the OverTake Racing Club races I want them to be: (multiple choice)

  • Free to access

    Votes: 191 88.0%
  • Better structured events

    Votes: 36 16.6%
  • Better structured racing club forum

    Votes: 29 13.4%
  • More use of default game content

    Votes: 30 13.8%
  • More use of fixed setups

    Votes: 60 27.6%
  • No 3rd party registration pages

    Votes: 73 33.6%
  • Less casual events

    Votes: 18 8.3%
  • More casual events

    Votes: 73 33.6%
  • Other, specify in thread

    Votes: 12 5.5%
Back
Top