Open zhantai033 opened 1 year ago
I have already resolved it. It's not related to the playerbot, it's an issue with npcTalk.lua Caused by SendWorldMessage
RegisterServerEvent(5, function(_, p, w)
local c = p:GetOpcode()
if (c==0x095) then
local t = p:ReadULong()
local l = p:ReadULong()
local n = p:ReadString()
local m = p:ReadString()
if (t == 7 and n~= w:GetName()) then
--SendWorldMessage(string.format("|cFFFF80FF|Hplayer:%s|h[%s]|h悄悄的说:%s|r",n,n,m))
end
end
if (c==0x06E) then
local n = p:ReadString()
--SendWorldMessage(string.format("%s 拒绝了你的邀请.",n))
end
if (c==0x069) then
local n = p:ReadString()
--SendWorldMessage(string.format("%s 拒绝了你的邀请.",n))
end
end
Has this fix been implemented and if so can this be closed out?
I found a problem with the playerbot version of AC. When chatting privately with the bot, it will be broadcast around the world.For example, if you try to say "123" to a bot, the bot will chat "123" to you privately,and talk to every player in the game.