Jump to content

Npc Flags


GGArce

Recommended Posts

Hi,

does someone know how to get correct npcflags?

I know the most of them because they are on core code but I coludn't find the Item upgrade npc flag. I have try with some values but what I have is:

...    
    UNIT_NPC_FLAG_PLAYER_VEHICLE        = 0x02000000,       // players with mounts that have vehicle data should have it set
    //0x04000000 mail
    UNIT_NPC_FLAG_REFORGER              = 0x08000000,       // reforging
    UNIT_NPC_FLAG_TRANSMOGRIFIER        = 0x10000000,       // transmogrification
    UNIT_NPC_FLAG_VAULTKEEPER           = 0x20000000        // void storage
    //0x40000000 pet battle
    //0x80000000 unk: cause client to send 0x075A  opcode

And npcflag it's a uint32 so it can't be a bigger value, may be it's bigger now? I tried with some deprecated values like battlemaster but it doesn't work.

 

Thank you :)

 
Link to comment
Share on other sites

I haven't looked into the extra NPC flags in MoP yet but I assume 0x80000000 is probably something to do with the Black Market.

0x80000000 is the last possible flag due to uint32 size constraints, when required Blizzard will either make another NPC flag value to send (for example quests in MoP now have 2 flag values sent) or they will reuse older values.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.