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. Cosmetic - extra flags on lore

Cosmetic - extra flags on lore

Scheduled Pinned Locked Moved Bug Reports
3 Posts 2 Posters 25 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.
  • NibelungN Offline
    NibelungN Offline
    Nibelung
    registered
    wrote on last edited by
    #1

    Object 'black scimitar sword blade' is type weapon, extra flags none remort_only.

    So I take it the extra field on that object has no matching flag bits set. Why not just ignore that if the field results to none?

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

      I couldn't recreate this with the same object you tried.

      Object 'black scimitar sword blade' is type weapon, extra flags remort_only.

      ??

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

        I'm guessing the one I viewed had garbage bits in it that the flag->string function didn't recognize, so it generated "none". Your copy likely had it set to zero, which I'm guessing the code checks before attempting to do the flag->string.

        Perhaps create a set of VALID_*_MASK for every flag bank, where * is the name of the bank, such as VALID_OBJEXTRA_MASK. The define would have all valid bit positions associated WITH that set of flags.

        A simple check like so…

        if(obj->extra & VALID_OBJEXTRA_MASK)
        
        

        would filter out possible garbage bits from corrupting system checks.

        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