Results 1 to 6 of 6

Thread: Question about kill stalkers with GFB

  1. #1
    Normal User kertkertsson's Avatar
    Join Date
    Jun 2012
    Posts
    32
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    20
    Rep Power
    5

    Question about kill stalkers with GFB

    Hello, im playing on a previewserver. And with the new PVP-stance i cant GFB on my self. So how the f... are i suposed to kill stalkers with bot then?

    Anyone know?

    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() == 0 and maround(3,false,"Stalker") == 0 then
    usehotkey("F12") -- hotkey with gfb use on urself
    end
    end

  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
    [ilua]usehotkey("F12")[/ilua]to [ilua]useitemon("great fireball rune",posx,posy,posz)[/ilua]
    Last edited by soder; 04-03-2013 at 08:45 PM.

  3. #3
    Normal User kertkertsson's Avatar
    Join Date
    Jun 2012
    Posts
    32
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    20
    Rep Power
    5
    Quote Originally Posted by soder View Post
    @up no
    [ilua]usehotkey("F12")[/ilua]to [ilua]useitemon("great fireball rune",posx,posy,posz)[/ilua]
    Going to try it out! Thx

  4. #4
    Normal User kertkertsson's Avatar
    Join Date
    Jun 2012
    Posts
    32
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    20
    Rep Power
    5
    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() == 0 and maround(3,false,"Stalker") == 0 then
    useitemon("great fireball rune",posx,posy,posz) -- hotkey with gfb use on urself
    end
    end
    Did not work!

  5. #5
    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
    PHP Code:
    Self.UseItemOnGround("great fireball rune"posxposyposz
    Sirmate's lib required.

  6. #6
    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
    Quote Originally Posted by garkstal13 View Post
    PHP Code:
    Self.UseItemOnGround("great fireball rune"posxposyposz
    Sirmate's lib required.
    It's the same as I posted [ilua]return _useitemon(ITEM_ID, POSITION_X, POSITION_Y, POSITION_Z)[/ilua]

Posting Permissions

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