crazy 3.1 bug!

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • d_m
    Angband Devteam member
    • Aug 2008
    • 1517

    crazy 3.1 bug!

    Check this out, folks:

    ...
    (Inventory) Burden 121.8lb (72% capacity). Command:
    a) 81 adamantite pieces worth of gold 0.0 lb
    b) 5 Rations of Food 4.0 lb
    c) 7 Flasks of oil 7.0 lb
    ...

    Somehow 81 gp ended up in my inventory! I can't drop, destroy, or do anything else with these things! At least they don't weigh anything

    I'm probably going to try to keep playing this character... sucks to lose an inventory slot though. Any creative ideas how to get rid of it? I will probably try a remove curse for the hell of it even though it's clearly a bug.
    linux->xterm->screen->pmacs
  • ekolis
    Knight
    • Apr 2007
    • 921

    #2
    Yeah, and what the heck is "adamantite pieces worth of gold"? Shouldn't it be the other way around? I recall seeing THAT reported ages ago
    You read the scroll labeled NOBIMUS UPSCOTI...
    You are surrounded by a stasis field!
    The tengu tries to teleport, but fails!

    Comment

    • PowerDiver
      Prophet
      • Mar 2008
      • 2820

      #3
      The problem is probably in object1.c.
      I'm looking at 309, hopefully the same.

      You could comment out the ignore gold part, recompile,
      drop the item, uncomment, recompile and go on.

      I don't think it is safe to comment it out long term since that might lead to future problems.

      bool item_tester_okay(const object_type *o_ptr)
      {
      /* Hack -- allow listing empty slots */
      if (item_tester_full) return (TRUE);

      /* Require an item */
      if (!o_ptr->k_idx) return (FALSE);

      /* Hack -- ignore "gold" */
      if (o_ptr->tval == TV_GOLD) return (FALSE);

      Comment

      • d_m
        Angband Devteam member
        • Aug 2008
        • 1517

        #4
        Originally posted by PowerDiver
        The problem is probably in object1.c.
        I'm looking at 309, hopefully the same.

        You could comment out the ignore gold part, recompile,
        drop the item, uncomment, recompile and go on.

        I don't think it is safe to comment it out long term since that might lead to future problems.
        Thanks! I did this, and it worked! The only difference is that in 3.1, the file is named obj-util.c.

        At this point the coins are on the floor and look like regular coins. I am definitely not going near them!

        Thanks again.
        linux->xterm->screen->pmacs

        Comment

        • Irashtar
          Scout
          • Oct 2007
          • 37

          #5
          Yeah, this bug has been on the tracker for more than three months, still not fixed in the official build.

          Comment

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