SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   SH4 Mods Workshop (https://www.subsim.com/radioroom/forumdisplay.php?f=219)
-   -   [REL] Damage-Analyzer II v2.0 Beta (Updated May 26) (https://www.subsim.com/radioroom/showthread.php?t=114405)

Frank Smith 07-02-07 07:14 PM

Quote:

Originally Posted by SirHendrik
:rock:The online license generation now works! :rock:

See new documentation or simply go to http://dhg684.dyndns.org/license to generate your license. (You must trust this applet, otherwise the filewriting to your local harddisk is not possible!)

I have tested the save license... in Vista. I can save as .html, mtl, txt. but nothing I do give s me a registered/licensed program...
Also need to ask if when you save the game... allow refresh... then open saved games then UPCInitial/activeuserplayerUnits... the analyzer does not show that I have a large hole in aft torp room and the wall is breached... it gives me AOK to dive ...the large hole and wall breached = Davie Jones Crush depth.

is this since I can not properly license the analyzer
c/p from saved file..
DamageDescription1=NULL,0,0.2,0,1,1,Minor Leak,0,0,NULL,0,0.2,0.243242
DamageDescription2=NULL,0.2,0.6,0,1,1,Large hole,0,0,NULL,0,0.2,0.478694
DamageDescription3=NULL,0.6,1,0,1,1,Wall breached,0,0,NULL,0,0.2,1.27566

copy from Damage Analyzer II there is NONE...

Frank Smith 07-02-07 07:16 PM

I need Help - please
 
Quote:

Originally Posted by SirHendrik
:rock:The online license generation now works! :rock:

See new documentation or simply go to http://dhg684.dyndns.org/license to generate your license. (You must trust this applet, otherwise the filewriting to your local harddisk is not possible!)

I have tested the save license... in Vista. I can save as .html, mtl, txt. but nothing I do gives me a registered/licensed program... help
Also need to ask if when you save the game... allow refresh... then open saved games then UPCInitial/activeuserplayerUnits... the analyzer does not show that I have a large hole in aft torp room and the wall is breached... it gives me AOK to dive ...the large hole and wall breached = Davie Jones Crush depth.

is this since I can not properly license the analyzer
c/p from saved file..
DamageDescription1=NULL,0,0.2,0,1,1,Minor Leak,0,0,NULL,0,0.2,0.243242
DamageDescription2=NULL,0.2,0.6,0,1,1,Large hole,0,0,NULL,0,0.2,0.478694
DamageDescription3=NULL,0.6,1,0,1,1,Wall breached,0,0,NULL,0,0.2,1.27566

copy from Damage Analyzer II there is NONE...

SirHendrik 07-03-07 01:23 AM

DamageDescription1=NULL,0,0.2,0,1,1,Minor Leak,0,0,NULL,0,0.2,0.243242
DamageDescription2=NULL,0.2,0.6,0,1,1,Large hole,0,0,NULL,0,0.2,0.478694
DamageDescription3=NULL,0.6,1,0,1,1,Wall breached,0,0,NULL,0,0.2,1.27566

[...]

This is only the description part of the savegame. This means:
If your damage is between 0 and 0.2, the message Minor Leaks is displayed in game
If your damage is between 0.2 and 0.6, the message Large hole is displayed in game
If your damage is between 0.6 and 1.0, the message Wall breached is displayed in game

Regarding the license I sent you an email.

Ricky_75 aka SirHendrik

Bluesub 6 07-04-07 12:20 PM

Good job:up:

Thanks!

Frank Smith 07-04-07 02:01 PM

SirHendrik, Thanks much for the Genuine License...

Thanks for the info, sorry that I had deleted the saved game before I got the other msg... but beleive me If I crush drive again, and show only minor damage I'll send the complete file to you.

Back to PH - now back to East China Sea... will try this again, 72K Ton 1st trip.

:cool:

johntarmac 07-31-07 09:31 AM

thanks for this sirhendrik, nice little number

tried to get license doodah but after clicking generate, making coffee, sweeping kitchen floor and rolling a smoke nothing has happened

cheers

SirHendrik 07-31-07 10:59 AM

Quote:

Originally Posted by johntarmac
thanks for this sirhendrik, nice little number

tried to get license doodah but after clicking generate, making coffee, sweeping kitchen floor and rolling a smoke nothing has happened

cheers

Hi,
You have to enter a name - and you have to choose to trust the applet. Then there should appear a FileSelector box to save you license file.

if this doesn't work, send me mail with your data and I'll generate a license for you offline

Frank Smith 07-31-07 01:12 PM

Quote:

Originally Posted by SirHendrik
Quote:

Originally Posted by johntarmac
thanks for this sirhendrik, nice little number

tried to get license doodah but after clicking generate, making coffee, sweeping kitchen floor and rolling a smoke nothing has happened

cheers

Hi,
You have to enter a name - and you have to choose to trust the applet. Then there should appear a FileSelector box to save you license file.

if this doesn't work, send me mail with your data and I'll generate a license for you offline

Damage-Analyzer II v2.0 Beta works Great, and since I'm using Vista.. I'm positive the problem lies in Vista not the generator... Only way it would work correctly in Vista is program needs to be downloadable. then click run as Admin, I'm sure then it would generate(it does) and save correctly... (it does not save correctly). It has saved me more than once, on depth to dive without CRUSH. Again Thanks SirHendrik

SirHendrik 07-31-07 01:36 PM

Quote:

Originally Posted by Frank Smith
Quote:

Originally Posted by SirHendrik
Quote:

Originally Posted by johntarmac
thanks for this sirhendrik, nice little number

tried to get license doodah but after clicking generate, making coffee, sweeping kitchen floor and rolling a smoke nothing has happened

cheers

Hi,
You have to enter a name - and you have to choose to trust the applet. Then there should appear a FileSelector box to save you license file.

if this doesn't work, send me mail with your data and I'll generate a license for you offline

Damage-Analyzer II v2.0 Beta works Great, and since I'm using Vista.. I'm positive the problem lies in Vista not the generator... Only way it would work correctly in Vista is program needs to be downloadable. then click run as Admin, I'm sure then it would generate(it does) and save correctly... (it does not save correctly). It has saved me more than once, on depth to dive without CRUSH. Again Thanks SirHendrik

I'm happy to hear this!
The license problem will be solved with the next version, as I'll release it with a generic license. But this part will take 2-3 weeks.

Are there any left-over requests or bugs I should fix? After releasing the free version, I will not put in any more features.

Frank Smith 07-31-07 05:38 PM

Incorporate your Damage control into the game..
 
If some one could find a way to add this in the game.. so it would be easier to check for damage... since the game version is totally worthless. I have found major damage to hull, which would CRUSH Depth if lower than periscope depth...

Ubisoft damage control is very lacking ... if yours could be incorporated into the game.. WOW

SirHendrik 08-01-07 01:00 AM

Quote:

Originally Posted by Frank Smith
If some one could find a way to add this in the game.. so it would be easier to check for damage... since the game version is totally worthless. I have found major damage to hull, which would CRUSH Depth if lower than periscope depth...

Ubisoft damage control is very lacking ... if yours could be incorporated into the game.. WOW

If you have any idea, how to include it, this would be great - but I don't know, how to do this. Perhaps with the SDK it would be possible, but at the current state I see no no chance :-(

nomdeplume 08-06-07 08:20 AM

GPL = General Public License
 
Hello, nice useful tool. One little point with the license, it's actually the "GNU GPL", as in the "GNU General Public License", not the "GNU Public License". And "GNU" stands for "GNU's Not Unix", but don't think about that too hard because you'll get stuck in an infinite recursion loop. :doh:

I had a strange thought for "integrating" it with the game, though it would be very cludgy. But basically, you save your game, the application detects the new save and re-reads it, and announces anything (important) that's changed since the last save; i.e. plays an audio file. With a few recordings it could say "Hull severely damaged, maximum diving depth 15%" or "Hull lightly damaged, maximum diving depth 90%" (where the percentages would be very approximate, in order to avoid (a) having to record 100 of them, and (b) making your max safe depth too explicit).

Anyhow, just a thought.

SirHendrik 08-07-07 12:09 PM

Quote:

Originally Posted by nomdeplume
Hello, nice useful tool. One little point with the license, it's actually the "GNU GPL", as in the "GNU General Public License", not the "GNU Public License". And "GNU" stands for "GNU's Not Unix", but don't think about that too hard because you'll get stuck in an infinite recursion loop. :doh:

I had a strange thought for "integrating" it with the game, though it would be very cludgy. But basically, you save your game, the application detects the new save and re-reads it, and announces anything (important) that's changed since the last save; i.e. plays an audio file. With a few recordings it could say "Hull severely damaged, maximum diving depth 15%" or "Hull lightly damaged, maximum diving depth 90%" (where the percentages would be very approximate, in order to avoid (a) having to record 100 of them, and (b) making your max safe depth too explicit).

Anyhow, just a thought.

The part with the GNU GPL is just a tyüping mistake - thanks for feedback and I'll correct this.

The more interesting point is the automatism you mentioned. Some time ago, in the german forum, this ideam cam up, too, but there was nobody to implement it.
As fras as I know, the "filesystem watch" should be implemented in C aus the speech output, too. I'm not able to implement this on my own. If you are interested to implement things like this, I will assist you! This might be a greate enhancement of the game, if the user is informed by a wavefile if a major damage happens.

If you are interested, write me a short mail with the things you need to implement it.

tater 08-09-07 05:35 PM

Do you happen to know how crush depth works on a sub? Does it slowly do hitpoint damage to a sub until it pops?

tater

Ricky_75 08-10-07 06:33 AM

Quote:

Originally Posted by tater
Do you happen to know how crush depth works on a sub? Does it slowly do hitpoint damage to a sub until it pops?

tater

I think, it works like this:

You sub has hitPoints hitpoints.
You max depth is maxDepth.
You have damageValue% damage.

if (maxDepth*damageValue < currentDepth) {
inc(damageValue);
dec(hitPoints);
createOtherDamage();
}

if ( hitPoints <= 0 )
youAreDead();

This is, as far as I found out, only calculated for complete sub. So a 100% damage of one compartments does not kill the sub, but a 100% damage of one compartment means at least a 80% damage of the whole sub, so you can dive only 20%. If your maxDepth is 300ft, you can only dive 60ft (periscope depth) or less! If you go deeper, you will suffer more damage. The magic value is about 97%, cause this means a max depth of less than 10ft - and if your boat is surfaced, it's not over the water but in the water ;-)

While your boat is surfaced, you won't sink, but you hitpoints may get depleated step by step. So if you suffer a 99% damage, you will be killed by the boat suffering more and more damage automatically.

I hope, my description is right, but I know, it's not perfect, as I didn't write the code for the damage model ;-)


All times are GMT -5. The time now is 06:03 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.