axolekk
02-25-2016, 10:29 PM
Hello I need script loot.
I open hand dead monster and script withdraw all to bp
I have script but withdraw only 50% item.
local config = {
GoldContainer = "Golden backpack",
Gold = {"Gold Coin"},
GoldEnabled = false,
StackableContainer = "deepling backpack",
Stackables = {"Platinum Coin", " Small Ruby", "Small Emerald", "Small Sapphire", "Small Topaz", "Small Diamond", "White Pearl", "Black Pearl", "Demonic Essence", "Golden Lotus Brooch", "Peacock Feather Fan", "Gold Ingot", "Hellspawn Tail", "Assassin Star", "Red Piece of Cloth"},
NonStackableContainer = "blue backpack",
NonStackables = { "Blue Gem", "Yellow Gem", "Underworld Rod", "Assassin Dagger", "Blue Robe", "Skullcracker Armor", "Spellbook of Mind Control", "Oriental Shoes", "Knight Legs", "Warrior Helmet", "Onyx Flail", "wand of inferno", "Focus Cape", "Magma Coat", "Red Gem", "Ruby Necklace", "Death Ring", "Spiked Squelcher"}
}
while true do
for i = 0, #Container.GetIndexes() - 1 do
local c = Container.GetFromIndex(i)
if c:isOpen() and (c:Name():find("The") or c:Name():find("Demonic") or c:Name():find("Dead") or c:Name():find("Slain") or c:Name():find("Dissolved") or c:Name():find("Remains") or c:Name():find("Elemental")) then
for s = 0, c:ItemCount() - 1 do
local item = Item.GetName(c:GetItemData(s).id):titlecase()
if config.GoldEnabled and table.contains(config.Gold, item) and Self.Cap() > 100 then
local destCont = Container.GetByName(config.GoldContainer)
c:MoveItemToContainer(s, destCont:Index(), math.min(destCont:ItemCount() + 1, destCont:ItemCapacity() - 1))
wait(150, 180)
break
elseif table.contains(config.Stackables, item) then
local destCont = Container.GetByName(config.StackableContainer)
c:MoveItemToContainer(s, destCont:Index(), math.min(destCont:ItemCount() + 1, destCont:ItemCapacity() - 1))
wait(150, 180)
break
elseif table.contains(config.NonStackables, item) then
local destCont = Container.GetByName(config.NonStackableContainer)
c:MoveItemToContainer(s, destCont:Index(), math.min(destCont:ItemCount() + 1, destCont:ItemCapacity() - 1))
wait(150, 180)
break
end
end
end
end
wait(50)
end
I open hand dead monster and script withdraw all to bp
I have script but withdraw only 50% item.
local config = {
GoldContainer = "Golden backpack",
Gold = {"Gold Coin"},
GoldEnabled = false,
StackableContainer = "deepling backpack",
Stackables = {"Platinum Coin", " Small Ruby", "Small Emerald", "Small Sapphire", "Small Topaz", "Small Diamond", "White Pearl", "Black Pearl", "Demonic Essence", "Golden Lotus Brooch", "Peacock Feather Fan", "Gold Ingot", "Hellspawn Tail", "Assassin Star", "Red Piece of Cloth"},
NonStackableContainer = "blue backpack",
NonStackables = { "Blue Gem", "Yellow Gem", "Underworld Rod", "Assassin Dagger", "Blue Robe", "Skullcracker Armor", "Spellbook of Mind Control", "Oriental Shoes", "Knight Legs", "Warrior Helmet", "Onyx Flail", "wand of inferno", "Focus Cape", "Magma Coat", "Red Gem", "Ruby Necklace", "Death Ring", "Spiked Squelcher"}
}
while true do
for i = 0, #Container.GetIndexes() - 1 do
local c = Container.GetFromIndex(i)
if c:isOpen() and (c:Name():find("The") or c:Name():find("Demonic") or c:Name():find("Dead") or c:Name():find("Slain") or c:Name():find("Dissolved") or c:Name():find("Remains") or c:Name():find("Elemental")) then
for s = 0, c:ItemCount() - 1 do
local item = Item.GetName(c:GetItemData(s).id):titlecase()
if config.GoldEnabled and table.contains(config.Gold, item) and Self.Cap() > 100 then
local destCont = Container.GetByName(config.GoldContainer)
c:MoveItemToContainer(s, destCont:Index(), math.min(destCont:ItemCount() + 1, destCont:ItemCapacity() - 1))
wait(150, 180)
break
elseif table.contains(config.Stackables, item) then
local destCont = Container.GetByName(config.StackableContainer)
c:MoveItemToContainer(s, destCont:Index(), math.min(destCont:ItemCount() + 1, destCont:ItemCapacity() - 1))
wait(150, 180)
break
elseif table.contains(config.NonStackables, item) then
local destCont = Container.GetByName(config.NonStackableContainer)
c:MoveItemToContainer(s, destCont:Index(), math.min(destCont:ItemCount() + 1, destCont:ItemCapacity() - 1))
wait(150, 180)
break
end
end
end
end
wait(50)
end