1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Bug Skull overhead id

Discussion in 'Developer Support' started by wede333, Dec 6, 2017.

  1. wede333

    Joined:
    Jan 17, 2017
    Messages:
    312
    Likes Received:
    59
    OSRS
    While trying to get a list of overhead ids (mainly skull) using:
    Code (Text):
    1. Players.getLocal().getOverheadIcons()
    It returns with the ID 0.
    Code (Text):
    1. [OverheadIcon(id=0, type=SKULL)]
    Read the others are also affected.
     
  2. Cloud

    Cloud Engineer

    Joined:
    Jul 28, 2013
    Messages:
    2,777
    Likes Received:
    1,124
    That's not necessarily wrong unless all overhead icons are returning that value.
     
  3. Derk

    Derk 12 year old normie

    Joined:
    Jan 8, 2015
    Messages:
    2,766
    Likes Received:
    1,339
    I doubt ID 0 is assigned at all to be honest.
     
  4. Cloud

    Cloud Engineer

    Joined:
    Jul 28, 2013
    Messages:
    2,777
    Likes Received:
    1,124
    It wouldn't surprise me if it was.
     
  5. Hyperion

    Joined:
    Nov 4, 2013
    Messages:
    856
    Likes Received:
    225
    Items, NPCs, and Game objects all have the id 0 assigned, and I'm sure most of other definitions have too. ID is basically an index of the definition in the cache.
     
    Derk likes this.
  6. wede333

    Joined:
    Jan 17, 2017
    Messages:
    312
    Likes Received:
    59
    I believe when I was using it, all prayer overheads and skulls were assigned to 0.
     

Share This Page

Loading...