• 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.

unmerged(76495)

Resident Iranien Fanatic
May 18, 2007
2.337
4
The WDSSSS.
yay to abbreviations that give no meaning what-so-ever!​

I have created a little program after some ideas presented by Haubtmann in this thread. It focosus on the sunk ship statisics, which I feel are a little too slim. Espacially since the info required to fatten them out are in the save game.

The software will create a html file based on your save game. The output file will look something similar to this one.

screen1-1.jpg

It might be slightly hard to see from this screenie, but nations are colored according to their alliance. Black is the facist, red is commie, blue is capitalist and the reminder is also colored in nation specific colors. Etc if japan and puppets are not axis, but have their own alliance. Then they will be colored in a unique color.

The names of ship that sink stuff are either colored blue or red. This has nothing to do with their alliance. But instead shows whether they are still roaming the seas. Blue means yes, and red means they are sunk as well.

Also displayed are the date of the sinkage ( doesn´t apply to air-ship kills ) and the level of the sunk vessals. Both are annoyingly enough not included in the in-game stats. You can sort the above mentioned data in "Don´t sort, Date, sunk (name of sunk vessal), sunkowner, sinker, sinkertype, sinkerowner and either A-Z or Z-A. If you choose to sort by date, then A-Z will put the first sunk on top and the last sunk on the bottom.

After creating this file, which basicly is just a improved version of the in-game stats. The software goes on to create some additional goodies.

stats.jpg

This stats show some intresting things about naval powers, who has killed or lost more. Also shows the combined number of convoys/escorts lost or sunk. Pretty nice if you´re running a sub campaign or trying to fend off one. I´ve also included some additional stats about convoys, but not in the same output file to save space and calculating time. These additional stats about convoys tell you how much you´ve sunk/lost pr month. But cannot, due to limitations in the save game, tell you who sunk your convoys nor who the convoys you´ve sunk belong to.

convoylosses.jpg

( note: the output file is normally notably larger )

Heres a screenie of the interface. Pretty, ehhh?

interface.jpg

It still includes a few annoying things. For a bit deeper explanation, read this. However, none are software breaking and all are simply minor annoyences.

This version is fully compatible with any mod that has been, is or will be!
The problem with mods is they add new ship types to the game. Like the new levels of transports introduced by TRP. What the software do is check the checksum of your save game, then it opens the file value.txt and checks if this checksum is the same checksum as the mods listed. If no match is found it defaults to vanilla.

Now its up to you, the users, to expand your value.txt file if you use a mod that is not listed by that file. It isnt hard. Just copy one of the two blocks of text, and change it to your needs. ( backup first )

Installing and running the software is pretty easy. Download the file from the link at the bottom of this thread. Un-zip, place a save game (a copy) in the folder with the "stat program.exe" file. Run said exe file, and it should work like a charm.

Game is not compatible with the Arma 1.3 Beta Patch This patch changes the save game structure, thus preventing the search algorithms from working.

Download it HERE

Stay Cheerful :D

EDIT: Link gone. Forgot to update my 4shared account.

EDIT2: Link back. Remble had it. Thanks to him.
 
Last edited:
When loading a save game, I get this:

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 432, in create
IndexError: list index out of range

And when loading a TRP-save game, it just hangs.

Any suggestions?

:)
 
lol now this could be a very fun multiplayer tool. Almost a game within a game!
 
TeutonburgerW said:
When loading a save game, I get this:

--- error message---

And when loading a TRP-save game, it just hangs.
:)
Thanks for the good bug reporting. That one was caused by the software looking for the greatest carrier and battleship killers, but in your cause one of those classes didnt have a single kill. Which stopped the software.

When the software hangs, then its in a infinite loop. Which is kinda bad... During fixing the above problem, I also managed to get it into a infinite loop. This was because no ships had been sunk at all. If this is not the cause with you, then pm me the save game. Okay? (and this will be fixed once I find out how)
 
Last edited:
hehe.... ohh the nemesis of all good programs, boredom :p

Your version works as it should? Asking because, it works on my machine but thats no proof that it works on anyone elses. Would love to have that confirmation that it actually works :D

Dustermaker: Also part of the intention :p Tell me if you can see anything to make it funnier.
 
Last edited:
This looks fun. Will surely try it out.

A question about the features. Why list the top 5 carriers and battleships alone? Why not make a top 5 or top 10 of the most deadly ships in general (you can maybe even keep the option to look at the top 5 of the different ship-classes)?
 
I did this to save on calculating time, if you only find out the stuff about the biggest ship then its far quicker than calculating for every single ship. Espacially since destroyers are rarely on the top 5 list ;) But on the other hand.... It would be soo cool to have them in it if they actually did :cool:

I´ll look at it, espacially since it might also give me the opertunity to list the top ten ships according to damage caused relative to their own cost. Which could be really cool :cool:
 
Hey

Looks cool, but I get this error

Stay Cheerful!
Exception in Tkinter callback
Traceback (most recent call last):
File "Tkinter.pyc", line 1403, in __call__
File "stat_program.py", line 127, in createfile
File "own2.py", line 411, in create
File "own2.py", line 86, in value
IndexError: list index out of range

greetings
 
Okay, I know what the problem is.

But it will take a while to fix, and its dinnertime. So I´ll fix it right after dinner. So give me and hour, hour and a half and it will be fixed. Thats a promise ;)
 
White Daimon said:
Okay, I know what the problem is.

But it will take a while to fix, and its dinnertime. So I´ll fix it right after dinner. So give me and hour, hour and a half and it will be fixed. Thats a promise ;)

Dinner?! When you could developing your tool!? Argh! ;)

Just out of curiosity, what's wrong with those lines?

I'm really thinking of starting a naval AAR with your tool. That could be so cool!

Some hopes/toughts:

- Can you record number of convoys and transports sunked by which ship/ships? That would be nice to see.

- Would it be possible to insert the commander of the flottila?

- Could you add a 'filter' to see only German sunked ships, Brittish sunked ship, or the other way around, only see ships that Germant sunked or that the brittish sunked?

Cheers
 
Theagen I think your problem was caused because in your game a nuclear sub had sunk, and I had forgotten to tell the software how many ICd a nuclear sub cost. I´ve uploaded a new version that should fix the problem. PM me with your save game if it doesnt.

TeutonburgerW I would love to see a AAR that uses my tool, but I would prefer to see a AAR use one of my bug-free tools ;) So give me or week or so to clean out most of the errors, and add a few more features before you start.

- Can you record number of convoys and transports sunked by which ship/ships? That would be nice to see.
I dont think number of convoys sunk is listed anywhere sadly, i can check it. But I doubt it.

- Would it be possible to insert the commander of the flottila?
Yep... That and the commander of a specific vessal. Might also be possible to make a top 5 list over admirals that have lost or sunk the most.

- Could you add a 'filter' to see only German sunked ships, Brittish sunked ship, or the other way around, only see ships that Germant sunked or that the brittish sunked?
Absolutely. But more approprate might be a alliance filter, so that you could only see what you´ve sunk yourself.

Stay cheerful!
 
White Daimon said:
Theagen I think your problem was caused because in your game a nuclear sub had sunk, and I had forgotten to tell the software how many ICd a nuclear sub cost. I´ve uploaded a new version that should fix the problem. PM me with your save game if it doesnt.

TeutonburgerW I would love to see a AAR that uses my tool, but I would prefer to see a AAR use one of my bug-free tools ;) So give me or week or so to clean out most of the errors, and add a few more features before you start.

- Can you record number of convoys and transports sunked by which ship/ships? That would be nice to see.
I dont think number of convoys sunk is listed anywhere sadly, i can check it. But I doubt it.

- Would it be possible to insert the commander of the flottila?
Yep... That and the commander of a specific vessal. Might also be possible to make a top 5 list over admirals that have lost or sunk the most.

- Could you add a 'filter' to see only German sunked ships, Brittish sunked ship, or the other way around, only see ships that Germant sunked or that the brittish sunked?
Absolutely. But more approprate might be a alliance filter, so that you could only see what you´ve sunk yourself.

Stay cheerful!

Good, m8! I stay tuned.
 
Number of convoys sunk is listed in history in the save file. But I dont think it contains the ship that sunk them. It would be a nice tool though if it existed.


KMS Bismarck sunken 256 Convoys containing 10059 E 2138 M 328 RM 389 O
 
Wow, this sounds completely useless! I must have this! :D
Downloading now!
I have no idea why I need this, especially in a single player game, but I am sure to use it after every battle. Thanks for sharing this!
 
Hubsi said:
I have no idea why I need this, especially in a single player game, but I am sure to use it after every battle. Thanks for sharing this!

1) My ship is better than yours claim is now proven.
2) My fleet is better than yours claim can now be proven
3) To keep track of how many IC-days of pain you inflicted on the poor AI.

Downloading it right now :)
 
asgeirpe said:
Number of convoys sunk is listed in history in the save file. But I dont think it contains the ship that sunk them. It would be a nice tool though if it existed.
True, convoys sunk are only recorded in the history for the human player. It's useful for evaluating the average effectivity of your blockades (I even made a tool), but since it won't even tell you WHERE the convoys sunk it's pretty useless information... :p
Still, wish PI could add more thorough information about convoys... :)