White Daimons Sunk Ship Statistic Software

  • Crusader Kings II Expansion Subscription

    Subscribe to the CK II Expansion and enjoy unlimited access to 13 major expansions and more!


  • Paradox Midsummer Sale has arrived! Up to 75% off!

    Enjoy some sun and song this Midsummer, but when the sun goes down, the fun doesn't have to stop! Paradox has a festive sale on plenty of games to keep your summer nights going!


    June 18th - June 30th
  • Crusader Kings III Available Now!

    The realm rejoices as Paradox Interactive announces the launch of Crusader Kings III, the latest entry in the publisher’s grand strategy role-playing game franchise. Advisors may now jockey for positions of influence and adversaries should save their schemes for another day, because on this day Crusader Kings III can be purchased on Steam, the Paradox Store, and other major online retailers.


    Real Strategy Requires Cunning

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:

unmerged(63886)

@ my Swedish HQ
Dec 26, 2006
2.626
1
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?

:)
 

Dustermaker

Captain
15 Badges
Jul 18, 2006
435
1
  • Arsenal of Democracy
  • Crusader Kings II
  • Darkest Hour
  • Europa Universalis III
  • Divine Wind
  • For the Motherland
  • Hearts of Iron III
  • Rome Gold
  • Sword of the Stars II
  • Supreme Ruler: Cold War
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • 500k Club
  • Europa Universalis III: Collection
lol now this could be a very fun multiplayer tool. Almost a game within a game!
 

unmerged(76495)

Resident Iranien Fanatic
May 18, 2007
2.337
4
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:

unmerged(76495)

Resident Iranien Fanatic
May 18, 2007
2.337
4
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:

Berrrie

Captain
11 Badges
Sep 22, 2006
356
0
  • Hearts of Iron Anthology
  • East India Company
  • Europa Universalis III Complete
  • Hearts of Iron III
  • Heir to the Throne
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Semper Fi
  • 200k Club
  • 500k Club
  • Europa Universalis IV: Common Sense
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)?
 

unmerged(76495)

Resident Iranien Fanatic
May 18, 2007
2.337
4
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:
 

unmerged(83175)

Field Marshal
7 Badges
Aug 30, 2007
3.995
9
  • Arsenal of Democracy
  • Hearts of Iron II: Armageddon
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Iron Cross
  • Semper Fi
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
 

unmerged(76495)

Resident Iranien Fanatic
May 18, 2007
2.337
4
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 ;)
 

unmerged(63886)

@ my Swedish HQ
Dec 26, 2006
2.626
1
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
 

unmerged(76495)

Resident Iranien Fanatic
May 18, 2007
2.337
4
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!
 

Hawk_345

Captain
112 Badges
Aug 4, 2006
444
1
  • Victoria 2: Heart of Darkness
  • Europa Universalis III Complete
  • Leviathan: Warships
  • March of the Eagles
  • Europa Universalis III Complete
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Semper Fi
  • Sengoku
  • Ship Simulator Extremes
  • Sword of the Stars II
  • Victoria 2
  • Victoria 2: A House Divided
  • Heir to the Throne
  • War of the Roses
  • 500k Club
  • Cities: Skylines
  • Cities: Skylines Deluxe Edition
  • Europa Universalis IV: El Dorado
  • Mount & Blade: Warband
  • Mount & Blade: With Fire and Sword
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Cities: Skylines - After Dark
  • Stellaris: Necroids
  • Europa Universalis III: Chronicles
  • Cities in Motion
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • East India Company Collection
  • Europa Universalis III
  • Hearts of Iron Anthology
  • Europa Universalis III Complete
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
yeah i would really like to be able to see just the ships you sunk, or your allies sunk, not evryone on the map, its alot to look through.
 

unmerged(63886)

@ my Swedish HQ
Dec 26, 2006
2.626
1
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.
 

asgeirpe

First Lieutenant
21 Badges
Jul 19, 2006
254
4
  • Europa Universalis III Complete
  • Crusader Kings II: Reapers Due
  • Crusader Kings II: Way of Life
  • 500k Club
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Victoria 2
  • Victoria: Revolutions
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • For The Glory
  • Hearts of Iron Anthology
  • Darkest Hour
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: The Republic
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Charlemagne
  • Crusader Kings II
  • Arsenal of Democracy
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
 

Hubsi

Captain
2 Badges
Mar 26, 2004
348
5
  • Hearts of Iron II: Armageddon
  • 500k Club
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!
 
Feb 20, 2003
692
0
Visit site
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 :)
 

Hallsten

Hairloss Ninja
36 Badges
Mar 17, 2001
5.273
32
  • Crusader Kings II
  • 500k Club
  • Europa Universalis: Rome
  • Europa Universalis IV: Res Publica
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Heir to the Throne
  • Hearts of Iron III
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Divine Wind
  • Deus Vult
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: The Republic
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Charlemagne
  • Europa Universalis III
  • Hearts of Iron II: Armageddon
  • Crusader Kings II: Horse Lords
  • 200k Club
  • Crusader Kings II: Conclave
  • Crusader Kings II: Reapers Due
  • Crusader Kings II: Monks and Mystics
  • Crusader Kings II: Jade Dragon
  • Crusader Kings II: Holy Fury
  • Crusader Kings II: Way of Life
  • Europa Universalis: Rome Collectors Edition
  • Europa Universalis III: Collection
  • Crusader Kings II: Holy Knight (pre-order)
  • Rome: Vae Victis
  • Europa Universalis IV
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... :)