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 08-31-12, 09:59 AM   #31
Targor Avelany
Ace of the Deep
 
Join Date: Jan 2010
Location: Vancouver, BC, Canada
Posts: 1,183
Downloads: 225
Uploads: 0


Default

Quote:
Originally Posted by MrMacmanaman View Post
Anyone got an idea why sh5 caused me bsod? Is this game so full of bugs, that it is normal to get ctds and bsods?
ctds are normal.... bsod... well, that is windows normal

Sober, nope, did not help. I probably simply lack the memory (or my memory faulty somewhere) to load up that much. Even with 4gb switch it crashes within about 30-20kms of Keil. Makes me wonder if there is some huge force leaving Kiel around Sep 7, '39
Targor Avelany is offline   Reply With Quote
Old 08-31-12, 11:40 AM   #32
Trevally.
Navy Seal
 
Join Date: Apr 2007
Location: AN1536 (Orkney)
Posts: 5,448
Downloads: 166
Uploads: 28


Default

Quote:
Originally Posted by Targor Avelany View Post
ctds are normal.... bsod... well, that is windows normal

Sober, nope, did not help. I probably simply lack the memory (or my memory faulty somewhere) to load up that much. Even with 4gb switch it crashes within about 30-20kms of Keil. Makes me wonder if there is some huge force leaving Kiel around Sep 7, '39
All convoys leaving Kiel has been removed in OHII. This fixed the ctd with the tutorial at the start of the game
__________________
Trevally Mods for SH5
Trevally. is offline   Reply With Quote
Old 08-31-12, 11:51 AM   #33
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 Targor Avelany View Post
..Even with 4gb switch it crashes within about 30-20kms of Keil..
Try to reduce your TC to TC2 or TC4 when crossing deathline..
__________________
.
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 08-31-12, 12:04 PM   #34
Targor Avelany
Ace of the Deep
 
Join Date: Jan 2010
Location: Vancouver, BC, Canada
Posts: 1,183
Downloads: 225
Uploads: 0


Default

Quote:
Originally Posted by volodya61 View Post
Try to reduce your TC to TC2 or TC4 when crossing deathline..
that is the problem... TC is at 1...

Will try olydebug today, see what shows..
Targor Avelany is offline   Reply With Quote
Old 08-31-12, 07:55 PM   #35
Targor Avelany
Ace of the Deep
 
Join Date: Jan 2010
Location: Vancouver, BC, Canada
Posts: 1,183
Downloads: 225
Uploads: 0


Default

well, being stubborn as hell, decided that fiddling around with OllyDbg will be amusing...

And this is what I get on the crash:
Log data, item 266
Address = 10024C27
Message = Access violation when reading [1C7ED0A0] - Shift+Run/Step to pass exception to the program

now, to my understanding it is possible that whatever is happening in the game trying to either read/write outside the stack or the memory is corrupt.. am I on the right track here?
Targor Avelany is offline   Reply With Quote
Old 08-31-12, 09:36 PM   #36
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Targor Avelany View Post
well, being stubborn as hell, decided that fiddling around with OllyDbg will be amusing...

And this is what I get on the crash:
Log data, item 266
Address = 10024C27
Message = Access violation when reading [1C7ED0A0] - Shift+Run/Step to pass exception to the program

now, to my understanding it is possible that whatever is happening in the game trying to either read/write outside the stack or the memory is corrupt.. am I on the right track here?
As everytime you load a process into memory it gets placed wherever the Window's loader decides to place it thus giving addresses does no good. It's best to state which module and then the offset in the module. I'd be curious to take a look at your problem but you need to specify module (i.e. sh5.exe) and offset (i.e. +0x00402E). In order to get OllyDebug to show offsets scroll the window to the very top. Click on the far left bar that's showing the addresses. That'll change the way addresses are shown. Click until you get it showing offsets (first 'address' will be +0x0). To get back to where you were right click on main window and select 'Go to origin'

Last edited by TheDarkWraith; 09-01-12 at 12:33 AM.
TheDarkWraith is offline   Reply With Quote
Old 09-01-12, 12:23 AM   #37
Targor Avelany
Ace of the Deep
 
Join Date: Jan 2010
Location: Vancouver, BC, Canada
Posts: 1,183
Downloads: 225
Uploads: 0


Default

Quote:
Originally Posted by TheDarkWraith View Post
As everytime you load a process into memory it gets placed wherever the Window's loaded decides to place it giving addresses does no good. It's best to state which module and then the offset in the module. I'd be curious to take a look at your problem but you need to specify module (i.e. sh5.exe) and offset (i.e. +0x00402E). In order to get OllyDebug to show offsets scroll the window to the very top. Click on the far left bar that's showing the addresses. That'll change the way addresses are shown. Click until you get it showing offsets (first 'address' will be +0x0). To get back to where you were right click on main window and select 'Go to origin'
Thank you

Will take me forever to figure out how all this works.. I'm not as smart as I wish...

Well, setting Olly as a default debug gave me lovely:
Log data, item 4
Address =
Message = Process terminated, exit code C0000417 (INVALID_CRUNTIME_PARAMETER)
on ntdll module - out of things... ntdll.RtUserThreadStart...

while showing:
[196] DllMain: hModule=0x10000000, ulReason=1, lpReserved=0x00000000, gRefCnt = 0
[196] DllMain: hModule=0x10000000, ulReason=0, lpReserved=0x00000000, gRefCnt = 0

in the DbgView

Well, guess I know what I'm doing for the next month or more - reading lots on assembly
Targor Avelany is offline   Reply With Quote
Old 09-01-12, 12:32 AM   #38
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Targor Avelany View Post
Well, setting Olly as a default debug gave me lovely:
Log data, item 4
Address =
Message = Process terminated, exit code C0000417 (INVALID_CRUNTIME_PARAMETER)
on ntdll module - out of things... ntdll.RtUserThreadStart...
This is the end result, it is not the cause. To find the cause you need to run up the stack chain to see what caused it Place breakpoints on what you suspect might be the cause and run the game again
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 11:27 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.