Signup Now
Page 7 of 10 FirstFirst ... 56789 ... LastLast
Results 61 to 70 of 95

Thread: Anti Stalker

  1. #61
    Free User
    Join Date
    Jan 2015
    Posts
    10
    Reputation
    10
    Rep Power
    0
    what's wrong with this?
    I'ts not gfbing stalkers for me.

    init start
    function inputevents(e)
    print(e)
    end

    filteruseroptions(true)
    init end
    auto(1000)
    -- your script here --
    init start
    local invisCreatures = {"Stalker"}
    local stuckTime = 0 -- Set to 0 to always attack

    -- Do not edit below
    table.lower(invisCreatures)
    local spellToUseInfo = spellinfo(spellToUse)
    if spellToUseInfo.castarea == 'None' then
    spellToUseInfo = runeinfo(spellToUse)
    end
    init end
    auto(100)

    if $standtime >= stuckTime then
    foreach newmessage m do
    if m.type == MSG_STATUSLOG then
    local _, _, name = m.content:match('^You lose (%d+) (%l+) due to an attack by ?a?n? (.-)%.$')
    if name and table.find(invisCreatures, name:lower()) and maround(7, name:lower()) == 0 then
    if ((paround(10) == 0 and pvp and $timems - $playerlastseen > 6000) or not pvp) then
    pausewalking(1000)
    useoncreature("Great Fireball Rune" , $self)
    pausewalking(0)
    end
    end
    end
    end
    end


    if $standtime > 3000 and $wptsection == 'Hunt' and ((paround(10) == 0 and pvp and $timems - $playerlastseen > 6000) or not pvp) and (not $looting) then
    pausewalking(1000)
    useoncreature("Great Fireball Rune" , $self)
    pausewalking(0)
    end

  2. #62
    Free User Gore's Avatar
    Join Date
    Dec 2013
    Location
    Ohio, USA
    Posts
    220
    Reputation
    19
    Rep Power
    22
    does this script if u use runes use on self or shoot area where last seen?..... im in need for an anti invis script that works on warlocks with Stone Shower Runes.
    pm me if u can help me out @Raphael
    Last edited by Gore; 05-07-2015 at 08:35 AM.

  3. #63
    Free User
    Join Date
    Mar 2015
    Posts
    46
    Reputation
    10
    Rep Power
    0
    error in Cavebot script AntiStakler:
    [" if dmg >= minDmgTaken and n..."]:AntiStakler:25 attempt to compare number with nil
    What is it ?

  4. #64
    Free User
    Join Date
    Jun 2015
    Posts
    2
    Reputation
    10
    Rep Power
    0
    It work with cancel invisibility ? It would be great for warlocks if you put the attack mode for chasing!

  5. #65
    Free User
    Join Date
    Jun 2015
    Posts
    2
    Reputation
    10
    Rep Power
    0
    I'm getting this error when trying with utana vid, didn't tested with runes.
    22:19:38 error in Hotkey script NewHotkey:
    [" if dmg >= minDmgTaken and nam..."]:NewHotkey:25 attempt to compare number with nil

  6. #66
    Free User Dani Scripts's Avatar
    Join Date
    Dec 2013
    Location
    Mexico
    Posts
    558
    Reputation
    56
    Rep Power
    23
    @Raphael, do u know why this is happening?

    22:19:38 error in Hotkey script NewHotkey:
    [" if dmg >= minDmgTaken and nam..."]:NewHotkey:25 attempt to compare number with nil

  7. #67
    Wind Powered
    Join Date
    Dec 2013
    Location
    dvscripts.com
    Posts
    7,101
    Reputation
    433
    Rep Power
    40
    I am using this one.

    init start
    -- local SCRIPT_VERSION = '1.0.1'

    local invisCreatures = {'Stalker'}
    local stuckTime = 0 -- Set to 0 to always attack
    local spellToUse = 'avalanche rune'

    -- DO NOT EDIT BELOW THIS LINE --
    table.lower(invisCreatures)
    local spellToUseInfo, spellType = spellinfo(spellToUse), 'spell'
    if spellToUseInfo.castarea == 'None' then
    spellToUseInfo, spellType = runeinfo(spellToUse), 'rune'
    end
    init end

    auto(100)

    if $standtime >= stuckTime and paround(7) == 0 then
    foreach newmessage m do
    if m.type == MSG_STATUSLOG then
    local _, _, name = m.content:match(REGEX_DMG_TAKEN)
    if name and table.find(invisCreatures, name:lower()) and maround(7, name:lower()) == 0 then
    if spellType == 'spell' and cancastspell(spellToUseInfo) then
    cast(spellToUseInfo.words)
    waitping()
    elseif spellType == 'rune' then
    useoncreature(spellToUseInfo.itemid, $self)
    waitping()
    end
    end
    end
    end
    end

  8. #68
    Free User Dani Scripts's Avatar
    Join Date
    Dec 2013
    Location
    Mexico
    Posts
    558
    Reputation
    56
    Rep Power
    23
    @Dworak, thanks

  9. #69
    Free User Raiven's Avatar
    Join Date
    Mar 2015
    Posts
    281
    Reputation
    51
    Rep Power
    19
    Ive created a script at drefia necromancers, but i keep getting problem with the stalkers. When a stalker goes invisible and stands infront of me the bot wont do anything, it keeps trying to walk in on that tile the stalker's in (making it bump back n forth).
    Im a knight so id like it to do Exori spell, i used the code on this thread but it wont do anything still. Here is the code and please let me know whats wrong

    init start
    -- local SCRIPT_VERSION = '1.0.1'

    local invisCreatures = {'Stalker'}
    local stuckTime = 1000 -- Set to 0 to always attack
    local spellToUse = 'exori'

    -- DO NOT EDIT BELOW THIS LINE --
    table.lower(invisCreatures)
    local spellToUseInfo, spellType = spellinfo(spellToUse), 'spell'
    if spellToUseInfo.castarea == 'None' then
    spellToUseInfo, spellType = runeinfo(spellToUse), 'rune'
    end
    init end

    auto(100)
    if $standtime >= stuckTime and ($wptsection == "ToHunt" or $wptsection == "Hunt" or $wptsection == "refill") then
    foreach newmessage m do
    if m.type == MSG_STATUSLOG then
    local _, _, name = m.content:match(REGEX_DMG_TAKEN)
    if (name and table.find(invisCreatures, name:lower())) then
    if spellType == 'spell' and cancastspell(spellToUseInfo) then
    cast(spellToUseInfo.words)
    waitping()
    elseif spellType == 'rune' then
    if $standtime < 5000 then
    pausewalking(5000)
    end
    wait(200)
    if maround(10, "Demon Skeleton", "Green Djinn") > 0 then
    useoncreature("avalanche rune", $self)
    else
    useoncreature("great fireball rune", $self)
    end

    wait(400)
    pausewalking(0)
    end
    end
    end
    end
    end

  10. #70
    Free User ozzix's Avatar
    Join Date
    Jan 2014
    Location
    Sweden
    Posts
    4,769
    Reputation
    151
    Rep Power
    31
    Quote Originally Posted by Raiven View Post
    Ive created a script at drefia necromancers, but i keep getting problem with the stalkers. When a stalker goes invisible and stands infront of me the bot wont do anything, it keeps trying to walk in on that tile the stalker's in (making it bump back n forth).
    Im a knight so id like it to do Exori spell, i used the code on this thread but it wont do anything still. Here is the code and please let me know whats wrong

    init start
    -- local SCRIPT_VERSION = '1.0.1'

    local invisCreatures = {'Stalker'}
    local stuckTime = 1000 -- Set to 0 to always attack
    local spellToUse = 'exori'

    -- DO NOT EDIT BELOW THIS LINE --
    table.lower(invisCreatures)
    local spellToUseInfo, spellType = spellinfo(spellToUse), 'spell'
    if spellToUseInfo.castarea == 'None' then
    spellToUseInfo, spellType = runeinfo(spellToUse), 'rune'
    end
    init end

    auto(100)
    if $standtime >= stuckTime and ($wptsection == "ToHunt" or $wptsection == "Hunt" or $wptsection == "refill") then
    foreach newmessage m do
    if m.type == MSG_STATUSLOG then
    local _, _, name = m.content:match(REGEX_DMG_TAKEN)
    if (name and table.find(invisCreatures, name:lower())) then
    if spellType == 'spell' and cancastspell(spellToUseInfo) then
    cast(spellToUseInfo.words)
    waitping()
    elseif spellType == 'rune' then
    if $standtime < 5000 then
    pausewalking(5000)
    end
    wait(200)
    if maround(10, "Demon Skeleton", "Green Djinn") > 0 then
    useoncreature("avalanche rune", $self)
    else
    useoncreature("great fireball rune", $self)
    end

    wait(400)
    pausewalking(0)
    end
    end
    end
    end
    end
    do you have server log msgs on?

    Level Latest Scripts
    250+
    Oramond Sewers [MAGE |RP X1 | RP X2 |RP X3|EK X2 | EK X1]
    200+
    Banuta X2 [MAGE | RP]
    280+
    Roshamuul Mountain [RP]
    280+
    Ferumbras Lair [RP]
    250+
    Roshamuul North Silencers [RP]

 

 

Posting Permissions

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