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)
-   -   Stadimeter problems with DarkWraith's UI (https://www.subsim.com/radioroom/showthread.php?t=171276)

TheDarkWraith 06-20-10 11:15 AM

Quote:

Originally Posted by Nausicaa (Post 1423724)
I don't think it's related to JSGME. I have the exact same problem he is describing. Since all of your versions, TDW.

I have following gut feeling since a long time:

1) incorrect german menu.txt by Paco
2) some problem with keyboard (azerty as I run a french system, think you guys are on qwertzy, so are the Germans -- but not the french
3) conflict with system language or with 2) and 3) mixed

Anyway...never got it working. I am close to trying reapers, just to see if it works there.

menu.txt file has nothing to do with it. The mast heights are extracted from the \data\Sea folders when the game starts. That information is stored in a dictionary data type. When you lock onto a ship the name of the ship is used as the key to look up the value in the dictionary for the mast height. That is how mast height is automatically set.
Would you be willing to run a debug version of the mod to help me see why you and others are not getting mast height set automatically?

reaper7 06-20-10 11:19 AM

Quote:

Originally Posted by TheDarkWraith (Post 1423689)
yes, middle of the scope needs to be where the waterline meets the hull of the ship :yep:

When you identifed the ship, what was the mast height shown? Why did you have to enter it?

You don't need to place the centre line on the waterline to get the correct range, as long as you drag the ghost image's down to the top of the mast. - It works.

This is due to SH5 using the Sh4 (Paciffic Boats) stadimeter with its double prism method. :nope:

Quote:

Originally Posted by Nausicaa (Post 1423724)
Anyway...never got it working. I am close to trying reapers, just to see if it works there.

While I have got the stadimeter working perfectly. It has not been released yet.
Fixing a few other things before I release. Not to long to go though:03:.

Fattysbox 06-20-10 11:25 AM

Quote:

Originally Posted by reaper7 (Post 1423743)
While I have got the stadimeter working perfectly. It has not been released yet. Fixing a few other things before I release. Not to long to go though:03:.


the stadimeter is huge requirement for gameplay IMHO. reaper, if yours is working then I'm all over it.

Paco 06-20-10 12:12 PM

Quote:

Originally Posted by Nausicaa (Post 1423724)
1) incorrect german menu.txt by Paco

Hi,

could You tell me the fault(s) in the german menu.txt, please.
So I could fix it.

Thanks,
Paco.

TheDarkWraith 06-20-10 12:20 PM

who else is getting 0 for mast heights on the ships? I sent a debug tester out to the two here to get some feedback as to why they're having problems with it.

Nausicaa 06-20-10 12:21 PM

Hallo Paco - da gibt es so einige. Eines ist hier in den screenshots:

Hello TDW,

I have made some quick testing (dont have much time today) on a test mission with 4 ships in front (download from here at Subsim)

I am almost sure now it's bound to keyboard. (the mistake)

http://img205.imageshack.us/img205/5943/bugtdw01.jpg

http://img709.imageshack.us/img709/11/bugtdw02.jpg

Nausicaa 06-20-10 12:26 PM

Got the PM, will test it.

TheDarkWraith 06-20-10 12:37 PM

when you enter mast height you have to use the 'American' way of it: use the decimal point. It won't accept the comma. I see you're trying to use a mast height of 28,2...You have to enter 28.2 when doing manual entry. The icon you say 'locks' the target doesn't lock it per se. That is follow target which keeps the camera centered on the target. Locking/unlocking a target is done with the spacebar in game.

Nausicaa 06-20-10 12:44 PM

Ok just got your file, installed it. But I get no pop ups, nothing.

On "locking". Yes I know that: I first "lock" the ship with the space bar, then with the "follow lock" (which should say "Folge Ziel", not "Schadensmeldung" (damage report) I did that out of desperation, because nothing seems to help, lol.

On mast height: Yes I know, I tried both, "." and ",". Both are not accepted, mastheight of 28,2 will be "accepted" but display as "282,0". It's always the same.

That is why I think there is a communication problem keyboard layout to game.

TheDarkWraith 06-20-10 12:55 PM

Quote:

Originally Posted by Nausicaa (Post 1423819)
Ok just got your file, installed it. But I get no pop ups, nothing.

On "locking". Yes I know that: I first "lock" the ship with the space bar, then with the "follow lock" (which should say "Folge Ziel", not "Schadensmeldung" (damage report) I did that out of desperation, because nothing seems to help, lol.

On mast height: Yes I know, I tried both, "." and ",". Both are not accepted, mastheight of 28,2 will be "accepted" but display as "282,0". It's always the same.

That is why I think there is a communication problem keyboard layout to game.

ah yes, you won't get pop ups unless your main.cfg (\Documents\SH5\data\cfg) file is edited as follows:

[DEVELOPING]
Modding=Yes
MenuEditor=Yes
DebugScripts=Yes

Nausicaa 06-20-10 12:58 PM

Ok will try. Any idea about the rest of the mentioned problems ?

TheDarkWraith 06-20-10 01:03 PM

Quote:

Originally Posted by Nausicaa (Post 1423839)
Ok will try. Any idea about the rest of the mentioned problems ?

I need to see the results of what I sent you first.

TheBeast 06-20-10 01:05 PM

Do you have the MOD installed correctly?:06: This sounds like problems with Stock game not the MOD.:hmmm:

Paco 06-20-10 01:14 PM

Quote:

Originally Posted by Nausicaa (Post 1423793)
Hallo Paco - da gibt es so einige. Eines ist hier in den screenshots:

Hi,

stimmt, der Eintrag ist falsch. :damn:
Der Fehler ist so schon seit Version 2.0.0 bei mir enthalten.

Sie fallen mir leider nicht so schnell auf, da ich bei neuen Versionen nur nach den Unterschieden zu der bisher gültigen Menüdatei schaue.

Ich werde noch einmal hergehen und die englische mit der deutschen Menüdatei vergleichen um ggfs. weitere Fehler zu finden. Wenn Du mehr Fehler hast, dann sag bitte Bescheid und ich korrigier sie.

Danke Dir.
Paco.


Ok,
after a look at the german menu.txt there is a fault in the file. #2873 was wrong.
So I will have a look over the file for fixing perhaps some more errors. :damn:


Paco.

TheDarkWraith 06-20-10 01:21 PM

Quote:

Originally Posted by TheBeast (Post 1423842)
Do you have the MOD installed correctly?:06: This sounds like problems with Stock game not the MOD.:hmmm:

No he has a valid complaint. There is/are unrecognized byte(s) that exist in their files....I have to find a solution for this :hmmm: Okay it's just me, I can't parse German files using American settings in the game......

Nausicaa 06-20-10 01:28 PM

Hi again -

Checked again and main.cfg was already set to

[DEVELOPING]
;Modding=Yes
;MenuEditor=Yes
;DebugScripts=Yes

But no pop up menus...

TheDarkWraith 06-20-10 01:30 PM

Quote:

Originally Posted by Nausicaa (Post 1423868)
Hi again -

Checked again and main.cfg was already set to

[DEVELOPING]
;Modding=Yes
;MenuEditor=Yes
;DebugScripts=Yes

But no pop up menus...

yeah but they're commented out. Remove the ; from each entry.

TheDarkWraith 06-20-10 02:08 PM

It looks like I've figured out why users of other than English (German seems to be more susceptible than others) are getting 0 for mast heights. I'm testing the German version now and was able to get mast height data.

Nausicaa 06-20-10 02:12 PM

Edited and saved like you said:

http://img94.imageshack.us/img94/139...0620211105.jpg

No pop up menus. Nothing unusual happens in the game.

Nausicaa 06-20-10 02:13 PM

Quote:

Originally Posted by TheDarkWraith (Post 1423888)
It looks like I've figured out why users of other than English (German seems to be more susceptible than others) are getting 0 for mast heights. I'm testing the German version now and was able to get mast height data.

That sounds encouraging.


All times are GMT -5. The time now is 08:41 AM.

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.