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 06-22-10, 12:36 PM   #1
Mithrandir
Bosun
 
Join Date: Sep 2002
Location: Roma, Italia
Posts: 64
Downloads: 199
Uploads: 0
Default

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

bye,
Mith
Mithrandir is offline   Reply With Quote
Old 06-22-10, 01:46 PM   #2
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Mithrandir View Post
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 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?

Last edited by TheDarkWraith; 06-22-10 at 01:57 PM.
TheDarkWraith is offline   Reply With Quote
Old 06-22-10, 01:53 PM   #3
PL_Andrev
Grey Wolf
 
Join Date: Feb 2009
Posts: 995
Downloads: 91
Uploads: 0
Default

Dark,

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

PL_Andrev is offline   Reply With Quote
Old 06-22-10, 01:55 PM   #4
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Antar View Post
Dark,

Do you want the formula for range calculation with mast height?
Sure, send away Now the questions I have to ask are:

- how do I use it?
- how would one implement it in game?
TheDarkWraith is offline   Reply With Quote
Old 06-22-10, 02:27 PM   #5
Mithrandir
Bosun
 
Join Date: Sep 2002
Location: Roma, Italia
Posts: 64
Downloads: 199
Uploads: 0
Default

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!

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
Mithrandir is offline   Reply With Quote
Old 06-22-10, 02:32 PM   #6
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Mithrandir View Post
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!

Bye,
Mith
Can I ask you to try v3.0.8 and see if it still works? I rewrote the code for getting the mast heights from the files and you would make a great tester for it
TheDarkWraith is offline   Reply With Quote
Old 06-22-10, 02:38 PM   #7
Mithrandir
Bosun
 
Join Date: Sep 2002
Location: Roma, Italia
Posts: 64
Downloads: 199
Uploads: 0
Default

Hello,
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!!

Anyway I will also test the 3.0.8. I will let you know something very soon...

Bye,
Mith
Mithrandir is offline   Reply With Quote
Old 06-22-10, 02:46 PM   #8
PL_Andrev
Grey Wolf
 
Join Date: Feb 2009
Posts: 995
Downloads: 91
Uploads: 0
Default

Quote:
Originally Posted by TheDarkWraith View Post
Sure, send away Now the questions I have to ask are:

- how do I use it?
- how would one implement it in game?
Formula is very easy:

R = h / TAN (angle)
R - current range [meters]
h - mast height [meters]
TAN - tangent of angle
angle - value read from stadimeter [radians]

Notes:
Value of angle can be read as degree or radian, to test it read the value from stadimeter from very very near ships (ok 100 meters).
If the value is degree, the value will be higher than 2, for radians: less than 1.
__________________

PL_Andrev 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 11:26 PM.


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.