[3.4.1] Borg stuck on Illegal object choice

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • alcaras
    Rookie
    • Dec 2012
    • 1

    [3.4.1] Borg stuck on Illegal object choice

    Just started experimenting with the Borg and I've noticed it gets stuck on illegal object choices, generally when trying to ID or enchant equipment that it is wearing.

    e.g.
    Code:
    # Identifying Rounded Pebbles (1d2) (magical).
    & Key </> (0x2F)
    & Key <q> (0x71)
    & Key <0xE000>
    Illegal object choice (normal)!
    It looks like it is hitting an unnecessary '/' to look at equipment when it appears Angband 3.4.1 defaults to looking at equipment if there's nothing available in inventory.

    It'll eventually get out of those loop -- it'll get hungry and do other things and get something in the inventory that will let '/' work as it expects -- but it is wasting a ton of cycles on this.

    An unrelated error I've run into is the borg will try to sell something unsellable to a shop (e.g. a Ring of the Dog (-2)) -- it will be confused why it can't sell it and loop endlessly.
  • takkaria
    Veteran
    • Apr 2007
    • 1951

    #2
    Originally posted by alcaras
    Just started experimenting with the Borg and I've noticed it gets stuck on illegal object choices, generally when trying to ID or enchant equipment that it is wearing.

    e.g.
    Code:
    # Identifying Rounded Pebbles (1d2) (magical).
    & Key </> (0x2F)
    & Key <q> (0x71)
    & Key <0xE000>
    Illegal object choice (normal)!
    It looks like it is hitting an unnecessary '/' to look at equipment when it appears Angband 3.4.1 defaults to looking at equipment if there's nothing available in inventory.

    It'll eventually get out of those loop -- it'll get hungry and do other things and get something in the inventory that will let '/' work as it expects -- but it is wasting a ton of cycles on this.

    An unrelated error I've run into is the borg will try to sell something unsellable to a shop (e.g. a Ring of the Dog (-2)) -- it will be confused why it can't sell it and loop endlessly.
    Hi alcaras,

    Please can you email me a savefile showing this bug to takkaria@gmail.com? I think I have a fix for it but I'd like to check. Thanks.

    Andi
    takkaria whispers something about options. -more-

    Comment

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