Technical support > Bugs in stable version (2.5)

Wounded soldiers bog the game

(1/2) > >>

DexCisco:
I have noticed that after a while, switching to a wounded soldier starts to take longer and longer, until it can take 30 seconds to switch to them.  It may be triggered by checking the unit health screen that shows the heart rate and the !s that indicate wounds.  This is the only way that I can tell that a wounded soldier has been sufficiently healed that they will not bleed out anymore.  The !s turn to !s when the wound has been patched up completely.

I believe that after accessing this screen, switching to the unit gets caught in an ever-lengthening loop of some kind.  I have to play with it a bit more to narrow down the cause.  Is anyone else using the health screen to check wounds?

Console log seems to indicate that it is calling hud_updateactorwounds a LOT.  So much that it overflows the 4k buffer.

Another method of indicating an untreated wound on a character would be nice now that the wound system has been implemented, as well as tooltips to indicate what effects each wound has (increased move time, lower accuracy, slower reactions, spontaneous cursing, jellybean cravings...)

DarkRain:

--- Quote from: DexCisco on November 08, 2012, 04:41:31 am ---Console log seems to indicate that it is calling hud_updateactorwounds a LOT.  So much that it overflows the 4k buffer.

--- End quote ---
This is a known bug and is not specific to wounds, seeing that updateactorvalues shows the same problem (see log attached to above bug), I'm hoping that bayo will show up and shed some light on this, shorter game sessions (close and reopen) should work around this problem.


--- Quote ---Another method of indicating an untreated wound on a character would be nice now that the wound system has been implemented,

--- End quote ---
This is planned and will be added as time permits.



--- Quote ---as well as tooltips to indicate what effects each wound has (increased move time, lower accuracy, slower reactions, spontaneous cursing, jellybean cravings...)

--- End quote ---
There are tooltips on those little icons, but for some strange reason (bug) that I haven't been able to figure out yet, they show only if you exclusively use the 'P' key to open the health screen, the moment you open it by clicking something they stop showing until you close and reopen the game, but only if you are playing the campaign, in skirmish they seem to work perfectly, regardless of how you open the window...

DexCisco:

--- Quote ---This is a known bug and is not specific to wounds, seeing that updateactorvalues shows the same problem (see log attached to above bug), I'm hoping that bayo will show up and shed some light on this, shorter game sessions (close and reopen) should work around this problem.
--- End quote ---

The attached log was produced immediately after a clean load, then directly into a battle.  Quit after about 3-4 rounds because the problem had already manifest itself, though I was deliberately opening the health window numerous times on wounded units and switching units to evoke the error.

DarkRain:
I removed cvarlisteners for the time being, that should work around the problem while the real bug is fixed, please check again with latest version.

DarkRain:
I think I've found the root of the problem, this should be fixed for good now.

Navigation

[0] Message Index

[#] Next page

Go to full version