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
Life ring all time equip/uneqip ?
#1
Hello.
Need help with my persistent
local ring_item = finger()

if (ring_item.id == 0) then
-- if ring is uneqip and is right location equip lr
    local ring_item = finger()
    if islocation(12345,12345,6) then   
        moveitems(3052, 'finger', '')
        wait(500, 800)
    end
else
-- if lr is on and wrong location uneqip
    local ring_item = finger()
    if (ring_item.id == 3089) then     
        moveitems(3089, '0', 'finger')
        wait(500, 800)
    end
end
Script working ok, but all time un/quip life ring, why?
Ty for any help

#2
Hello.

Because your script is developed to do that. You made an "if" statement to check finger's id. If it's empty then check position and equip. If ring id is not 0 it will unequip. So basically it will equip and unequip all time.

I think this script it what you are looking for... If you specific position and ring not equipped then equip ring. If not on specific position and ring equipped then unequip it.
local ring_item = finger()

if islocationxyz(12345,12345,7, 1) then  
    if ring_item.id == 0 then
        moveitems(3052, 'finger', '')
        wait(500, 800)
    end
else
    if ring_item.id == 3089 then    
        moveitems(3089, '0', 'finger')
        wait(500, 800)
    end
end

#3
|Only Registered members can see download links. | Click here to buy subscription or here to register.
Not working for me, ring is equiped and when i go to house (moving from square) ring still on
|Only Registered members can see download links. | Click here to buy subscription or here to register.
|Only Registered members can see download links. | Click here to buy subscription or here to register.alt="Sad" title="Sad" class="smilie smilie_8" />
But thanks

#4
Hello.

My bad, i also posted a bad code. I didn't paid attention that you were using islocaiton instead of islocationxyz.
islocation() works based on current waypoint, not on specific position. I've fixed it and added a last parameter "1" that is the maximum distance to be considered. 1 that specific position, 2 means that position or 1 sqm around that.

I also edited all your posts on this thread that shows your house location to avoid being tracked.

local ring_item = finger()

if islocationxyz(12345,12345,7, 1) then  
    if ring_item.id == 0 then
        moveitems(3052, 'finger', '')
        wait(500, 800)
    end
else
    if ring_item.id == 3089 then    
        moveitems(3089, '0', 'finger')
        wait(500, 800)
    end
end

#5
|Only Registered members can see download links. | Click here to buy subscription or here to register.
Its is my bad, sorry i wrote wrong sqm and without  1
thank you



Forum Jump:



Forum software by © MyBB Theme © iAndrew 2016