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 03-11-14, 11:22 AM   #1
vdr1981
Navy Seal
 
Join Date: May 2010
Location: Србија
Posts: 6,095
Downloads: 587
Uploads: 13


Default

This "attaching" process could last for some time , right?
vdr1981 is offline   Reply With Quote
Old 03-11-14, 11:23 AM   #2
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by vdr1981 View Post
This "attaching" process could last for some time , right?
It will stay attached until you either detach or close OllyDebug down (if you close OllyDebug down the attached process will stop also)
TheDarkWraith is offline   Reply With Quote
Old 03-11-14, 02:30 PM   #3
vdr1981
Navy Seal
 
Join Date: May 2010
Location: Србија
Posts: 6,095
Downloads: 587
Uploads: 13


Default

Well, I've got good news and the bad news...
Bad news are I couldn't replicate CTD and the good news are - I couldn't replicate CTD...

Continuing testing...

Some how I'm having a feeling that casualties are involved (poor men flying around when shell hits) and today I couldn't spawn any casualties no matter how hard I struck the ships... We'll see...

Last edited by vdr1981; 03-11-14 at 02:45 PM.
vdr1981 is offline   Reply With Quote
Old 03-11-14, 03:12 PM   #4
vdr1981
Navy Seal
 
Join Date: May 2010
Location: Србија
Posts: 6,095
Downloads: 587
Uploads: 13


Default

Just to make sure that I understood you correctly TDW I'll show you OllyDbg report from other 100% reliable CTD of mine... This one can't escape...

It's scenario where random unit appearance will crash the game if game isn't fully restarted after the start of certain campaigns... Example:
You star campaign in Kiel, enter bunker, exit to main manu, then museum, after few units- CTD or...
Enter the museum and pay extensive visit, then start new campaign, and the game will CTD

We talked about this issue on this page...http://www.subsim.com/radioroom/show...89818&page=329



Does this picture tell you anything TDW?
vdr1981 is offline   Reply With Quote
Old 03-11-14, 03:55 PM   #5
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by vdr1981 View Post
Just to make sure that I understood you correctly TDW I'll show you OllyDbg report from other 100% reliable CTD of mine... This one can't escape...

It's scenario where random unit appearance will crash the game if game isn't fully restarted after the start of certain campaigns... Example:
You star campaign in Kiel, enter bunker, exit to main manu, then museum, after few units- CTD or...
Enter the museum and pay extensive visit, then start new campaign, and the game will CTD

We talked about this issue on this page...http://www.subsim.com/radioroom/show...89818&page=329



Does this picture tell you anything TDW?
Is that where OllyDebug 'broke' into? It highlighted that call statement? Did it say anything like null reference or ??
TheDarkWraith is offline   Reply With Quote
Old 03-11-14, 04:01 PM   #6
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Actually what you are seeing is the beginning call into SH5. If you look at the EDX register it holds the address of where the module start point is for SH5. Something called EDX which then OllyDebug breaks at the module entry point (if that option is set which under default settings it is). Let OllyDebug 'continue' by pressing the Play symbol (fourth button from the upper left).

I'll warn you now that 'watching' SH5 startup will lead into many exceptions thrown. You'll have to press Shift+F9 to let the app (SH5) handle those exceptions. You'll end up pressing this key combination something like 50+ times Yes, SH5 is coded awful
TheDarkWraith is offline   Reply With Quote
Old 03-17-14, 05:05 PM   #7
THE_MASK
Ace of the deep .
 
THE_MASK's Avatar
 
Join Date: Jan 2006
Posts: 9,153
Downloads: 901
Uploads: 73


Default

Interestingly with the moon and the moonlight mod
http://www.subsim.com/radioroom//dow...o=file&id=4350
I get a beam of light from the lighthouse .

Last edited by THE_MASK; 03-17-14 at 05:23 PM.
THE_MASK 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 09:48 AM.


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.