So I've been trying to get a player to fly by sending a WorldPacket.
I've tried to replicate the packet send by Trinity which goes like this:
Which I thought would translate to this in Eluna:
data.SetOpcode(SMSG_MOVE_SET_CAN_FLY); //SMSG_MOVE_SET_CAN_FLY == 835
data << target->GetPackGUID();
data << uint32(0);
But that doesn't seem to work.. Can anyone tell me what I did wrong?
local data = CreatePacket(835, 12)
Thanks in advance,