Announcements and discussion regarding any projects related to Cyan Worlds' Plasma Engine including (but not limited to) CyanWorlds.com Engine, Drizzle, OfflineKI, PyPRP, and libHSPlasma.
The error is with the argument parenthesis in AgeInstance():. if I remove them then it passes to the next class which throws up the same error. So if I remove all of them with the exception of the main class "nxuxBookMachine(ptModifier)" it works fine except then it gets an error that it can't find datetime.py.
I don't remember which version of Python introduced the distinction, but it's possible that Cyan's plugin with Python 2.3 doesn't understand the new style classes.
I don't remember which version of Python introduced the distinction, but it's possible that Cyan's plugin with Python 2.3 doesn't understand the new style classes.
I'm assuming that the above is correct. So I'm attempting to build a new version of the plugin using 2.7. Getting some errors though, it builds fine. Max is having issues itself with the water components, as well as a few other missing items. It's complaining that it's missing dlls for Plasma 2.0. So I'm assuming I need to rebuild both my plugin and my client. Doing so as we speak.
Okay changing it just brings up the datetime error again. Looking at the sources it appears that Cyan's Client/Plugin, compiled with Python 2.2 didn't include the datetime.h file that is used when compiling the Huru Client/Plugin. Which means to use Huru's nxusBookMachine.py in Max I'd still have to compile my own plugin. Which is fine, I did that. But all the WaveSet components are missing in Max when using a newly compiled plugin.
Does the waveset component appear in the list but is missing from loaded objects? Or is it gone entirely?
If the former, could you create a minimal max file containing a waveset (I suppose generated with Cyan's plugin). That will make these sorts of things much easier to debug. I only have access to newer Max versions, so I can't load Cyan's plugin in order to generate test files.
Either way, opening an issue over on Github would be fantastic. Otherwise this is liable to get forgotten.
Branan wrote:Does the waveset component appear in the list but is missing from loaded objects? Or is it gone entirely?
If the former, could you create a minimal max file containing a waveset (I suppose generated with Cyan's plugin). That will make these sorts of things much easier to debug. I only have access to newer Max versions, so I can't load Cyan's plugin in order to generate test files.
Either way, opening an issue over on Github would be fantastic. Otherwise this is liable to get forgotten.
I opened up an issue as suggested. It is gone entirely. The whole Water menu is missing, Wavesets, Enviornment map, Shoreline and water decals. The objects don't have any of the previously attached components and it spits out errors for each missing component on start up, but the file still opens just without them there. As I stated I'm going to attempt to recompile a new plugin with the most recent sources, so I can start using the current python scripts within 3ds Max. The version I compiled that threw up this error was a few months old but from a look at the commits it hadn't seemed that any work was done with the plugin in the time since I had updated my local repo.
EDIT: I should have some time to make a minimal max file and send it to you this weekend if you'd like.