View Full Version : soft boots bug?
Rotex
07-05-2012, 07:09 PM
If i use my soft boots with script my soft boots in bp is ticking when i use another one. 2 pair of softboots is gone in 4 hours.....what to do?
Flappy Joe
07-06-2012, 03:47 AM
You're either high, lying or on Open Tibia.
Aydin
07-06-2012, 04:04 AM
You're either high, lying or on Open Tibia.
This.
Rotex
07-06-2012, 11:40 AM
Hello again,
I think i know what the bug is. when i have 2 pair of soft boots the bot changes the softboots all the time (up and down, wasting 10 sec all the time). I use this script.
function equipSofts(ManaToUseSoft, ManaToUseBoots)
-------------- [[ Settings ]]---------------------
local BPwithSoft = "Backpack Of Holding"
local NormalBoots = 4033
local ManaToUseSoft = 500
local ManaToUseBoots = 700
-------------------------------------------------------------
--- DO NOT CHANGE BELOW UNLESS YOU KNOW WHAT YOURE DOING ---
local backpack = Container.GetByName(BPwithSoft)
if (Self.Mana() <= ManaToUseSoft) or (Self.Feet().id == 6530) and (Self.Feet().id ~= 3549) then
for spot = 0, backpack:ItemCount() do
local item = backpack:GetItemData(spot)
if (item.id == 6529) then
backpack:MoveItemToEquipment(spot, "feet")
break
end
end
elseif (Self.Mana() >= ManaToUseBoots) or (Self.Feet().id == 6530) and (Self.Feet().id ~= NormalBoots) then
for spot = 0, backpack:ItemCount() do
local item = backpack:GetItemData(spot)
if (item.id == NormalBoots) then
backpack:MoveItemToEquipment(spot, "feet")
break
end
end
end
return false
end
while(true) do
equipSofts(ManaToUseSoft, ManaToUseBoots)
wait(1000,2000)
end
Flappy Joe
07-06-2012, 11:48 AM
function equipSoftBoots()
local BOOTS1ID = 6529 -- Soft Boots ID
local SoftsOnFeet = 3549 -- softs on feet got different ID, that was the problem
local BOOTS2ID = 4033 -- Other Boots ID
local MANATOEQUIP = 750 -- Mana Amount to equip Soft Boots
local MANATOUNEQUIP = 850 -- Mana Amount to equip Other Boots
local BACKPACKNAME = 'Jewelled Backpack' -- Backpack where Boots are in
--!!!!!!!!!!!!!!!!!!!!!!!
--!!!DO NOT EDIT BELOW!!!
--!!!!!!!!!!!!!!!!!!!!!!!
local Backpack = Container.GetByName(BACKPACKNAME)
if (Self.Mana() <= MANATOEQUIP) and (Self.Feet().id ~= SoftsOnFeet) then
for Spot = 0, Backpack:ItemCount() do
local Boots = Backpack:GetItemData(Spot)
if (Boots.id == BOOTS1ID) then
Backpack:MoveItemToEquipment(Spot, "feet")
end
end
elseif (Self.Mana() >= MANATOUNEQUIP) and (Self.Feet().id ~= BOOTS2ID) then
for Spot = 0, Backpack:ItemCount() do
local Boots = Backpack:GetItemData(Spot)
if (Boots.id == BOOTS2ID) then
Backpack:MoveItemToEquipment(Spot, "feet")
end
end
end
end
while (true) do
equipSoftBoots()
wait(1000,1500)
end
BOOTS2ID need to be the ID of the other boots you're using. The ID in this script already is Draken Boots.
Rotex
07-06-2012, 01:53 PM
Thanks! Works great!
i got a preaty good script of soft boots, if you wanted pm!
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.