Author Topic: A Plugin Error Which Makes No Sense  (Read 1318 times)

Offline Billz

  • Posts: 1697
  • Cookies: 45
  • Doctor who? ;)
A Plugin Error Which Makes No Sense
« on: May 19, 2009, 08:28:02 PM »
Normally, I have no problems when making custom plugins or editing existing ones. So if anyone would care to explain to me how this happened because I haven't got a clue. I just followed the same procedure as I normally do when making or editing plugins.
I didn't like having Voyager and her shuttles in a sublist as, by Federtion standards, it made no sense to have shuttle type vessels in a starship line-up when they should've been placed in the shuttle line-up. Moving the Delta Flyer 2, Type 8 and Type 9 shuttles didn't present me with this issue and they still work when launching them from Voyager. Just seems that the Aeroshuttle chose to 'not behave', lol.
Can't wait for 2014 to start.

Offline ACES_HIGH

  • BCC Roleplay Game Narrator
  • Moderator
  • Posts: 1678
  • Cookies: 54
  • while(!(succeed=try()));
    • BCC Roleplay Games
Re: A Plugin Error Which Makes No Sense
« Reply #1 on: May 19, 2009, 08:35:39 PM »
that's because, with the CGI voyager, the Aeroshuttle is MVAMable.? MVAM is designed so that BC automatically puts all of the items called in the MVAM script in a submenu of the full ship, you may have noticed the same thing with other MVAMable ships like the DJ Galaxy.  The only way to remove it is to disable the CGI voy's MVAM script.

Offline Billz

  • Posts: 1697
  • Cookies: 45
  • Doctor who? ;)
Re: A Plugin Error Which Makes No Sense
« Reply #2 on: May 19, 2009, 08:37:37 PM »
that's because, with the CGI voyager, the Aeroshuttle is MVAMable.  MVAM is designed so that BC automatically puts all of the items called in the MVAM script in a submenu of the full ship, you may have noticed the same thing with other MVAMable ships like the DJ Galaxy. The only way to remove it is to disable the CGI voy's MVAM script.

Is there a way to change it just for the Aeroshuttle without disabling MVAM for the CGIVoyager in the process?
Can't wait for 2014 to start.

Offline ACES_HIGH

  • BCC Roleplay Game Narrator
  • Moderator
  • Posts: 1678
  • Cookies: 54
  • while(!(succeed=try()));
    • BCC Roleplay Games
Re: A Plugin Error Which Makes No Sense
« Reply #3 on: May 19, 2009, 08:45:11 PM »
well I didn't see anything in the Plugin, so I suspect that you would have to dig through the MVAM control scripts and disable the line of code that controls that.

Offline Billz

  • Posts: 1697
  • Cookies: 45
  • Doctor who? ;)
Re: A Plugin Error Which Makes No Sense
« Reply #4 on: May 19, 2009, 08:52:10 PM »
well I didn't see anything in the Plugin, so I suspect that you would have to dig through the MVAM control scripts and disable the line of code that controls that.

I don't suppose you know which line of code that is do you?
Can't wait for 2014 to start.

Offline ACES_HIGH

  • BCC Roleplay Game Narrator
  • Moderator
  • Posts: 1678
  • Cookies: 54
  • while(!(succeed=try()));
    • BCC Roleplay Games
Re: A Plugin Error Which Makes No Sense
« Reply #5 on: May 19, 2009, 08:56:29 PM »
that's something to ask Sneaker.

Offline Billz

  • Posts: 1697
  • Cookies: 45
  • Doctor who? ;)
Re: A Plugin Error Which Makes No Sense
« Reply #6 on: May 19, 2009, 08:59:37 PM »
that's something to ask Sneaker.

Ah. There goes that idea then, lol.
Can't wait for 2014 to start.

Offline JimmyB76

  • Posts: 6423
  • Cookies: 421
Re: A Plugin Error Which Makes No Sense
« Reply #7 on: May 20, 2009, 02:31:29 AM »
Billz - what is it that you do to constantly damage your install?? :P

Offline Billz

  • Posts: 1697
  • Cookies: 45
  • Doctor who? ;)
Re: A Plugin Error Which Makes No Sense
« Reply #8 on: May 20, 2009, 04:02:52 AM »
Billz - what is it that you do to constantly damage your install?? :P

I never said that my install was damaged in this thread. This thread was merely made for customization help when it comes to one particular plugin. The game otherwise works fine.

I know that you are only joking but its the second time you have posted a response like that which wasn't particularly useful to the topic of the thread.
Can't wait for 2014 to start.

Offline teleguy

  • Posts: 363
  • Cookies: 53
Re: A Plugin Error Which Makes No Sense
« Reply #9 on: May 20, 2009, 08:09:53 AM »
Comment out the lines

Code: [Select]
#for i in List:
#PosModName = string.split(i, ".")
#if len(PosModName) > 1 and PosModName[0] != "__init__":
#try:
#PosMod = __import__("Custom.Autoload.Mvam." + PosModName[0])
#if PosMod and PosMod.__dict__.has_key("MvamShips"):
#if ship.shipFile in PosMod.MvamShips:
#Mod = PosMod
#break
#except:
#continue

in scripts/Custom/Autoload 000-Fixes20040628-ShipSubListV3_7Foundation.py.

Offline Kirk

  • Posts: 1438
  • Cookies: 139
    • My Released Mods
Re: A Plugin Error Which Makes No Sense
« Reply #10 on: May 20, 2009, 08:34:07 AM »
That will kill it for every MVAM ship, not just the Aero Shuttle.

Offline teleguy

  • Posts: 363
  • Cookies: 53
Re: A Plugin Error Which Makes No Sense
« Reply #11 on: May 20, 2009, 09:11:55 AM »
I know.

Offline Billz

  • Posts: 1697
  • Cookies: 45
  • Doctor who? ;)
Re: A Plugin Error Which Makes No Sense
« Reply #12 on: May 20, 2009, 09:14:47 AM »
Your input is apprciated teleguy but I am only trying to make the Aeroshuttle not appear in a submenu because of MVAM. I am not looking to kill the whole of MVAM in my install.
Can't wait for 2014 to start.

Offline teleguy

  • Posts: 363
  • Cookies: 53
Re: A Plugin Error Which Makes No Sense
« Reply #13 on: May 20, 2009, 09:18:29 AM »
Well MVAM still works, only the ships aren't in a submenu anymore. Normal submenus aren't affected either.

Offline JimmyB76

  • Posts: 6423
  • Cookies: 421
Re: A Plugin Error Which Makes No Sense
« Reply #14 on: May 20, 2009, 09:50:48 AM »
I know that you are only joking but its the second time you have posted a response like that which wasn't particularly useful to the topic of the thread.
thats because i feel bad for ya - you have more topics in this forum (and a new one seemingly regularly lol) than anyone else  :P
i can only imagine your frustration lol

Offline teleguy

  • Posts: 363
  • Cookies: 53
Re: A Plugin Error Which Makes No Sense
« Reply #15 on: May 20, 2009, 10:22:29 AM »
Try this...


[MLeo EDIT] Removed the attachment, it's not needed and could have unintending sideeffects if an error was made.

Offline teleguy

  • Posts: 363
  • Cookies: 53
Re: A Plugin Error Which Makes No Sense
« Reply #16 on: May 20, 2009, 10:38:22 AM »
Upps, I just found this in the readme. :shock:
Quote
If you want to disable the MVAM menu for all the ships, add this to your parent (integrated) ship plugin:
bMvamMenu = 0
You can also use None instead of 0, but 0 is more natural (in absence of true and false keywords).

You can now also exclude a sub ship from that list, you can do that by adding the same bMvamMenu to that subship plugin.

You can add bMvamMenu in the same way as you do SubMenu and SubSubMenu (more about this in "Using the previous features").

Offline MLeo

  • Retired Staff
  • Posts: 3636
  • Cookies: 833
  • Software Simian
    • the Programming Pantheon
Re: A Plugin Error Which Makes No Sense
« Reply #17 on: May 20, 2009, 01:54:07 PM »
*Starts lamenting...*  :cry:
Why doesn't anyone just e-mail me? I can't go to bc-central when I'm at my work!

My beautiful SubMenu! :cry: *



And Teleguy (I've removed the attachment btw!), if you would have looked a bit up, you would have noticed the bMvamMenu part. ;)


* Well, to my current standards it's hideous... :P
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.