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
FREE Pause Bot if mana gain is higher than 1 (one)
#1
Hello.

I didn't tested the codes that i will post, but people can use it as "start" to adapt for its own needs.

Check for mana gain. If your mana's value increases more than "1" since last run, it will play a sound, flash client and pause bot.
if connected() then
    LAST_MANA = LAST_MANA or mp()
    local current_mana = mp()
    if (current_mana - LAST_MANA) > 1 then
        playsound('default')
        flashclient()
        LAST_MANA = nil
        pausebot(true)
    else
        LAST_MANA = current_mana
    end
else
    LAST_MANA = nil
end

For those that are hunting, you can try this:
if connected() then
    LAST_MANA = LAST_MANA or mp()
    LAST_LEVEL = LAST_LEVEL or level()
    local current_mana = mp()
    local current_level = level()
    if (current_mana - LAST_MANA) > 1 and current_level == LAST_LEVEL then
        playsound('default')
        flashclient()
        LAST_MANA = nil
        LAST_LEVEL = nil
        pausebot(true)
    else
        LAST_MANA = current_mana
        LAST_LEVEL = current_level
    end
else
    LAST_MANA = nil
    LAST_LEVEL = nil
end

This script will disable runemaker for around 10 to 15 seconds if you gain more than 1 mana since last script run.
local mana_gain_alert = 1 -- More than this value means alert and disable runemaker, wait 10-15s and enable again.
if connected() then
    LAST_MANA = LAST_MANA or mp()
    local current_mana = mp()
    if (current_mana - LAST_MANA) > mana_gain_alert then
        playsound('default')
        flashclient()
        setsettings('Runemaker/Enabled', false)
        wait(10000, 15000)
        setsettings('Runemaker/Enabled', true)
    end

    LAST_MANA = current_mana
else
    LAST_MANA = nil
end
Reply

#2
|Only Registered members can see download links. | Click here to buy subscription or here to register.


Hey, this seems like a great script to use. Unfortnality I am not able to use it, as soon as I activate it. It will pause the bot and make an alarm, I have tried raising the mana but still the same? :S

EDIT: Alright, I understand how this work now haha, just some seconds after the post. Would be great if you added that info to the topic. I was thinking this was some kind of calculating mana per seconds script or something and if you get more mana than normal it will pause the bot. But it will just pause the bot if you get above the value
|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" /> So I just need 135 to make a rune and I put it at 150.
Reply

#3
|Only Registered members can see download links. | Click here to buy subscription or here to register.

It's possible to have a permanent alarm? like not only a "piu". XDD I'm using the first one. Thank you!
Reply

#4
|Only Registered members can see download links. | Click here to buy subscription or here to register.

Hello.

It's only possible if you use setsettings to disable stuff instead of pausebot. Because pausebot also pauses the persistents, that's why it just trigger once.

For example, this script would disable runemaker, cavebot and targeting then play sound and flashclient 3 times. But it WILL NOT pause bot.
if connected() then
    LAST_MANA = LAST_MANA or mp()
    local current_mana = mp()
    if (current_mana - LAST_MANA) > 1 then
        setsettings('Runemaker/Enabled', false)
        setsettings('Cavebot/Enabled', false)
        setsettings('Targeting/Enabled', false)
        for i = 1, 3 do
                playsound('default')
                flashclient()
                wait(300)
        end
        LAST_MANA = mp()
    end
    LAST_MANA = current_mana
else
    LAST_MANA = nil
end
Reply

#5
|Only Registered members can see download links. | Click here to buy subscription or here to register.

This one works better for me. Im fine as soon as runemaker turns off. Thank you again!
Reply

#6
|Only Registered members can see download links. | Click here to buy subscription or here to register.


Mate, could you help me with a script that the bot would waite to get full mana then wait 30 seconds after you have full mana to cast the spell?
Also, it would be great if the bot could use all the mana once it's full.

I say that because the GM comes on your screen and heal you full mana in the hope that you will make rune or cast spell.with that 30,40-second delay could help with not getting caught.
Reply

#7
should i use this on presistent or normal hotkey? can anybody help please
Reply

#8
|Only Registered members can see download links. | Click here to buy subscription or here to register.
should i use this on hotkey or persistent?
Reply

#9
That depends on you and how you want to use it. People usually need this script to run from time to time, so they use on persistents.
Reply

#10
Tried it while hunting but it stops every time I get a level. How can I fix this?
Reply



Forum Jump:



Forum software by © MyBB Theme © iAndrew 2016