• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.
yeah after looking through an entire save file (*sigh*) then i´ve that number sunk convoys is only listed in the history part. Therefore I can only count how many convoys/escorts the player has sunk or lost. Now heres the funny part, convoys list when they´ve been under attack. So I can list every convoys thats been under attack for every nation. I can even say precisly when. Like on novemeber 1944, dec 15 12:00 a american convoy came under attack. I cant however say who did the attacking other than you/not-you nor tell you if any convoys were lost.... annoying...

gorion83: Precisly, well said :D But dont forget the

4. My flagship has now sunk more ships than most nations claim is now proven

I´ve uploaded v0.2b some time ago. It fixes a few nasty bugs (they stop the program) that are however very unlikely to occur ( one required that a the first ship was sunk by a aircraft ). They also makes the presentation a bit prettier :)

Now, I´m no design master and keeping the spirit of paradox I thought it might be cool if it was easily modable ;) So now theres a file, called style.css that come with the download. This is a stylesheet that controls how the output.htm will look. you can check out html.com for a good quide to css scripting. Other than that, theres no substitute for trying, but do make a backup first.

If you have a earlier version, and it works fine. Then theres as-of-yet no real reason to download a subsequent one...

EDIT: 1 post changed to reflect changes in design.... ohhh its so much prettier now :D

EDIT2: Double danm! I´ve made a error so that the "loss of every naval power" is bugged. DANM!

EDIT3: No more fixes, it is getting way too confusing for me, the software at the end of the first post includes all the fixes and is the most advanced. If you´re on a dial up connection or something like that, then PM and we can talk. Otherwise just download it again.
 
Last edited:
Don't know what's up with the new version. When using the save game as I sent you, I'll recive this error:

This commando prompt is required to run the statistic software
If you close it, then the stat program will terminate as well.

If a error is encountered during running the software, then it
will print a error message here. Post it on the forum, and ill
help you fix it.

Stay Cheerful!
Exception in Tkinter callback
Traceback (most recent call last):
File "Tkinter.pyc", line 1403, in __call__
File "stat_program.py", line 128, in createfile
File "own2.py", line 511, in create
File "own2.py", line 563, in draw
File "<string>", line 0

^
SyntaxError: unexpected EOF while parsing

Any ideas?
 
It works fine on my PC.

Are you absolutely sure you filled out both radio buttons? Sometimes they choose to be annoying and refuse to accept that they have been selected even though thats the truth!
 
White Daimon said:
It works fine on my PC.

Are you absolutely sure you filled out both radio buttons? Sometimes they choose to be annoying and refuse to accept that they have been selected even though thats the truth!

Yes, but I've got it to work now. Don't worry.

However, in a previous post, you stated you'd uploaded v. 0.2b, but I guess that's v 0.1b? Also, you wrote, 'here's the fix' (and indeed, it fixed my problem with the download in the first post:

when replacing the quick fix, it said the new one ('quick fix') was last editet 16.30 (my time) and the previous (the one linked to in the first post) 12.20 (my time).

So, perhaps you should re-upload with the latest fix. :)
 
okay.... that got me confused :wacko:

But I´ve been working, and added a few more features. I´ll just finish it off and then upload it. Enough with the fixes! :p
 
White Daimon said:
okay.... that got me confused :wacko:

But I´ve been working, and added a few more features. I´ll just finish it off and then upload it. Enough with the fixes! :p

When reading what I wrote, heck, even I'm confused. Well, hell, another version. :D

In the future, will their be a possibilty with a more flexible 'output.htm' where one could change to what he whises to see by choosing in the browser instead of a program 'outside'?


Cheers
 
From now on I´ll only upload a more modern version when theres actually been a good chunk of improvement. No more fixes, because there are no more bugs! :p (well.... thats what I hope).

Hmmm.... doing so would mean that I had to include ASP or PHP, and that would make it notably harder to code, and if I included any of such code. Then some people might not even be able to see their results. Not fun.

I will however be able to insert a function into the software so that you don´t have to wait for the data to be generated anymore. It could then load up on the results previously calculated and then present the data almost instantaniously. I think thats the best solution.
 
Tryied on a Armageddon saved game and got:
Code:
N:\shipana>.\stat_program.exe
This commando prompt is required to run the statistic software
If you close it, then the stat program will terminate as well.

If a error is encountered during running the software, then it
will print a error message here. Post it on the forum, and ill
help you fix it.

Stay Cheerful!
Exception in Tkinter callback
Traceback (most recent call last):
  File "Tkinter.pyc", line 1403, in __call__
  File "stat_program.py", line 128, in createfile
  File "own2.py", line 272, in create
ValueError: invalid literal for int() with base 10: '= "The'

All radio-buttons have been checked, the file is valid and was parsed for a few seconds, the new own2.py has been used. When that error happens, the tool seems to be processing the following entry:

Code:
 sunk = { 
        id = { type = 12700 id = 135 } 
        name = "Resolution Flotilla" 
        model = 0 
        type = transport 
        strength = 0.0000 
        sunk = { type = 4712 id = 340014 } 
        country = "ENG" 
        organisation = 0.0000 
        morale = 40.0000 
        experience = 5.0000 
        defaultorganisation = 50.0000 
        redep_unit_name = "" 
        maxspeed = 18.0000 
        supplyconsumption = 0.3000 
        fuelconsumption = 1.0000 
        surfacedetectioncapability = 0.0000 
        airdetectioncapability = 0.0000 
        subdetectioncapability = 0.0000 
        visibility = 90.0000 
        seadefence = 0.0000 
        airdefence = 0.0000 
        seaattack = 0.0000 
        subattack = 0.0000 
        convoyattack = 0.0000 
        shorebombardment = 0.0000 
        airattack = 0.0000 
        transportcapability = 40.0000 
        range = 3000.0000 
        distance = 0.1000 
        travelled = 0.0000 
        }

I also tested it with a saved game from standard HoI. There are a total of 9 "sunk"-entries in that file, and the process went on for 2:50 before I killed it.
 
okay... It appears one of the problems, the one with shiptest.eug was fixed in a previous version. My v0.1c can analyse it, It says you played UK. Well done btw! ;)

The other bug seems a little more resilient. It is caused by a lot of annoying things coming together in one greater ûber annoyence :mad: This might take a little while to fix, but it should be very unlikely that it would happen in another of your saves.

EDIT: I´ve tracked down and killed the second bug. The new and improved version can be downloaded from the bottom of post 1. It fixes both your bugs and adds a few more features.
 
Last edited:
Exception in Tkinter callback
Traceback (most recent call last):
File "Tkinter.pyc", line 1403, in __call__
File "stat_program.py", line 124, in createfile
File "own2.py", line 476, in create
File "own2.py", line 117, in value
IndexError: list index out of range


I get this one, my save is around 27mb big

Greetings
 
Do you have the most recent download?

Someelse had a similar error a few updates back, it was caused by me forgetting to tell the software what a Nuclear Sub costed in ICd. So when he tried to process a save with a SSN it crashed.

If the most recent download dont fix it, then pm me the save game.
 
Welll I´ve been a bit sick the last few days, so I havent been able to put in a lot of time. But I do have some good news, the best is that I havent received a bug that destroys the game or sends it into a infinite loop. Which possibly means that it is now big bug free :eek: :D :eek:

Now that doesnt mean it is totally bug-free :( I´ve gotten one save with a bug (and just one :cool: ) in which the save refused to acknowledge the exisitance of the sovjet union. Talk about denial here! In one of my own saves, the japanese have lost a escort carrier. And they insist it was the imperial japanese airforce that sunk it. I think its the same bug, but I havent had time to look into it.

I´ve added a few features so far, such as
- Open a previous analys (great for long games or slow PCs)
- A little instruction on how to modify output.htm
- Alarm messages that pop up if a file is missing, or you forget to click in the top radiobar.
- A kill to cost implemented for battleships and carriers.

Now there are some problems and I want to fix them before I release the next update.
- Some mods change ICd cost of ships, this is so far not implemented
- The ship assembly tech changes ship cost in a uneven way, a option to use pre or post ship assembly tech must be implemented.
- The above listed problem
- It appears a nation that joins WW2 after it is started doesnt join te alliances just the war. And is so not listed as a allaince partner.

If you have any suggestions then please tell me.
 
I can not seem to use 0.1d with TRP saves later than 1940.

-some non recorded file.
Exception in Tkinter callback
Traceback (most recent call last):
File "Tkinter.pyc", line 1403, in __call__
File "stat_program.py", line 124, in createfile
File "own2.py", line 303, in create
ValueError: invalid literal for int() with base 10: '= "The'


-Denmark and japan in saves 1941 and later.
Exception in Tkinter callback
Traceback (most recent call last):
File "Tkinter.pyc", line 1403, in __call__
File "stat_program.py", line 124, in createfile
File "own2.py", line 476, in create
File "own2.py", line 117, in value
IndexError: list index out of range


-Ottoman Empire_1940_December_21 and later
Exception in Tkinter callback
Traceback (most recent call last):
File "Tkinter.pyc", line 1403, in __call__
File "stat_program.py", line 124, in createfile
File "own2.py", line 505, in create
File "own2.py", line 117, in value
IndexError: list index out of range
 
Danm!!

So much for claiming it was totally bug free!! :mad: :mad: :mad:

For no reason what so ever, I blame it on TRP. Stupid TRP!

Send me the save!!
 
This looks great! Downloading! I want to see how much pain my Regia Marina has done to the Turkish and Greek navies (its only 1938...) :)

Edit: It will also be useful to show my progress in my Chinese Naval AAR.
 
Last edited: