Chaos Project

Featured Projects => Advanced RPG Creator => Core Development => Topic started by: ForeverZer0 on March 18, 2012, 02:46:01 pm

Title: Wow, do I feel rusty...
Post by: ForeverZer0 on March 18, 2012, 02:46:01 pm
So I opened up the solution for the editor today, and I forget soooo much. It may take a few days or a week to get back in full rhythm, so bear with me, please.

On another note, since my last time working on this, I reinstalled my OS, VS2010, Python, and libraries, etc, etc.
It seems I am rather retarded, because I cannot get the project to start a test-run. It keeps complaining about a failed DLL load for _PyXAL. I believe I have everything set back up correctly, and yet it is still doing it. Am I missing something?
Title: Re: Wow, do I feel rusty...
Post by: Ryex on March 18, 2012, 05:33:37 pm
Blizz did do some updating of the XAL libs, so perhaps the xal dll is no longer compatible with the python extension, I'll do some double checking and rebuild it, perhaps that will fix the problem

EDIT:
well it seems that there has been some significant changes to the XAL code. the one that is probably breaking things is the fact that the BackendID has been changed from a int to a void*.  seriously Blizz how am I supposed to type cast a python number into a void*. I suppose I could cast it to an int first and then try to cast it to a void* but I'm not sure cython will like that...

EDIT:
actually that worked... apart from a bit of confusion when it failed to load an MP3 and I though it should (silly me) it works perfectly now.
BTW I'm starting my spring break to day so I'm hoping to get a bit of work done this week
Title: Re: Wow, do I feel rusty...
Post by: ForeverZer0 on March 18, 2012, 11:57:44 pm
Yeah, she be fixed now. Things start up normally again!

And you quit your bitching. :V:
Title: Re: Wow, do I feel rusty...
Post by: Blizzard on March 19, 2012, 02:23:26 am
@Ryex: In April the backend ID is a void* as well, because it makes much more sense. In every window system it's backend ID is handled in a different way. e.g. in Android it's not even a backend ID, it's a pointer to the Java VM. :/ I had to update this mostly because of consistency.