Page 1 of 1

Seal activating macro - bannable?

PostPosted: Tue Feb 16, 2016 3:45 pm
by GeniusTT
Hi,

i wrote an addon which store the current client time on a specific slash command.
(you want to press a macro with this slash command every time you're auto attack goes off...)

another slash command checks if you have enough time to judge before next auo swing:
if this is the case it will do it....


code:

Code: Select all
local nextSwing = 0
local attackSpeed = 0

SLASH_SWING1 = "/store";
SLASH_JUDGE1="/judge";

SlashCmdList.SWING = function()
         nextSwing = getTime();
                        attackSpeed = UnitAttackSpeed("player");
end

SlashCmdList.JUDGE = function()
               

            if attackSpeed - (GetTime() - nextSwing)  > 0
               then
               
                  CastSpellByName("judgement(Rank 1)")
            end
      
end



Now my question: is using this addon considert as botting?

Re: Seal activating macro - bannable?

PostPosted: Tue Feb 16, 2016 3:50 pm
by Dreez
that is perfectly fine

pretty much anything you do with addons is fine as long as the addon isn't doing stuff while you are afk (that's the point were the rules are vague)

Re: Seal activating macro - bannable?

PostPosted: Tue Feb 16, 2016 4:49 pm
by GeniusTT
thank you ;)

Re: Seal activating macro - bannable?

PostPosted: Tue Feb 16, 2016 6:03 pm
by schaka
Why don't you just count auto-swing timer from the last one recorded in combat log?

Re: Seal activating macro - bannable?

PostPosted: Wed Feb 17, 2016 3:54 pm
by GeniusTT
do you have a code example? :)