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 01-02-12, 05:08 PM   #1
LyncusBee
Swabbie
 
Join Date: Jan 2011
Posts: 10
Downloads: 87
Uploads: 0
Default

Believe me I am not trying to waste your time; I've done a lot of modding since Q2 and subsequent BSP based engines; and more coding since Unity and the likes: And I cannot for the life of me, work out why this is not working out for those modded interfaces...
LyncusBee is offline   Reply With Quote
Old 01-02-12, 05:23 PM   #2
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by LyncusBee View Post
Believe me I am not trying to waste your time; I've done a lot of modding since Q2 and subsequent BSP based engines; and more coding since Unity and the likes: And I cannot for the life of me, work out why this is not working out for those modded interfaces...
Let's see what the exception is when trying to acquire the mouse....give me a few and I'll have a new dll for you to try...
TheDarkWraith is offline   Reply With Quote
Old 01-02-12, 05:34 PM   #3
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

try this: http://www.megaupload.com/?d=R3I45HXG

I see you were failing when I tried to set the cooperation level of the mouse. I give it three chances to set the cooperation level now (changing the flags with each try). After that it's done and rethrows the exception. Each time it fails it will output the exception to debug.
TheDarkWraith is offline   Reply With Quote
Old 01-02-12, 05:46 PM   #4
LyncusBee
Swabbie
 
Join Date: Jan 2011
Posts: 10
Downloads: 87
Uploads: 0
Default

00000139 6.93785477 [848] TDWMouse constructor
00000140 6.93883467 [848] Found the SH5 process
00000141 6.93887281 [848] Creating the mouse device
00000142 6.95107079 [848] Setting cooperation level
00000143 6.97084188 [848] Exception while setting cooperation level for mouse
00000144 6.97084188 [848] Exception is Error in the application.
00000145 6.97084188 [848] -2147467263 (E_NOTIMPL)
00000146 6.97084188 [848] at Microsoft.DirectX.DirectInput.Device.SetCooperativ eLevel(IntPtr hwnd, CooperativeLevelFlags flags)
00000147 6.97084188 [848] at TheDarkWraith.SilentHunter5.TDWMouse..ctor()
00000148 6.97095108 [848] Retrying with different flags...
00000149 6.97106028 [848] Exception while setting cooperation level for mouse
00000150 6.97106028 [848] Exception is Error in the application.
00000151 6.97106028 [848] -2147467263 (E_NOTIMPL)
00000152 6.97106028 [848] at Microsoft.DirectX.DirectInput.Device.SetCooperativ eLevel(IntPtr hwnd, CooperativeLevelFlags flags)
00000153 6.97106028 [848] at TheDarkWraith.SilentHunter5.TDWMouse..ctor()
00000154 6.97110033 [848] Retrying with different flags...
00000155 6.97129393 [848] Exception while setting cooperation level for mouse
00000156 6.97129393 [848] Exception is System.ArgumentException: Value does not fall within the expected range.
00000157 6.97129393 [848] at Microsoft.DirectX.DirectInput.Device.SetCooperativ eLevel(IntPtr hwnd, CooperativeLevelFlags flags)
00000158 6.97129393 [848] at TheDarkWraith.SilentHunter5.TDWMouse..ctor()
00000159 6.97133636 [848] Unable to set cooperation level for mouse

Excuse me but with young children I have to retire now.. I do thank you for your responses and, well, generally brilliant mod work and knowledge...
LyncusBee is offline   Reply With Quote
Old 01-02-12, 05:52 PM   #5
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by LyncusBee View Post
00000139 6.93785477 [848] TDWMouse constructor
00000140 6.93883467 [848] Found the SH5 process
00000141 6.93887281 [848] Creating the mouse device
00000142 6.95107079 [848] Setting cooperation level
00000143 6.97084188 [848] Exception while setting cooperation level for mouse
00000144 6.97084188 [848] Exception is Error in the application.
00000145 6.97084188 [848] -2147467263 (E_NOTIMPL)
00000146 6.97084188 [848] at Microsoft.DirectX.DirectInput.Device.SetCooperativ eLevel(IntPtr hwnd, CooperativeLevelFlags flags)
00000147 6.97084188 [848] at TheDarkWraith.SilentHunter5.TDWMouse..ctor()
00000148 6.97095108 [848] Retrying with different flags...
00000149 6.97106028 [848] Exception while setting cooperation level for mouse
00000150 6.97106028 [848] Exception is Error in the application.
00000151 6.97106028 [848] -2147467263 (E_NOTIMPL)
00000152 6.97106028 [848] at Microsoft.DirectX.DirectInput.Device.SetCooperativ eLevel(IntPtr hwnd, CooperativeLevelFlags flags)
00000153 6.97106028 [848] at TheDarkWraith.SilentHunter5.TDWMouse..ctor()
00000154 6.97110033 [848] Retrying with different flags...
00000155 6.97129393 [848] Exception while setting cooperation level for mouse
00000156 6.97129393 [848] Exception is System.ArgumentException: Value does not fall within the expected range.
00000157 6.97129393 [848] at Microsoft.DirectX.DirectInput.Device.SetCooperativ eLevel(IntPtr hwnd, CooperativeLevelFlags flags)
00000158 6.97129393 [848] at TheDarkWraith.SilentHunter5.TDWMouse..ctor()
00000159 6.97133636 [848] Unable to set cooperation level for mouse

Excuse me but with young children I have to retire now.. I do thank you for your responses and, well, generally brilliant mod work and knowledge...
When you have more time and you can catch me online let me know. We'll continue working on this I'm curious to know why it's failing
TheDarkWraith is offline   Reply With Quote
Old 01-03-12, 10:55 PM   #6
kiwi_2005
Eternal Patrol
 
Join Date: May 2004
Location: Aeoteroa
Posts: 7,306
Downloads: 223
Uploads: 1
Default

Okay I'm going nuts here, I'm trying out manual targeting for the first time and for the life of me I can't find the ship manual in the UI? press f1 only shows Stormy's keys from his mod there is no key for the ship manual showing. I don't know if I should be asking here or in stormy s thread but I am using TDW UI 6_9_0. Is the ship manual the one where you choose out of 3-4 ships in the ID part is that the manual? Because I have always played with auto targetting I never used a ship manual and in Stoianm video it shows him using one with the TDW UI.

I had to let a fat juicy tanker go pass just before because this dumb Captain couldn't find his ship manual! The crew are discussing whether to throw me overboard
__________________
RIP kiwi_2005



Those who can't laugh at themselves leave the job to others.



kiwi_2005 is offline   Reply With Quote
Old 01-04-12, 12:07 AM   #7
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by kiwi_2005 View Post
Okay I'm going nuts here, I'm trying out manual targeting for the first time and for the life of me I can't find the ship manual in the UI? press f1 only shows Stormy's keys from his mod there is no key for the ship manual showing. I don't know if I should be asking here or in stormy s thread but I am using TDW UI 6_9_0. Is the ship manual the one where you choose out of 3-4 ships in the ID part is that the manual? Because I have always played with auto targetting I never used a ship manual and in Stoianm video it shows him using one with the TDW UI.

I had to let a fat juicy tanker go pass just before because this dumb Captain couldn't find his ship manual! The crew are discussing whether to throw me overboard
You have the stock recognition manual available from the scopes (click on the XO picture to bring it up in a scope view). You also have my SOAN available. Click on the charts icon and drag SOAN out from the upper left of your screen.
TheDarkWraith is offline   Reply With Quote
Reply

Tags
dbrn, favorite, new ui

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 02:11 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.