Signup Now
Page 22 of 38 FirstFirst ... 12202122232432 ... LastLast
Results 211 to 220 of 378
  1. #211
    Administrator Lucas Terra's Avatar
    Join Date
    Dec 2013
    Location
    Brazil
    Posts
    2,200
    Reputation
    180
    Rep Power
    10
    Quote Originally Posted by Filleman View Post
    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:
    ... 

    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.

  2. #212
    Free User mastabufu's Avatar
    Join Date
    Dec 2013
    Posts
    101
    Reputation
    11
    Rep Power
    24
    Quote Originally Posted by Florian View Post
    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

  3. #213
    Free User
    Join Date
    Feb 2014
    Posts
    5
    Reputation
    10
    Rep Power
    0
    PHP Code:
    local AmountCurrent Self.MonstersAroundFloor(40"Lizard High Guard""Lizard Chosen")
    local AmountDown Self.MonstersAroundFloor(42"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 ?

  4. #214
    Administrator Lucas Terra's Avatar
    Join Date
    Dec 2013
    Location
    Brazil
    Posts
    2,200
    Reputation
    180
    Rep Power
    10
    Quote Originally Posted by mastabufu View Post
    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?

  5. #215
    Administrator Lucas Terra's Avatar
    Join Date
    Dec 2013
    Location
    Brazil
    Posts
    2,200
    Reputation
    180
    Rep Power
    10
    Quote Originally Posted by miodek View Post
    PHP Code:
    local AmountCurrent Self.MonstersAroundFloor(40"Lizard High Guard""Lizard Chosen")
    local AmountDown Self.MonstersAroundFloor(42"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 ?
    Will be fixed next time you update your library.

  6. #216
    Free User
    Join Date
    Mar 2014
    Posts
    108
    Reputation
    6
    Rep Power
    0
    action 184.jpg




    action 184 report

  7. #217
    Administrator Lucas Terra's Avatar
    Join Date
    Dec 2013
    Location
    Brazil
    Posts
    2,200
    Reputation
    180
    Rep Power
    10
    Quote Originally Posted by Carlos Villa View Post
    action 184.jpg




    action 184 report
    The original script had an error. Just change 'thhen' for 'then' and click in convert from iBot.

  8. #218
    Free User mastabufu's Avatar
    Join Date
    Dec 2013
    Posts
    101
    Reputation
    11
    Rep Power
    24
    Quote Originally Posted by Lucas Terra View Post
    Send the script to me, please?
    Done, check Your pm.

  9. #219
    Free User Shakoflaco's Avatar
    Join Date
    Mar 2014
    Location
    Sweden
    Posts
    203
    Reputation
    10
    Rep Power
    23
    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
    Last edited by Lucas Terra; 03-09-2014 at 07:06 PM. Reason: Added [lua][/lua] tags.

  10. #220
    Administrator Lucas Terra's Avatar
    Join Date
    Dec 2013
    Location
    Brazil
    Posts
    2,200
    Reputation
    180
    Rep Power
    10
    @Shakoflaco this script is already converted, lol.

 

 

Posting Permissions

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