Also there was a game crash for a battle between two AI armies:
I'm sorry, but an uncaught exception occurred.
While running game code:
File "game/script.rpy", line 8898, in script
python:
File "game/script.rpy", line 8900, in <module>
kingdomai()
File "game/code.rpy", line 12540, in kingdomai
attackraiders(ruler)
File "game/code.rpy", line 14463, in attackraiders
skirmishbattleauto()
File "game/code.rpy", line 9818, in skirmishbattleauto
skirmishBattle()
File "game/code.rpy", line 10409, in skirmishBattle
skirmishUnitAttack(allyLine, enemyLine, enemyLine2, True, c, allyLine2)
File "game/code.rpy", line 10946, in skirmishUnitAttack
hpDiff = round((dead+.0)/TotalEnemySkirmish+.0,4)
ZeroDivisionError: float division by zero
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "game/script.rpy", line 8898, in script
python:
File "/run/media/computer/Username/Games/Itch/Kingmaker-0.14-pc/renpy/ast.py", line 928, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
File "/run/media/computer/Username/Games/Itch/Kingmaker-0.14-pc/renpy/python.py", line 2245, in py_exec_bytecode
exec(bytecode, globals, locals)
File "game/script.rpy", line 8900, in <module>
kingdomai()
File "game/code.rpy", line 12540, in kingdomai
attackraiders(ruler)
File "game/code.rpy", line 14463, in attackraiders
skirmishbattleauto()
File "game/code.rpy", line 9818, in skirmishbattleauto
skirmishBattle()
File "game/code.rpy", line 10409, in skirmishBattle
skirmishUnitAttack(allyLine, enemyLine, enemyLine2, True, c, allyLine2)
File "game/code.rpy", line 10946, in skirmishUnitAttack
hpDiff = round((dead+.0)/TotalEnemySkirmish+.0,4)
ZeroDivisionError: float division by zero
Linux-6.5.5-258.current-x86_64-with-glibc2.2.5
Ren'Py 7.4.11.2266
Kingmaker 0.14 0.14
Sun Oct 8 02:04:04 2023