Signup Now
Page 9 of 10 FirstFirst ... 78910 LastLast
Results 81 to 90 of 95

Thread: Anti Stalker

  1. #81
    Moderator Raphael's Avatar
    Join Date
    Dec 2013
    Location
    raphseller.com
    Posts
    2,441
    Reputation
    309
    Rep Power
    28
    Quote Originally Posted by Binzones View Post
    Can you help me where is the error?
    Phono in link below.

    Thx

    Attachment 9861
    Use @mistgun's version above. Also, please don't quote the main post.

  2. #82
    Free User
    Join Date
    Sep 2014
    Posts
    6
    Reputation
    10
    Rep Power
    0
    Hello, i need to attack exori while Draken Spellweaver goes invisible. Can anyone help me?

    This does not work to me:

    init start
    -- local SCRIPT_VERSION = '1.1.2'

    local invisCreatures = {'Draken Spellweaver'}
    local stuckTime = 0 -- Set to 0 to always attack
    local minDmgTaken = 0 -- 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 then
    foreach newmessage m do
    if m.type == MSG_STATUSLOG then
    local dmg, _, name = m.content:match(REGEX_DMG_TAKEN)
    dmg = tonumber(dmg)

    if dmg >= minDmgTaken and 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

  3. #83
    Free User
    Join Date
    Sep 2014
    Posts
    6
    Reputation
    10
    Rep Power
    0
    bumppp

  4. #84
    Free User Zaru's Avatar
    Join Date
    Oct 2014
    Location
    Minas Gerais, Brasil.
    Posts
    13
    Reputation
    10
    Rep Power
    0
    Quote Originally Posted by Popee View Post
    bumppp
    This works for me, look:

     

    init start
    -- local SCRIPT_VERSION = '1.1.2'

    local invisCreatures = {'Stalker'}
    local stuckTime = 0 -- Set to 0 to always attack
    local minDmgTaken = 0 -- 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 then
    foreach newmessage m do
    if m.type == MSG_STATUSLOG then
    local dmg, _, name = m.content:match(REGEX_DMG_TAKEN)
    dmg = tonumber(dmg)

    if dmg and dmg >= minDmgTaken and 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


  5. #85
    Free User
    Join Date
    Sep 2014
    Posts
    6
    Reputation
    10
    Rep Power
    0
    not working
    Last edited by Popee; 04-05-2016 at 05:17 PM.

  6. #86
    Free User
    Join Date
    Dec 2015
    Posts
    7
    Reputation
    10
    Rep Power
    0
    I copied of mistgun and it works.... well not really. You see, the character can't really shoot gfb while running into a stalker at the same time. So... Is it possible to make the character stand still for a second, then cast the rune, and then continue walking?

  7. #87
    Free User
    Join Date
    May 2014
    Posts
    40
    Reputation
    10
    Rep Power
    0
    How can do it for if guy on screen dont throw it?
    Cuz it make me rs on 3 chars xD

  8. #88
    Free User
    Join Date
    Oct 2015
    Posts
    46
    Reputation
    10
    Rep Power
    0
    error in Persistent script NewPersistentScript:
    [" if dmg >= minDmgTak..."]:NewPersistentScript:25 attempt to compare number with nil

    Please help.

    edit: I can't copy more.. there is no more text in error msg.

    edit : Zaru script solved the problem.
    Last edited by nargan; 05-21-2016 at 04:05 PM.

  9. #89
    Free User
    Join Date
    Apr 2016
    Posts
    41
    Reputation
    10
    Rep Power
    0
    Im hunting on Souleater and I cant get it to work..
    Ive tried Raphaels and Mistgun, none is working properly. I have all ENABLED in options -> console, still not working.

    It attacks Souleater then it goes invis and it tries to "move on" but it just runs into it. Like 10 times, looks like he is stuttering, but doesnt attack. I have set to "0" always attack, still nothing.
    I just want it "when stuck = do GFB on self" and problem solved..

    Anyone that could help me, would really appreciate it?

  10. #90
    Free User
    Join Date
    May 2016
    Posts
    2
    Reputation
    10
    Rep Power
    0
    Quote Originally Posted by fuji View Post
    I copied of mistgun and it works.... well not really. You see, the character can't really shoot gfb while running into a stalker at the same time. So... Is it possible to make the character stand still for a second, then cast the rune, and then continue walking?
    Did you find a way to solve this im in the same boat as you.

 

 

Posting Permissions

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