Results 1 to 4 of 4

Thread: Need Anti Stalker for ibot plus

  1. #1
    iBot User
    Join Date
    Oct 2012
    Posts
    109
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    14 Post(s)
    Reputation
    13
    Rep Power
    5

    Need Anti Stalker for ibot plus

    As the topic says I'm looking for working action for anti stalker for ibot+.

    This one doesnt work:
    -- [[ Anti Invisible Monster Action for Mages by Pink Panther ]] --
    local invisMonster = "quara mantassin" -- Monster to check for
    local nameRune = "great fireball rune" -- Rune to use on the ground
    local spellRange = 3 -- Rune damage range
    local pvpServer = false -- PvP Server? true/false


    local getLogs = getnewmessages("Server Log")
    local getLogsCount = getLogs.count-1
    for i = 0, getLogsCount do
    if pvpServer then
    if getLogs[getLogsCount-i].text:find("due to an attack by a ".. invisMonster:lower()) and paround(14, true) and maround(spellRange, false, invisMonster) == 0 then
    if cancast(nameRune) and itemcount(nameRune) > 0 then
    if clientitemhotkey(nameRune, "self") == "not found" then
    useitemon(nameRune, posx, posy, posz)
    else
    usehotkey(clientitemhotkey(nameRune, "self"))
    end
    end
    end
    elseif not pvpServer then
    if getLogs[getLogsCount-i].text:find("due to an attack by a ".. invisMonster:lower()) and maround(spellRange, false, invisMonster) == 0 then
    if cancast(nameRune) and itemcount(nameRune) > 0 then
    if clientitemhotkey(nameRune, "self") == "not found" then
    useitemon(nameRune, posx, posy, posz)
    else
    usehotkey(clientitemhotkey(nameRune, "self"))
    end
    end
    end
    end
    end

  2. #2
    Normal User blakw's Avatar
    Join Date
    Mar 2012
    Location
    www.blakw.com
    Posts
    815
    Mentioned
    221 Post(s)
    Tagged
    2 Thread(s)
    Quoted
    344 Post(s)
    Reputation
    462
    Rep Power
    10
    Simple one by Eldar:

    Lua Code:
     
    local msgs = getnewmessages("Server Log") 
    local qtd = msgs.count-1 
     
    for i=0,qtd 
    do 
        if (msgs[qtd].text:find("due to an attack by a stalker.")) and (maround(3, "Stalker") == 0) 
        then 
            usehotkey("F10") -- hotkey use area rune
        end 
    end


    ------------------------------------Latest Releases:------------------------------------
    Vocations:
    Darashia Lions Rock
    Oramond Seacrest Serpents X1

    For a better iBot!

    (◣_◢)

  3. #3
    iBot User
    Join Date
    Oct 2012
    Posts
    109
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    14 Post(s)
    Reputation
    13
    Rep Power
    5
    Quote Originally Posted by blakw View Post
    Simple one by Eldar:

    Lua Code:
     
    local msgs = getnewmessages("Server Log") 
    local qtd = msgs.count-1 
     
    for i=0,qtd 
    do 
        if (msgs[qtd].text:find("due to an attack by a stalker.")) and (maround(3, "Stalker") == 0) 
        then 
            usehotkey("F10") -- hotkey use area rune
        end 
    end
    Still doeasnt work. He tries to enter on sqm with stalker and dont use gfb. I set gfb on right hotkey.

  4. #4
    iBot User pink_panther's Avatar
    Join Date
    May 2012
    Location
    Australia
    Posts
    4,075
    Mentioned
    49 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    178 Post(s)
    Reputation
    309
    Rep Power
    10
    Quote Originally Posted by blakw View Post
    Simple one by Eldar:

    Lua Code:
     
    local msgs = getnewmessages("Server Log") 
    local qtd = msgs.count-1 
     
    for i=0,qtd 
    do 
        if (msgs[qtd].text:find("due to an attack by a stalker.")) and (maround(3, "Stalker") == 0) 
        then 
            usehotkey("F10") -- hotkey use area rune
        end 
    end
    "Simpler", in that it's less code perhaps, but it's not pvp safe and requires manual setting of hotkeys, but essentially does the exact same thing (checks logs for dmg by stalker)

    Quote Originally Posted by kurwamac69 View Post
    Still doeasnt work. He tries to enter on sqm with stalker and dont use gfb. I set gfb on right hotkey.
    You need to change tibia settings to show activity in console log, so it can see you're taking dmg from a stalker, and you hotkey needs to use the run on youself, not with hotkeys.

    Either that, or a bug with ibot+

Posting Permissions

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