![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
|
08-13-10, 04:18 AM
|
#1 | |
|
Seaman
![]() Join Date: Apr 2010
Posts: 32
Downloads: 619
Uploads: 0
|
Problem Fixed
Quote:
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. |
|
|
|
08-13-10, 07:51 AM
|
#2 | ||
|
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
|
#3 | |
|
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
|
#4 |
|
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
|
#5 |
|
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
|
#6 | |
|
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
|
#7 | |
|
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
|
#8 | |
|
Black Magic
![]() |
Quote:
|
|
|
|
![]() |
| Tags |
| dbrn, favorite, new ui |
| Thread Tools | |
| Display Modes | |
|
|
