Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

NodeBB

  1. Home
  2. Archives
  3. Immortal Archive
  4. Bug Reports
  5. (mortal Annoyance) invisible item in container

(mortal Annoyance) invisible item in container

Scheduled Pinned Locked Moved Bug Reports
4 Posts 3 Posters 23 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    Vizzini
    retired
    wrote on last edited by
    #1

    Thorin pointed this one out to me:

    Here's his scarm's coffin:

    150296>

    look coffin

    This black onyx box was once the resting home for the villain of Reza,

    Scarm. It is highly polished, engraved with lines of gold, and reflects

    everything except the living. There is a lock on it in the shape of a

    wolf's head.

    From your studies you can conclude the following information:

    Object 'coffin scarm box trunk' is type container, extra flags glow burn_proof.

    Weight is 7, value is 0, level is 45.

    Fragility is Normal, condition is 100%. It has been repaired 0/5 times.

    It is made out of black onyx.

    This item comes from Reza.

    Items: 1/225 Weight: 4/1000 flags: closable

    Weight multiplier: 50%

    150296></quote>

    Fine, except when I looked in the coffin

    150296>

    look in coffin

    Scarm's coffin holds:

    Nothing.

    150296></quote>

    I took the coffin from him, loaded him up a replacement, saved my char and logged into shell and inspected my pfile:

    <quote>> #O

    Vnum 4666

    Id 1085672298

    Version 2

    Nest 0

    ExtF 16777217

    Room 1

    Wear -1

    LastWear -1

    Cost 0

    Val 1000 1 0 225 50 0 0 0

    End

    #O

    Vnum 4021

    Id 1141061198

    Version 2

    Nest 1

    Room 150296

    Wear -1

    LastWear -1

    Cost 8000

    SpellNew haste~ 50 100

    Affr 1 55 -1 -2 2 0

    End</quote>

    If you spot something odd here - you've got a better eye than me. Could there be a bug in the do_look() routine? Specifically, the look in container exception? Anyhow, I'll leave the coffin in my inventory so we can reproduce the bug if need be.

    Cheers,

    Vizz.

    PS - it has to be more than do_look(), as I couldn't get the object out using "get all coffin" either… hmm...

    1 Reply Last reply
    0
    • SynS Offline
      SynS Offline
      Syn
      retired
      wrote on last edited by
      #2

      Hmm, the obj might have aciddently gotten the "hidden" extra flag set on it, which hides it from view. Try removing its extra flags in your pfile and trying again?

      1 Reply Last reply
      0
      • NibelungN Offline
        NibelungN Offline
        Nibelung
        registered
        wrote on last edited by
        #3

        I think this also has something to do with object LOADING too…. Why? This is present for the object since it got loaded. This generally only occured with Scarm's coffin (I could be mistaken on that) and was not a 100% occurance.

        1. Why would it load anything into the object unless stated in the resets (which I can't look at)?

        2. Why the SAME object. It seems to be just the titan guardian's hammer that gets put into the coffin like this. Every occurance I've seen of this bug had that as the object.

        1 Reply Last reply
        0
        • SynS Offline
          SynS Offline
          Syn
          retired
          wrote on last edited by
          #4

          After looking at it through the debugger, this stems from the fact that the titan guardian hammer has "hidden" flag on it for some reason. This is a utility flag which gets set on objects which are hidden with the "hide" command and are thus completely hidden from view until they are found with "search" which flips the flag bit. It shouldn't EVER be on inventory items for any reason.

          I hardcoded it so that "hidden" can't be set on objects for any reason - once again this is a utility flag, not really something that should be set. I also added a bit of code to flip the flag on any inventory items which might have it on, on player log-in.

          Idea for self: in the future, implement a utility bitfield for objects to put flags which imms aren't supposed to set.

          1 Reply Last reply
          0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          Powered by NodeBB | Contributors
          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups