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
Hydra Task
#1
Hello!
Is it possible to make the bot only shoot 1 hmm on each hydra?
Reply

#2
Hello.

Yes, it's possible to do that using Persistents.

If you are killing a single respawn, this may work. Because this script will try to shoot rune a single time if your current target (creature which Targeting chose) is a HYDRA and its id is different than last HYDRA that it shot. That means if you are attacking a Hydra and changes target to ANOTHER HYDRA then attack first Hydra again, it may shoot twice on the first Hydra.

local Monster = 'Hydra'
local Rune_ID = 3198



if LAST_ID == nil then
    LAST_ID = 0
end

if connected() and ishealing() == false then
    local targeted_creature = target()

    if targeted_creature.id > 0 and targeted_creature.name:lower() == Monster:lower() and targeted_creature.id ~= LAST_ID and cancast() and itemcount(Rune_ID) > 0 then
        useitemoncreature(Rune_ID, targeted_creature.id)
        wait(1000, 1200)
        LAST_ID = targeted_creature.id
    end
end
Reply

#3
Hello! I get this error when i try that script:
12:55:53 - Core:Lua:ExecuteScript
|Only Registered members can see download links. | Click here to buy subscription or here to register.
|Only Registered members can see download links. | Click here to buy subscription or here to register.alt="Big Grin" title="Big Grin" class="smilie smilie_4" />oString:hydras: 13: attempt to index field 'name' (a nil value)
Reply

#4
local Monster = 'Hydra'
local Rune_ID = 3198



if LAST_ID == nil then
    LAST_ID = 0
end

if connected() and ishealing() == false then
    local targeted_creature = target()

    if targeted_creature.id > 0 and targeted_creature.name:lower() == Monster:lower() and targeted_creature.id ~= LAST_ID and cancast() and itemcount(Rune_ID) > 0 then
        useitemoncreature(Rune_ID, targeted_creature.id)
        wait(1000, 1200)
        LAST_ID = targeted_creature.id
    end
end
Reply

#5
thanks!
Reply

#6
Is it possible to use keywords to enable cavebot?
For an example if somebody say a phrase containing down or bot/botters the bot will enable cavbot where it will go down wait 10 minutes and then go up the stack again and disable the cavebot until the phrase is said again??
Reply



Forum Jump:



Forum software by © MyBB Theme © iAndrew 2016