Results 1 to 6 of 6

Thread: i need an action to exiva a player and logout if he's coming

  1. #1
    Normal User
    Join Date
    Apr 2013
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    16
    Rep Power
    4

    i need an action to exiva a player and logout if he's coming

    Like the title says i need an action to exiva a player every certain time and close tibia or xlog when no monsters around, im currently botting at carlin coryms so im sure it will take a while for this guy who has been constantly pking me to get to me, so if i exiva him every minute and i receive a message of him being anything but very far to the north, south, east or west...check if there are monsters around and xlog or close tibia...
    i have an action to do this if this player is online but i think it is a waste of botting time if this player is not coming for me...so it will be better to do what i described above

    i think there might be a lot of people who will find this useful
    Last edited by psyshooter; 05-05-2014 at 07:49 PM.

  2. #2
    Normal User blakw's Avatar
    Join Date
    Mar 2012
    Location
    www.blakw.com
    Posts
    817
    Mentioned
    221 Post(s)
    Tagged
    2 Thread(s)
    Quoted
    345 Post(s)
    Reputation
    462
    Rep Power
    10
    Try this one:

    Lua Code:
     
    --[[
    Name: Exiva Player + Closeclient by BlakW
    Version: 1.0.0
    ]]--
     
     
    --Player to exiva:
    local playerToExiva = ("Blakw")
     
    --Exiva every X seconds:
    local exivaTimer = 60000
     
     
    --Engine--
     
    if mp >= 20 and cancast("exiva") == true
    then
        cast('exiva "' .. playerToExiva)
        wait(exivaTimer)
    end
     
    local msgs = getnewmessages("Server Log") 
    local qtd = msgs.count-1
     
    for i=0, qtd 
    do 
        if msgs[qtd].text:find(playerToExiva .. " is standing next to you.") or msgs[qtd].text:find(playerToExiva .. " is to the .+") or msgs[qtd].text:find(playerToExiva .. " is far to the .+") or msgs[qtd].text:find(playerToExiva .. " is on a lower level to the .+") or msgs[qtd].text:find(playerToExiva .. " is on a upper level to the .+")
        then
            if maround(7, false) == 0
            then
                closeclient()
            end
        end
    end


    ------------------------------------Latest Releases:------------------------------------
    Vocations:
    Darashia Lions Rock
    Oramond Seacrest Serpents X1

    For a better iBot!

    (◣_◢)

  3. #3
    iBot User
    Join Date
    Jan 2013
    Posts
    303
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    18 Post(s)
    Reputation
    19
    Rep Power
    4
    Quote Originally Posted by blakw View Post
    Try this one:

    Lua Code:
     
    --[[
    Name: Exiva Player + Closeclient by BlakW
    Version: 1.0.0
    ]]--
     
     
    --Player to exiva:
    local playerToExiva = ("Blakw")
     
    --Exiva every X seconds:
    local exivaTimer = 60000
     
     
    --Engine--
     
    if mp >= 20 and cancast("exiva") == true
    then
        cast('exiva "' .. playerToExiva)
        wait(exivaTimer)
    end
     
    local msgs = getnewmessages("Server Log") 
    local qtd = msgs.count-1
     
    for i=0, qtd 
    do 
        if msgs[qtd].text:find(playerToExiva .. " is standing next to you.") or msgs[qtd].text:find(playerToExiva .. " is to the .+") or msgs[qtd].text:find(playerToExiva .. " is far to the .+") or msgs[qtd].text:find(playerToExiva .. " is on a lower level to the .+") or msgs[qtd].text:find(playerToExiva .. " is on a upper level to the .+")
        then
            if maround(7, false) == 0
            then
                closeclient()
            end
        end
    end
    did u just made this action for him??

  4. #4
    Normal User blakw's Avatar
    Join Date
    Mar 2012
    Location
    www.blakw.com
    Posts
    817
    Mentioned
    221 Post(s)
    Tagged
    2 Thread(s)
    Quoted
    345 Post(s)
    Reputation
    462
    Rep Power
    10
    Quote Originally Posted by felipepiva View Post
    did u just made this action for him??
    Feel free to use it


    ------------------------------------Latest Releases:------------------------------------
    Vocations:
    Darashia Lions Rock
    Oramond Seacrest Serpents X1

    For a better iBot!

    (◣_◢)

  5. #5
    Normal User
    Join Date
    Apr 2013
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    16
    Rep Power
    4
    It works well, thanks blakw, and it is nice to see that more people can find it useful

  6. #6
    Normal User
    Join Date
    Apr 2013
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    16
    Rep Power
    4
    Hey @blakw now that i have it in use i was wondering if it would be posible to exiva only if the player is online by checking on the vip list or something like that, because i did not knew that even if the player is not online, you still use the 20 mana points and it will be more efficient to make it that way, dont know if it is possible but i guess you could give it a try, thanks in advance

  7. #7
    Normal User blakw's Avatar
    Join Date
    Mar 2012
    Location
    www.blakw.com
    Posts
    817
    Mentioned
    221 Post(s)
    Tagged
    2 Thread(s)
    Quoted
    345 Post(s)
    Reputation
    462
    Rep Power
    10
    Quote Originally Posted by psyshooter View Post
    Hey @blakw now that i have it in use i was wondering if it would be posible to exiva only if the player is online by checking on the vip list or something like that, because i did not knew that even if the player is not online, you still use the 20 mana points and it will be more efficient to make it that way, dont know if it is possible but i guess you could give it a try, thanks in advance
    With vip online check.

    Lua Code:
     
    --[[
    Name: Exiva Player w/Vip Check + Closeclient by BlakW
    Version: 1.0.0
    ]]--
     
     
    --Player to exiva:
    local playerToExiva = ("Blakw")
     
    --Exiva every X seconds:
    local exivaTimer = 60000
     
    --VIP name to check if online:
    local vipName = ("Blakw")
     
     
    --Engine--
     
    if mp >= 20 and cancast("exiva") == true and isviponline(vipName)
    then
        cast('exiva "' .. playerToExiva)
        wait(exivaTimer)
    end
     
    local msgs = getnewmessages("Server Log") 
    local qtd = msgs.count-1
     
    for i=0, qtd 
    do 
        if msgs[qtd].text:find(playerToExiva .. " is standing next to you.") or msgs[qtd].text:find(playerToExiva .. " is to the .+") or msgs[qtd].text:find(playerToExiva .. " is far to the .+") or msgs[qtd].text:find(playerToExiva .. " is on a lower level to the .+") or msgs[qtd].text:find(playerToExiva .. " is on a upper level to the .+")
        then
            if maround(7, false) == 0
            then
                closeclient()
            end
        end
    end


    ------------------------------------Latest Releases:------------------------------------
    Vocations:
    Darashia Lions Rock
    Oramond Seacrest Serpents X1

    For a better iBot!

    (◣_◢)

Posting Permissions

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