User Tools

Site Tools


combatlog

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
combatlog [2015/06/10 17:19] – viccombatlog [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, 0= north, 1=NE, 2 = SE, 3 = South, 4= SW, 5=NW) (you can use CheckRiverType(x,y,f) to find extra info easily using CheckRoadType, CheckRiverType, CheckBridge.
  
 == 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 ===
Line 106: Line 112:
  
 etc.. 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.1433956760.txt.gz · Last modified: 2026/06/22 12:10 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki