Author Topic: Opening/Decompliling .pyc files  (Read 8913 times)

Offline MLeo

  • Retired Staff
  • Posts: 3636
  • Cookies: 833
  • Software Simian
    • the Programming Pantheon
Re: Opening/Decompliling .pyc files
« Reply #20 on: February 24, 2008, 06:54:59 AM »
When are you getting this problem?

In MP mode maybe?

Use a console logger for that, since MP doesn't allow the console.
I still can't read peoples minds, nor can I read peoples computers, even worse, I can't combine the two to read what is going wrong with your BC install...

"It was filed under 'B' for blackmail." - Morse, Inspector Morse - The dead of Jericho.

Offline JerichoKru

  • Posts: 75
  • Cookies: 2
Re: Opening/Decompliling .pyc files
« Reply #21 on: February 24, 2008, 03:49:52 PM »
What do you suggest for the logger?  cause yes, it is MP that causes it  :|
~ [UFP]JerichoKru

Offline MLeo

  • Retired Staff
  • Posts: 3636
  • Cookies: 833
  • Software Simian
    • the Programming Pantheon
Re: Opening/Decompliling .pyc files
« Reply #22 on: February 24, 2008, 04:51:52 PM »
My own. :P

Put this in scripts/ and let it overwrite when/if asked.

To disable it, turn the if 1: to a if 0: or replace the file with the stock one from the SDK.
I still can't read peoples minds, nor can I read peoples computers, even worse, I can't combine the two to read what is going wrong with your BC install...

"It was filed under 'B' for blackmail." - Morse, Inspector Morse - The dead of Jericho.

Offline JerichoKru

  • Posts: 75
  • Cookies: 2
Re: Opening/Decompliling .pyc files
« Reply #23 on: February 25, 2008, 10:10:37 AM »
which file(s) do you want?
~ [UFP]JerichoKru

Offline MLeo

  • Retired Staff
  • Posts: 3636
  • Cookies: 833
  • Software Simian
    • the Programming Pantheon
Re: Opening/Decompliling .pyc files
« Reply #24 on: February 25, 2008, 02:52:23 PM »
Zip all the txt files and attach them? Makes the most sense to me.
I still can't read peoples minds, nor can I read peoples computers, even worse, I can't combine the two to read what is going wrong with your BC install...

"It was filed under 'B' for blackmail." - Morse, Inspector Morse - The dead of Jericho.

Offline JerichoKru

  • Posts: 75
  • Cookies: 2
Re: Opening/Decompliling .pyc files
« Reply #25 on: February 26, 2008, 04:49:12 PM »
i believe this is what you want
~ [UFP]JerichoKru

Offline MLeo

  • Retired Staff
  • Posts: 3636
  • Cookies: 833
  • Software Simian
    • the Programming Pantheon
Re: Opening/Decompliling .pyc files
« Reply #26 on: February 26, 2008, 05:29:19 PM »
Add:
Code: [Select]
from bcdebug import debugto the top of your SpeciesToShip.py
I still can't read peoples minds, nor can I read peoples computers, even worse, I can't combine the two to read what is going wrong with your BC install...

"It was filed under 'B' for blackmail." - Morse, Inspector Morse - The dead of Jericho.

Offline JerichoKru

  • Posts: 75
  • Cookies: 2
Re: Opening/Decompliling .pyc files
« Reply #27 on: February 27, 2008, 11:20:39 AM »
i commented that line out because it gave me a BSOD...I'll uncomment it

EDIT: that line gave me a BSOD
~ [UFP]JerichoKru

Offline MLeo

  • Retired Staff
  • Posts: 3636
  • Cookies: 833
  • Software Simian
    • the Programming Pantheon
Re: Opening/Decompliling .pyc files
« Reply #28 on: February 27, 2008, 05:42:44 PM »
I thought you said you were using KM?
Also, commenting that line removes the link to "debug" giving you a problem there.

Anyway, if you would have searched for that exact error (can't find bcdebug or someting like that, can't remember the right name for it) or even bcdebug, eventually you would have gotten here:
http://bc-central.net/forums/index.php?topic=2214.0
I still can't read peoples minds, nor can I read peoples computers, even worse, I can't combine the two to read what is going wrong with your BC install...

"It was filed under 'B' for blackmail." - Morse, Inspector Morse - The dead of Jericho.

Offline JerichoKru

  • Posts: 75
  • Cookies: 2
Re: Opening/Decompliling .pyc files
« Reply #29 on: February 28, 2008, 07:23:38 AM »
well, good thing is i see the menu bad thing is that none of the ships i added show up and the menu's got all goofy

i added an updated console report and a screenshot of the menu...(yes, this is supposed to be KM)
~ [UFP]JerichoKru

Offline MLeo

  • Retired Staff
  • Posts: 3636
  • Cookies: 833
  • Software Simian
    • the Programming Pantheon
Re: Opening/Decompliling .pyc files
« Reply #30 on: February 28, 2008, 03:37:29 PM »
You are missing TGL entries, and atleast one ship with expected ship file ValdoreG, which could mean it's somewhere else than scripts/ships (for example, if it's a Favour The Bold ship).
I still can't read peoples minds, nor can I read peoples computers, even worse, I can't combine the two to read what is going wrong with your BC install...

"It was filed under 'B' for blackmail." - Morse, Inspector Morse - The dead of Jericho.