Results 1 to 8 of 8

Thread: Shoot Stoneshower On Warlock

  1. #1
    Normal User
    Join Date
    May 2012
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5

    Shoot Stoneshower On Warlock

    On neo there was a hotkey that shot a stoneshower rune on a warlock's previous known position if it disappeared. Is it possible yet to make the same action for ibot?

  2. #2
    Normal User
    Join Date
    Jun 2012
    Location
    Sweden
    Posts
    1,671
    Mentioned
    18 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    8 Post(s)
    Reputation
    132
    Rep Power
    9
    Test this
    PHP Code:
    POSXPOSYPOSZ POSX or target.posxPOSY or target.posyPOSZ or target.posz
    NAME 
    NAME or target.name

    if (target.id 0then
        POSX
    POSYPOSZ target.posxtarget.posytarget.posz
        NAME 
    target.name
    end
    if (target.id == 0) and (itemcount("stone shower rune") > 0) and (NAME == "Warlock"then
        useitemon
    ("stone shower rune",POSXPOSYPOSZ)
    end 
    Last edited by soder; 11-24-2012 at 01:57 PM.

  3. #3
    Normal User
    Join Date
    May 2012
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    Thanks, but it doesn't work =/

    Idk if there's anyway for the bot to detect a warlock's self healing (the sparkles when it's invis) or when it walks on fire (it makes sparks on the fire), but that could also be used as a guide for where to shoot the rune if the bot can detect that somehow. I tried a hud with a cursor id but it never changed from the id of the original tile when the warlock walked on it.

  4. #4
    Normal User
    Join Date
    Jun 2012
    Location
    Sweden
    Posts
    1,671
    Mentioned
    18 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    8 Post(s)
    Reputation
    132
    Rep Power
    9
    Try again with the script above, fixed a typo in the code.

    And no, there is no function to detect such things.
    Last edited by soder; 11-23-2012 at 05:11 AM.

  5. #5
    Normal User
    Join Date
    May 2012
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    I had to change one thing to your second script, and it ended up working wonderfully! I guess stoneshower is actually stone shower lol. Thanks for the help!

    Code:
    POSX, POSY, POSZ = POSX or target.posx, POSY or target.posy, POSZ or target.posz
    NAME = NAME or target.name
    
    if (target.id > 0) then
        POSX, POSY, POSZ = target.posx, target.posy, target.posz
        NAME = target.name
    end
    if (target.id == 0) and (itemcount("stone shower rune") > 0) and (NAME == "Warlock") then
        useitemon("stone shower rune",POSX, POSY, POSZ)
    end

  6. #6
    iBot User
    Join Date
    Aug 2012
    Posts
    58
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    4 Post(s)
    Reputation
    10
    Rep Power
    5
    and how to make it pvp safe?;s

  7. #7
    iBot User
    Join Date
    Mar 2013
    Posts
    35
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    23 Post(s)
    Reputation
    10
    Rep Power
    4
    is that possible to make it shoot only one time after he appear again? cuz' if u try this script he will stay shooting stone shower on that sqm.
    Quote Originally Posted by Norml View Post
    I had to change one thing to your second script, and it ended up working wonderfully! I guess stoneshower is actually stone shower lol. Thanks for the help!

    Code:
    POSX, POSY, POSZ = POSX or target.posx, POSY or target.posy, POSZ or target.posz
    NAME = NAME or target.name
    
    if (target.id > 0) then
        POSX, POSY, POSZ = target.posx, target.posy, target.posz
        NAME = target.name
    end
    if (target.id == 0) and (itemcount("stone shower rune") > 0) and (NAME == "Warlock") then
        useitemon("stone shower rune",POSX, POSY, POSZ)
    end

  8. #8
    iBot User
    Join Date
    Mar 2013
    Posts
    35
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    23 Post(s)
    Reputation
    10
    Rep Power
    4
    Hi there, I'm still looking for help on that script, if anyone can help me... ^^ TAHNKS !!!


    Quote Originally Posted by Norml View Post
    is that possible to make it shoot only one time after he appear again? cuz' if u try this script he will stay shooting stone shower on that sqm even if creature is already dead.

    Code:
    POSX, POSY, POSZ = POSX or target.posx, POSY or target.posy, POSZ or target.posz
    NAME = NAME or target.name
    
    if (target.id > 0) then
        POSX, POSY, POSZ = target.posx, target.posy, target.posz
        NAME = target.name
    end
    if (target.id == 0) and (itemcount("stone shower rune") > 0) and (NAME == "Warlock") then
        useitemon("stone shower rune",POSX, POSY, POSZ)
    end

Posting Permissions

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