XenoBot Forums - Powered by vBulletin

User Tag List

Results 1 to 5 of 5

Thread: There is not exura sio funcion inside the bot?

  1. #1

    Join Date
    Apr 2016
    Posts
    28
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    There is not exura sio funcion inside the bot?

    Hello, i was just wondering if there is already a function on xenobot to autohealing my friend?

    I found scrips in the forum, but my question is, is there already a function implemented in the bot?


    saludos!

  2. #2
    Senior Member
    Join Date
    Sep 2012
    Posts
    1,070
    Mentioned
    18 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by betoxz View Post
    Hello, i was just wondering if there is already a function on xenobot to autohealing my friend?

    I found scrips in the forum, but my question is, is there already a function implemented in the bot?


    saludos!
    No, only scripts for sio.

  3. #3

    Join Date
    May 2016
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Might wanna link a script.

  4. #4

    Join Date
    May 2016
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    local friends = { -- add targets u want to heal and at what percent
    ['XXXXXX'] = 70,
    ['CCCCCC'] = 30,
    ['VVVVVV'] = 70,
    ['BBBBBB'] = 30
    }

    Module.New('HEAL', function(mod)
    for name, percent in pairs(friends) do
    local c = Creature.New(name)
    if c:isOnScreen() then
    if c:HealthPercent() <= percent then
    Self.Say('exura sio "' .. name)
    break
    end
    end
    end
    modelay(500)
    end)



    Isn't mine, just found it in some old forums somewhere, dont remember name.

  5. #5
    callumbagshaw's Avatar
    Join Date
    Apr 2013
    Posts
    92
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Here's a more elegant one:
    local config = {
    WhiteList = {"Bubble"},
    healWhiteList = true, -- heal players specified in the whitelist
    healParty = true, -- heal party members
    healAlly = true, -- heal war allies

    range = 5, -- max distance to heal players
    mana = 140, -- minimum mana needed to cast
    health = 85, -- % of friends health to heal at

    method = "exura sio" -- this is the only method currently, rune healing will be added later
    }

    local function sio(name)
    if(Self.Mana() >= config.mana)then
    Self.Say("exura sio ""..name)
    sleep(math.random(200,600))
    end
    end

    local function think()
    for i = CREATURES_LOW, CREATURES_HIGH do
    local creature = Creature.GetFromIndex(i)
    if (creature:isValid()) then
    if (creature:isOnScreen() and creature:isVisible() and creature:isAlive()) then
    local name = creature:Name()
    if(creature:isWarAlly() and config.healAlly) or (creature:isPartyMember() and config.healParty) or (table.find(config.WhiteList, name, false) and config.healWhiteList)then
    if(creature:HealthPercent() <= config.health)then
    if(config.method == "exura sio")then
    sio(name)
    else
    displayInformationMessage("Unsupported method type in Auto Healer Script!")
    end
    end
    end
    end
    end
    end
    end

    local function display()
    local display = "Auto Healer by Syntax (v1.02)\n------------------\n\nMethod: " .. config.method .. "\nHeal Party: " .. tostring(config.healParty) .. "\n" .. "Heal War Allies: " .. tostring(config.healAlly)
    if(config.healWhiteList)then
    display = display .. "\n" .. "Heal Players:" .. table.concat(config.WhiteList, ", ")
    end
    displayInformationMessage(display)
    end

    display()

    while true do
    think()
    wait(100,300)
    end
    Cal.

Posting Permissions

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