![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
|
08-13-10, 08:35 AM
|
#1 | |
|
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
|
#2 | |
|
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
|
#3 | |
|
Black Magic
![]() |
Quote:
|
|
|
|
08-13-10, 04:29 PM
|
#4 |
|
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:38 PM
|
#5 | |
|
Black Magic
![]() |
Quote:
|
|
|
|
08-13-10, 05:14 PM
|
#6 |
|
Navy Seal
![]() |
TDW I have updated to v4.02 and this has fixed all they problems listed above
![]() I still however have a blank automation screen. I checked the reg as you discribed but it was correct. |
|
|
08-13-10, 05:20 PM
|
#7 | |
|
Black Magic
![]() |
Quote:
check to see if you have a folder labeled 'Automation' under your \Silent Hunter 5 folder. If you do then open it up. Are there any files inside it? What was the value of the installdir in that reg key? Does it match your actual Silent Hunter 5 installation? |
|
|
|
08-13-10, 04:35 PM
|
#8 |
|
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 | |
|
|
