Love the batch file, it's wonderful. I was worried about making errors the first time around editing it manually. (sent from my phone, dbl post inc prob lol) great work!
I tried again without deleting the second "end" and it works great. Deleted everything else, the batch file is doing the edit deleting both "end"s too. I could be wrong though, I'm pretty clueless haha
This edit caused the errors I'm pretty sure.
I think.
![]()
TSMAPI:CreateTimeDelay("aucMacroChange", 3, function()
if (GetMacroBody("TSMAucBClick") or ""):trim() == "/click TSMAucCancelButton\n/click TSMAucPostButton" then
EditMacro("TSMAucBClick", nil, nil, "/click TSMAuctioningCancelButton\n/click TSMAuctioningPostButton")
end
end)
-- anti-bot code
local names = {"isScanning", "isScanningPB"}
for _, name in ipairs(names) do
if type(TSM.Cancel[name]) == "function" and type(TSM.Post[name]) == "function" then
wipe(TSM.db)
TSM = {}
[B][COLOR="#FF0000"]end[/COLOR][/B]
[B][COLOR="#FF0000"]end[/COLOR][/B]
end
local GOLD_TEXT = "|cffffd700g|r"
local SILVER_TEXT = "|cffc7c7cfs|r"
local COPPER_TEXT = "|cffeda55fc|r"
TSMAPI:CreateTimeDelay("aucMacroChange", 3, function()
if (GetMacroBody("TSMAucBClick") or ""):trim() == "/click TSMAucCancelButton\n/click TSMAucPostButton" then
EditMacro("TSMAucBClick", nil, nil, "/click TSMAuctioningCancelButton\n/click TSMAuctioningPostButton")
end
end)
end
local GOLD_TEXT = "|cffffd700g|r"
local SILVER_TEXT = "|cffc7c7cfs|r"
local COPPER_TEXT = "|cffeda55fc|r"
-- anti-bot code
if type(TSM.Cancel.isScanning) == "function" and type(TSM.Post.isScanning) == "function" then
wipe(TSM.db)
end
end
local GOLD_TEXT = "|cffffd700g|r"
local SILVER_TEXT = "|cffc7c7cfs|r"
local COPPER_TEXT = "|cffeda55fc|r"
Code:-- anti-bot code if type(TSM.Cancel.isScanning) == "function" and type(TSM.Post.isScanning) == "function" then wipe(TSM.db) end end local GOLD_TEXT = "|cffffd700g|r" local SILVER_TEXT = "|cffc7c7cfs|r" local COPPER_TEXT = "|cffeda55fc|r"
Just downloaded from curse, This was the original. Think we found the problem yea, only 2 "end"s are on the original while the batch is deleting them both? May wanna edit post 6 too if you can confirm this?
so the problem with missing "post""cancel" auction is by using you the alpha release ? im using last stable ?
/script select(10, MailFrame:GetChildren()):Click();
/script SendMailNameEditBox:ClearFocus();
Bump, modify script updated. Hope this is a final fix for "black screen". Feedback would be appreciated ! Thanks.
Bugs:
- Bot fails to do anything, if theres no items up in the AH.
<Declaration Code="string AH_IsEmpty="t0, t1 = GetNumAuctionItems('owner');if t0 == 0 and t1 == 0 then return 1 else return 0 end";" />
Lua.GetReturnVal<int>(AH_IsEmpty,0) == 1