Topic: All defenders leave building
PkK Topic Opener |
Posted at: 2016-06-18, 09:20
Previously, when a building got attacked, at least one defender stayed in.
Top Quote |
kaputtnik |
Posted at: 2016-06-18, 10:56
I remember there was somewhere a similar post/bug/comment but i couldn't find it anymore. Could you provide a savegame with the situation just before the attack? I would then create a bug report and attach the savegame to it (as i remember you do not have a launchpad account?) Fight simulator for Widelands: |
PkK Topic Opener |
Posted at: 2016-06-18, 12:18
I have this other savegame, where the first defenders just left the building, but some are still in (and will leave within a few seconds):
Top Quote |
king_of_nowhere |
Posted at: 2016-06-18, 14:37
this is an old bug, it existed already with build 18. several times it had been announced as solved, but it keeps resurfacing at times. i also reported it at least twice, but can't find it in the bugtracker. Top Quote |
SirVer |
Posted at: 2016-06-18, 17:03
I do not remember it ever being announced as solved - and I cannot remember what approach should have been implemented for that. Could you link to the discussion? Top Quote |
PkK Topic Opener |
Posted at: 2016-06-18, 17:13
Sorry, I was not able to create a savegame from just before the attack. I had an older savegame. But while I tried to play similar to the game in which I the problem happened, I wasn't able to reproduce the attack by yellow on me. Philipp Top Quote |
king_of_nowhere |
Posted at: 2016-06-18, 17:38
I'm going on memory here, so maybe I'm wrong about it being solved. I remember talk about this bug ceased for long times, but maybe only because nobody figured out how to fix it and it happens rarely so there waasn't much outcry for it. I tried some search, but with no luck. The concept can be worded in many different ways. Top Quote |
SirVer |
Posted at: 2016-06-18, 19:14
I think "solving" it properly would require some sort of configuration in the buildings or the economy that would allow to define how many defenders stay "home" in case of an attack. I remember settlers 2 had such an option that felt pretty clunky, but certainly better than what we currently have - nothing. Top Quote |
toptopple |
Posted at: 2016-06-18, 19:50
It doesn't sound too complicated to hard-program a minimum garrison of 1 in the code that is responsible for sending off soldiers, or is it? A preference setting for a global variable may come later. Top Quote |
king_of_nowhere |
Posted at: 2016-06-18, 22:50
No, it's not. That's the problem, as far as I know (again going by memory of old discussions here): people haven't figured out yet the cause of the bug. Top Quote |