Log in

View Full Version : Druid please help sio lua dont work when update 10.96



taituvn
07-14-2016, 12:47 AM
please help sio.lua dont work in 10.96 :S

FRIEND_NAME = "name"
FRIEND_PERCENT = 70
function HealFriend()
local friend = Creature.GetByName(FRIEND_NAME)
if (friend:HealthPercent() <= FRIEND_PERCENT and friend:isOnScreen()) then
Self.Say("exura sio "" .. FRIEND_NAME)
end
end
while (true) do
HealFriend()
wait(300, 500)
end

taituvn
07-16-2016, 07:37 PM
please help
this scrip lua work in 10.95 but dont work in 10.96 :(

Byoung123
07-17-2016, 03:04 AM
please help
this scrip lua work in 10.95 but dont work in 10.96 :(



--[[
Auto Healer
Version 1.02
Created by Syntax
]]

local config = {
WhiteList = {"Player name"},
healWhiteList = true, -- heal players specified in the whitelist
healParty = true, -- heal party members
healAlly = false, -- heal war allies

range = 8, -- max distance to heal players
mana = 140, -- minimum mana needed to cast
health = 87, -- % 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:DistanceFromSelf() <= config.range) and (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



Here is a working sio script i use it in 10.96 and all the others and works fine if you have any questions please post here and i will be glad to help. you can find it somewhere here on the forums i just do not have the original post

andrea2429
07-22-2016, 01:53 AM
--[[
Auto Healer
Version 1.02
Created by Syntax
]]

local config = {
WhiteList = {"Player name"},
healWhiteList = true, -- heal players specified in the whitelist
healParty = true, -- heal party members
healAlly = false, -- heal war allies

range = 8, -- max distance to heal players
mana = 140, -- minimum mana needed to cast
health = 87, -- % 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:DistanceFromSelf() <= config.range) and (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



Here is a working sio script i use it in 10.96 and all the others and works fine if you have any questions please post here and i will be glad to help. you can find it somewhere here on the forums i just do not have the original post

Helloo.. PLEASE upload script to help ONE friend with sio and tell me what values should I change,apology, is that I have little experience with this bot

I'll be thanksfull if you helpme.. i'll be waiting your answer