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:
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.
03-08-2014, 01:16 AM
mastabufu
Quote:
Originally Posted by Florian
i got a problem .. i converted banuta -3-4 and when he runs in a room he shoots normally but after some seconds he just run to next waypoint even when targeting is enabled... somebody know the problem??
please help me this is the only problem which i got otherwise scripts works nice
I got the same problem with banuta -3-4, have you already figured out what's wrong with that?
Regards
03-08-2014, 01:40 AM
miodek
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
its dont work when i convert it. Can u help me ?
03-08-2014, 04:24 PM
Lucas Terra
Quote:
Originally Posted by mastabufu
I got the same problem with banuta -3-4, have you already figured out what's wrong with that?
Regards
Send the script to me, please?
03-08-2014, 04:42 PM
Lucas Terra
Quote:
Originally Posted by miodek
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
The original script had an error. Just change 'thhen' for 'then' and click in convert from iBot.
03-08-2014, 09:53 PM
mastabufu
Quote:
Originally Posted by Lucas Terra
Send the script to me, please?
Done, check Your pm.
03-09-2014, 12:42 AM
Shakoflaco
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
03-09-2014, 03:23 AM
Lucas Terra
@Shakoflaco this script is already converted, lol.