Bridge Commander Central
BC Forums => BC General => Topic started by: Kirk on July 12, 2008, 01:20:05 AM
-
I am getting this error, and I need to fix it.
-
Defiant used to have a pyc decompiler, tho it has been long gone for a while... and i, personally, have not been able to find another pyc decompiler for BC anywhere out there... and i did try to PM Defiant asking him about it (im sure he has had many PMs asking him about it, so i wouldnt much recommend asking him also lol)
most of Zan's (ZZ=ZambieZan) projectiles are only given in pyc... perhaps you could contact Zan for that specific projectile? or use a different pulse weapon for that ship?
-
Normally, GetLifetime doesn't get called, none of the stock scripts have it.
Can you put up the file?
-
Sure, here it is.
-
Put this file in scripts/Custom/Autoload/ and it will modify ZZ_PulseDefiant so that it won't give that error anymore.
-
That worked, thanks a bunch MLeo!
-
MLeo - just out of curiosity, do you have a decompiler?
-
Nope, unfortunately not.
Except the one that comes with a standard Python 1.5.2 install.
But that doesn't produce human readable output (assuming programmers are just a subset, or specialization of humans ;)).
In fact, I debugged it (well, I could just have written the fix, but I wasn't entirely sure) through something called a "turtle", or a "mock" (in fact, the real term is "mockturtle").
I added a mock App, imported the module, and I passed a mock projectile to the Create and saw what happend, namely, a Function not found, just as the error above. :P Meaning it wasn't some fundamentally bigger problem.
So yeah, I didn't test (either) in BC. *Whistles a bit*
-
Hey, MLeo would you mind if, along with an updated hardpoint I made, I upload this fix to BCF? I'm sure others would appreciate it, and I would give you proper credit in the readme.
-
youd better get Zan's permission tho... im sure there is a reason he only includes pycs for his weapons in his ships and not pys...
-
You should take a look inside the file. ;)
It's such a simple thing, but a mention is nice.
But you should contact Zambi Zan, especially if he can fix it without the need for an external fix. ;)
-
youd better get Zan's permission tho
But you should contact Zambi Zan
Don't worry I did. :wink: I want to release it with a blinker hp I did for one of his and WZ's ships.
-
Just giving you more reason to do that. ;)