SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Silent Hunter 3 - 4 - 5 > SH5 Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 05-03-13, 06:12 PM   #1
Jace11
Seasoned Skipper
 
Join Date: Mar 2005
Location: UK
Posts: 683
Downloads: 112
Uploads: 1
Default

Here to report a CTD associated with patcher, tracked down to the AI sub spawn crew voice or message box text.

Spent several hours narrowing this down out of many mods I have installed (I really wish this game gave some clues or dumps or something to help people track down crashes!!). Used single mission SM01 where U110 can be allowed to sink. With the patch enabled, it sinks and the game CTDs, but when the AI voice / message patch is disabled, it sinks, but you get the mission failed screen and no CTD.

This was 100% reproducible for me.
Jace11 is offline   Reply With Quote
Old 05-03-13, 07:42 PM   #2
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Jace11 View Post
Here to report a CTD associated with patcher, tracked down to the AI sub spawn crew voice or message box text.

Spent several hours narrowing this down out of many mods I have installed (I really wish this game gave some clues or dumps or something to help people track down crashes!!). Used single mission SM01 where U110 can be allowed to sink. With the patch enabled, it sinks and the game CTDs, but when the AI voice / message patch is disabled, it sinks, but you get the mission failed screen and no CTD.

This was 100% reproducible for me.
I will play that mission in the debugger and see what's going on
TheDarkWraith is offline   Reply With Quote
Old 05-03-13, 07:52 PM   #3
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

if anyone's curious to know why the airplanes are immediately deleted when they are destroyed it's because of two things:
1) when their engines have been damaged to some level then the unit is flagged for deletion
2) if unit is flagged for deletion and it's a unit type of airplane then immediately remove from game

Thus now that I figured out why they were removed I have a patch to fix it New version of patcher coming here soon so you all can test this out. It's not complete - it will just currently stop the airplanes from being immediately removed from the game when they are destroyed
TheDarkWraith is offline   Reply With Quote
Old 05-03-13, 08:29 PM   #4
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

new patch for aircraft works awesome For the first time I damaged an aircraft to the point where it was unable to fly and instead of exploding it simply spiraled into the ocean and blew up when it impacted the water Finally

EDIT: the aircraft, debris, and any parts of the aircraft that 'fall off' keep their intertia now There is one anamoly that you will notice and it's not that big of a deal so I'm not going to dive into it: the pieces of the aircraft that 'fall off' still have the root object (the aircraft) as their parent. Thus if the root object rotates on any axis then the children will also rotate in relation to parent along with their own rotations. I could fix it but it's not really worth the time right now. Maybe later on when I have the majority of the patches I want to add to this game complete.

Last edited by TheDarkWraith; 05-03-13 at 08:50 PM.
TheDarkWraith is offline   Reply With Quote
Old 05-04-13, 09:30 AM   #5
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by TheDarkWraith View Post
new patch for aircraft works awesome
oh yeah

Quote:
Originally Posted by TheDarkWraith View Post
There is one anamoly that you will notice and it's not that big of a deal so I'm not going to dive into it: the pieces of the aircraft that 'fall off' still have the root object (the aircraft) as their parent. Thus if the root object rotates on any axis then the children will also rotate in relation to parent along with their own rotations.
What would be cool is if, after an explosion, subsequent debris were given a random momentum higher than parent's momentun, thus moving away from the plane.

Quote:
Originally Posted by TheDarkWraith View Post
I could fix it but it's not really worth the time right now. Maybe later on when I have the majority of the patches I want to add to this game complete.
I agree
gap is offline   Reply With Quote
Old 05-04-13, 12:20 PM   #6
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

@ Volodya

I almost forgot to say that I got an answer by Rongel:

Quote:
Originally Posted by Rongel

...

Good to hear about TDW's new fixes. Yup, torpedo malfunction numbers propably need heavy adjustments. I could check into this, but can't promise exactly when, don't want to jump to the modding pit yet...

Thanks for letting me know, I'll get back to this!
gap is offline   Reply With Quote
Old 05-04-13, 12:46 PM   #7
volodya61
Ocean Warrior
 
volodya61's Avatar
 
Join Date: Feb 2012
Location: Rostov-on-Don, local time GMT+4
Posts: 3,292
Downloads: 374
Uploads: 0


Default

Quote:
Originally Posted by gap View Post
@ Volodya

I almost forgot to say that I got an answer by Rongel:
I see..
Anyway I already edited the files.. with the stock numbers so far..
__________________
.
Where does human stupidity end?

.


El sueño de la razón produce monstruos © - and for some people awakening will be cruel
volodya61 is offline   Reply With Quote
Old 05-04-13, 02:23 PM   #8
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by gap View Post
What would be cool is if, after an explosion, subsequent debris were given a random momentum higher than parent's momentun, thus moving away from the plane.
Sometimes you get an explosion, sometimes you don't (aircraft simply starts falling to the sea because it's engine lost power). When you do get an explosion some parts are thrown away from the unit. Try the new patch and see for yourself
TheDarkWraith is offline   Reply With Quote
Old 05-04-13, 01:55 PM   #9
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Jace11 View Post
Here to report a CTD associated with patcher, tracked down to the AI sub spawn crew voice or message box text.

Spent several hours narrowing this down out of many mods I have installed (I really wish this game gave some clues or dumps or something to help people track down crashes!!). Used single mission SM01 where U110 can be allowed to sink. With the patch enabled, it sinks and the game CTDs, but when the AI voice / message patch is disabled, it sinks, but you get the mission failed screen and no CTD.

This was 100% reproducible for me.
This problem is fixed with new version posted at post #1

v1.0.87.0 released. See post #1

Starting with v1.0.87.0 Fixed possible CTD that could happen with the AI crew voice patch. Added a new patch to the SHSim.act that prevents destroyed aircraft from being immediately removed from the game

TheDarkWraith is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 12:29 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Copyright © 1995- 2026 Subsim®
"Subsim" is a registered trademark, all rights reserved.