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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 09-01-12, 12:23 AM   #36
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
 

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.