Dota 2
Sirius AI 1.6.4 国际版
Levi Jun 3, 2021 @ 7:04pm
[Fixed] I completely fixed the problem where The bot spam the vesion
I fixed this problem and the chat reaction is still working
Just follow these steps: (Close dota2 first)
Step 1: Open bot script folder: "..\Steam\steamapps\workshop\content\570\1801131815"
Step 2: Open file: "mode_farm_generic.lua" (You should use notepad++ to open it for easier editing)
Step 3: Find the text block ( Ctrl + F ):
"if fMessage ~= secondMessage and GetTeamMember( 1 ):IsBot()
then
local sKeyType = J.Role.GetKeyType()
local sUserName = J.Role.GetUserName()
secondMessage = J.Chat.GetLocalWord(sKeyType)..sVersionDate
bot:ActionImmediate_Chat( secondMessage, true)
end"
Or you can find its position, it's probably from line 210 to 216
Step 4: Change the above to this:
"--[[ if fMessage ~= secondMessage and GetTeamMember( 1 ):IsBot()
then
local sKeyType = J.Role.GetKeyType()
local sUserName = J.Role.GetUserName()
secondMessage = J.Chat.GetLocalWord(sKeyType)..sVersionDate
bot:ActionImmediate_Chat( secondMessage, true)
end --]]"
Step 5: Save the file ( Ctrl + S ) and comeback to dota2.
Done!!
Last edited by Levi; Jun 3, 2021 @ 7:07pm