Everyone who has never used our Bots before, can test each one for 2 days without any limitation.
The trial is given automatically when you login on the Bot, but in some cases it wouldn't work (security reasons).
If this happens, send me a private message and i will be checking the failed trials manually and adding it for those who didn't get it.
We are looking for resellers who may accept payment methods different from ours, including classictibia's cash, realesta's cash, mastercores' cash, etc. Interested? Click here at anytime.



Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
AFK Skilling
#1
Hey again,

Ive noticed that when Im skilling My knight on a monk after a few minutes (IF even that) I have to retarget the monk to get blood hits on it. I guess this is something retrocores has done to try to stop people from afk training. 

IS there some tool that can help me to retarger the monk every 30 secs or so?

Kind regards
Matt
Reply

#2
Hello.

If you are using Tools->Slime/Creature trainer, this script will be enough.
local TIME_ATTACKING = { Min = 30, Max = 40 }
if NEXT_REATTACK == nil then
    NEXT_REATTACK = runningtime() + random(TIME_ATTACKING.Min, TIME_ATTACKING.Max)
end

if runningtime() >= NEXT_REATTACK then
    stopattack()
    NEXT_REATTACK = runningtime() + random(TIME_ATTACKING.Min, TIME_ATTACKING.Max)
end
Reply

#3
I'm training on a monk, can I still use this script?
Reply

#4
Hello.

Yeah... The deal with the script above is that it will not re-attack the monster, but only stop attacking. So if you are using Tools->Trainer~, it should attack back.

This script will in fact STOP and ATTACK AGAIN the same creature.
local TIME_ATTACKING = { Min = 30, Max = 40 }
if NEXT_REATTACK == nil then
    NEXT_REATTACK = runningtime() + random(TIME_ATTACKING.Min, TIME_ATTACKING.Max)
end

if runningtime() >= NEXT_REATTACK then
    local attacked_creature = attacked()
    if attacked_creature.id > 0 then
         stopattack()
         wait(800, 1500)
         attack(attacked_creature.id)
         wait(500, 1000)
    end
    NEXT_REATTACK = runningtime() + random(TIME_ATTACKING.Min, TIME_ATTACKING.Max)
end
Reply

#5
So I just copy and paste this in the "console"?
Reply

#6
Hello.

Use it on Persistents.
Reply



Forum Jump:



Forum software by © MyBB Theme © iAndrew 2016