Results 1 to 6 of 6

Thread: AOE and Stalker Avalanche

  1. #1
    iBot User
    Join Date
    Mar 2013
    Posts
    54
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    6 Post(s)
    Reputation
    10
    Rep Power
    4

    AOE and Stalker Avalanche

    Hello guys,

    i need a help with this script:

    if pvpServer and maround(4, unpack(creaturesToHit)) >= aoeCount and paround(7) == 0 then useitemon(nameRune, posx, posy, posz)
    elseif not pvpServer and maround(4, unpack(creaturesToHit)) >= aoeCount then useitemon(nameRune, posx, posy, posz) end
    and

    local serverlog_lines = getnewmessages("Server Log")
    local serverlog_q = serverlog_lines.count - 1

    for i = 0, serverlog_q do
    if (serverlog_lines[serverlog_q - i].text:find("due to an attack by a stalker.")) and paround(7) == 0 and maround(3,false,"Stalker") == 0 then
    useitemon(nameRune, posx, posy, posz)
    end
    end
    The scripts use avalanche with MOUSE and it almost killed my chars more than 1000 times hahaha... I need some help to edit the script to use the runes with hotkey.

    Thanks!

  2. #2
    Moderator Drakke's Avatar
    Join Date
    Jun 2012
    Location
    Sweden
    Posts
    1,898
    Mentioned
    216 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    390 Post(s)
    Reputation
    366
    Rep Power
    10
    Lua Code:
     
    local avahotkey = 'F8' --Hotkey for avas(use on yourself)
     
    if pvpServer and maround(4, unpack(creaturesToHit)) >= aoeCount and paround(7) == 0 then
    usehotkey(avahotkey)
    elseif not pvpServer and maround(4, unpack(creaturesToHit)) >= aoeCount then
    usehotkey(avahotkey)
    end


    Lua Code:
     
    local avahotkey = 'F8' --Hotkey for avas(use on yourself)
     
    local serverlog_lines = getnewmessages("Server Log") 
    local serverlog_q = serverlog_lines.count - 1 
     
    for i = 0, serverlog_q do 
    if (serverlog_lines[serverlog_q - i].text:find("due to an attack by a stalker.")) and paround(7) == 0 and maround(3,false,"Stalker") == 0 then 
    usehotkey(avahotkey)
    end 
    end

  3. #3
    Moderator Drakke's Avatar
    Join Date
    Jun 2012
    Location
    Sweden
    Posts
    1,898
    Mentioned
    216 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    390 Post(s)
    Reputation
    366
    Rep Power
    10

  4. #4
    iBot User
    Join Date
    Mar 2013
    Posts
    54
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    6 Post(s)
    Reputation
    10
    Rep Power
    4
    thanks @Drakke

  5. #5
    iBot User
    Join Date
    Feb 2012
    Posts
    37
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    10 Post(s)
    Reputation
    10
    Rep Power
    5
    Quote Originally Posted by Drakke View Post
    Lua Code:
     
    local avahotkey = 'F8' --Hotkey for avas(use on yourself)
     
    if pvpServer and maround(4, unpack(creaturesToHit)) >= aoeCount and paround(7) == 0 then
    usehotkey(avahotkey)
    elseif not pvpServer and maround(4, unpack(creaturesToHit)) >= aoeCount then
    usehotkey(avahotkey)
    end


    Lua Code:
     
    local avahotkey = 'F8' --Hotkey for avas(use on yourself)
     
    local serverlog_lines = getnewmessages("Server Log") 
    local serverlog_q = serverlog_lines.count - 1 
     
    for i = 0, serverlog_q do 
    if (serverlog_lines[serverlog_q - i].text:find("due to an attack by a stalker.")) and paround(7) == 0 and maround(3,false,"Stalker") == 0 then 
    usehotkey(avahotkey)
    end 
    end

    02:14:13 : Action Stalker : [string "--[[
    ..."]:461: bad argument #1 to 'unpack' (table expected, got nil)
    Scripter,
    and Tester.


    Atenciosamente,
    Ataulpho



    Scripts? Look here


  6. #6
    iBot User
    Join Date
    Jan 2016
    Posts
    57
    Mentioned
    8 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    14 Post(s)
    Reputation
    10
    Rep Power
    1
    Essa script do stalker, taca avalanche apenas quando ele estiver invisivel ? Preciso de uma que so use a runa quando o monstro ficar invisivel

Tags for this Thread

Posting Permissions

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