Moving combatant around results in deadlock.

Project:Virtual Combat Cards
Version:0.95.1
Component:Code
Category:bug report
Priority:normal
Assigned:Nebulorum
Status:closed
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

Assigned to:Anonymous» Nebulorum

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

Status:active» patch (code needs work)

Fixed this on version 0.95.1 with two approaches:

  1. Moving someone out of the sequence will not advance dead;
  2. The first combatant on the sequence is always visible, even if he is dead; this should only occur in some unknown case, since with 1) above we have fixed this issue

I will probably release a 0.95.2 with this fix and include it in the v1.0 code.

#3

Status:patch (code needs work)» fixed

Added to V1.0 code base.

#4

Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.