View Full Version : Looter Option Cap... Usefull Option i think
rihop
11-11-2014, 09:23 PM
it would be nice to add a Option in Looter for Cap:
like in the looter u can set only in which bp u want to loot it atm, it would be awsome a function beside it " dont loot on cap: 300 "
so when the cap is below 300 he dont loot it..
or is there allready a function like that now?
DarkstaR
Joshwa534
11-11-2014, 10:49 PM
it would be nice to add a Option in Looter for Cap:
like in the looter u can set only in which bp u want to loot it atm, it would be awsome a function beside it " dont loot on cap: 300 "
so when the cap is below 300 he dont loot it..
or is there allready a function like that now?
Unfortunately its not possible yet with Xenobot.
eduardo123ju
11-17-2014, 08:08 AM
Joshwa534 "Unfortunately its not possible yet with Xenobot."
Everything is possible
rihop You can run multiple of those, just change the name, bps and items hope it works for u
Is a lua script but is the same thing as you say. I RECOMEND USING NOTEPAD++ TO EDIT SCRIPTS, YOU ARE WELLCUM.
local config = {
ItemContainer = "Backpack", --The backpack you will use
Item = {"Plate Armor", "Gold Coin"}, --The items you want to loot
ItemEnabled = true, --Enabld or disabled
}
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("Browse") 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.ItemEnabled and table.contains(config.Item, item) and Self.Cap() > 1000 then --Here you can change the cap (Ej: "1000" it wont loot plater armor and gold if below 1000 Cap
local destCont = Container.GetByName(config.ItemContainer)
c:MoveItemToContainer(s, destCont:Index(), math.min(destCont:ItemCount() + 1, destCont:ItemCapacity() - 1))
wait(150, 180)
break
end
end
end
end
wait(50)
end
Joshwa534
11-17-2014, 07:54 PM
Joshwa534 "Unfortunately its not possible yet with Xenobot."
Everything is possible
rihop You can run multiple of those, just change the name, bps and items hope it works for u
Is a lua script but is the same thing as you say. I RECOMEND USING NOTEPAD++ TO EDIT SCRIPTS, YOU ARE WELLCUM.
local config = {
ItemContainer = "Backpack", --The backpack you will use
Item = {"Plate Armor", "Gold Coin"}, --The items you want to loot
ItemEnabled = true, --Enabld or disabled
}
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("Browse") 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.ItemEnabled and table.contains(config.Item, item) and Self.Cap() > 1000 then --Here you can change the cap (Ej: "1000" it wont loot plater armor and gold if below 1000 Cap
local destCont = Container.GetByName(config.ItemContainer)
c:MoveItemToContainer(s, destCont:Index(), math.min(destCont:ItemCount() + 1, destCont:ItemCapacity() - 1))
wait(150, 180)
break
end
end
end
end
wait(50)
end
There's no ability in Xenobot's looter, without the use of external code, for what Rihop wants to do. I've requested it before though.
Even with the code you have, the bot's built-in looter will take no regard as to what you have set for max capacity in that script and loot the item anyways.
eduardo123ju
11-17-2014, 10:50 PM
There's no ability in Xenobot's looter, without the use of external code, for what Rihop wants to do. I've requested it before though.
Even with the code you have, the bot's built-in looter will take no regard as to what you have set for max capacity in that script and loot the item anyways.
Just dont add the item to the looter and it will work as it is. Loot if above cap X dont loot if below cap X
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.