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 Enable/Disable Runemaker every X seconds
#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.

This script will check your mana every X seconds (random time in range) and if you have enough mana, it will enable runemaker, wait a random time to let you make runes and disable runemaker again.

So after enabling runemaker, it will wait a random time that will be sorted between the "Time_MakeRune" value, it's in seconds, which must be enough to make the amount of runes that you want with that amount of mana... Then it disable runemaker.

local Time_HealMana = { Min = 300, Max = 350 } -- IN SECONDS. Time range to wait to let your character regenerate mana enough to make the runes, in seconds.
local Time_MakeRune = { Min = 10000, Max = 15000 } -- IN MILLISECONDS. Time range to wait while Bot is making runes before disabling Runemaker.

local manaCondition = 'Mana above' -- Condition to mane runes: Mana above or Mana percent
local manaValue = { Min = 500, Max = 600 } -- Mana range to make runes.

if NEXT_RUNE_TIME == nil then
    NEXT_RUNE_TIME = 1
end

if NEXT_RUNE_MANA == nil then
    NEXT_RUNE_MANA = random(manaValue.Min, manaValue.Max)
end

local currentValue = 0
if manaCondition:lower() == 'mana percent' then
    currentValue = mppc()
else
    currentValue = mp()
end

if currentValue >= NEXT_RUNE_MANA and runningtime() >= NEXT_RUNE_TIME then
    setsettings('Runemaker/Enabled', true)
    wait(Time_MakeRune.Min, Time_MakeRune.Max)
    setsettings('Runemaker/Enabled', false)
    NEXT_RUNE_TIME = runningtime() + random(Time_HealMana.Min, Time_HealMana.Max)
    NEXT_RUNE_MANA = random(manaValue.Min, manaValue.Max)
else
  if getsettings('Runemaker/Enabled') then
      setsettings('Runemaker/Enabled', false)
  end
end
Reply

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

Hello, I have tried your script and not working for me. I have even tried just to lower the seconds and etc, but nothing happens. The runemaker is diabled all the time :S

There can be a problem too, because when you run out of blank runes and if the runemaker is not on, it wont go and get more blank runes :o

local Time_HealMana = { Min = 1, Max = 2 } -- IN SECONDS. Time range to wait to let your character regenerate mana enough to make the runes, in seconds.
local Time_MakeRune = { Min = 1000, Max = 1500 } -- IN MILLISECONDS. Time range to wait while Bot is making runes before disabling Runemaker.

local manaCondition = 'Mana above' -- Condition to mane runes: Mana above or Mana percent
local manaValue = { Min = 100, Max = 500 } -- Mana range to make runes.

if NEXT_RUNE_TIME == nil then
    NEXT_RUNE_TIME = 1
end

if NEXT_RUNE_MANA == nil then
    NEXT_RUNE_MANA = random(manaValue.Min, manaValue.Max)
end

local currentValue = 0
if manaCondition:lower() == 'mana percent' then
    currentValue = mppc()
else
    currentValue = mp()
end

if currentValue >= NEXT_RUNE_MANA and runningtime() >= NEXT_RUNE_TIME then
    setsettings('Runemaker/Enabled', true)
    wait(Time_MakeRune.Min, Time_MakeRune.Max)
    setsettings('Runemaker/Enabled', false)
    NEXT_RUNE_TIME = runningtime() + random(Time_HealMana.Min, Time_HealMana.Max)
    NEXT_RUNE_MANA = random(manaValue.Min, manaValue.Max)
else
  if getsettings('Runemaker/Enabled') then
      setsettings('Runemaker/Enabled', false)
  end
end
Reply

#3
Hello.

The script is working, because i just tested it.
It will only enable if got enough mana and after a random time. The mana and the time will be random value between the range you setup.

The main purpose of this script is to leave the runemaker disabled to regenerate mana and prevent your character from being banned by the GM healing your mana.
But there are also other ways, such as using the runemaker only for refill, setting up a mana that your character will never have, but with the right rune, so the runemaker will never do the rune but use Refill Settings. Then create a persistent script to cast spell to make the rune the way you want.

Alternatively, improve this script to work as you need. If you want to check for blanks as well, make another check to count blanks and let it on if you have no blanks, etc.

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

runemaker_isondanger()[boolean]: Returns true if Runemaker->Refill Settings->On Danger is currently triggered.
runemaker_isondangerconditions()[number]: Returns a number that represents the danger types that Runemaker->Refill Settings->On Danger is currently triggered. 0 means not in danger.
runemaker_isrefilling()[boolean]: Returns true if Runemaker->Refill Settings is currently refilling (picking up food, blanks or droping runes).
Reply

#4
Thanks!

It's working as intended, i just need to figure out the mana regen rate for druid/sorc with and without promotion
|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="Confused" title="Confused" class="smilie smilie_13" />
Reply

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

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

Hello.

I just run the code that you posted and it worked fine. I believe you are copying something wrong.
The error message on Console may explain what's wrong, probably a syntax error due to wrong code that you may be copying...
Reply

#7
This script is better than Pause Bot if mana gain is higher than 1 (one) to safe make runes full afk?
Reply

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

Hello.

That depends on you, but i usually like both scripts as a double protection. Hehehe

But if I were to use just one script, I would use this script. Although I made some changes to this script to work in a slightly different way, so that I could keep the runemaker on and Refill Settings works, instead of disabling/enabling runemaking, it changes the mana values to values that my character will never reach, just preventing it to make runes and then after a certain amount of time, it would change to the right mana for him to make the runes.
Reply

#9
Hi, 

I dont get it to work. I load it as persistent. If i click enable rune maker it will create a rune and disable it, but it will never enable. I get no errors in console.


local Time_HealMana = { Min = 2, Max = 3 } -- IN SECONDS. Time range to wait to let your character regenerate mana enough to make the runes, in seconds.
local Time_MakeRune = { Min = 10000, Max = 15000 } -- IN MILLISECONDS. Time range to wait while Bot is making runes before disabling Runemaker.

local manaCondition = 'Mana above' -- Condition to mane runes: Mana above or Mana percent
local manaValue = { Min = 70, Max = 80 } -- Mana range to make runes.

if NEXT_RUNE_TIME == nil then
    NEXT_RUNE_TIME = 1
end

if NEXT_RUNE_MANA == nil then
    NEXT_RUNE_MANA = random(manaValue.Min, manaValue.Max)
end

local currentValue = 0
if manaCondition:lower() == 'mana percent' then
    currentValue = mppc()
else
    currentValue = mp()
end

if currentValue >= NEXT_RUNE_MANA and runningtime() >= NEXT_RUNE_TIME then
    setsettings('Runemaker/Enabled', true)
    wait(Time_MakeRune.Min, Time_MakeRune.Max)
    setsettings('Runemaker/Enabled', false)
    NEXT_RUNE_TIME = runningtime() + random(Time_HealMana.Min, Time_HealMana.Max)
    NEXT_RUNE_MANA = random(manaValue.Min, manaValue.Max)
else
  if getsettings('Runemaker/Enabled') then
      setsettings('Runemaker/Enabled', false)
  end
end


Attached Files Thumbnail(s)
   
Reply

#10
Can anyone figure out why It doesn't work?
Reply



Forum Jump:



Forum software by © MyBB Theme © iAndrew 2016