here is the info taken from windower files
the location is {ctype='unsigned char', label='Indi Buff', fn=e+{'indi'}}, -- 58
Code: Select all
enums.indi = {
[0x5F] = 'Enemy Dark',
[0x5E] = 'Enemy Light',
[0x5D] = 'Enemy Water',
[0x5C] = 'Enemy Lightning',
[0x5B] = 'Enemy Earth',
[0x5A] = 'Enemy Wind',
[0x59] = 'Enemy Ice',
[0x58] = 'Enemy Fire',
[0x57] = 'Party Dark',
[0x56] = 'Party Light',
[0x55] = 'Party Water',
[0x54] = 'Party Lightning',
[0x53] = 'Party Earth',
[0x52] = 'Party Wind',
[0x51] = 'Party Ice',
[0x50] = 'Party Fire',
[0x00] = 'None',}
in binary the first 3 bits are the element the forth bit is target(buff/debuff) 0=ally 1=enemy the last 4 are unknown(beleaved to be size of the clourser)
-- Player update
-- Buff IDs go can over 0xFF, but in the packet each buff only takes up one byte.
-- To address that there's a 8 byte bitmask starting at 0x4C where each 2 bits
-- represent how much to add to the value in the respective byte.
fields.incoming[0x037] = L{
{ctype='unsigned char[32]', label='Buff', fn=buff}, -- 04
{ctype='unsigned int', label='Player', fn=id}, -- 24
{ctype='unsigned short', label='_unknown1'}, -- 28 Called "Flags" on the old dev wiki
{ctype='unsigned char', label='HP %', fn=percent}, -- 29
{ctype='unsigned char', label='_unknown2'}, -- 2A May somehow be tied to current animation (old dev wiki)
{ctype='unsigned char', label='_unknown3'}, -- 2B
{ctype='unsigned char', label='_unknown4'}, -- 2C
{ctype='unsigned char', label='_unknown5'}, -- 2D
{ctype='unsigned char', label='_unknown6'}, -- 2E
{ctype='unsigned char', label='Status', fn=status}, -- 30
{ctype='unsigned char', label='LS Color Red'}, -- 31
{ctype='unsigned char', label='LS Color Green'}, -- 32
{ctype='unsigned char', label='LS Color Blue'}, -- 33
{ctype='char[8]', label='_unknown7'}, -- 34 Player's pet index * 8?
{ctype='unsigned int', label='_unknown8'}, -- 3C
{ctype='unsigned int', label='Timestamp', fn=time}, -- 40
{ctype='char[8]', label='_unknown9'}, -- 44
{ctype='char[8]', label='Bit Mask'}, -- 4C
{ctype='char[4]', label='_unknown10'}, -- 54
{ctype='unsigned char', label='Indi Buff', fn=e+{'indi'}}, -- 58
{ctype='char[3]', label='_unknown11'}, -- 59