Results 1 to 5 of 5

Thread: Need little help - stalkers

  1. #1
    iBot User
    Join Date
    Jun 2012
    Posts
    517
    Mentioned
    11 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    4 Post(s)
    Reputation
    132
    Rep Power
    7

    Need little help - stalkers

    I've go a hotkey to use gfb on not visible stalkers, but sometimes hotkey spam gfb 3 times per turn. How to change the code to use only 1 gfb for (example) 10 hits by stalker?
    PHP Code:
    local msgs getnewmessages("Server Log")
    local qtd msgs.count-1


    for for i=0,qtd do 
        if 
    msgs[qtd].text:find("to an attack by a stalker.") and maround(8,"stalker") == and paround(10true) == 0 then
    settargeting
    ('off'
    pausewalking(2500)
                  if 
    target.id ~= 0 then stopattack() System.Wait(Self.CoolDown(SPELL_GROUP_ATTACK))
    else
    pausewalking(2000)
        
    local msgs getnewmessages("Server Log")
           
    usehotkey("F12")
           
    System.Wait(Self.CoolDown(SPELL_GROUP_ATTACK))            
                   
    end
           end
    end
    settargeting
    ('on'

  2. #2
    Normal User Tswift's Avatar
    Join Date
    Aug 2012
    Location
    USA
    Posts
    114
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    13
    Rep Power
    5
    Maybe try a wait(). For example, this should wait 10 seconds between gfb shots:

    Code:
    local msgs = getnewmessages("Server Log")
    local qtd = msgs.count-1
    
    
    for for i=0,qtd do 
        if msgs[qtd].text:find("to an attack by a stalker.") and maround(8,"stalker") == 0 and paround(10, true) == 0 then
    settargeting('off') 
    pausewalking(2500)
                  if target.id ~= 0 then stopattack() System.Wait(Self.CoolDown(SPELL_GROUP_ATTACK))
    else
    pausewalking(2000)
        local msgs = getnewmessages("Server Log")
           usehotkey("F12")
           wait(10000)
           System.Wait(Self.CoolDown(SPELL_GROUP_ATTACK))            
                   end
           end
    end
    settargeting('on')
    I'm guessing if you could take out your system.wait(...) after usehotkey() since the wait I added should wait 10 seconds and that's plenty of time to be cooled down. But I didn't test it so I just left it in for you to try.
    Last edited by Tswift; 10-20-2012 at 04:00 PM.

  3. #3
    Normal User
    Join Date
    Mar 2012
    Posts
    21
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    Quote Originally Posted by Tswift View Post
    Maybe try a wait(). For example, this should wait 10 seconds between gfb shots:

    Code:
    local msgs = getnewmessages("Server Log")
    local qtd = msgs.count-1
    
    
    for for i=0,qtd do 
        if msgs[qtd].text:find("to an attack by a stalker.") and maround(8,"stalker") == 0 and paround(10, true) == 0 then
    settargeting('off') 
    pausewalking(2500)
                  if target.id ~= 0 then stopattack() System.Wait(Self.CoolDown(SPELL_GROUP_ATTACK))
    else
    pausewalking(2000)
        local msgs = getnewmessages("Server Log")
           usehotkey("F12")
           wait(10000)
           System.Wait(Self.CoolDown(SPELL_GROUP_ATTACK))            
                   end
           end
    end
    settargeting('on')
    I'm guessing if you could take out your system.wait(...) after usehotkey() since the wait I added should wait 10 seconds and that's plenty of time to be cooled down. But I didn't test it so I just left it in for you to try.
    if safe? with player on screen?

  4. #4
    iBot User
    Join Date
    Jun 2012
    Posts
    517
    Mentioned
    11 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    4 Post(s)
    Reputation
    132
    Rep Power
    7
    Yes but don't working 100%. Bot spam hotkey as many times as stalker hit your character. I need help with hotkey to shoot this gfb 1 time for an example, 10 hits by not visible stalker.

  5. #5
    Normal User
    Join Date
    Oct 2012
    Posts
    9
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    Is this works?

Posting Permissions

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