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-11-10, 07:17 PM   #1
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by sober View Post
When i go to the guys in the bunker to upgrade or go to the guy to get my mission orders there is that blank grey panel that says enter game , all i can do is move away from him so it dissapears . I will try to reupload your mod again .
wait. I just found a major problem that has gone unnoticed for many revisions now that I just got to rear it's ugly head because of something from makman94:

the stadimeter is working fine via the dialog box of wo BUT if you use it(the stadimeter) via its button at range dial of tdc ...i think that is stopping working !(something is going messed when you activate-deactivate the tdc via its button-the one that is between the four dials of tdc). definetely is showing wrong ranges from this button!
then ,if you switch back to dialog box in order to make the stadimeter working properly again....you will see that is showing wrong ranges from there too .the strange thing is that the correct mast height is showing but stadi doesn't seem to take it .you have to manually retype the mast value ,press accept and then it is working again .
have a look at it ....if you can fix it ...it will be great !

Because of what he wrote to me I started investigating this. I found the problem he reported along with a silent killer that was just waiting to explode and cause all sorts of havoc (it would basically cause the page default hud script to stop working - major problems then). I'll be issuing v4.0.1 here very soon now.
TheDarkWraith is offline   Reply With Quote
Old 08-11-10, 07:27 PM   #2
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

okay for those of you experiencing problems with the crew dialogs in dock try this and tell me what happens:

http://rapidshare.com/files/41242659...0_0_bugfix1.7z
MD5: A8855CC86E29DDCAA28753CB965A9851

Also when in game at game start (when you're in mission) press the Q key to bring up Automation. Do you see anything listed in it? If every box is blank that will help me figure out what the problem is for those of you that can't get the crew dialog to work in the bunker.

Also with the mod enabled check your \Silent Hunter 5\data folder to see if there's a folder in it named Automation.

Last edited by TheDarkWraith; 08-11-10 at 08:03 PM.
TheDarkWraith is offline   Reply With Quote
Old 08-11-10, 07:35 PM   #3
Quince99
Nub
 
Join Date: Apr 2005
Posts: 2
Downloads: 19
Uploads: 0
Default

Many thanks for creating this masterpiece of a Mod - sadly haven't been able to get it working in SH5. This also may be down to not doing the right thing(s) to get it working.

First off, SH5, brand new install and patched to v1.2 EU. Used latest JGSME 2.6.xxx from the JoneSoft website, installed directly to SH5 folder.

Using v4.0.0 of your mod, I notice it contains several sub-folders: Applications, Backups, Dials, Included Mods from Others, Mods and Text. Current path is SH5/Mods/NewUIs_TDC_4_0_0_TheDarkWraith/Applications etc. Should the Mods folder contents be copied to SH5/Mods to work or should this remain nested within NewUIs_TDC... folder?

That said, I seem not to be able to get the Accurate German Flags, Steel Viking's Interior Mod (do the screens really look that good?!) and Environment 3.1 to work. I realise these mods are nothing to do with your own work and the UIs mod should have no bearing upon their working successfully, but if NONE of these is working is there something more fundamental that needs to be addressed in SH5 config?

With much confusion and thanks for listening...
Quince99 is offline   Reply With Quote
Old 08-11-10, 07:41 PM   #4
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Quince99 View Post
Many thanks for creating this masterpiece of a Mod - sadly haven't been able to get it working in SH5. This also may be down to not doing the right thing(s) to get it working.

First off, SH5, brand new install and patched to v1.2 EU. Used latest JGSME 2.6.xxx from the JoneSoft website, installed directly to SH5 folder.

Using v4.0.0 of your mod, I notice it contains several sub-folders: Applications, Backups, Dials, Included Mods from Others, Mods and Text. Current path is SH5/Mods/NewUIs_TDC_4_0_0_TheDarkWraith/Applications etc. Should the Mods folder contents be copied to SH5/Mods to work or should this remain nested within NewUIs_TDC... folder?

That said, I seem not to be able to get the Accurate German Flags, Steel Viking's Interior Mod (do the screens really look that good?!) and Environment 3.1 to work. I realise these mods are nothing to do with your own work and the UIs mod should have no bearing upon their working successfully, but if NONE of these is working is there something more fundamental that needs to be addressed in SH5 config?

With much confusion and thanks for listening...
take the MODS folder from my mod and 'paste' it into your \Silent Hunter 5 folder (assuming your MODS folder is located in \Ubisoft\Silent Hunter 5). You don't need anything else but that MODS folder.
TheDarkWraith is offline   Reply With Quote
Old 08-13-10, 04:18 AM   #5
Captain Joe
Seaman
 
Join Date: Apr 2010
Posts: 32
Downloads: 619
Uploads: 0
Problem Fixed

Quote:
Originally Posted by TheDarkWraith View Post
okay for those of you experiencing problems with the crew dialogs in dock try this and tell me what happens:

http://rapidshare.com/files/41242659...0_0_bugfix1.7z
MD5: A8855CC86E29DDCAA28753CB965A9851

Also when in game at game start (when you're in mission) press the Q key to bring up Automation. Do you see anything listed in it? If every box is blank that will help me figure out what the problem is for those of you that can't get the crew dialog to work in the bunker.

Also with the mod enabled check your \Silent Hunter 5\data folder to see if there's a folder in it named Automation.

I had both problems, I tried all sorts of things till I saw Sobers post no. 3912 and realised what "I" think my and maybe others have as problem. I have moved game from original installed location to another drive where I keep my games. So I remade C:\Ubisoft\Silent Hunter 5\data\Scripts "and all its contents just in case it looks for something else and it sorted out the Bunker problem as well as the Automation problem.

If anyone is having this problem it could be due to moving the games original position and some files in TDW's Mod is still looking in that location.

BTW Exelent work TDW and all other modders for making SH5 from a flop to one of my most Enjoyable games I play. Please keep it up.
Captain Joe is offline   Reply With Quote
Old 08-13-10, 07:51 AM   #6
Schultzy
Commander
 
Join Date: Dec 2001
Location: Großbritannien
Posts: 452
Downloads: 48
Uploads: 0
Default

Quote:
Originally Posted by Captain Joe View Post
If anyone is having this problem it could be due to moving the games original position and some files in TDW's Mod is still looking in that location.
I moved mine too, so that could well be what's up with my installation too. I won't be able to mess with it as I'm not going to be back home until Sunday, <grumble, grumble> but I do think you may just have found the problem.

So, a big tentative thank you. Can't wait to see if it works.
__________________
Quote:
Originally Posted by placoderm
SH5 is to history what Star Trek is to science...it is exciting and inspiring, but eventually you have to come home from the convention, take off the pointy ears, and come to the realization that it was all just pretend and make-believe.
Schultzy is offline   Reply With Quote
Old 08-13-10, 07:58 AM   #7
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Schultzy View Post
I moved mine too, so that could well be what's up with my installation too. I won't be able to mess with it as I'm not going to be back home until Sunday, <grumble, grumble> but I do think you may just have found the problem.

So, a big tentative thank you. Can't wait to see if it works.
There's an underlying problem here though. One should be able to move their game to whatever folder they want whenever they reinstall AND the registry should be updated to reflect this. It appears that the step of updating the registry is not being performed by the installer (.exe file). Sober's post is an excellent example of this.
It appears that the very first time you install the game the installer writes the correct value to your computer's registry. The next time, and it appears every other time, you re-install it doesn't update the registry. So if you move the game to a new folder it's going to cause problems with my mod. Not because I'm looking for specific places for files but because I use the registry to tell me where to find those files - and the registry is wrong.
TheDarkWraith is offline   Reply With Quote
Old 08-13-10, 08:19 AM   #8
Captain Joe
Seaman
 
Join Date: Apr 2010
Posts: 32
Downloads: 619
Uploads: 0
Default Did Fault Finding

TDW I did a bit of testing myself last night and cant tell you what the problem but can pinpoint where it is maybe for you. I installed ver 4.0.0 a little bit at a time and eventually installed Scripts\Menu\Page Default Hud and bunker gave the problem of officers being injured, so I knew problem was in there, then I used win merge to see what you changed in it, noticed you changed(added near inbunker this line: " GetAutomation().StopAllScripts()"

I took it out to see what happens and installed ver 4.0.0 without it and could talk to officer in bunker perfectly.

Sorry for just editing your files without your permission but just tried to help. Hope this can help you sort it out as this is first time I have found game not finding my game files.
Captain Joe is offline   Reply With Quote
Old 08-13-10, 08:34 AM   #9
Nufsed
Sparky
 
Join Date: Aug 2005
Posts: 151
Downloads: 500
Uploads: 0
Default

I think Capt jo might have cracked it, I also noticed that the HUD was present in the bunker, and when you click for a new mission it just comes up with the box which says "injured", also the only way to exit is to click on the outside view button, this then allows you to use esc to bring up the exit menu. I'll use 3.9.3 until this is sorted, cheers mate.
__________________
Mike Collins
Nullius in Verba

Nufsed is offline   Reply With Quote
Old 08-13-10, 08:35 AM   #10
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Captain Joe View Post
TDW I did a bit of testing myself last night and cant tell you what the problem but can pinpoint where it is maybe for you. I installed ver 4.0.0 a little bit at a time and eventually installed Scripts\Menu\Page Default Hud and bunker gave the problem of officers being injured, so I knew problem was in there, then I used win merge to see what you changed in it, noticed you changed(added near inbunker this line: " GetAutomation().StopAllScripts()"

I took it out to see what happens and installed ver 4.0.0 without it and could talk to officer in bunker perfectly.

Sorry for just editing your files without your permission but just tried to help. Hope this can help you sort it out as this is first time I have found game not finding my game files.
no problem editing the files to help determine cause of problem You may have just figured out the root cause. That function call may be causing problems IF the mod didn't find any automation files at game start Anyways, error handling code should've been placed around that function call by me

Just looked up Dictionary in the MSDN documentation again. I now know why there are problems. The function call of GetAutomation().StopAllScripts() does the following:

- gets a list of all keys contained in the dictionary
- then using those keys it finds the scripts active and tells them to stop

Now from the MSDN documentation:
Getting the value of this property is an O(1) operation.

What this means is that if there are no keys nothing is returned. Well one can not iterate over None - exception is caused by this. So those users that moved their game to a new folder, coupled with registry not updating correctly, coupled my no error checking code on my part results in crew dialog problem At least I know why it's happening now.
I'll have a fix for it soon. Have to do some work today in downtown Chicago but will be home later.
TheDarkWraith is offline   Reply With Quote
Old 08-12-10, 03:43 AM   #11
nodlew
Engineer
 
Join Date: Dec 2009
Location: Virginia
Posts: 202
Downloads: 572
Uploads: 0
Default Q key is spoken for, ain't it?

I thought the Q Key was for rotating the RAOBF Counter-Clockwise. So now it will bring up the Automation Screen? So now you can only rotate the RAOBF Clockwise using the E key? Any way to manually assign keys to the RAOBF to circumvent the issue?
nodlew is offline   Reply With Quote
Old 08-12-10, 03:38 PM   #12
Tectronus
Watch
 
Join Date: Mar 2006
Posts: 24
Downloads: 37
Uploads: 0
Default

Quote:
Originally Posted by TheDarkWraith View Post
wait. I just found a major problem that has gone unnoticed for many revisions now that I just got to rear it's ugly head because of something from makman94:

the stadimeter is working fine via the dialog box of wo BUT if you use it(the stadimeter) via its button at range dial of tdc ...i think that is stopping working !(something is going messed when you activate-deactivate the tdc via its button-the one that is between the four dials of tdc). definetely is showing wrong ranges from this button!
then ,if you switch back to dialog box in order to make the stadimeter working properly again....you will see that is showing wrong ranges from there too .the strange thing is that the correct mast height is showing but stadi doesn't seem to take it .you have to manually retype the mast value ,press accept and then it is working again .
have a look at it ....if you can fix it ...it will be great !

Because of what he wrote to me I started investigating this. I found the problem he reported along with a silent killer that was just waiting to explode and cause all sorts of havoc (it would basically cause the page default hud script to stop working - major problems then). I'll be issuing v4.0.1 here very soon now.
Hey TDW i don't know if this is a related but it might. When you use the sh3 timer to calculate speed and take your multiple readings and your wo starts to calculate the extra info like ship course, avg course, (witch is an awesome welcomed feature with the random delay btw) it seems like ship course is always way off. Speed and aob are always pretty close but i never can get him to give me a good true ship course answer. I love that there is fug factor built into this, and there should be, but right now it seems off. Maybe later if possible we can see this fug factor/delay time get tied into skills so we can send him for lessons in between patrols to refine his craft.

Great job with the automation. You put alot of coolness in with the mouse overs and all.
Tectronus is offline   Reply With Quote
Old 08-12-10, 03:42 PM   #13
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Tectronus View Post
Hey TDW i don't know if this is a related but it might. When you use the sh3 timer to calculate speed and take your multiple readings and your wo starts to calculate the extra info like ship course, avg course, (witch is an awesome welcomed feature with the random delay btw) it seems like ship course is always way off. Speed and aob are always pretty close but i never can get him to give me a good true ship course answer.
the problem you are expressing is caused by the error I posted that you quoted. Is it still not working with the bugfix for v4.0.0?
TheDarkWraith is offline   Reply With Quote
Old 08-12-10, 03:50 PM   #14
Tectronus
Watch
 
Join Date: Mar 2006
Posts: 24
Downloads: 37
Uploads: 0
Default

Quote:
Originally Posted by TheDarkWraith View Post
the problem you are expressing is caused by the error I posted that you quoted. Is it still not working with the bugfix for v4.0.0?
will try it out later.
Tectronus 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 01:37 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.