[3.4] Borg is stuck

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • PowerWyrm
    Prophet
    • Apr 2008
    • 2986

    [3.4] Borg is stuck

    I've launched a game with the Borg active and after a while it's stuck. The inventory, which is full, contains 40 CLWs and the Borg tries to pick up 5 more CLWs on the floor and fails... and doesn't know what to do at this point.

    Also when you're equipped with a shooter and some missiles, the Borg is confused and tries every turn to unload and reload the quiver with the same missiles.
    PWMAngband variant maintainer - check https://github.com/draconisPW/PWMAngband (or http://www.mangband.org/forum/viewforum.php?f=9) to learn more about this new variant!
  • Magnate
    Angband Devteam member
    • May 2007
    • 5110

    #2
    Originally posted by PowerWyrm
    I've launched a game with the Borg active and after a while it's stuck. The inventory, which is full, contains 40 CLWs and the Borg tries to pick up 5 more CLWs on the floor and fails... and doesn't know what to do at this point.

    Also when you're equipped with a shooter and some missiles, the Borg is confused and tries every turn to unload and reload the quiver with the same missiles.
    I suspect that these are both arising from the same problem, which is that the borg uses a hard-coded value of 99 instead of using MAX_STACK_SIZE, which is now 40. So it doesn't understand why it can't add to a stack of 40, and keeps trying.
    "Been away so long I hardly knew the place, gee it's good to be back home" - The Beatles

    Comment

    Working...
    😀
    😂
    🥰
    😘
    🤢
    😎
    😞
    😡
    👍
    👎