Moving combatant around results in deadlock.
Submitted by larcher on Wed, 2009-08-26 14:21.
| Project: | Virtual Combat Cards Project |
| Version: | 0.95.1 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Nebulorum |
| Status: | closed |
Jump to:
Description
If you do these steps, VCC stops processing start round:
1) Start combat (and hide dead)
2) Kill second combatant (he disappears)
3) Move first combatant before some one down the list
Can't start rounds any more...
#1
Yes I can reproduce this. I know the reason too. Will try to fix this for version 1.0.
There is a general workaround when this happens. If the dead combatants are hidden, show them. You will see a dead combatant as first on the sequence. Take the action you need and everything will be ok. You can also do Crtl-Z to undo the last action.
This normally happens because a dead combatant is internally on the top of the list, and the command is done on the one that is visually the first. Dead have to be kept in sequence because of effects. I will rework issue #105: Adding combatants rolling initiative in the middle of a combat.
#2
Fixed this on version 0.95.1 with two approaches:
I will probably release a 0.95.2 with this fix and include it in the v1.0 code.
#3
Added to V1.0 code base.
#4
Automatically closed -- issue fixed for two weeks with no activity.