Bridge Commander Central

BC Forums => BC Scripting => Topic started by: hobbs on August 12, 2014, 08:27:13 PM

Title: Ftech: torpedo script
Post by: hobbs on August 12, 2014, 08:27:13 PM
I just made a torpedo have the "warp disable" function but when it is used on ships that are chasing me through warp bc crashes... is this a know issue?
Title: Re: Ftech: torpedo script
Post by: KrrKs on August 13, 2014, 05:32:16 AM
I probably never got tested.
Considering the amount of things that alter warp-chases (AI, Galaxy-charts or travel methods, CWS, etc.) it would be pretty hard to debug that.

Edit: Is it a CTD, or could you get a console readout? Do you have a logger?
Title: Re: Ftech: torpedo script
Post by: hobbs on September 14, 2014, 12:53:51 PM
sorry i didn't realise you had responded

this is what i got on the log file:

Outdated Foundation, updating functions
Outdated Foundation, installing FolderManager
Repairing ship description outputs...
Era Plugin BetaTest Example 1 Error: system Romulus  does not exist...
Era Plugin Romulan War Error: system Romulus  does not exist...
Era Plugin Romulan War Error: system Earth  does not exist...
Era Plugin Romulan War Error: system Deep Space  does not exist...
Galaxy Charts v1.5 is online
Foundation Tech loaded
Gravity FX has been loaded.
Fixing\Enhancing USS Sovereign's mods...
DS9FX Initializing...
DS9FX: Game Crash Fix Active...
Fixing Jaggies
AttributeError: PreLoadAssets
Setting Stock System Planets Random Density.
Error Loading Carrier Custom.Carriers.SentinelV5
Traceback (innermost last):
  File ".\Scripts\ftb\ShipManager.py", line 93, in LoadExtraPlugins
  File ".\Scripts\Custom\Carriers\SentinelV5.py", line 31, in ?
NameError: SentinelV5
Error Loading Carrier Custom.Carriers.Surveymk3
Traceback (innermost last):
  File ".\Scripts\ftb\ShipManager.py", line 93, in LoadExtraPlugins
  File ".\Scripts\Custom\Carriers\Surveymk3.py", line 31, in ?
NameError: Surveymk3
data/TGL/Maelstrom/Episode 5/E5M2.tgl E5M2KiskaProd1
Trying to clean memory
data/TGL/Maelstrom/Episode 8/E8M1.tgl E8M1L142b
Ship USS Mrija with SubModels support added
data/TGL/Maelstrom/Episode 2/E2M6.tgl E2M6GalorsIDd6
Exception AttributeError: 'thisown' in <method WarpEvent.__del__ of WarpEvent instance at 1d42bd84> ignored
Setting Stock System Planets Random Density.
Exception AttributeError: 'thisown' in <method WarpEvent.__del__ of WarpEvent instance at 14ededac> ignored
Exception AttributeError: 'thisown' in <method WarpEvent.__del__ of WarpEvent instance at 14ed692c> ignored
Exception AttributeError: 'thisown' in <method WarpEvent.__del__ of WarpEvent instance at 14ed320c> ignored
Exception AttributeError: 'thisown' in <method WarpEvent.__del__ of WarpEvent instance at 14edea8c> ignored
Title: Re: Ftech: torpedo script
Post by: hobbs on September 14, 2014, 01:58:41 PM
when the other ship follows and its warp engines are damaged because of exceeding its maximum cruise speed and the damage reaches the disable percentage it also crashes to desk top.
Title: Re: Ftech: torpedo script
Post by: KrrKs on September 15, 2014, 10:56:38 AM
Could you test this without Galaxy Charts?
On my install this will not lead to a CTD.

From the logs, there seems to be nothing wrong up until the Crash
(apart from a few Spaces too much in SystemNames in the Era plugin and unused Carrier-Plugins)
Title: Re: Ftech: torpedo script
Post by: King Class Scout on September 15, 2014, 11:09:49 AM
I noticed the derping carrier plugins when I gave it a once over.  I usually have trouble with those.