![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
|
08-13-10, 07:51 AM
|
#1 | ||
|
Commander
![]() Join Date: Dec 2001
Location: Großbritannien
Posts: 452
Downloads: 48
Uploads: 0
|
Quote:
So, a big tentative thank you. Can't wait to see if it works.
__________________
Quote:
|
||
|
|
08-13-10, 07:58 AM
|
#2 | |
|
Black Magic
![]() |
Quote:
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. |
|
|
|
08-13-10, 08:19 AM
|
#3 |
|
Seaman
![]() Join Date: Apr 2010
Posts: 32
Downloads: 619
Uploads: 0
|
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. |
|
|
08-13-10, 08:34 AM
|
#4 |
|
Sparky
![]() Join Date: Aug 2005
Posts: 151
Downloads: 500
Uploads: 0
|
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.
|
|
|
08-13-10, 08:35 AM
|
#5 | |
|
Black Magic
![]() |
Quote:
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 I'll have a fix for it soon. Have to do some work today in downtown Chicago but will be home later. |
|
|
|
08-13-10, 11:22 AM
|
#6 | |
|
Grey Wolf
![]() Join Date: Feb 2009
Posts: 995
Downloads: 91
Uploads: 0
|
Quote:
TDW, I have a idea, MAybe you should reorganize your mod do better problem detection: 3.9.4 as version 3.9.3 with all new fixes 4.0.0 as add-on with automation scripts ...
__________________
![]() |
|
|
|
08-13-10, 03:23 PM
|
#7 | |
|
Black Magic
![]() |
Quote:
|
|
|
|
08-13-10, 04:29 PM
|
#8 |
|
Navy Seal
![]() |
TDW I am having the same problems with this new version as others.
Hud in the bunker, icons in wrong place, automation screen is blank and cant talk to officer in bunker. I have not moved my sh5 folder like others are reporting. I am using vista. I have also noticed that there are files being created in my ubisoft folder. "Pagelayout_Draggables.TDW" and others. I have not noticed this until v4.0 |
|
|
08-13-10, 04:35 PM
|
#9 |
|
Black Magic
![]() |
v4.0.2 released. This is a bugfix version for v4.0.0. It fixes the problem of crew dialog box not functioning correctly when in the bunker by some users. See post #1 for details.
NOTE: if you open up Automation in game and nothing is in the boxes (categories, available scripts, activated scripts) then you have re-installed your game at some point and changed where you had originally installed it. This is an installer bug present in the game's installer. What the game installer fails to do when you do this is to update the registry with the new path. You'll have to update this registry key with the correct path to your SH5 folder: HKEY_LOCAL_MACHINE\Software\Ubisoft\Silent Hunter 5\GameUpdate. I read this key to get to the game files I need to read. |
|
|
![]() |
| Tags |
| dbrn, favorite, new ui |
| Thread Tools | |
| Display Modes | |
|
|
