Author Topic: Problem with shieldpercentages.py  (Read 618 times)

Offline TheConstable6

  • ^LOL
  • Posts: 582
  • Cookies: 10
Problem with shieldpercentages.py
« on: August 22, 2011, 12:24:41 PM »
Every time I launch QB I get a message telling me shieldpercentages.py has no init value ; and poking around in the .py file I found a string that says init and has nothing inside the parentheses...could I be on the right track?  :newbie:
Though much is taken, much abides; and though
 We are not now that strength which in old days
 Moved earth and heaven; that which we are, we are;
 One equal temper of heroic hearts,
 Made weak by time and fate, but strong in will
 To strive, to seek, to find, and not to yield.

Offline Defiant

  • Posts: 398
  • Cookies: 1105
    • BC: Kobayashi Maru
Re: Problem with shieldpercentages.py
« Reply #1 on: August 22, 2011, 12:46:34 PM »
Can you upload your shieldpercentages.py please?

Offline TheConstable6

  • ^LOL
  • Posts: 582
  • Cookies: 10
Re: Problem with shieldpercentages.py
« Reply #2 on: August 22, 2011, 02:25:14 PM »
Sure thing...
Though much is taken, much abides; and though
 We are not now that strength which in old days
 Moved earth and heaven; that which we are, we are;
 One equal temper of heroic hearts,
 Made weak by time and fate, but strong in will
 To strive, to seek, to find, and not to yield.

Offline Defiant

  • Posts: 398
  • Cookies: 1105
    • BC: Kobayashi Maru
Re: Problem with shieldpercentages.py
« Reply #3 on: August 22, 2011, 03:26:39 PM »
ok this is strange. The file is correct and the version I released to bcfiles.
That there is nothing inside the parentheses is correct.

Is there anything in the console?

And which QBautostart version is that?

Offline TheConstable6

  • ^LOL
  • Posts: 582
  • Cookies: 10
Re: Problem with shieldpercentages.py
« Reply #4 on: August 22, 2011, 08:16:32 PM »
I'm using KM 2010.2 so...I'd assume .91 (or whatever version comes w/ KM 2010.2...)

BTW you do amazing work Defiant  :D

And no tracebacks in the console.
Though much is taken, much abides; and though
 We are not now that strength which in old days
 Moved earth and heaven; that which we are, we are;
 One equal temper of heroic hearts,
 Made weak by time and fate, but strong in will
 To strive, to seek, to find, and not to yield.

Offline Defiant

  • Posts: 398
  • Cookies: 1105
    • BC: Kobayashi Maru
Re: Problem with shieldpercentages.py
« Reply #5 on: August 23, 2011, 01:59:26 AM »
Thanks but the truth is, I have no idea what is wrong here. The Shield Percentage should work fine in KM2010..
It should have worked  beforeandit should work now...Did you always have this error?
Any mod you recently insalled on top?

Offline TheConstable6

  • ^LOL
  • Posts: 582
  • Cookies: 10
Re: Problem with shieldpercentages.py
« Reply #6 on: August 23, 2011, 12:35:33 PM »
No this is the first time I've ever had this error on any of my installs.

And I've installed DS9FX Xtended, the Slipstream framework, and the self-Manheim effect...those are the non-ship mods that didn't already come w/ KM...but until yesterday everything ran fine
Though much is taken, much abides; and though
 We are not now that strength which in old days
 Moved earth and heaven; that which we are, we are;
 One equal temper of heroic hearts,
 Made weak by time and fate, but strong in will
 To strive, to seek, to find, and not to yield.

Offline Defiant

  • Posts: 398
  • Cookies: 1105
    • BC: Kobayashi Maru
Re: Problem with shieldpercentages.py
« Reply #7 on: August 23, 2011, 03:22:50 PM »
-Does Shield Percentage still work even while displaying this error? (Displaying the numbers)
-What does happen when you remove shieldpercentage.py + .pyc

Offline TheConstable6

  • ^LOL
  • Posts: 582
  • Cookies: 10
Re: Problem with shieldpercentages.py
« Reply #8 on: August 23, 2011, 03:47:01 PM »
The problem is, I can't even get a battle started, talk to Saffi, do anything in QB... and I just deleted those two files and got a BSOD.
Though much is taken, much abides; and though
 We are not now that strength which in old days
 Moved earth and heaven; that which we are, we are;
 One equal temper of heroic hearts,
 Made weak by time and fate, but strong in will
 To strive, to seek, to find, and not to yield.

Offline Nebula

  • BC elder / BCC Vice Admin
  • Administrator
  • Posts: 5499
  • Cookies: 1129
  • KM - Mod Team Member & BC - Elder (2002)
    • 9th fleet HQ
Re: Problem with shieldpercentages.py
« Reply #9 on: August 23, 2011, 03:56:15 PM »
you can still get a console report on a BSOD
Canon is what people argue exists on ships that don't exist.

Offline TheConstable6

  • ^LOL
  • Posts: 582
  • Cookies: 10
Re: Problem with shieldpercentages.py
« Reply #10 on: August 23, 2011, 04:25:14 PM »
It won't let me open the console either! Hitting the tilde does nothing, even though I set BC to always open in test mode... :/
Though much is taken, much abides; and though
 We are not now that strength which in old days
 Moved earth and heaven; that which we are, we are;
 One equal temper of heroic hearts,
 Made weak by time and fate, but strong in will
 To strive, to seek, to find, and not to yield.

Offline JimmyB76

  • Posts: 6423
  • Cookies: 421
Re: Problem with shieldpercentages.py
« Reply #11 on: August 23, 2011, 05:17:05 PM »
use MLeo's Console Logger which can be found in a stickied thread in this forum...

Offline TheConstable6

  • ^LOL
  • Posts: 582
  • Cookies: 10
Re: Problem with shieldpercentages.py
« Reply #12 on: August 23, 2011, 07:26:20 PM »
I can't even access the console upon BSOD...until...

I just installed the version on BCFiles...no longer BSOD, but I'm getting that message upon launch of QB...and there were no tracebacks in the console...

OK I'm all over the f*cking place now. I got one of those "abnormal termination" errors upon launch so I deleted options.cfg...and it BSODed my install, and I can't access the console...
Though much is taken, much abides; and though
 We are not now that strength which in old days
 Moved earth and heaven; that which we are, we are;
 One equal temper of heroic hearts,
 Made weak by time and fate, but strong in will
 To strive, to seek, to find, and not to yield.