diff --git a/src/modules/PlayerbotV2/Addon/BotGear/BotGear.lua b/src/modules/PlayerbotV2/Addon/BotGear/BotGear.lua index 969377e628..79706af457 100644 --- a/src/modules/PlayerbotV2/Addon/BotGear/BotGear.lua +++ b/src/modules/PlayerbotV2/Addon/BotGear/BotGear.lua @@ -38,10 +38,12 @@ local EQUIP_SLOT_NAMES = { } -- Comms ------------------------------------------------------------- +local seqCounter = 1 -- server rejects frames with seq == 0 local function Send(mtype, ...) local args = {...} local body = table.concat(args, "|") - local f = string.format("1|00000000|1|1|%s|%s", mtype, body) + local f = string.format("1|%08x|1|1|%s|%s", seqCounter, mtype, body) + seqCounter = (seqCounter % 0xFFFFFFFF) + 1 C_ChatInfo.SendAddonMessage(PREFIX, f, "WHISPER", botName or UnitName("player")) end