SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   SH5 Mods Workshop (https://www.subsim.com/radioroom/forumdisplay.php?f=249)
-   -   [REL] Multiple UIs for SH5 with TDC (https://www.subsim.com/radioroom/showthread.php?t=166093)

TheDarkWraith 06-22-10 08:07 AM

Quote:

Originally Posted by Meldric (Post 1425252)
I have had the following issue (again: sorry, if that has been covered before):

When I use the CrashDive-Button, my boat is surfacing... a very bad thing facing a number of enemy destroyers... I am using stock keyboard layout (with one little correction for the "Engines stopp" command that is not working for me in stock).

Meldric

very interesting :hmmm: I have to say first report of this happening. Have you tried using the hotkey for the crash dive and seeing what happens? If you have any other mods enabled have you disabled them all except for the UIs mod and tried to see if you can duplicate the problem?

Meldric 06-22-10 08:19 AM

Hi!

I made no further investigations. It just happened to me yesterday and it was pretty unlucky :) I wanted to check the config files if something with the hotkeys is odd, but unfortunatly I am at work now...

I will definitly double check. I have several mods running, I can provide a list when I am home again.

Meldric

Nausicaa 06-22-10 10:11 AM

Hi there TDW, sorry for the late reply. I had no time for testing and forums yesterday. I got your PM's and I tested vers. 3.08.

Something has changed, but we are not there yet: the indicated mastheight for 4 tested merchant ships is now "20,0" -- not "0.0". That makes things not more correct, but something happened.

I am very interested in the idea of system language vs game language as source of the problem. I bought my game in France (French Box), but installed in German, running on a PC in Belgium, set on english language. (would have to check which english language precisely)

I don't understand neither why I don't have certain ships in the manual...(check screenshots) test vers 3.08:

http://img443.imageshack.us/img443/6...shot002hog.jpg

http://img692.imageshack.us/img692/6...ot002dampf.jpg

http://img46.imageshack.us/img46/601...shot002cim.jpg

http://img202.imageshack.us/img202/8...shot002cb2.jpg

TheDarkWraith 06-22-10 10:20 AM

I'm out on the road right now and won't be home till later tonight. The 20.0 is something I added in the code to help further determine why some foreign users are having problems with the automatic mast height. It's definitely an encoding issue. I'll have to look over the code tonight to see what error causes 20.0 to be displayed for all ships.
Certain ships are missing from the rec manual because Ubi took them out with patch 1.2. I have yet to fix that problem that Ubi introduced.

Mithrandir 06-22-10 11:08 AM

I experienced with 3.0.4 a good behaviour for mast height. Then I upgraded my System from Vista to Windows 7 (32bit) and re-installed SH5 (exactly same configuration) and from that time I begun having mast height problem... :|

Bye,
Mith

TheDarkWraith 06-22-10 12:33 PM

Quote:

Originally Posted by Nausicaa (Post 1425457)
Something has changed, but we are not there yet: the indicated mastheight for 4 tested merchant ships is now "20,0" -- not "0.0". That makes things not more correct, but something happened.

after looking at your screenshots again it occurred to me that something is missing. There's no debug output to the messagebox. Are you running just v3.0.8 and nothing else? If you have anything installed that I sent you via PM please disable them. You only need the new v3.0.8 that I made available at post #1. There should be something in the messagebox if it's unable to determine the correct mast height denoting an error occurred. Your screenshots show nothing of this.
Have you tried selecting the ship from XO TDC dialog by checking the checkbox vice using WEPS-->Identify target? Try selecting random ships from the XO TDC dialog box just to see if the mast height changes. Ensure to mouse away from the checkbox also so the change of mast height takes effect.

Mithrandir 06-22-10 12:36 PM

i solved the problem launching it as admin... or disabling user account protection. seems to be a file permission problem!

bye,
Mith

Tilvaltar 06-22-10 12:42 PM

Quote:

Originally Posted by TheDarkWraith (Post 1332669)
New Version! v3.0.8
- if manual targeting is set in the game options then the option to 'Turn TDC Off' has been disabled in the XO TDC dialog box

How can I reenable the 'Turn TDC Off' option?

Why I ask? I play with manual targeting and disabled (!) TDC. So I don't have to lock on ships to hit them automatically. The trick: The TDC still works in the background and calculates the solution on target, even if it's turned off. But since 3.0.5 I can't disable TDC anymore in the XO's dialog ...

Kepler 06-22-10 01:06 PM

Regarding the "lock/unlock target" button: I activated it in the cript, it works - but it doesn't necessarily pop up immediately when I put the scope/uzo crosshairs on a target. It seems like it waits till some other officer in the sub calls out a "target in sight", which can be somewhat disturbing when you're the only one in the boat peeking through the scope! :03: So.....bug? "Feature"?

TheDarkWraith 06-22-10 01:41 PM

Quote:

Originally Posted by Kepler (Post 1425569)
Regarding the "lock/unlock target" button: I activated it in the cript, it works - but it doesn't necessarily pop up immediately when I put the scope/uzo crosshairs on a target. It seems like it waits till some other officer in the sub calls out a "target in sight", which can be somewhat disturbing when you're the only one in the boat peeking through the scope! :03: So.....bug? "Feature"?

no bug of mine or really Ubi's either. Until your crew actually sights the ship (technically one of your sub's sensors spots the contact) you can't lock onto it or get any information from it. You'll notice that in the TAI it doesn't even show the ship icon until your crew spots it.

TheDarkWraith 06-22-10 01:46 PM

Quote:

Originally Posted by Mithrandir (Post 1425549)
i solved the problem launching it as admin... or disabling user account protection. seems to be a file permission problem!

bye,
Mith

glad to hear you got it working :yeah: It would've never crossed my mind that it would be a windows privilege level thing. But now that I think about it it makes sense. I'm asking to open up files and read from them. If you have installed the game to the 'protected' folder of \Program Files (x86)\ then yes, windows would invoke a privilege level on those files and I wouldn't have sufficient privileges to open them much less read from them. But if you installed to any other folder then it wouldn't invoke a privilege level on me.
Then just to clarify Mithrandir, you use a version of the game other than English and your automatic mast height is working correctly under admin rights with v3.0.8?

TheDarkWraith 06-22-10 01:51 PM

Quote:

Originally Posted by Tilvaltar (Post 1425551)
How can I reenable the 'Turn TDC Off' option?

Why I ask? I play with manual targeting and disabled (!) TDC. So I don't have to lock on ships to hit them automatically. The trick: The TDC still works in the background and calculates the solution on target, even if it's turned off. But since 3.0.5 I can't disable TDC anymore in the XO's dialog ...

unfortunately I hard coded that. So currently there is no way to get it back other than disabling manual targeting. I see this as a valid complaint and thus I'll add a user option for it so that you can disable it.
I won't be able to make the change until later. I'll issue a new bugfix version (v3.0.9) after I make the change.

PL_Andrev 06-22-10 01:53 PM

Dark,

Do you want the formula for range calculation with mast height?
:O:

TheDarkWraith 06-22-10 01:55 PM

Quote:

Originally Posted by Antar (Post 1425604)
Dark,

Do you want the formula for range calculation with mast height?
:O:

Sure, send away :yeah: Now the questions I have to ask are:

- how do I use it?
- how would one implement it in game?

Mithrandir 06-22-10 02:27 PM

Dear Darkwraith,
I confirm that I run the italian version of SH5 on an italian Windows 7 OS.
I had Vista before but, in the same configuration I did not experienced the problem. This was the consideration that let me think that the problem should have been something related to the OS...
For what concerns the version of your MOD I'm currently trying the test version 3.1.0 but I have also tried the 3.0.4 and its the same...
I re-tested it few seconds ago and I confirm that, running the SH5 executable as administrator it works fine! :rock:

EDITED: without changing anything I restarted the game with my user account and the problem is again there: 0.0 mast height!!!! I think we can definitely say that the problem was a Windows file access permission one!!

... I want also to try taking ownership of the games directory (it was installed as administrator but I did not expected problems, being a member of administrators).

Bye,
Mith


All times are GMT -5. The time now is 04:56 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 1995- 2025 Subsim®
"Subsim" is a registered trademark, all rights reserved.