Xentales
http://xentales.com/

Boss health bar
http://xentales.com/viewtopic.php?f=34&t=94586
Page 1 of 1

Author:  Andy123456 [ 19 Mar 2014 13:40 ]
Post subject:  Boss health bar

Update packet gets a new flag and some extra data at the end for new boss health bar, see below:

struct UpdatePacketSelf
{
uint16 positionX; //0
uint16 positionY; //2
uint16 spellflags; //4
uint16 colorbits; //6
uint16 numInRangeDynamicObjects; //8
uint8 numInRangeUnits; //10
uint8 unklol; //11
uint8 flags; //12 if & 1, expect self say text at end, if & 2, spellflags contain cooldown data, expect no buffs or skills this update if & 4 you're in pvp mode, if & 8 expect boss data before self say data (f- ace lets be backwards)
/* Boss data: uint8 npcid, uint8 healthpct (0-255 range) */
uint8 rotation; //13
uint8 animation; //14
uint8 spellEffect; //15
uint8 numInRangeSpellEffects; //16
uint8 currentTime; //17
uint8 unklol3; //18
uint8 currentHPPct; //19
uint8 currentMPPct; //20 for hp mp and exp, 0 = 0%, 255 = 100%
uint8 currentExpPct; //21
};

Page 1 of 1 All times are UTC - 5 hours [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/