I just wanted you to know that i managed to make mana fluid refill by change item ID and so on and decided to post it so you and more have can get ahold of it! People just have to change the backpack and fluid ID so it fits them
|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="Smile" title="Smile" class="smilie smilie_1" />
--rune
local MANA_FLUID_ID = 5595
local MAX_MANA_FLUID_COUNT = 50 -- Max. amount to carry on your character
--character
CHARACTER_MANA_FLUID_BP = 2868
--depot
DEPOT_MANA_FLUID_MAIN = 'backpack'
DEPOT_MANA_FLUID_BP = 'backpack'
reachgrounditem('locker')
wait(500)
openitem('locker')
wait(800, 1200)
openitem(DEPOT_MANA_FLUID_MAIN, 'locker')
wait(800, 1200)
local flag = false
if itemcount(DEPOT_MANA_FLUID_BP, DEPOT_MANA_FLUID_MAIN) > 0 then
flag = true
openitem(DEPOT_MANA_FLUID_BP, DEPOT_MANA_FLUID_MAIN)
wait(800, 1200)
local remainingCount = MAX_MANA_FLUID_COUNT - itemcount(MANA_FLUID_ID, CHARACTER_MANA_FLUID_BP)
while remainingCount > 0 do
if itemcount(MANA_FLUID_ID, DEPOT_MANA_FLUID_BP) > 1 then
moveitems(MANA_FLUID_ID, CHARACTER_MANA_FLUID_BP, DEPOT_MANA_FLUID_BP, remainingCount)
wait(500, 800)
remainingCount = MAX_MANA_FLUID_COUNT - itemcount(MANA_FLUID_ID, CHARACTER_MANA_FLUID_BP)
else
higherwindow(DEPOT_MANA_FLUID_BP)
wait(800, 1200)
moveitems(DEPOT_MANA_FLUID_BP, ground(posx(), posy(), posz()), DEPOT_MANA_FLUID_MAIN, 1)
wait(800, 1200)
if itemcount(DEPOT_MANA_FLUID_BP, DEPOT_MANA_FLUID_MAIN) > 0 then
openitem(DEPOT_MANA_FLUID_BP, DEPOT_MANA_FLUID_MAIN)
wait(800, 1200)
else
flag = false
break
end
end
end
end
if flag == false then
printerror('Could not find more rune bps (DEPOT_RUNES_BP) on DEPOT_RUNES_MAIN.')
playsound('default')
flashclient()
setsettings('Cavebot/Enabled', false)
end