Results 1 to 5 of 5

Thread: hotkey ue

  1. #1
    Normal User koncus9's Avatar
    Join Date
    Aug 2012
    Location
    Guardia
    Posts
    47
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5

    hotkey ue

    whats the hotkey use UE if 4 monster in ue area?

  2. #2
    Normal User koncus9's Avatar
    Join Date
    Aug 2012
    Location
    Guardia
    Posts
    47
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    local creaturesToHit = {"Wyrm"}
    local minimumAround = 3

    if ((paround(7, true) == 0) and (maround(4, unpack(creaturesToHit)) >= minimumAround) and (target.hppc <= 10))
    then
    cast("exevo gran mas vis")
    wait(1000)
    end
    i found something like that it will shot ue only if 3 wyrmy in the spell area are?

  3. #3
    Normal User
    Join Date
    Oct 2012
    Posts
    41
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    12
    Rep Power
    5
    tryed this hotkey and a second one to divine caldera when mobs around
    it aint working for me but i dont know what i'm doing wrong

    --[[
    Name: Safe Exori
    Version: v1.0.0
    Status: Working
    Author: Sayild
    ]]--

    local PVP = false -- true if you play on pvp world, false for opt-pvp
    local SPELL = 'exevo mas san'-- spell to use
    local MP = 150 -- mana for use spell
    local COOLDOWN = cooldown('exevo mas san') -- cooldown of spell
    local MONSTERS = {'serpent spawn', 'medusa', 'hydra', 'giant spider', 'eternal guardian', 'bonebeast', 'centipede'} -- monsters to use
    local AMMOUNT = 3 -- ammount to cast

    if PVP then
    if paround(6) == 0 and maround(3, unpack(MONSTERS)) > AMMOUNT then
    if mp >= MP and cancast(SPELL) then
    cast(SPELL)
    wait(COOLDOWN)
    end
    else
    if maround(3, unpack(MONSTERS)) > AMMOUNT then
    if mp > MP and cancast(SPELL) then
    cast(SPELL)
    wait(COOLDOWN)
    end
    end
    end
    end

  4. #4
    iBot User
    Join Date
    Jun 2012
    Posts
    517
    Mentioned
    11 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    4 Post(s)
    Reputation
    132
    Rep Power
    7
    It will cast ue when mobs are 4 sqm from you. Doesn't metter if they are in ue area or not.

  5. #5
    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
    Requires sirmate's lib

    Code:
    local CONFIG = {
    
    MONSTERS = {"Cave Rat", "Rat"},
    PVP = {ENABLED = true, SAFEDIST = 9, SAFELIST = {"ottizy", "ott1zy"}},
    
    SPELL = {WORDS = "exevo gran mas vis", AMOUNT = 7, DIST = 7},
    
    }
    
    --Don't edit anything below this line
    
    table.lower(CONFIG.MONSTERS)
    table.lower(CONFIG.PVP.SAFELIST)
    
    function creatureDist(creatureObject)
    	return math.floor(math.sqrt((creatureObject.x - posx)* (creatureObject.x - posx) + (creatureObject.y - posy) * (creatureObject.y - posy)))
    end
    
    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 CONFIG.PVP.ENABLED then
    		local PLAYERTABLE = userDataToTable(getcreatures("ps"))
    		for INDEX, PLAYER in ipairs(PLAYERTABLE) do
    			if PLAYER.dist <= 7 and not tableFind(string.lower(PLAYER.name), CONFIG.PVP.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), CONFIG.MONSTERS) and creatureDist(MONSTER) <= CONFIG.SPELL.DIST and MONSTER.isshootable and MONSTER.issreachable  then
    		MONSTERCOUNT = MONSTERCOUNT + 1
    	end
    end
    
    if CONFIG.SPELL.AMOUNT <= MONSTERCOUNT and cancast(CONFIG.SPELL.WORDS) and not havePlayer() then
    	cast(CONFIG.SPELL.WORDS)
    end
    Last edited by ottizy; 10-30-2012 at 02:54 PM.

Posting Permissions

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