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
Exori min / ‎Front Sweep
#1
Big Grin 
Hi, do you know how to do "exori min" caster?
variables: 
MIN_HP
MIN_MONSTERS
MIN_MANA
will be nice if it detect what side is most monsters, turn good course and if hp&mp is ok then cast spell
Reply

#2
Hello.

I didn't tested this script at all, but should work:
local Monsters = { 'Demon', 'Demon Skeleton', 'Dragon' } -- Monsters to kill or leave empty = { } to check for all monsters
local SafeList = { 'Player1', 'Friend', 'Another Friend' } -- Your safelist
local MinMonsters = 2 -- Min. count to cast exori min. It will only cast if can hit at least this count of monsters.
local MinMana = 150 -- Min. mana to cast exori min.
local SafeHealth = 70 -- Only if your HP % is higher or equal to this valaue.
local CheckForPlayers = true -- If true then script will not cast spel if there are players on screen.
local CheckPlayerAllFloors = true -- Checks all floors for players?
local Directions = {
    n = { { -1, -1 }, { 0, -1 }, { 1, -1 } },
    s = { { -1, 1 }, { 0, 1 }, { 1, 1 } },
    e = { { 1, -1 }, { 1, 0 }, { 1, 1 } },
    w = { { -1, -1 }, { -1, 0 }, { -1, 1 } },
}

if hppc() >= SafeHealth and mp() >= MinMana and cancast() and (not CheckForPlayers or paroundignore(CheckPlayerAllFloors, unpack(SafeList)) == 0) then
    local monstersListCount = #Monsters
    if monstersListCount > 0 then
        table.lower(Monsters)
    end
    local monstersCountOnDirection = {n = 0, e = 0, s = 0, w = 0}
    local playerX, playerY = posx(), posy()
    local creatures = getcreatures('mfs')
    for _, creature in ipairs(creatures) do
        if creature.dist == 1 and (monstersListCount == 0 or table.find(Monsters, creature.name:lower()) ~= nil) then
            local xDiff, yDiff = creature.posx - playerX, creature.posy - playerY
            for dir, dirDiffs in pairs(Directions) do
                for __, pos in ipairs(dirDiffs) do
                    if xDiff == pos[1] and yDiff == pos[2] then
                       monstersCountOnDirection[dir] = monstersCountOnDirection[dir] + 1
                       break
                    end
                end
            end
        end
    end

    local bestAmount, bestDir = 0, ''
    for dir, amount in pairs(monstersCountOnDirection) do
        if amount > bestAmount then
            bestAmount, bestDir = amount, dir
        end
    end

    if bestAmount >= MinMonsters and bestDir ~= '' then
        local dirStr = { n = 0, e = 1, s = 2, w = 3}
        if dir() ~= dirStr[bestDir] then
            turn(bestDir)
            wait(100, 300)
        end
        say('exori min')
        wait(1100, 1300)
    end
end
Reply

#3
|Only Registered members can see download links. | Click here to buy subscription or here to register.
thank you for the quick reply <3 

LUA Script -> exori min: 45: '}' expected near '='
Reply

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

Fixed it. Please, try again
Reply

#5
I pasted it in HUDs and it doesn't work. Compile with no error but not using spell
Reply

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

I've fixed it and also tested, it worked fine after fix.

btw... You should use it on Persistents, not HUDs.
Reply

#7
|Only Registered members can see download links. | Click here to buy subscription or here to register.
I pasted it in Persistents and still nothing ;/ i will check it script or Persistents problem when i back to home.
Reply

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

Try again, because i didn't pasted the correct code, which i just fixed. xD sorry
Reply



Forum Jump:



Forum software by © MyBB Theme © iAndrew 2016