Results 1 to 10 of 10

Thread: Advanced ring changer

  1. #1
    iBot User
    Join Date
    Aug 2012
    Posts
    58
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    4 Post(s)
    Reputation
    10
    Rep Power
    5

    Advanced ring changer

    Hi, im looking for advanced life ring changer, i found 1 script but its not working well.
    I need action to equip life ring if for example 30% of mana and unequip it at 80%

  2. #2
    Premium User Norkk's Avatar
    Join Date
    Jan 2013
    Location
    BH - MG - Brazil
    Posts
    1,167
    Mentioned
    78 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    207 Post(s)
    Reputation
    135
    Rep Power
    7
    The newest ibot plus version will work pretty well with new equip tibia function.
    First of all put the ring that you want on your Hotkey, set it as Equip, then you con try something like

    Lua Code:
     
    if mppc < 80 then
       moveitems("life ring","all","ring",1)
    else
       moveitems("life ring","ring", RingBP,1)
    end


    ps: Not tested yet
    My Scripts - Norkk Free Scripts
    New Project - Norkk Project

    EK 208 sold to @yhuel

  3. #3
    iBot User
    Join Date
    Aug 2012
    Posts
    58
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    4 Post(s)
    Reputation
    10
    Rep Power
    5
    Thanks, I will check it when ibot+ download link will be fixed

  4. #4
    Premium User Norkk's Avatar
    Join Date
    Jan 2013
    Location
    BH - MG - Brazil
    Posts
    1,167
    Mentioned
    78 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    207 Post(s)
    Reputation
    135
    Rep Power
    7
    Quote Originally Posted by chopaszek View Post
    Thanks, I will check it when ibot+ download link will be fixed
    The link already fixed bro, check it here http://www.tibiaibot.com/forum/showt...910#post463910
    My Scripts - Norkk Free Scripts
    New Project - Norkk Project

    EK 208 sold to @yhuel

  5. #5
    iBot User
    Join Date
    Aug 2012
    Posts
    58
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    4 Post(s)
    Reputation
    10
    Rep Power
    5
    k tried it and it equip ring but its not unequiping it

  6. #6
    iScripter Eli's Avatar
    Join Date
    Mar 2012
    Posts
    3,764
    Mentioned
    492 Post(s)
    Tagged
    2 Thread(s)
    Quoted
    956 Post(s)
    Reputation
    586
    Rep Power
    10
    Quote Originally Posted by chopaszek View Post
    k tried it and it equip ring but its not unequiping it
    local RingBP = "Backpack Name" -- backpack name to unequip

    if mppc < 80 then
    moveitems("life ring","all","ring",1)
    else
    moveitems("life ring","ring", RingBP,1)
    end

  7. #7
    iBot User
    Join Date
    Jul 2012
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    2 Post(s)
    Reputation
    10
    Rep Power
    5
    Quote Originally Posted by Eli View Post
    local RingBP = "Backpack Name" -- backpack name to unequip

    if mppc < 80 then
    moveitems("life ring","all","ring",1)
    else
    moveitems("life ring","ring", RingBP,1)
    end
    the script is working, but..
    if i have 2 rings in bp, or even second ring in other bp, script is switching between both rings ever and ever..

    u need to add something like this: "equip ring ONLY if no ring in ring slot, and unequip ONLY if ring in ring slot"

    i d like to do it myself, but i dont know how to test if ring weared

    Peace

  8. #8
    Focus Group bofing's Avatar
    Join Date
    Jun 2012
    Location
    Poland
    Posts
    664
    Mentioned
    18 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    52 Post(s)
    Reputation
    95
    Rep Power
    6
    Quote Originally Posted by sasiad252 View Post
    the script is working, but..
    if i have 2 rings in bp, or even second ring in other bp, script is switching between both rings ever and ever..

    u need to add something like this: "equip ring ONLY if no ring in ring slot, and unequip ONLY if ring in ring slot"

    i d like to do it myself, but i dont know how to test if ring weared

    Peace
    Lua Code:
    local ringbp = "Green Backpack" -- backpack name to unequip ring
    local ringoff = 80 -- % of mana on which you want to put ring off
    local ringon = 30 -- % of mana on which you want to put ring on
     
    if mppc >= ringoff and ring == 3089 then
    moveitems(3089,"ring", ringbp,1)
    elseif mppc <= ringon and ring ~= 3089 then
    moveitems("life ring","all","ring",1)
    end



    if you want to check id of item in ring slot you can use default HUD called "MouseInfo", put your mouse cursor on item and it's id will appear on HUD
    Last edited by Furieri; 06-07-2015 at 09:32 PM.

  9. #9
    iBot User
    Join Date
    Jul 2012
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    2 Post(s)
    Reputation
    10
    Rep Power
    5
    Item id was not a problem, i just didn't know how to ask "ring slot", and i see now it's just "ring"..amazing, thx a lot, bro i'll test it morning.
    Do You know meaby how to "ask" other EQ slots? Boots slot is just "boots", and amulet slot "amulet"? How is it with other slots? (ammo slot, shield slot, helmet slot, weapon, legs and others?

    Peace

  10. #10
    Focus Group bofing's Avatar
    Join Date
    Jun 2012
    Location
    Poland
    Posts
    664
    Mentioned
    18 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    52 Post(s)
    Reputation
    95
    Rep Power
    6
    Quote Originally Posted by sasiad252 View Post
    Item id was not a problem, i just didn't know how to ask "ring slot", and i see now it's just "ring"..amazing, thx a lot, bro i'll test it morning.
    Do You know meaby how to "ask" other EQ slots? Boots slot is just "boots", and amulet slot "amulet"? How is it with other slots? (ammo slot, shield slot, helmet slot, weapon, legs and others?

    Peace
    It's simply "helmet", "legs", "shield" etc. Check Equipment Information here:
    http://www.tibiaibot.com/forum/showt...-and-Functions

Posting Permissions

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