Page 1 of 3 123 LastLast
Results 1 to 10 of 23

Thread: looking UE AND AREA RUNE

  1. #1
    Normal User
    Join Date
    Mar 2012
    Posts
    21
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5

    looking UE AND AREA RUNE

    looking.

    edit on setup.


    -- setup:

    PvP = true
    monsterAmountUE = 6
    monsterAmountRune = 3


    Possible?


    if world is pvp and I have 5 monster in EU safe launch screen. or

    if world is pvp and I have 3 monster in rune screen shoot safe area

  2. #2
    Normal User
    Join Date
    Mar 2012
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    Didn't test it, use on own risk xD sirmates lib required.

    Code:
    local MONSTERS = {"Dragon", "Dragon Lord"}
    local PVPCONFIG = {ENABLED = true, SAFEDIST = 8, SAFELIST = {"ottizy", "ott1zy"}}
    local SPELL = {WORDS = "exevo gran mas vis", AMOUNT = 6, DIST = 6}
    local RUNE = {NAME = "avalanche rune", AMOUNT = 3}
    
    --Don't edit anything below this line.
    
    table.lower(MONSTERS)
    table.lower(PVPCONFIG.SAFELIST)
    
    function tableFind(element, table)
    	for _,v in pairs(table) do
    		if v == element then
    			return true
    		end
    	end
    	return false
    end
    
    function userDataToTable(userData)
    	local t = {} 
    	local it = userData:GetEnumerator()
    	while it:MoveNext() do 
    		t[#t+1] = it.Current 
    		end 
    	return t 
    end
    
    function havePlayer()
    	if PVPCONFIG.ENABLED then
    		local PLAYERTABLE = userDataToTable(getcreatures("ps"))
    		for INDEX, PLAYER in ipairs(PLAYERTABLE) do
    			if PLAYER.dist <= PVPCONFIG.SAFEDIST and not tableFind(string.lower(PLAYER.name), PVPCONFIG.SAFELIST) then
    				return true
    			end
    		end
    	end
    	return false
    end
    
    local CREATURETABLE = userDataToTable(getcreatures("ms"))
    local MONSTERCOUNT = 0
    
    for INDEX, MONSTER in pairs(CREATURETABLE) do
    	if tableFind(string.lower(MONSTER.name), MONSTERS) and MONSTER.dist <= SPELL.DIST then
    		MONSTERCOUNT = MONSTERCOUNT + 1
    	end
    end
    
    if MONSTERCOUNT >= SPELL.AMOUNT and not havePlayer() and cancast(SPELL.WORDS) then
    	cast(SPELL.WORDS)
    elseif not havePlayer() and cancast("exori frigo") then
    	shootarearune(RUNE.NAME, RUNE.AMOUNT, unpack(MONSTERS))
    end
    Last edited by ottizy; 10-31-2012 at 10:16 AM.

  3. #3
    Normal User
    Join Date
    Jun 2012
    Location
    Sweden
    Posts
    1,671
    Mentioned
    18 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    8 Post(s)
    Reputation
    132
    Rep Power
    9
    Here's mine action, it works good and I use it on my 270+ ms when botting hardcore.
    Configure it as you wish.

    Add as many rules, creatures or spells as you want.

    It's reading from bottom to top so put longer cooldown/higher priority spells at the bottom.
    PHP Code:
    --[[ CONFIG START ]]--
    RULES RULES or {
        {
            
    CREATURES CREATURES or {
                    
    "Frost Dragon",
                    
    "Frost dragon hatchling"
                
    },
            
    SPELLS SPELLS or {
                {
                    
    ATTACK "exori vis",
                    
    ENABLED true
                    
    HPPC 0
                    
    MIN_MOB 1
                    
    DIST 3,
                    
    CONSIDER_PLAYERS false,
                },
                {
                    
    ATTACK "exori gran vis",
                    
    ENABLED true
                    
    HPPC 3
                    
    MIN_MOB 1
                    
    DIST 3,
                    
    CONSIDER_PLAYERS false,
                },
                {
                    
    ATTACK "thunderstorm rune",
                    
    ENABLED true
                    
    HPPC 10
                    
    MIN_MOB 2
                    
    DIST 5,
                    
    CONSIDER_PLAYERS true,
                },
                {
                    
    ATTACK "exevo gran mas vis",
                    
    ENABLED true
                    
    HPPC 0
                    
    MIN_MOB 6
                    
    DIST 4,
                    
    CONSIDER_PLAYERS true,
                },
            },
        },
        { 
            
    CREATURES CREATURES or {
                    
    "Giant Spider"
                
    },
            
    SPELLS SPELLS or {
                {
                    
    ATTACK "exori flam",
                    
    ENABLED true
                    
    HPPC 0
                    
    MIN_MOB 0
                    
    DIST 3,
                    
    CONSIDER_PLAYERS false,
                },
            },
        },
    }
    --[[ 
    CONFIG END ]]--

    SCRIPT SCRIPT or {
        
    AUTHOR "soder",
        
    VERSION "1.0",
        
    NAME "Spell/Rune shooter",
    }

    -- DO 
    NOT TOUCH BELOW UNLESS YOU KNOW WHAT YOURE ACTUALLY DOING --
    AREA_RUNES AREA_RUNES or {"great fireball rune","stoneshower rune","avalanche rune","thunderstorm rune"}

    if 
    target.id 0 then
        
    for #RULES, 1, -1 do
            
    for #RULES[i].SPELLS, 1, -1 do
                
    if (RULES[i].SPELLS[j].ENABLED) and (table.find(RULES[i].CREATURES,target.name)) and (target.isshootablethen
                    
    if (target.dist <= RULES[i].SPELLS[j].DIST) and (itemcount(RULES[i].SPELLS[j].ATTACK) > 0) and (table.find(AREA_RUNES,RULES[i].SPELLS[j].ATTACK)) and (target.hppc >= RULES[i].SPELLS[j].HPPC) and (maround(5falseunpack(RULES[i].CREATURES)) >= RULES[i].SPELLS[j].MIN_MOB) and (not(RULES[i].SPELLS[j].CONSIDER_PLAYERS) or ((paround(10,true) == 0) and (lasttimeplayeronscreen >= 10000))) then 
                        
    while (Self.CoolDown(SPELL_GROUP_ATTACK) == 0) and (itemcount(RULES[i].SPELLS[j].ATTACK) > 0) and (shootarearune(RULES[i].SPELLS[j].ATTACKRULES[i].SPELLS[j].MIN_MOB,unpack(RULES[i].CREATURES))) do
                            
    shootarearune(RULES[i].SPELLS[j].ATTACKRULES[i].SPELLS[j].MIN_MOB,unpack(RULES[i].CREATURES)) System.Wait(150200)
                            
    updateworld()
                        
    end
                        
    break
                    elseif (
    target.dist <= RULES[i].SPELLS[j].DIST) and not (table.find(AREA_RUNES,RULES[i].SPELLS[j].ATTACK)) and (target.hppc >= RULES[i].SPELLS[j].HPPC) and (maround(5falseunpack(RULES[i].CREATURES)) >= RULES[i].SPELLS[j].MIN_MOB) and (not(RULES[i].SPELLS[j].CONSIDER_PLAYERS) or ((paround(10,true) == 0) and (lasttimeplayeronscreen >= 10000))) and (cancast(RULES[i].SPELLS[j].ATTACK)) then 
                        cast
    (RULES[i].SPELLS[j].ATTACK)
                        
    System.Wait(Self.CoolDown(SPELL_GROUP_ATTACK))
                        break
                    
    end
                end
            end
        end
    end 
    Last edited by soder; 10-31-2012 at 11:03 AM.

  4. #4
    Normal User
    Join Date
    Mar 2012
    Posts
    21
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    Good




    this works, it is completely safe?


    -- Setup

    PvP = true
    monsterAmountUE = 6
    monsterAmountRune = 3



    PHP Code:
    --[[ CONFIG START ]]--
    RULES RULES or {
        {
            
    CREATURES CREATURES or {
                    
    "Lich",
                    
    "Vampire",
                    
    "Rat",
                    
    "Rotworm",
                    
    "Priestess",
                    
    "Mummy",
                },
            
    SPELLS SPELLS or {
                {
                    
    ATTACK "exori flam",
                    
    ENABLED true
                    
    HPPC 0
                    
    MIN_MOB 1
                    
    DIST 3,
                    
    CONSIDER_PLAYERS false,
                },
                {
                    
    ATTACK "avalanche rune",
                    
    ENABLED true
                    
    HPPC 10
                    
    MIN_MOB monsterAmountRune
                    
    DIST 4,
                    
    CONSIDER_PLAYERS true,
                },
                {
                    
    ATTACK "exevo gran mas vis",
                    
    ENABLED true
                    
    HPPC 0
                    
    MIN_MOB monsterAmountUE
                    
    DIST 4,
                    
    CONSIDER_PLAYERS true,
                },
            },
        },
        { 
            
    CREATURES CREATURES or {
                    
    "Demon Skeleton"
                
    },
            
    SPELLS SPELLS or {
                {
                    
    ATTACK "exori frigo",
                    
    ENABLED true
                    
    HPPC 0
                    
    MIN_MOB 0
                    
    DIST 3,
                    
    CONSIDER_PLAYERS false,
                },
            },
        },
    }
    --[[ 
    CONFIG END ]]--

    SCRIPT SCRIPT or {
        
    AUTHOR "soder",
        
    VERSION "1.0",
        
    NAME "Spell/Rune shooter",
    }

    -- DO 
    NOT TOUCH BELOW UNLESS YOU KNOW WHAT YOURE ACTUALLY DOING --
    AREA_RUNES AREA_RUNES or {"great fireball rune","stoneshower rune","avalanche rune","thunderstorm rune"}

    if 
    target.id 0 then
        
    for #RULES, 1, -1 do
            
    for #RULES[i].SPELLS, 1, -1 do
                
    if (RULES[i].SPELLS[j].ENABLED) and (table.find(RULES[i].CREATURES,target.name)) and (target.isshootablethen
                    
    if (target.dist <= 5) and (itemcount(RULES[i].SPELLS[j].ATTACK) > 0) and (table.find(AREA_RUNES,RULES[i].SPELLS[j].ATTACK)) and (target.hppc >= RULES[i].SPELLS[j].HPPC) and (maround(5falseunpack(RULES[i].CREATURES)) >= RULES[i].SPELLS[j].MIN_MOB) and (not(RULES[i].SPELLS[j].CONSIDER_PLAYERS) or ((paround(10,true) == 0) and (lasttimeplayeronscreen >= 10000))) then 
                        
    while (Self.CoolDown(SPELL_GROUP_ATTACK) == 0) and (itemcount(RULES[i].SPELLS[j].ATTACK) > 0) and (shootarearune(RULES[i].SPELLS[j].ATTACKRULES[i].SPELLS[j].MIN_MOB,unpack(RULES[i].CREATURES))) do
                            
    shootarearune(RULES[i].SPELLS[j].ATTACKRULES[i].SPELLS[j].MIN_MOB,unpack(RULES[i].CREATURES)) System.Wait(150200)
                            
    updateworld()
                        
    end
                        
    break
                    elseif (
    target.dist <= 3) and not (table.find(AREA_RUNES,RULES[i].SPELLS[j].ATTACK)) and (target.hppc >= RULES[i].SPELLS[j].HPPC) and (maround(5falseunpack(RULES[i].CREATURES)) >= RULES[i].SPELLS[j].MIN_MOB) and (not(RULES[i].SPELLS[j].CONSIDER_PLAYERS) or ((paround(10,true) == 0) and (lasttimeplayeronscreen >= 10000))) and (cancast(RULES[i].SPELLS[j].ATTACK)) then 
                        cast
    (RULES[i].SPELLS[j].ATTACK)
                        
    System.Wait(Self.CoolDown(SPELL_GROUP_ATTACK))
                        break
                    
    end
                end
            end
        end
    end 

    good job

    wich mean? HPPC

  5. #5
    Normal User
    Join Date
    Jun 2012
    Location
    Sweden
    Posts
    1,671
    Mentioned
    18 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    8 Post(s)
    Reputation
    132
    Rep Power
    9
    That should work yes.
    HPPC mean's minumum HP percent of target to cast the spell

    Also, nothing is 100% safe to use when using area runes/spells, but this one does the job pretty good.(Enemies tried to skull me many times, never succeed)
    Last edited by soder; 10-31-2012 at 11:14 AM.

  6. #6
    Normal User
    Join Date
    Mar 2012
    Posts
    21
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    Quote Originally Posted by soder View Post
    That should work yes.

    HPPC mean's minumum HP percent of target to cast the spell
    --Setup.

    monsterAmountRune = 5


    MIN_MOB = monsterAmountRune ,


    ok ok,
    officer increased the amount of monsters from the setup.
    and not direct action?

    you need to put the names of the monsters in targeting of ibot. or only on the action?.


    thanks for your time

  7. #7
    Normal User
    Join Date
    Jun 2012
    Location
    Sweden
    Posts
    1,671
    Mentioned
    18 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    8 Post(s)
    Reputation
    132
    Rep Power
    9
    monsterAmountRune = 5


    MIN_MOB = monsterAmountRune ,
    That should work, yes.


    you need to put the names of the monsters in targeting of ibot. or only on the action?.
    Any monster that you want to shoot you have to put in the action.

  8. #8
    Normal User
    Join Date
    Mar 2012
    Posts
    21
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    Quote Originally Posted by soder View Post
    That should work, yes.



    Any monster that you want to shoot you have to put in the action.
    Only if trapped.

    to exit the cave without killing anything. possible?

    or method I can use?

  9. #9
    Normal User
    Join Date
    Jun 2012
    Location
    Sweden
    Posts
    1,671
    Mentioned
    18 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    8 Post(s)
    Reputation
    132
    Rep Power
    9
    Just set OnlyIfTrapped to Yes on targeting, if it dont target any monster it wont shoot rune/spell.

  10. #10
    Normal User Pukielos's Avatar
    Join Date
    Jun 2012
    Location
    Poland
    Posts
    506
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    57
    Rep Power
    6
    rly this action work?

    I change to

    PHP Code:
    --[[ CONFIG START ]]--
    RULES RULES or {
        {
            
    CREATURES CREATURES or {
                    
    "lizard dragon priest",
                    
    "lizard high guard",
                     
    "Lizard Legionnaire"
                
    },
            
    SPELLS SPELLS or {
                {
                    
    ATTACK "exori vis",
                    
    ENABLED true
                    
    HPPC 0
                    
    MIN_MOB 1
                    
    DIST 3,
                    
    CONSIDER_PLAYERS false,
                },
                {
                    
    ATTACK "exori gran vis",
                    
    ENABLED true
                    
    HPPC 3
                    
    MIN_MOB 1
                    
    DIST 3,
                    
    CONSIDER_PLAYERS false,
                },
                {
                    
    ATTACK "avalanche rune",
                    
    ENABLED true
                    
    HPPC 10
                    
    MIN_MOB 2
                    
    DIST 0,
                    
    CONSIDER_PLAYERS false,
                },
                {
                    
    ATTACK "exevo gran mas vis",
                    
    ENABLED true
                    
    HPPC 0
                    
    MIN_MOB 20
                    
    DIST 0,
                    
    CONSIDER_PLAYERS true,
                },
            },
        },
        { 
            
    CREATURES CREATURES or {
                    
    "Giant Spider"
                
    },
            
    SPELLS SPELLS or {
                {
                    
    ATTACK "exori flam",
                    
    ENABLED true
                    
    HPPC 0
                    
    MIN_MOB 0
                    
    DIST 3,
                    
    CONSIDER_PLAYERS false,
                },
            },
        },
    }
    --[[ 
    CONFIG END ]]--

    SCRIPT SCRIPT or {
        
    AUTHOR "soder",
        
    VERSION "1.0",
        
    NAME "Spell/Rune shooter",
    }

    -- DO 
    NOT TOUCH BELOW UNLESS YOU KNOW WHAT YOURE ACTUALLY DOING --
    AREA_RUNES AREA_RUNES or {"great fireball rune","stoneshower rune","avalanche rune","thunderstorm rune"}

    if 
    target.id 0 then
        
    for #RULES, 1, -1 do
            
    for #RULES[i].SPELLS, 1, -1 do
                
    if (RULES[i].SPELLS[j].ENABLED) and (table.find(RULES[i].CREATURES,target.name)) and (target.isshootablethen
                    
    if (target.dist <= RULES[i].SPELLS[j].DIST) and (itemcount(RULES[i].SPELLS[j].ATTACK) > 0) and (table.find(AREA_RUNES,RULES[i].SPELLS[j].ATTACK)) and (target.hppc >= RULES[i].SPELLS[j].HPPC) and (maround(5falseunpack(RULES[i].CREATURES)) >= RULES[i].SPELLS[j].MIN_MOB) and (not(RULES[i].SPELLS[j].CONSIDER_PLAYERS) or ((paround(10,true) == 0) and (lasttimeplayeronscreen >= 10000))) then 
                        
    while (Self.CoolDown(SPELL_GROUP_ATTACK) == 0) and (itemcount(RULES[i].SPELLS[j].ATTACK) > 0) and (shootarearune(RULES[i].SPELLS[j].ATTACKRULES[i].SPELLS[j].MIN_MOB,unpack(RULES[i].CREATURES))) do
                            
    shootarearune(RULES[i].SPELLS[j].ATTACKRULES[i].SPELLS[j].MIN_MOB,unpack(RULES[i].CREATURES)) System.Wait(150200)
                            
    updateworld()
                        
    end
                        
    break
                    elseif (
    target.dist <= RULES[i].SPELLS[j].DIST) and not (table.find(AREA_RUNES,RULES[i].SPELLS[j].ATTACK)) and (target.hppc >= RULES[i].SPELLS[j].HPPC) and (maround(5falseunpack(RULES[i].CREATURES)) >= RULES[i].SPELLS[j].MIN_MOB) and (not(RULES[i].SPELLS[j].CONSIDER_PLAYERS) or ((paround(10,true) == 0) and (lasttimeplayeronscreen >= 10000))) and (cancast(RULES[i].SPELLS[j].ATTACK)) then 
                        cast
    (RULES[i].SPELLS[j].ATTACK)
                        
    System.Wait(Self.CoolDown(SPELL_GROUP_ATTACK))
                        break
                    
    end
                end
            end
        end
    end 
    I need a Setup or? dont work for me
    Last edited by Pukielos; 10-31-2012 at 11:16 PM.
    Sold 366 MS with Feru hat to jonathanjj

    My project
    http://www.tibiaibot.com/forum/showt...roject-Non-pvp

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •