Lua error when an AI wiped out another AI in endless game (nog fog of war) :27: attempt to concatenate local 'name' (a nil value)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
widelands |
Fix Released
|
High
|
Nasenbaer |
Bug Description
I played a game with two other AI players, and selected "Endless game (no fog of war)" as game type. I didn't do anything, but I watched the AI players as they expanded and fought. Finally, one of the AI players wiped out the other and took over the last military buildings. At that point, I received an in-game message with the following message:
Error in Lua Coroutine
[/home/
Send message to all players and pause game
This was also printed in the terminal. I assume it attempts to print the player name, and AI players might not have names?
Widelands r6254
Changed in widelands: | |
assignee: | nobody → Nasenbaer (nasenbaer) |
>This was also printed in the terminal. I assume it attempts to print the game_foless calls defeated without setting the wc_name and wc_ver variable.
>player name, and AI players might not have names?
No, this is not the case. 05_endless_
check_player_
This nil values are passed on to make_extra_data which then crashes.
This would also crash for human players.
Peter, I assign you because those modifications and the win condition
are done by you, so I guess you know what you intended.
status triaged
importance high
milestone build17-rc1
assignee Nasenbaer