Skip to content

BUGFIX (minor): The body queue size is too small for more than 8 bots. #6

@ghost

Description

Player animations are often change to a random frame number after death because there is no free body queue spot. Additionally corpses sometimes will start to rotate, this happens also due to the too small body queue size. This is a long standing vQ3 bug. I highly recommend to increase the body queue size to 128 or even more (although 128 seems enough to get rid of this issue assuming 64 clients/bots is the maximum of connected clients).
The fix for this bug is simple, just increase BODY_QUEUE_SIZE in g_local.h from 8 to 128.
In case you never experienced this issue, here is the test scenario:

  1. devmap q3tourney3 in FFA mode (the issue is not map dependant, but on q3tourney3 you see nearly all corpses at once).
  2. add 64 bots and let them fight, spectate the corpses. From time to time (when there is no free body queue slot, corpses starts to rotate or they change to a random frame number).

zturtleman used my fix here as well: clover-moe/mint-arena@3faafa1#diff-8f5ec7e7dd41d8912016c09df1d25db2 though he just increased the body queue size to 64 (I don't remember why he only uses 64, maybe we thought it will count to maximum clients or so, but this is NOT the case). Unfortunately my old google code project (ioid3) he is referring to is gone.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions