Page 1 of 3 123 LastLast
Results 1 to 10 of 24

Thread: Annihilator on MC with 4 ek - need help with hotkey

  1. #1
    Focus Group kamil123's Avatar
    Join Date
    Apr 2012
    Location
    Poland
    Posts
    340
    Mentioned
    15 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    18 Post(s)
    Reputation
    106
    Rep Power
    6

    Annihilator on MC with 4 ek - need help with hotkey

    I'm going to make annihilator quest on 4 EK at the same time, so i need hotkey to shoot icicle on target if MY hp is above 70%

    like
    while hppc > 70 do
    shoot icicle runes on target
    end

    i would use targeting but there's no option with my HP range, so it could get exhaused with health potions.

    ps. I tried

    while hppc > 70 do
    useitemontarget(3158, "Demon")
    end



    but it shoots icicle all the time, even if target is not marked on battle and it doesn't use hotkeys.

  2. #2
    Normal User Healer Dark's Avatar
    Join Date
    Jul 2012
    Posts
    141
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    15
    Rep Power
    5
    PHP Code:
    while hppc 70 and target.name == "Demon" do
       
    useitemontarget(3158,"Demon")
       
    wait(300)
         if 
    hppc <= 70 or target.id == 0 then
         
    break
         
    end
    end 
    you need attack Demon with hand, or use pathfindings to char ignore demons /\ and \/ and attack only Demons >.

    Maybe other action...

    PHP Code:
    local posix = -- Position X demon
    local posiy 
    = -- Position Y demon

    while iscreatureontile(posix,posiy,posz) and hppc 70 do
    useitemon(3158,posix,posiy,posz)
    wait(300)
      if 
    not iscreatureontile(posix,posiy,posz) or hppc <= 70 then
      
    break
      
    end
    end 
    Note 1: note that the second action it should always attack the first demon, so if using it when the first demon dies, let the second demon walk west <

    Note 2: test the actions in other creatures before going to do it
    ~~~~~~~~~~~~~~~~~~~~~~~~
    Healer Dark
    ~~~~~~~~~~~~~~~~~~~~~~~~

  3. #3
    Focus Group kamil123's Avatar
    Join Date
    Apr 2012
    Location
    Poland
    Posts
    340
    Mentioned
    15 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    18 Post(s)
    Reputation
    106
    Rep Power
    6
    i won't use special areas, my tactis is:
    first ek blocker - using SSA + might rings, attacking demons with exori / gran / min
    2,3,4 ek - using garlic necklaces + might rings, attacking demons with icicles


    for first ek i'll set in targeting to attack demon and the prioritaire will be proximity set to max, so it will be attacking only demon near him.

    for 2,3,4 ek i'll set in targeting to attack demon and the prioritaire will be health% set to max. they will be attacking demon on the right, cause first ek will do most damage and demons >>> will always have less hp than up and down.


    so i will just need this hotkey for icicle, i will try yours in a moment

  4. #4
    Normal User Healer Dark's Avatar
    Join Date
    Jul 2012
    Posts
    141
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    15
    Rep Power
    5
    how will you prioritize life for the other 3, use the first action, I believe that it works smoothly
    ~~~~~~~~~~~~~~~~~~~~~~~~
    Healer Dark
    ~~~~~~~~~~~~~~~~~~~~~~~~

  5. #5
    Focus Group MoS's Avatar
    Join Date
    Feb 2012
    Posts
    832
    Mentioned
    15 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    63 Post(s)
    Reputation
    77
    Rep Power
    6
    u should use magma amulet instead of garlick necklace.... fire atks are much more comon then the "energy" beam (life drain)

    if u do it, post a video of it, im curious haha
    Ajudei você? ...............+REP
    -----------------------------------------
    Did I help you? ..........+REP

  6. #6
    Focus Group kamil123's Avatar
    Join Date
    Apr 2012
    Location
    Poland
    Posts
    340
    Mentioned
    15 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    18 Post(s)
    Reputation
    106
    Rep Power
    6
    while hppc > 70 and target.name == "Demon" do
    useitemontarget(3158,"Demon")
    wait(300)
    if hppc <= 70 or target.id == 0 then
    break
    end
    end

    now it attacks with hotkey, but it also attacks when i have less than 70% hp


    If I start this hotkey when I have <70hppc then it doesn't shoot. but if I heal above 70% then it starts shooting, but when my hp goes below 70% again then it keep shooting instead of stopping

    @edit
    i did it more simply and it works xd
    if (hppc > 70 and (target.name == "Demon")) then
    useitemontarget(3158, "Demon")
    wait(300)
    end


    @up
    i dont have any program to record. also I did it once but I had 200rp in team, so I just did it with first ek and RP. the other 2 eks were just standing still
    Last edited by kamil123; 05-23-2013 at 01:13 PM.

  7. #7
    Normal User Healer Dark's Avatar
    Join Date
    Jul 2012
    Posts
    141
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    15
    Rep Power
    5
    I always use the "break" in my actions while in iBot, why sometimes the bug and even while the condition is true, it is an infinite loop ;s
    ~~~~~~~~~~~~~~~~~~~~~~~~
    Healer Dark
    ~~~~~~~~~~~~~~~~~~~~~~~~

  8. #8
    Focus Group kamil123's Avatar
    Join Date
    Apr 2012
    Location
    Poland
    Posts
    340
    Mentioned
    15 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    18 Post(s)
    Reputation
    106
    Rep Power
    6
    okay, let the bodies hit the floor!


  9. #9
    Focus Group kamil123's Avatar
    Join Date
    Apr 2012
    Location
    Poland
    Posts
    340
    Mentioned
    15 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    18 Post(s)
    Reputation
    106
    Rep Power
    6
    I kinda failed, dunno why, but bot started attacking wrong demon and killed it with icicle XD

    anyway i got what i wanted.


    http://i.imgur.com/5qrLyd1.jpg


    http://i.imgur.com/5MiHuxd.jpg


    http://i.imgur.com/6xfThrB.jpg


    http://i.imgur.com/HU6YoJ4.jpg


    http://i.imgur.com/pOBSne3.jpg
    Last edited by kamil123; 05-23-2013 at 02:42 PM.

  10. #10
    iBot User
    Join Date
    Aug 2012
    Posts
    805
    Mentioned
    18 Post(s)
    Tagged
    2 Thread(s)
    Quoted
    38 Post(s)
    Reputation
    180
    Rep Power
    7
    gratz !

    what lvls of em ?

Posting Permissions

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