Everyone who has never used our Bots before, can test each one for 2 days without any limitation.
The trial is given automatically when you login on the Bot, but in some cases it wouldn't work (security reasons).
If this happens, send me a private message and i will be checking the failed trials manually and adding it for those who didn't get it.
We are looking for resellers who may accept payment methods different from ours, including classictibia's cash, realesta's cash, mastercores' cash, etc. Interested? Click here at anytime.



Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ring equiper low hp
#1
is there any script what i can use with custom rings when low hp put utamo ring and above health % attack ring?
Reply

#2
Hello.

Please, always search before placing a request.
|Only Registered members can see download links. | Click here to buy subscription or here to register.
Reply

#3
|Only Registered members can see download links. | Click here to buy subscription or here to register.
hi sorry im new on this forum, where do i need to put this text what u sended to me?
Reply

#4
|Only Registered members can see download links. | Click here to buy subscription or here to register.
Hello.

That depends on you, Bot has different tools that can run LUA scripts but works in different ways.
Cavebot -> Action will only run the script when you go on that waypoint.
Persistents automatically runs the script from time to time.
Hotkeys -> LUA Script runs the script when you press the hotkey you bind.

I think the best case for you is Persistents, so it will keep checking it from time to time (e.g.: every 1s) and automatically change rings without you trigger anything, except enable the persistent.
Reply

#5
Ty for answer, i using the script but he only puts the utamo ring on when hp lower than 40% and not putting the protection ring back on when its hp % is above 80% i use this now i changed some IDS
local LOW_RING_EQUIPPED_ID = 3005
local LOW_RING_UNEQUIPPED_ID = 3005
local LOW_RING_HPPC = 60 -- If hppc LOWER than this value then equip ring above.

local HIGH_RING_EQUIPPED_ID = 5488
local HIGH_RING_UNEQUIPPED_ID = 5488
local HIGH_RING_HPPC = 80 -- If hppc HIGHER than this value then equip ring above.


local ring_item = finger()
local value = hppc()
if value <= LOW_RING_HPPC and (ring_item.id == 5484 or ring_item.id ~= LOW_RING_EQUIPPED_ID) then
moveitems(LOW_RING_UNEQUIPPED_ID, 'finger', '')
wait(500, 800)
elseif value >= HIGH_RING_HPPC and (ring_item.id == 5488 or ring_item.id ~= HIGH_RING_EQUIPPED_ID) then
moveitems(HIGH_RING_UNEQUIPPED_ID, 'finger', '')
wait(500, 800)
end
Reply

#6
Hello.

The script works fine if you setup the ids properly. Notice the rings may have different ids while equipped and not equipped, so make sure that's not the case.

You just need to edit setup variables:
local LOW_RING_EQUIPPED_ID = 3005
local LOW_RING_UNEQUIPPED_ID = 3005
local LOW_RING_HPPC = 60 -- If hppc LOWER than this value then equip ring above.

local HIGH_RING_EQUIPPED_ID = 5488
local HIGH_RING_UNEQUIPPED_ID = 5488
local HIGH_RING_HPPC = 80 -- If hppc HIGHER than this value then equip ring above.

You must not the if/elseif conditions, which you did:
elseif value >= HIGH_RING_HPPC and (ring_item.id == 5488 or ring_item.id ~= HIGH_RING_EQUIPPED_ID) then
Reply



Forum Jump:



Forum software by © MyBB Theme © iAndrew 2016