This script will not work anymore on client protocol 10.36, because the message types got shifted.
Just use the HUD MonitorMyHunting.lua, it's way better, like @RoxZin xD said.
Printable View
This script will not work anymore on client protocol 10.36, because the message types got shifted.
Just use the HUD MonitorMyHunting.lua, it's way better, like @RoxZin xD said.
http://iv.pl/images/45982517396562384943.jpg
http://iv.pl/images/97160719398434908803.jpg
What i can with this? It is script for cyclops in ibot.
@Lucas Terra
This function is not working while converting from iBot
Code:auto(800, 1000)
--[[
Name: Check Quick Loot by BlakW
Version: v1.0.0
Status: Works
TODO:
]]--
if (useQuickLoot == ("yes")) then
setsetting("Looting/LootingPolicy", "After melee kill")
elseif (useQuickLoot == ("no")) then
setsetting("Looting/LootingPolicy", "After all dead")
end
18:00:54 error in Persistent script Area by Soder:
["if target.id > 0 then"]:Area by Soder:64 attempt to index global 'target' (a nil value)
------------------------------------------------------------------------------------------------------------------------------------
PHP Code:
auto(800, 1000)
if maround_ib(7, "Medusa", "Serpent Spawn", "Hydra") > 0
then
setsetting("Persistent/Scripts/Area by Soder/Enabled","no")
else
setsetting("Persistent/Scripts/Area by Soder/Enabled","yes")
end
if $attacked.name == "Eternal Guardian" and maround_ib(7, "Medusa", "Serpent Spawn", "Hydra") > 0
then
keyevent(0x1b)
end
if maround_ib(7, "Medusa", "Serpent Spawn", "Hydra") > 0
then
setsetting("Targeting/Creatures/Eternal Guardian*/Setting*/OnlyIfTrapped", "yes")
setsetting("Targeting/Creatures/Giant Spider*/Setting*/OnlyIfTrapped", "yes")
setsetting("Targeting/Creatures/Frost Dragon*/Setting*/OnlyIfTrapped", "yes")
setsetting("Targeting/Creatures/Acid Blob*/Setting*/OnlyIfTrapped", "yes")
else
setsetting("Targeting/Creatures/Eternal Guardian*/Setting*/OnlyIfTrapped", "no")
setsetting("Targeting/Creatures/Giant Spider*/Setting*/OnlyIfTrapped", "no")
setsetting("Targeting/Creatures/Frost Dragon*/Setting*/OnlyIfTrapped", "no")
setsetting("Targeting/Creatures/Acid Blob*/Setting*/OnlyIfTrapped", "no")
end
Could it be this one then?
18:00:54 error in Persistent script Area by Soder:
["if target.id > 0 then"]:Area by Soder:64 attempt to index global 'target' (a nil value)
-----------------------------------------------------------------------------------------------------------------------------------------
PHP Code:
--[[ CONFIG START ]]--
RULES = RULES or {
{
CREATURES = CREATURES or {
"Giant Spider",
"Acid Blob",
"Ice Golem",
"Water Elemental",
,
},
SPELLS = SPELLS or {
{
ATTACK = "Exori Vis",
ENABLED = true,
HPPC = 1,
MIN_MOB = 1,
DIST = 3,
CONSIDER_PLAYERS = true,
},
{
ATTACK = "thunderstorm rune",
ENABLED = true,
HPPC = 1,
MIN_MOB = 3,
DIST = 4,
CONSIDER_PLAYERS = true,
},
{
ATTACK = "Exevo Gran Mas Vis",
ENABLED = true,
HPPC = 1,
MIN_MOB = 5,
DIST = 4,
CONSIDER_PLAYERS = true,
},
},
},
{
CREATURES = CREATURES or {
""
},
SPELLS = SPELLS or {
{
ATTACK = "exori flam",
ENABLED = true,
HPPC = 0,
MIN_MOB = 2,
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 i = #RULES, 1, -1 do
for j = #RULES[i].SPELLS, 1, -1 do
if (RULES[i].SPELLS[j].ENABLED) and (table.find(RULES[i].CREATURES,target.name)) and (target.isshootable) then
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(5, false, unpack(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].ATTACK, RULES[i].SPELLS[j].MIN_MOB,unpack(RULES[i].CREATURES))) do
shootarearune(RULES[i].SPELLS[j].ATTACK, RULES[i].SPELLS[j].MIN_MOB,unpack(RULES[i].CREATURES)) System.Wait(150, 200)
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(5, false, unpack(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
The original script had an error, the converter is unable to fix dumb scripters' mistakes. I don't blame them, though, iBot doesn't have a proper Lua debugger:
CREATURES = CREATURES or {
"Giant Spider",
"Acid Blob",
"Ice Golem",
"Water Elemental",
,
},
See that comma over there, without a creature name? That wouldn't let the script run correctly, even on iBot. Just remove that extra comma, and then click on Convert From iBot (on the scripter window). And then you are good to go.
its dont work when i convert it. Can u help me ?PHP Code:
local AmountCurrent = Self.MonstersAroundFloor(4, 0, "Lizard High Guard", "Lizard Chosen")
local AmountDown = Self.MonstersAroundFloor(4, 2, "Lizard High Guard", "Lizard Chosen")
if AmountCurrent >= AmountDown then
DownAmount = AmountCurrent - AmountDown
else
DownAmount = AmountDown - AmountCurrent
end
if DownAmount > 4 then
gotolabel("GoToDepo")
end
Attachment 1303
action 184 report
auto(300, 500)
local MonsterToUe = {"Quara Mantassin", "Quara Hydromancer", "Massive Water Elemental", "Quara Pincher", "Quara Predator", "Thul"}
local MonsterToVisHur = {"Quara Hydromancer", "Massive Water Elemental", "Quara Pincher", "Quara Predator",}
local MonsterToARune = {"Quara Constrictor", "Quara Mantassin", "Quara Hydromancer", "Massive Water Elemental", "Quara Pincher", "Quara Predator", "Thul"}
local MonsterToSd = {"Quara Hydromancer", "Massive Water Elemental", "Quara Pincher", "Quara Predator", "Thul", "Massive Water Elemental"}
local MonsterToMStrike = {"Quara Constrictor", "Quara Mantassin", "Quara Hydromancer", "Massive Water Elemental", "Quara Pincher", "Quara Predator", "Thul"}
local MonsterToSStrike = {"Quara Constrictor", "Quara Mantassin", "Quara Hydromancer", "Massive Water Elemental", "Quara Pincher", "Quara Predator", "Thul"}
local MonsterToStrike = {"Quara Constrictor", "Quara Mantassin", "Quara Hydromancer", "Massive Water Elemental", "Quara Pincher", "Quara Predator", "Thul"}
local ue = "exevo gran mas vis"
local MStrike = "exori max vis"
local SStrike = "exori gran vis"
local STRIKE = "exori vis"
local HppcToUe = 65
local Rune = "thunderstorm rune"
function ISSHOOTABLE()
for POSX, POSY, POSZ in Tile.ScreenArea() do
if Tile.GetByPosition($attacked.POSX, $attacked.POSY, $attacked.POSZ):isShootable() then
return true
end
end
return false
end
local AmountUe = 0
local Mhp = 0
for CREATURE in Creature.GetAll([[ms]]) do
if CREATURE:isShootable() and table.find(MonsterToUe, CREATURE:Name()) and Self.MonstersAroundSpell("5x5", false, unpack(MonsterToUe)) >= CreatureToUe then
AmountUe = AmountUe + 1
Mhp = Mhp + CREATURE:HealthPercent()
end
end
local AvarageHp = Mhp/AmountUe
if Self.CoolDown(SPELL_GROUP_ATTACK) <= 1 then
if CastUE and AmountUe >= CreatureToUe and AvarageHp <= HppcToUe and cancastspell(ue) and (not PvP_Server or (paroundfloor(10, 15) == 0 and ($timems-$playerlastseen) >= 12000)) and Self.CoolDown(SPELL_GROUP_ATTACK) == 0 then
while AmountUe >= CreatureToUe and AvarageHp <= HppcToUe and cancastspell(ue) do
cast(ue)
wait(200)
end
elseif (shootarearune(Rune, CreatureToRune, unpack(MonsterToARune))) and (not PvP_Server or (paroundfloor(10, 15) == 0 and ($timems-$playerlastseen) >= 12000)) and Self.CoolDown(SPELL_GROUP_ATTACK) == 0 then
while shootarearune(Rune, CreatureToRune, unpack(MonsterToARune)) do
shootarearune(Rune, CreatureToRune, unpack(MonsterToARune))
wait(200)
end
elseif table.find(MonsterToSd, $attacked.name) and maround_ib(10, unpack(MonsterToSd)) >= CreatureToSd and UseSdRunes and ISSHOOTABLE() and Self.CoolDown(SPELL_GROUP_ATTACK) == 0 then
useoncreature("sudden death rune", $attacked.id)
wait(200)
elseif $attacked.id ~= 0 and $attacked.dist <= 3 and Self.CoolDown(SPELL_GROUP_ATTACK) == 0 then
if UseMaxStrike and $attacked.hppc > 20 and cancastspell(MStrike) and table.find(MonsterToMStrike, $attacked.name) and ISSHOOTABLE() and Self.CoolDown(SPELL_GROUP_ATTACK) == 0 then
cast(MStrike)
wait(200)
elseif UseStrongStrike and $attacked.hppc > 15 and cancastspell(SStrike) and table.find(MonsterToSStrike, $attacked.name) and ISSHOOTABLE() and Self.CoolDown(SPELL_GROUP_ATTACK) == 0 then
cast(SStrike)
wait(200)
elseif cancastspell(STRIKE) and table.find(MonsterToStrike, $attacked.name) and ISSHOOTABLE() and Self.CoolDown(SPELL_GROUP_ATTACK) == 0 then
cast(STRIKE)
wait(200)
end
end
end
01:33:45 ERROR: Spells Attack:>> :18:31: Unexpected Symbol `$` in source.
I pressed on convert from ibot in the action editor and this is what i got, usually it would cast ue but its not
@Shakoflaco this script is already converted, lol.
(Converted)PHP Code:
local AmountCurrent = Self.MonstersAroundFloor(4, 0, "Lizard High Guard", "Lizard Chosen")
local AmountDown = Self.MonstersAroundFloor(4, 2, "Lizard High Guard", "Lizard Chosen")
if AmountCurrent >= AmountDown then
DownAmount = AmountCurrent - AmountDown
else
DownAmount = AmountDown - AmountCurrent
end
if DownAmount > 4 then
gotolabel("GoToDepo")
end
i convert in on new library but its still dont work :(
man, i just tried to convert one scrit from ibot and some alarms just bumped out and nothing....
can you help me ?
First off this is some warnings i get:
Warning: Access to unknown global variable: pzzone
Warning: Access to unknown global variable: fasle
Warning: Access to unknown global variable: ScreenshotOnAdvance
Setup:
--]] READ SCRIPT REQUIRMENTS BEFORE RUNNING IT'S THE MOST IMPORTANT PART [[--
-- _________ _____ _ __
-- / ____/ (_) / ___/__________(_)___ / /______
-- / __/ / / / \__ \/ ___/ ___/ / __ \/ __/ ___/
-- / /___/ / / ___/ / /__/ / / / /_/ / /_(__ )
-- /_____/_/_/ /____/\___/_/ /_/ .___/\__/____/
-- /_/
--]] HOT LINKS: (Highly recommended read before turning on the script) [--
--[[ F.A.Q & User Manual ]]-- http://www.eliscripts.com/f-a-q
--[[ Found a bug? ]]-- http://www.eliscripts.com/report-a-bug
--[[ Request a new copy]]-- http://www.eliscripts.com/request-a-new-copy
--]]
SoftBootsRefiller = true -- (true/false)
PvP_Server = false -- (true/false)
Mount = true -- (true/false)
SreenshotOnAdvance = true -- (true/false)
NormalBoots = 'boots of haste' -- Name of yours normal boots
LureMode = true
PlayerAlert = false -- Player On Screen Alert on Resp
--]]Tools Settings:
RopeToUse = "squeezing gear of girlpower" -- Name of rope
ShovelToUse = "squeezing gear of girlpower" -- Name of shovel
PickToUse = "squeezing gear of girlpower" -- Name of pick
-- Extra Settings:
TakeSuppliesFromDepot = true -- Take Supplies From Depot?
FishBodies = false -- Fishing water elementals
HasteAfterKill = true
CapToDropGold = 200 -- Cap To Stop Looting Gold.
--]]Spells Settings:
CastUE = true -- Cast Ue Spell?
CreatureToUe = 4 -- Amount Of Creatures To Cast.
HppcToUe = 90 -- Hp % To Cast Ue.
UseSdRunes = true -- Shoot Sd Runes?
CreatureToSd = 3 -- Amount of Creatures To Shoot.
UseMaxStrike = true -- Use Uiltamte Strike?
UseStrongStrike = true -- Use Strong Strike?
--]] West Spawn:
West = true
--]] West Side Extra Spawns:
Ship1 = false -- 2 hydromancers
Ship2 = false -- 2 hydromancers, 1 mantassin, 2 constrictors
Ship3 = false -- 2 mantassins, 1 pincher
Ship4 = false -- 2 mantassins, 2 pinchers
Ship5 = false -- 1 hydromancer, 1 mantassin, 1 pincher
Ship6 = false -- 1 hydromancer, 2 pincher, 2 constricotr
Ship7 = false -- 3 predators, 2 constrictors
--]] East Spawn:
East = true
--]] East Spawn Extra Spawns
Ship8 = false -- 1 pincher
Ship9 = false -- 1 constrictor, 3 predators
Ship10 = false -- 2 mantassins, 3 predators
Ship11 = false -- 2 mantassins, 2 hydromancers
Ship12 = false -- 4 constrictors
Ship13 = false -- 1 pincher, 1 hydromancer
Ship14 = false -- 2 predators, 1 hydromancer
Ship15 = false -- 2 hydromancers, 1 predator
--]] Customize your Backpacks Settings:
MainBP = "backpack of holding" -- Backpack that you use as the main
LootBP = "jewelled Backpack" -- Backpack with items (rares, stackable)
GoldBP = "brocade Backpack" -- Backapck with gold
SuppBP = "zaoan chess box" -- Backpack with supplies
--]] Customize Depot Backpack Settings:
MainDpBp = "Blue Backpack" -- Main depot backpack
StackItems = "expedition Backpack" -- Backpacks with stack items
LootRares = "fur Backpack" -- Backpack with rares
ExtraItemBP = "green backpack" -- Extra Item Backpack in Depot with Great Mana Potions / Thunderstorm Runes / Sudden Death Runes
--]] Customize your Supplies Settings:
MpName = "great mana potion"
MpToBuy = 400 -- Amount of wanted Mana Potions
SdToBuy = 100 -- Amount of Great Health Potions
TsrToBuy = 300 -- Amount of Ultimate Health Potions
MpToLeave = 200 -- Amount of Mana Potions to Leave
SdToLeave = 10 -- Amount of Great Health Potions to Leave
TsrToLeave = 100 -- Amount of Ultimate Health Potions to Leave
CapCheck = -1 -- Cap To Leave Spawn.
---------------------------------------------------------- DON'T TOUCH ANYTHING BELOW
MpID = itemid(MpName)
MpPrice = itemcost(MpName)
function ChangeState(set,...)
local monster = {...}
for i,j in ipairs(monster) do
local typ = getsettings_ib("Settings\\Targeting\\Monsters\\".. j .."\\OnlyIfTrapped")
if set == nil or typ == nil or monster == nil then
return false
end
if set == "yes" or set == true or set == "on" then
setsettings_ib("Settings\\Targeting\\Monsters\\".. j .."\\OnlyIfTrapped", "yes")
elseif set == "no" or set == false or set == "off" then
setsettings_ib("Settings\\Targeting\\Monsters\\".. j .."\\OnlyIfTrapped", "no")
end
end
end
Haste = false
UseAreaRune = true
StaminaCheck = 845 -- How many stamina to end hunt?
CreatureToRune = 2 -- Creature To Shoot Rune.
MobsToLure = 2 -- Amount of mobs to start attacking
UWC = true -- Use With Crosshairs or Use On Target.
HasteResp = false -- Haste at whole spawn.
LootGold = true -- False Will Stop Looting Gold.
SWWM = true --- Stand with weak monsters
FastLooting = false -- True = after meele kill, false = after all dead
Code:10:22:49 error in Library file windConverter.lua:
["to = math.max(from,..."]:windConverterWrapper_settings.l:68 bad argument #1 to 'max' (number expected, got nil)
stack traceback:
["to = math.max(from, to)"]:windConverterWrapper_settings.l:68 in function ["local function conv..."]:windConverterWrapper_settings.l:61
["newvalue = s.newvalue(value, s.name)"]:windConverterWrapper_settings.l:1181 in function ["function convertSet..."]:windConverterWrapper_settings.l:1105
[string ""]:3009 in function [string ""]:2971
[string ""]:3654 in function [string ""]:3640
[string ""]:1959 in function [string ""]:1860
[string ""]:2134 in function [string ""]:2046
[string ""]:2335 in function [string ""]:2331
[string ""]:2182 in function [string ""]:2046
[string ""]:2335 in function [string ""]:2331
[string ""]:2351 in function [string ""]:1796
[string ""]:2420 in function [string ""]:2398
[string ""]:2529 in function [string ""]:2500
My persistent opens all backpacks, closes all backpacks and repeat.... please helpQuote:
closewindows()
wait(500, 1000)
openitem(MainBP, 'back')
wait(500, 1000)
resizewindows()
wait(500, 1000)
openitem(LootBP, MainBP, true)
wait(500, 1000)
resizewindows()
wait(500, 1000)
openitem(GoldBP, MainBP, true)
resizewindows()
converted from iBot
Not sure if this is a good place to post this, but it came from a converted Demon Script. This action will absolutely stop an entire script from working. Once I disable it, script works fine.
and im receiving;Quote:
auto(800, 1000)
if (useStake == ("yes"))
then
if (maround_ib(7) == 0)
then
if ($lootbodies == 0)
then
pausewalking(10000)
stake(4, nil, true)
wait(2000)
end
end
end
error in Action script checkSup5:
["if ((itemcount(idMpToCount, 'all') <= m..."]:Action: 285:24 attempt to compare number with nil
Quote:
local minCapAmount = (minCapacity)
if ((itemcount(idMpToCount, 'all') <= minMpAmount) or (itemcount(idHpToCount, 'all') <= minHpAmount) or (itemcount(idAmmoToCount, 'all') <= minAmmoAmount) or ($cap <= minCapAmount))
then
gotolabel("leave_hunt2")
end
It's scripts' mistake, not converter.
auto(800, 1000)
if (useStake == ("yes"))
then
if (maround_ib(7) == 0)
then
if ($lootbodies == 0)
then
pausewalking(10000)
stake(4, nil, true)
--wait(2000)
pausewalking(0)
end
end
end
For the second problem, either minMpAmount, or minHpAmount or minAmmoAmount or minCapAmount does not exist on the setup script.
local minCapAmount = (minCapacity)
if ((itemcount(idMpToCount, 'all') <= minMpAmount) or (itemcount(idHpToCount, 'all') <= minHpAmount) or (itemcount(idAmmoToCount, 'all') <= minAmmoAmount) or ($cap <= minCapAmount)) then
gotolabel("leave_hunt2")
end
hello lucas, im having a problem on converting a hive script, i got this error in conversion blog, help me please =)
Attachment 1351
Error: Conversion of action script 'action228' failed! Original script had an error.
22:49:58 PARSING ERROR: action228:>> :2:4: Assignment Statement Expected
w151>Action 33188 31988 8 if posz == 8 and posx == 33188 and posy == 31988 then say("exani tera")
;bye</w151>
where is the error?
How % this converter working ?? Because I have 5 ibot scripts ( blakW) and if i converted to windbot... this all working great?
@mortens
Why don't you try it yourself? You have 14 free days to test. :)
I'm pretty sure it will work much better than on iBot itself.
hey, when i login i found That error login ( Registration Expired ) how i can fix it answer fast please
while converting script it bump up
also i notice script having 2 bugs were on ibot nothing happen like thisCode:Warning: Setting "Settings\\Alerts\\Player\\OnScreen\\FlashClient" has no WindBot equivalent!
Warning: Access to unknown global variable: TargetAll
Warning: Access to unknown global variable: softs
#lucas
when i can reach you on skype?