combatlog
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| combatlog [2015/06/10 17:11] – created vic | combatlog [2026/06/22 12:14] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 26: | Line 26: | ||
| Column 9 = Game Round | Column 9 = Game Round | ||
| + | |||
| + | Column 10 = Concentric Bonus | ||
| ==Combat Types== | ==Combat Types== | ||
| Line 76: | Line 78: | ||
| 8 = Unit state at end of battle | 8 = Unit state at end of battle | ||
| + | |||
| + | 9 = Start entrenchment points | ||
| + | |||
| + | 10 = Facing direction (-1=defender, | ||
| == Unit states at end of battle == | == Unit states at end of battle == | ||
| Line 87: | Line 93: | ||
| 3 = Panicked retreat | 3 = Panicked retreat | ||
| - | 4 = Broken (keep in mind that a broken unit is a dead unit and has been removed from the map) | + | 4 = Broken (keep in mind that a broken unit is a dead unit and has been removed from the map; also keep in mind that the unit might be removed, but the historical unit should still be accessible) |
| - | 5 = Dead (for other reasons than being broken, like losing all troops) | + | 5 = Dead (for other reasons than being broken, like losing all troop; also keep in mind that the unit might be removed, but the historical unit should still be accessible) |
| === Automatic Cleaning of these 2 stringlists === | === Automatic Cleaning of these 2 stringlists === | ||
| - | Everytime a new turn is started | + | Everytime a new turn is started |
| + | |||
| + | Example for 2 players (germany and ussr) | ||
| + | |||
| + | round 1, turn 1, germany | ||
| + | |||
| + | round 1, turn 2, ussr | ||
| + | |||
| + | round 2, turn 1, germany : all battles initiated by germany before round 2 are removed | ||
| + | |||
| + | round 2, turn 2, ussr : all battles initated by ussr before round 2 are removed | ||
| + | |||
| + | etc.. | ||
| + | |||
| + | === About reading these stringlists === | ||
| + | |||
| + | Probably best to iterate through all the battle rows and if you find one you want to check the units on do a CheckFindInStringlist on historical rows searching for Battle ID#. | ||
| + | |||
| + | Then read that row and continue to the next untill no more rows or the next row has a different Battle ID#. The historical rows will always have the Battle ID# in nice little bunches and any new rows are added on the end of the list after new battles. | ||
combatlog.1433956313.txt.gz · Last modified: 2026/06/22 12:10 (external edit)
