Results 1 to 5 of 5

Thread: Looking for some help setting up the Exura Sio friend priority

  1. #1
    Banned
    Join Date
    May 2013
    Posts
    138
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    35
    Rep Power
    0

    Looking for some help setting up the Exura Sio friend priority

    I want to set the bot up so I can heal myself, as well as Sio my friend without it really messing up. With setting priority I guess. I am not really smart with this bot, so if anyone could help me out would be appreciated.

  2. #2
    Normal User Onehit's Avatar
    Join Date
    Mar 2012
    Location
    Cwb
    Posts
    693
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    1 Post(s)
    Reputation
    117
    Rep Power
    7
    There is a "heal Friend" option in the bot, it's self explanatory, not hard to config, try it out.

    NÃO RESPONDO DUVIDAS POR PM
    Brasil, aqui você é o palhaço.

  3. #3
    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
    Credits to Sirmate:
    Code:
    -- [[ INIT START ]] --
        local CONFIG = {
            PLAYERS = {
                {NAME = "NAME 1", HPPC = 40},
                {NAME = "NAME 2", HPPC = 50},
            },
        }
    -- [[ INIT END ]] --
    
    local CREATURE_TO_HEAL, HPPC_TO_HEAL = nil, 101
    
    for CREATURE in Creature.GetAll("ps") do
        local PLAYER_FOUND = table.find(CONFIG.PLAYERS, CREATURE:Name(), "NAME")
        
        if (CREATURE:isValid() and CREATURE:isAlive() and PLAYER_FOUND and CREATURE:HealthPercent() < CONFIG.PLAYERS[PLAYER_FOUND].HPPC and CREATURE:HealthPercent() < HPPC_TO_HEAL) then
            CREATURE_TO_HEAL, HPPC_TO_HEAL = CREATURE, CREATURE:HealthPercent()
        end
    end
    
    if (Creature.isInstance(CREATURE_TO_HEAL)) then
        Spell.GetByWordsOrName("heal friend"):CastSpell(CREATURE_TO_HEAL, CREATURE_TO_HEAL:Name())
        System.Wait(200)
    end

  4. #4
    Normal User Slodki123's Avatar
    Join Date
    Mar 2013
    Location
    Poland-KRK
    Posts
    113
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    3 Post(s)
    Reputation
    40
    Rep Power
    4
    @up this work perfekt ! Thx Sirmate <3

  5. #5
    Banned
    Join Date
    May 2013
    Posts
    138
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    35
    Rep Power
    0
    What do i do with that code though?

Posting Permissions

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