Signup Now
Page 26 of 65 FirstFirst ... 16242526272836 ... LastLast
Results 251 to 260 of 647
  1. #251
    Free User
    Join Date
    Feb 2014
    Posts
    17
    Reputation
    10
    Rep Power
    0
    Help me?
    i want one lua who XLOG when low helth and low potions ...

    EXEMPLE: ppl try kill me afk, so i want EXIT TIBIA if pk attack!

  2. #252
    Free User TibiaDealer's Avatar
    Join Date
    Dec 2013
    Location
    Tibia-Dealer.com
    Posts
    391
    Reputation
    9
    Rep Power
    0
    Quote Originally Posted by VitorGoulart View Post
    Help me?
    i want one lua who XLOG when low helth and low potions ...

    EXEMPLE: ppl try kill me afk, so i want EXIT TIBIA if pk attack!
    you won't logout just because you xlog, you know? not under player attack.

  3. #253
    Free User
    Join Date
    Feb 2014
    Posts
    17
    Reputation
    10
    Rep Power
    0
    Quote Originally Posted by TibiaDealer View Post
    you won't logout just because you xlog, you know? not under player attack.
    Let me explain what is happening so can help me!
    I let the bot 100% afk when I'm working, so me and my players wasting me die by low lv!
    Last edited by VitorGoulart; 03-01-2014 at 10:49 PM.

  4. #254
    Moderator Raphael's Avatar
    Join Date
    Dec 2013
    Location
    raphseller.com
    Posts
    2,437
    Reputation
    309
    Rep Power
    31
    Quote Originally Posted by VitorGoulart View Post
    Help me?
    i want one lua who XLOG when low helth and low potions ...

    EXEMPLE: ppl try kill me afk, so i want EXIT TIBIA if pk attack!
    init start
    local minHPPC = 50 -- Minimum HPPC to leave cave
    local minPots = 10 -- Minimum amount of potions to leave cave
    local potion = 'mana potion' -- Name/ID of potion

    -- DO NOT EDIT BELOW THIS LINE --
    potion = itemid(potion)
    init end

    auto(100)
    if $connected and $hppc < minHPPC and itemcount(potion) < minPots then
    xlog()
    waitping()
    end

  5. #255
    Free User
    Join Date
    Feb 2014
    Posts
    17
    Reputation
    10
    Rep Power
    0
    Quote Originally Posted by Raphael View Post
    init start
    local minHPPC = 50 -- Minimum HPPC to leave cave
    local minPots = 10 -- Minimum amount of potions to leave cave
    local potion = 'mana potion' -- Name/ID of potion

    -- DO NOT EDIT BELOW THIS LINE --
    potion = itemid(potion)
    init end

    auto(100)
    if $connected and $hppc < minHPPC and itemcount(potion) < minPots then
    xlog()
    waitping()
    end

    Is not exactly this, however I will test

  6. #256
    Moderator Raphael's Avatar
    Join Date
    Dec 2013
    Location
    raphseller.com
    Posts
    2,437
    Reputation
    309
    Rep Power
    31
    Quote Originally Posted by VitorGoulart View Post
    Is not exactly this, however I will test
    That's what you asked for. The difference is it doesn't close the client (there's no need to), it closes the connection.

  7. #257
    Free User
    Join Date
    Feb 2014
    Posts
    17
    Reputation
    10
    Rep Power
    0
    Quote Originally Posted by Raphael View Post
    That's what you asked for. The difference is it doesn't close the client (there's no need to), it closes the connection.
    Let me explain what is happening so can help me!
    I let the bot 100% afk when I'm working, so other players wasting me and make me die by NB char .. i need get Exit on certain life/potions.. if have SKULLED PLAYERS ATTACKING ME !!!

  8. #258
    Moderator Raphael's Avatar
    Join Date
    Dec 2013
    Location
    raphseller.com
    Posts
    2,437
    Reputation
    309
    Rep Power
    31
    Quote Originally Posted by VitorGoulart View Post
    Let me explain what is happening so can help me!
    I let the bot 100% afk when I'm working, so other players wasting me and make me die by NB char .. i need get Exit on certain life/potions.. if have SKULLED PLAYERS ATTACKING ME !!!
    Yes, I get that.
    That's exactly what the script does.

  9. #259
    Free User
    Join Date
    Feb 2014
    Posts
    17
    Reputation
    10
    Rep Power
    0
    Quote Originally Posted by Raphael View Post
    Yes, I get that.
    That's exactly what the script does.
    Script dont run ... i try but he don't XLOG ..
    Had 24 GREAT and don't exit Client !!!

    init start
    local minHPPC = 30 -- Minimum HPPC to leave cave
    local minPots = 10 -- Minimum amount of potions to leave cave
    local potion = 'great health potion' -- Name/ID of potion

    -- DO NOT EDIT BELOW THIS LINE --
    potion = itemid(potion)
    init end

    auto(100)
    if $connected and $hppc < minHPPC and itemcount(potion) < minPots then
    xlog()
    waitping()
    end

  10. #260
    Moderator Raphael's Avatar
    Join Date
    Dec 2013
    Location
    raphseller.com
    Posts
    2,437
    Reputation
    309
    Rep Power
    31
    Quote Originally Posted by VitorGoulart View Post
    Script dont run ... i try but he don't XLOG ..
    Had 24 GREAT and don't exit Client !!!

    init start
    local minHPPC = 30 -- Minimum HPPC to leave cave
    local minPots = 10 -- Minimum amount of potions to leave cave
    local potion = 'great health potion' -- Name/ID of potion

    -- DO NOT EDIT BELOW THIS LINE --
    potion = itemid(potion)
    init end

    auto(100)
    if $connected and $hppc < minHPPC and itemcount(potion) < minPots then
    xlog()
    waitping()
    end
    You had 24 and set it to xlog with less than 10.
    I believe it is of common understanding that 24 is not less than 10, therefore it shouldn't xlog.

 

 

Posting Permissions

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