Xinum
Never Give Up!
- Joined
- Dec 23, 2009
- Messages
- 578
- Reaction score
- 64
[ED] Yalahar Blue Djinn
Code:
<Settings>
<Alerts>
<Player>
<OnScreen>
<PlaySound>yes</PlaySound>
<FlashClient>yes</FlashClient>
<PauseBot>no</PauseBot>
<Disconnect>no</Disconnect>
<SafeList>null</SafeList>
</OnScreen>
<Attacking>
<PlaySound>yes</PlaySound>
<FlashClient>yes</FlashClient>
<PauseBot>no</PauseBot>
<Disconnect>no</Disconnect>
<SafeList>null</SafeList>
</Attacking>
<GMOnScreen>
<PlaySound>yes</PlaySound>
<FlashClient>yes</FlashClient>
<PauseBot>yes</PauseBot>
<Disconnect>no</Disconnect>
</GMOnScreen>
</Player>
<Creature />
<Item />
<Message>
<PrivateMessage>
<PlaySound>no</PlaySound>
<FlashClient>yes</FlashClient>
<PauseBot>no</PauseBot>
<Disconnect>no</Disconnect>
<SafeList>null</SafeList>
</PrivateMessage>
<Advanced>
<PlaySound>no</PlaySound>
<FlashClient>no</FlashClient>
<PauseBot>no</PauseBot>
<Disconnect>no</Disconnect>
<Screenshot>yes</Screenshot>
</Advanced>
<Raid>
<PlaySound>no</PlaySound>
<FlashClient>no</FlashClient>
<PauseBot>no</PauseBot>
<Disconnect>no</Disconnect>
<Warnings>All</Warnings>
</Raid>
<SafeBank>
<PlaySound>yes</PlaySound>
<FlashClient>yes</FlashClient>
<PauseBot>yes</PauseBot>
<CloseTibia>no</CloseTibia>
<Disconnect>yes</Disconnect>
</SafeBank>
<HealCreature>
<PlaySound>yes</PlaySound>
<FlashClient>yes</FlashClient>
<PauseBot>no</PauseBot>
<CloseTibia>no</CloseTibia>
<Disconnect>no</Disconnect>
<Screenshot>no</Screenshot>
</HealCreature>
<YourAttack>
<PlaySound>yes</PlaySound>
<FlashClient>yes</FlashClient>
<PauseBot>yes</PauseBot>
<CloseTibia>no</CloseTibia>
<Disconnect>yes</Disconnect>
<Screenshot>no</Screenshot>
<SafeList>null</SafeList>
</YourAttack>
<Unjust>
<PlaySound>yes</PlaySound>
<FlashClient>yes</FlashClient>
<PauseBot>yes</PauseBot>
<CloseTibia>no</CloseTibia>
<Disconnect>yes</Disconnect>
</Unjust>
</Message>
<Capacity>
<Value>10</Value>
<PlaySound>no</PlaySound>
<FlashClient>yes</FlashClient>
<PauseBot>no</PauseBot>
<Disconnect>no</Disconnect>
</Capacity>
<StandTime>
<Value>30000</Value>
<PlaySound>yes</PlaySound>
<FlashClient>yes</FlashClient>
<PauseBot>no</PauseBot>
<Disconnect>no</Disconnect>
</StandTime>
<Stamina>
<Value>841</Value>
<PlaySound>yes</PlaySound>
<FlashClient>yes</FlashClient>
<PauseBot>no</PauseBot>
<CloseTibia>no</CloseTibia>
<Disconnect>no</Disconnect>
</Stamina>
<Disconnect>
<PlaySound>yes</PlaySound>
<FlashClient>yes</FlashClient>
<PauseBot>no</PauseBot>
</Disconnect>
<Enabled>no</Enabled>
</Alerts>
<Healer>
<Rules>
<Great-Mana-Potion>
<HealRange>0 to 100 %</HealRange>
<ManaRange>0 to 75 %</ManaRange>
<HealMethod>Great Mana Potion</HealMethod>
<ExtraCondition>No condition</ExtraCondition>
<CooldownControl>yes</CooldownControl>
<CheckItem>no</CheckItem>
<SpamRate>200 to 400</SpamRate>
<Enabled>yes</Enabled>
</Great-Mana-Potion>
<Exura>
<HealRange>84 to 93 %</HealRange>
<ManaRange>0 to 100 %</ManaRange>
<HealMethod>Light Healing</HealMethod>
<ExtraCondition>No condition</ExtraCondition>
<CooldownControl>yes</CooldownControl>
<CheckItem>no</CheckItem>
<SpamRate>200 to 400</SpamRate>
<Enabled>yes</Enabled>
</Exura>
<Exura-Gran>
<HealRange>55 to 83 %</HealRange>
<ManaRange>0 to 100 %</ManaRange>
<HealMethod>Intense Healing</HealMethod>
<ExtraCondition>No condition</ExtraCondition>
<CooldownControl>yes</CooldownControl>
<CheckItem>no</CheckItem>
<SpamRate>200 to 400</SpamRate>
<Enabled>yes</Enabled>
</Exura-Gran>
<Exura-Vita>
<HealRange>0 to 54 %</HealRange>
<ManaRange>0 to 100 %</ManaRange>
<HealMethod>Ultimate Healing</HealMethod>
<ExtraCondition>No condition</ExtraCondition>
<CooldownControl>yes</CooldownControl>
<CheckItem>no</CheckItem>
<SpamRate>200 to 400</SpamRate>
<Enabled>yes</Enabled>
</Exura-Vita>
</Rules>
<PingCompensation>10</PingCompensation>
<Enabled>yes</Enabled>
</Healer>
<FriendHealer>
<Rules />
<Enabled>no</Enabled>
</FriendHealer>
<Refiller>
<Rules>
<Ring>
<HealRange>1 to 100 %</HealRange>
<ManaRange>1 to 100 %</ManaRange>
<ItemRefiller>3097</ItemRefiller>
<AmmoCount>0 to 1</AmmoCount>
<ExtraCondition>If drunken</ExtraCondition>
<SpamRate>500 to 1000</SpamRate>
<Enabled>yes</Enabled>
</Ring>
</Rules>
<Enabled>yes</Enabled>
</Refiller>
<HotKeys>
<List>
<ShowBot>
<Script>showbot()</Script>
<MainKey>66</MainKey>
<ComboKey>Alt</ComboKey>
<Enabled>yes</Enabled>
</ShowBot>
<PauseBot>
<Script>local cavebot = getsettings("Settings/CaveBot/Enabled")
local targeting = getsettings("Settings/Targeting/Enabled")
if cavebot == 'no' or targeting == 'no' then
setcavebot('on')
settargeting('on')
setlooting('on')
else
setcavebot('off')
settargeting('off')
setlooting('off')
end
wait(500)</Script>
<MainKey>19</MainKey>
<ComboKey>None</ComboKey>
<Enabled>yes</Enabled>
</PauseBot>
<ShowClient>
<Script>focusclient()</Script>
<MainKey>84</MainKey>
<ComboKey>Alt</ComboKey>
<Enabled>yes</Enabled>
</ShowClient>
<ShowSettings>
<Script>showsettings()</Script>
<MainKey>83</MainKey>
<ComboKey>Alt</ComboKey>
<Enabled>yes</Enabled>
</ShowSettings>
</List>
<Condition>Client focus required</Condition>
<Enabled>yes</Enabled>
</HotKeys>
<Actions>
<List>
<Drop-Flask>
<Script>local currentflask = itemcount(285) + itemcount(284) + itemcount(283)
if (maround(2) == 0) and (lootbodies == false) and (cap < 200) and (currentflask > 50)
then
moveitems(283,SupplyBPname,'ground',50)
moveitems(284,SupplyBPname,'ground',50)
moveitems(285,SupplyBPname,'ground',50)
wait(5000)
end
</Script>
<SpamRate>800 to 1000</SpamRate>
<Enabled>yes</Enabled>
</Drop-Flask>
<FurnitureBreak>
<Script>while (standtime > 60000)do
antifurnituretrap()
wait(5000)
end
</Script>
<SpamRate>800 to 1000</SpamRate>
<Enabled>yes</Enabled>
</FurnitureBreak>
<Mount>
<Script>if UseMount then
setsettings("Settings\\CaveBot\\Settings\\AutoMount", "yes")
wait(5000)
else
setsettings("Settings\\CaveBot\\Settings\\AutoMount", "no")
wait(5000)
end
</Script>
<SpamRate>800 to 1000</SpamRate>
<Enabled>yes</Enabled>
</Mount>
<SafeBank>
<Script>local msgs = getnewmessages("NPCs")
local qtd = msgs.count-1
for i=0,qtd do
if msgs[qtd].text:find('There is not enough gold on your account.') then
setcavebot('off')
wait(5000,10000)
closetibia()
end
end
</Script>
<SpamRate>800 to 1000</SpamRate>
<Enabled>yes</Enabled>
</SafeBank>
<SoftBoots>
<Script>local DEFAULT_BOOTS = NormalBoots
local CONSIDER_TYPE = 1 --[[ 1 = mp pc, 2 = hp pc, 3 = mp exact, 4 = hp exact ]]
local CONSIDER_EQUIP = {75, 75} -- Value to equip soft boots
local CONSIDER_UNEQUIP = {99, 99} -- Value to unequip soft boots
--[[ ENGINE ]]
local SCRIPT_INFO = "Name: Soft Boots Changer/nVersion: 1.2.0 beta/nAuthor: sirmate"
local NORMAL_BOOTS_ID = itemid(DEFAULT_BOOTS)
local RANDOM_EQUIP = math.random(CONSIDER_EQUIP[1], CONSIDER_EQUIP[2])
local RANDOM_UNEQUIP = math.random(CONSIDER_UNEQUIP[1], CONSIDER_UNEQUIP[2])
local HP_MP_VALUES = {mppc, hppc, mp, hp}
if (boots == 3549) and (pzone == true or HP_MP_VALUES[CONSIDER_TYPE] >= RANDOM_UNEQUIP) then
if (itemcount(DEFAULT_BOOTS) > 0) then
moveitems(NORMAL_BOOTS_ID, "all", "Boots", 1)
wait(1100, 1200)
else
moveitems(boots, "Boots", "all", 1)
wait(1000, 1200)
end
elseif (boots == 6530 or boots == 0) then
if (HP_MP_VALUES[CONSIDER_TYPE] <= RANDOM_EQUIP) and (pzone == false) and (itemcount(6529) > 0) then
moveitems(6529, "all", "Boots", 1)
wait(1000, 1200)
elseif (itemcount(NORMAL_BOOTS_ID) > 0) then
moveitems(NORMAL_BOOTS_ID, "all", "Boots", 1)
wait(1000, 1200)
elseif (boots > 0) then
moveitems(boots, "Boots", "all", 1)
wait(1000, 1200)
end
elseif (boots == NORMAL_BOOTS_ID) and (HP_MP_VALUES[CONSIDER_TYPE] <= RANDOM_EQUIP) and (pzone == false) and (itemcount(6529) > 0) then
moveitems(6529, "all", "Boots", 1)
wait(1000, 1200)
end
</Script>
<SpamRate>800 to 1000</SpamRate>
<Enabled>yes</Enabled>
</SoftBoots>
<DeathSS>
<Script>if (hppc <= 10)
then
screenshot(name.." dedzik on level "..level)
wait(1000, 1500)
end
</Script>
<SpamRate>800 to 1000</SpamRate>
<Enabled>yes</Enabled>
</DeathSS>
<Stamina>
<Script>if ((pzone == true) and (stamina <= 925))
then
wait(1000, 1500)
closetibia()
end</Script>
<SpamRate>800 to 1000</SpamRate>
<Enabled>yes</Enabled>
</Stamina>
<MassRes-Alarm>
<Script>local msgs = getmessages("Local Chat")
local qtd = msgs.count-1
for i=0,qtd
do
if msgs[qtd].text:find("exura gran mas res")
then
playsound("alert.wav")
wait(1000)
end
end
</Script>
<SpamRate>800 to 1000</SpamRate>
<Enabled>yes</Enabled>
</MassRes-Alarm>
<Unjust-Alarm>
<Script>local msgs = getnewmessages("Server Log")
local qtd = msgs.count-1
for i=0,qtd
do
if msgs[qtd].text:find("Warning! The murder of .+ was not justified.")
then
setcavebot("off")
settargeting("off")
wait(5000,10000)
closetibia()
end
end
</Script>
<SpamRate>800 to 1000</SpamRate>
<Enabled>yes</Enabled>
</Unjust-Alarm>
<Reconnect-by-BlakW>
<Script>--[[
Name: Auto Safe Reconnect by BlakW
Version: v5.0.0
]]--
--Reopen backpacks:
local reopenBps = ("yes")
----- Backpack Name Settings -----
--Main Backpack Name:
local mainBackpackName = MainBPname
--Loot Backpack Name:
local lootBackpackName = LootBPname
--Supplies Backpack Name:
local supBackpackName = SupplyBPname
--Gold Backpack Name:
local goldBackpackName = GoldBPname
----- Backpacks to Use -----
--Use Main Backpack:
local useMainBackpack = ("yes")
--Use Loot Backpack:
local useLootBackpack = ("yes")
--Use Supplies Backpack:
local useSuppliesBackpack = ("yes")
--Use Gold Backpack:
local useGoldBackpack = ("yes")
----- Safe Temple Settings -----
--Temple NPCs:
local templeNpcNames = {"Alia", "Tyrias", "Brewster", "Rahkem", "Kasmir", "Amanda", "Isimov", "Yberius", "Maealil", "Quentin", "Lynda", "Lorietta", "Prezil", "Kjesse", "Asralius"}
--Temple Position Range (sqm):
local templePositionRange = 7
----- Engine [Do not edit unless you know what you are doing] -----
if (connected == false)
then
reconnect()
wait(600, 1800)
pausewalking(10000)
if ((pzone == true) and (maround(10, false, unpack(templeNpcNames)) >= 1)
or (pzone == true) and (islocationxyz(32787, 31276, 7, templePositionRange))
or (pzone == true) and (islocationxyz(32595, 32744, 6, templePositionRange))
or (pzone == true) and (islocationxyz(33213, 32454, 1, templePositionRange))
or (pzone == true) and (islocationxyz(32213, 31133, 7, templePositionRange))
or (pzone == true) and (islocationxyz(33004, 31490, 11, templePositionRange))
or (pzone == true) and (islocationxyz(32649, 31925, 11, templePositionRange))
or (pzone == true) and (islocationxyz(33217, 31814, 8, templePositionRange))
or (pzone == true) and (islocationxyz(32317, 32826, 7, templePositionRange))
or (pzone == true) and (islocationxyz(33194, 32853, 8, templePositionRange))
or (pzone == true) and (islocationxyz(32369, 32241, 7, templePositionRange))
or (pzone == true) and (islocationxyz(32360, 31782, 7, templePositionRange))
or (pzone == true) and (islocationxyz(32957, 32076, 7, templePositionRange))
or (pzone == true) and (islocationxyz(32732, 31634, 7, templePositionRange))
or (pzone == true) and (islocationxyz(33447, 31323, 9, templePositionRange)))
then
wait(1500)
closetibia()
wait(1500)
message("Reconnect Message: Tibia client has been closed because character was inside a temple. This is to protect your character from being killed by other players.")
end
wait(2500)
if ((reopenBps == ("yes")) and (windowcount() == 0) and (maround(7, false) == 0) and (lootbodiescount == 0))
then
closewindows()
wait(2000, 3500)
while ((windowcount(mainBackpackName) == 0) and (useMainBackpack == ("yes")))
do
openitem(mainBackpackName, "back")
wait(2000)
resizewindows()
end
wait(2000, 3500)
while ((windowcount(supBackpackName) == 0) and (windowcount(mainBackpackName) == 1) and (useSuppliesBackpack == ("yes")))
do
openitem(supBackpackName, mainBackpackName, true)
wait(2000)
resizewindows()
end
wait(2000, 3500)
while ((windowcount(lootBackpackName) == 0) and (windowcount(mainBackpackName) == 1) and (useLootBackpack == ("yes")))
do
openitem(lootBackpackName, mainBackpackName, true)
wait(2000)
resizewindows()
end
wait(2000, 3500)
while ((windowcount(goldBackpackName) == 0) and (windowcount(mainBackpackName) == 1) and (useGoldBackpack == ("yes")))
do
openitem(goldBackpackName, mainBackpackName, true)
wait(2000)
resizewindows()
end
wait(2000, 3500)
end
setcavebot("yes")
wait(1000, 2500)
setlooting("yes")
wait(1000, 2500)
settargeting("yes")
wait(2000, 3500)
end
</Script>
<SpamRate>800 to 1000</SpamRate>
<Enabled>yes</Enabled>
</Reconnect-by-BlakW>
<AntiFace>
<Script>if AntiFaceBySirmate then
local function isPlayerOnTile(POSITION_X, POSITION_Y, POSITION_Z)
local TILE_DATA = gettile(POSITION_X, POSITION_Y, POSITION_Z)
for CURRENT_INDEX = 0, TILE_DATA.count - 1 do
if (TILE_DATA.items[CURRENT_INDEX].id == 99 and TILE_DATA.items[CURRENT_INDEX].count <= 0x40000000) then
return true
end
end
return false
end
if (30 >= target.hppc and target.id > 0 and paround(4) > 0) then
local POSITIONS, FREE_DIRECTIONS = {{X = 0, Y = -1, DIR = [[n]]}, {X = 1, Y = 0, DIR = [[e]]}, {X = 0, Y = 1, DIR = [[s]]}, {X = -1, Y = 0, DIR = [[w]]}}, {}
if (isPlayerOnTile(posx + POSITIONS[getcreature(id).direction + 1].X, posy + POSITIONS[getcreature(id).direction + 1].Y, posz)) then
for _, POSITION in ipairs(POSITIONS) do
if (not isPlayerOnTile(posx + POSITION.X, posy + POSITION.Y, posz)) then
table.insert(FREE_DIRECTIONS, POSITION.DIR)
end
end
if(#FREE_DIRECTIONS > 0) then
local TURN_DIRECTION = FREE_DIRECTIONS[math.random(#FREE_DIRECTIONS)]
while ((({[[n]], [[e]], [[s]], [[w]]})[getcreature(id).direction + 1]) ~= TURN_DIRECTION) do
turn(TURN_DIRECTION) wait(25, 75)
end
end
end
end
</Script>
<SpamRate>800 to 1000</SpamRate>
<Enabled>yes</Enabled>
</AntiFace>
</List>
<Setup>-- [ED -=- Yalahar Blue Djinns 2.0-=- by Spens13]
-- Setup:
serverType = ("0") -- [[1 = PvP/PvPe]] [[0 = NonPvP]
SoftbootsRefill = true
SetAlarms = false
UseMount = false
CapToLeave = 50
BuyFood = true
NormalBoots = 'Boots of Haste' -- (Name of Bormal Boots)
FirstFloor = true
SecondFloor = true
ThirdFloor = true
Tower = false
AntiFaceBySirmate = false
-- >>>>>>>>>> Backpacks <<<<<<<<<<
MainBPname = "Backpack of holding"
LootBPname = "Blue Backpack"
GoldBPname = "Golden Backpack"
SupplyBPname = "Green Backpack"
-- >>>>>>>>>> Depot <<<<<<<<<<
MainDepotname = "Brown Backpack"
LootDepotname = "purple Backpack"
AddonDepotname = "beach Backpack"
RingsBP = "expedition backpack"
-- >>>>>>>>>> Potions <<<<<<<<<<
mananame = "great mana potion" -- Name of mana potion.
manaprice = 120 -- Price of mana potion to buy.
manatobuy = 120 -- How many mana potions to buy?
manatoback = 50 -- How many potions to back reffil?
runename = "sudden death rune" -- Name of runes.
runeprice = 108 -- Price of runes to buy.
runetobuy = 60 -- How many runes buy?
runetoback = 25 -- How many runes to back reffil?</Setup>
<Enabled>yes</Enabled>
</Actions>
<CaveBot>
<Waypoints>
<YalaDp>Stand 32778 31248 7</YalaDp>
<w472>Action 32778 31248 7 if serverType == ("1") then ; setsettings("Settings\\Cavebot\\Pathfinding\\WalkThroughPlayers","yes");else; setsettings("Settings\\Cavebot\\Pathfinding\\WalkThroughPlayers","yes");end;;</w472>
<w000>Stand 32786 31248 7</w000>
<w001>Stand 32781 31248 6</w001>
<w078>Action 32781 31248 6 if not islocation(1) then; gotolabel("w000");end ;;;</w078>
<w474>Stand 32781 31248 6</w474>
<w002>Action 32781 31248 6 setsettings("Settings\\Cavebot\\Settings\\OpenNextBp", "no");;closewindows();wait(500, 1000);openitem(MainBPname, 'back');wait(500, 1000);resizewindows();openitem(LootBPname, MainBPname, true);wait(500, 1000);resizewindows();</w002>
<w471>Action 32781 31248 6 if windowcount() ~= 2 then gotolabel("w002") end;</w471>
<w003>Action 32781 31248 6 reachgrounditem("depot") ;wait(1000,2000);openitem("depot");wait(700,900);openitem(3502, "locker");wait(700,900);openitem(MainDepotname, "depot chest");wait(700,900);;local CONFIG = {; LOOT_BACKPACK = LootBPname,; ; STACKABLE_BACKPACK = AddonDepotname,; STACKABLE_BACKPACK_AMOUNT = 2,; ; NOT_STACKABLE_BACKPACK = LootDepotname,; NOT_STACKABLE_BACKPACK_AMOUNT = 18,; ; DEPOSIT_ITEMS = {"Small Oil Lamp", "Small Sapphire", "Strong Mana Potion", "Blue Piece of Cloth", "Noble Turban", "Jewelled Belt", "Seeds", "Hailstorm Rod", "Mystic Turban", "Magma Monocle", "Blue Gem", "Dirty Turban"},;};;local NOT_STACKABLE_LAST_ON_TO, ITEM_INDEX = 0, 1;;while (#CONFIG.DEPOSIT_ITEMS >= ITEM_INDEX) do; if (type(CONFIG.DEPOSIT_ITEMS[ITEM_INDEX]) == "string") then; local ITEM_ID = itemid(CONFIG.DEPOSIT_ITEMS[ITEM_INDEX]); ; if (ITEM_ID > 0) then; CONFIG.DEPOSIT_ITEMS[ITEM_INDEX], ITEM_INDEX = ITEM_ID, ITEM_INDEX + 1; else; table.remove(CONFIG.DEPOSIT_ITEMS, ITEM_INDEX); end; elseif (type(CONFIG.DEPOSIT_ITEMS[ITEM_INDEX]) == "number") then; if (CONFIG.DEPOSIT_ITEMS[ITEM_INDEX] > 0) then; ITEM_INDEX = ITEM_INDEX + 1; else; table.remove(CONFIG.DEPOSIT_ITEMS, ITEM_INDEX); end; else; table.remove(CONFIG.DEPOSIT_ITEMS, ITEM_INDEX); end;end;;while (true) do; for _, DEPOSIT_ITEM in ipairs(CONFIG.DEPOSIT_ITEMS) do; if (itemcount(DEPOSIT_ITEM, CONFIG.LOOT_BACKPACK) > 0) then; if (itemproperty(DEPOSIT_ITEM).isCumulative) then; local STACKABLE_LAST_ON_TO = 0; ; while (CONFIG.STACKABLE_BACKPACK_AMOUNT > STACKABLE_LAST_ON_TO) do; local ITEM_COUNT_BEFORE = itemcount(DEPOSIT_ITEM, CONFIG.LOOT_BACKPACK); ; moveitemsonto(DEPOSIT_ITEM, "all", CONFIG.STACKABLE_BACKPACK, 100, STACKABLE_LAST_ON_TO) wait(500, 1000); ; local ITEM_COUNT_AFTER = itemcount(DEPOSIT_ITEM, CONFIG.LOOT_BACKPACK); ; if (ITEM_COUNT_BEFORE == ITEM_COUNT_AFTER and ITEM_COUNT_AFTER > 0) then; STACKABLE_LAST_ON_TO = STACKABLE_LAST_ON_TO + 1; elseif (ITEM_COUNT_AFTER == 0) then; break; end; end; else; while (CONFIG.NOT_STACKABLE_BACKPACK_AMOUNT > NOT_STACKABLE_LAST_ON_TO) do; local ITEM_COUNT_BEFORE = itemcount(DEPOSIT_ITEM, CONFIG.LOOT_BACKPACK); ; moveitemsonto(DEPOSIT_ITEM, "all", CONFIG.NOT_STACKABLE_BACKPACK, 100, NOT_STACKABLE_LAST_ON_TO) wait(500, 1000); ; local ITEM_COUNT_AFTER = itemcount(DEPOSIT_ITEM, CONFIG.LOOT_BACKPACK); ; if (ITEM_COUNT_BEFORE == ITEM_COUNT_AFTER and ITEM_COUNT_AFTER > 0) then; NOT_STACKABLE_LAST_ON_TO = NOT_STACKABLE_LAST_ON_TO + 1; elseif (ITEM_COUNT_AFTER == 0) then; break; end; end; end; end; end; ; if (itemcount(CONFIG.LOOT_BACKPACK, CONFIG.LOOT_BACKPACK) > 0) then; openitem(CONFIG.LOOT_BACKPACK, CONFIG.LOOT_BACKPACK, false) wait(2000, 3000); else; break; end; ; wait(100);end;;;setsettings("Settings\\Cavebot\\Settings\\OpenNextBp", "yes");;</w003>
<w476>Action 32781 31248 6 reachgrounditem("depot");wait(1000,2000);openitem("depot");wait(700,900);openitem(3502, "locker");wait(1500,2500);openitem(RingsBP, "depot chest");;wait(1500, 2000);;while itemcount("dwarven ring", MainBPname) < 1 and itemcount("dwarven ring", RingsBP) > 1 do; moveitems("dwarven ring", RingsBP, MainBPname, 1); wait(1000,1200) ;end;</w476>
<ToBank>Stand 32791 31247 6</ToBank>
<ToBank>Stand 32791 31247 6</ToBank>
<w005>Action 32793 31246 6 if serverType == ("1") then ; setsettings("Settings\\Cavebot\\Pathfinding\\WalkThroughPlayers","no");else; setsettings("Settings\\Cavebot\\Pathfinding\\WalkThroughPlayers","yes");end</w005>
<w006>Stand 32797 31246 6</w006>
<w007>Stand 32802 31244 7</w007>
<w235>Action 32802 31244 7 if not islocation(1) then; gotolabel("w006");end ;;;;</w235>
<w008>Stand 32811 31232 7</w008>
<w009>Stand 32824 31232 7</w009>
<w010>Stand 32831 31233 7</w010>
<w011>Stand 32831 31243 7</w011>
<w012>Stand 32827 31247 7</w012>
<w258>Action 32827 31247 7 if serverType == ("1") then ; setsettings("Settings\\Cavebot\\Pathfinding\\WalkThroughPlayers","yes");else; setsettings("Settings\\Cavebot\\Pathfinding\\WalkThroughPlayers","yes");end;;;;;</w258>
<w013>Action 32827 31247 7 setsettings("Settings\\Cavebot\\Pathfinding\\WalkThroughPlayers","yes");closewindows();while windowcount() < 2 do;closewindows();wait(1000,2000);openitem(MainBPname, "back", true);wait(1000,2000);resizewindows();openitem(SupplyBPname, MainBPname, true);wait(500,1000);resizewindows();end;end;;</w013>
<Talk>Stand 32824 31249 7</Talk>
<w236>Action 32824 31248 7 if not islocation(1) then; gotolabel("w010");end ;;;;</w236>
<w015>Action 32824 31249 7 closewindows();wait(500, 1000);openitem(MainBPname, 'back');wait(500, 1000);resizewindows() ;wait(500, 1000);openitem(SupplyBPname, MainBPname, true);wait(500, 1000);resizewindows() ;;local mana = positive(manatobuy - itemcount(mananame)) * manaprice;local health = positive(healthtobuy - itemcount(healthname)) * healthprice;local Total = mana + health + 2000;;wait(500,1000);say("hi");wait(1500,2000);npcsay("deposit all");wait(1000,1300);npcsay("yes");wait(1000,1300);npcsay("balance");wait(2000);npcsay("withdraw "..Total);wait(1000,1300);npcsay("yes");wait(1000,1300);;</w015>
<ManaShoop>Stand 32828 31249 7</ManaShoop>
<w220>Action 32828 31249 7 if serverType == ("1") then ; setsettings("Settings\\Cavebot\\Pathfinding\\WalkThroughPlayers","no");else; setsettings("Settings\\Cavebot\\Pathfinding\\WalkThroughPlayers","yes");end;</w220>
<w221>Stand 32833 31249 7</w221>
<w222>Action 32833 31249 7 if BuyFood then; return;else; gotolabel('BuyFoodDone');end;</w222>
<w014>Stand 32845 31245 7</w014>
<w223>Stand 32853 31233 7</w223>
<w224>Stand 32859 31221 7</w224>
<w225>Stand 32859 31213 7</w225>
<w226>Stand 32854 31210 7</w226>
<w227>Action 32854 31210 7 wait(1000);say("hi");wait(2000);wait(1000, 1200);npcsay("trade");wait(1000, 1200);buyitemsupto("white mushroom", 100);wait(1000, 1200);</w227>
<w228>Stand 32859 31210 7</w228>
<w229>Stand 32859 31218 7</w229>
<w230>Stand 32856 31229 7</w230>
<w231>Stand 32849 31240 7</w231>
<w232>Stand 32840 31250 7</w232>
<w233>Stand 32833 31250 7</w233>
<BuyFoodDone>Stand 32832 31240 7</BuyFoodDone>
<w016>Stand 32826 31232 7</w016>
<w017>Stand 32811 31232 7</w017>
<w018>Stand 32794 31232 7</w018>
<w019>Stand 32789 31236 7</w019>
<w020>Stand 32790 31239 7</w020>
<w021>Stand 32789 31239 6</w021>
<w022>Stand 32789 31238 5</w022>
<w237>Action 32789 31238 5 if not islocation(1) then; gotolabel("w019");end ;;;;</w237>
<w023>Action 32789 31238 5 if not islocation(1) then; gotolabel("ManaShoop");end ;;sellflasks();wait(500);;local CurrentManas = itemcount(mananame);local CurrentRunes = itemcount(runename);;amount = runetobuy - CurrentRunes ;while amount > 0 do ;buyitems(runename, amount) ;wait(500,1000) ;moveitems(runename,SupplyBPname, 1000) ;wait(300,400);amount = amount-100;end;;;amount = manatobuy - CurrentManas ;while amount > 0 do ;buyitems(mananame, amount) ;wait(500,1000) ;moveitems(mananame,SupplyBPname, 1000) ;wait(300,400) ;amount = amount-100;end;;;;</w023>
<w004>Stand 32789 31239 5</w004>
<w024>Stand 32790 31239 6</w024>
<SuppliesBought>Stand 32789 31235 7</SuppliesBought>
<w026>Stand 32801 31234 7</w026>
<w238>Action 32801 31234 7 if not islocation(1) then; gotolabel("w004");end ;;;;</w238>
<w027>Stand 32801 31246 7</w027>
<w028>Stand 32792 31247 7</w028>
<w025>Action 32791 31247 7 moveitems(6530, "boots", MainBPname, 1);;if SoftbootsRefill and (itemcount(6530) > 0 or boots == 6530) then ;return;else;setsettings("Settings\\Actions\\List\\Hur\\Enabled","yes");gotolabel("SoftsDone");end</w025>
<w029>Stand 32799 31249 7</w029>
<w030>Stand 32802 31240 7</w030>
<w031>Stand 32805 31232 7</w031>
<w032>Stand 32821 31234 7</w032>
<w033>Stand 32830 31239 7</w033>
<w034>Stand 32828 31248 7</w034>
<w035>Stand 32824 31249 7</w035>
<w239>Action 32824 31249 7 if not islocation(1) then; gotolabel("w033");end ;;;;</w239>
<w036>Action 32824 31249 7 local Currentsofts = itemcount(6530) * 10000;local SoftWithdraw = 1000 + Currentsofts;;;say("hi");wait(1200,1300);;if SoftWithdraw > 0 then; npcsay("withdraw "..SoftWithdraw); wait(500,800); npcsay("yes"); wait(200,300);end;;</w036>
<w037>Stand 32829 31249 7</w037>
<w038>Stand 32825 31255 7</w038>
<w039>Stand 32815 31255 7</w039>
<w040>Stand 32808 31255 7</w040>
<w041>Stand 32804 31255 7</w041>
<w042>Stand 32803 31255 7</w042>
<w043>Stand 32807 31259 6</w043>
<w240>Action 32807 31259 6 if not islocation(1) then; gotolabel("w041");end ;;;;</w240>
<w044>Stand 32811 31268 6</w044>
<w045>Stand 32816 31273 6</w045>
<w046>Action 32817 31274 6 if islocation(1) and toptileitem(32817,31274,6) == 4912 then;useitem(4912,32817,31274,6));end</w046>
<w047>Stand 32817 31277 6</w047>
<w048>Ladder 32815 31277 6</w048>
<w049>Stand 32817 31278 5</w049>
<w050>Action 32817 31278 5 if islocation(2) then;reachcreature("Karith");say("hi");wait(500,1000);npcsay("venore");wait(1000,1200);npcsay("yes");wait(500);end</w050>
<w051>Stand 32954 32027 6</w051>
<w052>Stand 32954 32035 6</w052>
<w241>Action 32954 32035 6 if not islocation(1) then; gotolabel("w044");end ;;;;</w241>
<w053>Stand 32954 32045 6</w053>
<w054>Stand 32954 32055 6</w054>
<w055>Stand 32954 32066 6</w055>
<w056>Stand 32954 32078 6</w056>
<w057>Stand 32954 32092 6</w057>
<w058>Stand 32949 32096 6</w058>
<w059>Stand 32949 32105 6</w059>
<w060>Stand 32953 32108 6</w060>
<w242>Action 32953 32108 6 if not islocation(1) then; gotolabel("w058");end ;;;;</w242>
<w061>Action 32953 32108 6 local Softmoney = itemcount(3031) + (itemcount(3035)*100) + (itemcount(3043)*10000);;while itemcount(6530) >= 1 and islocation(1) and Softmoney > 10500 do;say("hi");wait(500,1000);npcsay("repair");wait(500,800);npcsay("yes");wait(500);end</w061>
<w062>Stand 32949 32104 6</w062>
<w063>Stand 32951 32095 6</w063>
<w064>Stand 32953 32086 6</w064>
<w065>Stand 32953 32079 6</w065>
<w066>Stand 32954 32072 6</w066>
<w067>Stand 32954 32059 6</w067>
<w068>Stand 32954 32048 6</w068>
<w069>Stand 32954 32036 6</w069>
<w070>Stand 32954 32023 6</w070>
<w071>Action 32954 32023 6 if islocation(2) then;reachcreature("Captain Fearless");say("hi");wait(500,1000);npcsay("yalahar");wait(1000,1200);npcsay("yes");wait(500);end</w071>
<w072>Stand 32813 31271 6</w072>
<w073>Stand 32811 31261 6</w073>
<w243>Action 32811 31261 6 if not islocation(1) then; gotolabel("w068");end ;;;;</w243>
<w074>Stand 32804 31259 6</w074>
<w075>Stand 32803 31256 6</w075>
<w076>Stand 32796 31248 7</w076>
<w244>Action 32796 31248 7 if not islocation(1) then; gotolabel("w074");end ;;;;</w244>
<SoftsDone>Stand 32783 31248 7</SoftsDone>
<w077>Stand 32774 31248 7</w077>
<w078>Stand 32759 31241 7</w078>
<w079>Stand 32749 31228 7</w079>
<w080>Stand 32746 31214 7</w080>
<w081>Stand 32743 31199 7</w081>
<w082>Stand 32744 31185 7</w082>
<w083>Stand 32750 31175 7</w083>
<w084>Stand 32759 31166 7</w084>
<w085>Stand 32766 31161 7</w085>
<w086>Stand 32778 31155 7</w086>
<w101>Stand 32804 31103 7</w101>
<w115>Stand 32804 31103 7</w115>
<w102>Stand 32800 31150 7</w102>
<w103>Stand 32814 31151 7</w103>
<w104>Stand 32828 31156 7</w104>
<w105>Stand 32833 31155 7</w105>
<w106>Stand 32833 31153 6</w106>
<w107>Stand 32834 31148 5</w107>
<w249>Action 32834 31148 5 if not islocation(1) then; gotolabel("w104");end ;;;;</w249>
<w108>Stand 32835 31145 5</w108>
<w109>Stand 32835 31143 6</w109>
<w110>Stand 32835 31136 7</w110>
<w250>Action 32835 31136 7 if not islocation(1) then; gotolabel("w108");end ;;;;</w250>
<w111>Stand 32841 31124 7</w111>
<w112>Stand 32846 31114 7</w112>
<w113>Stand 32835 31107 7</w113>
<w087>Stand 32824 31103 7</w087>
<w088>Action 32824 31103 7 setsettings("Settings\\Looting\\Enabled","yes");settargeting("yes");if SetAlarms then;setalarms("yes");end;;if serverType == ("1") then ;setsettings("Settings\\Cavebot\\Pathfinding\\WalkThroughPlayers","no");else;setsettings("Settings\\Cavebot\\Pathfinding\\WalkThroughPlayers","yes");end;;setsettings("Settings\\Cavebot\\Settings\\OpenNextBp","yes");;while windowcount() < 4 and maround(2) == 0 do;closewindows();wait(1000,2000);openitem(MainBPname, "back", true);wait(1000,2000);resizewindows();wait(1000,2000);openitem(SupplyBPname, MainBPname, true);wait(1000,2000);resizewindows();openitem(LootBPname, MainBPname, true);wait(1000,2000);resizewindows();openitem(GoldBPname, MainBPname, true);wait(1000,2000);resizewindows();end;;if (itemcount(mananame) < manatoback) or (itemcount(healthname) < healthtoback) or (cap < CapToLeave);then; gotolabel("w203");end;;if boots ~= 3549 then;moveitems(6529, MainBPname, "boots", 1);end;;</w088>
<w089>Stand 32821 31106 7</w089>
<w090>Stand 32821 31107 7</w090>
<w091>Stand 32821 31110 6</w091>
<w092>Stand 32821 31111 7</w092>
<w093>Action 32821 31111 7 if not islocation(1) then; gotolabel("w089");end ;;;;;</w093>
<w094>Stand 32821 31111 7</w094>
<w095>Use 32821 31112 7</w095>
<w096>Stand 32821 31114 7</w096>
<w097>Action 32821 31114 7 if not islocation(1) then; gotolabel("w094");end ;;;;;;</w097>
<Djinki>Node 32813 31117 7</Djinki>
<w099>Node 32814 31112 7</w099>
<w100>Node 32807 31113 7</w100>
<w114>Node 32806 31120 7</w114>
<w116>Node 32804 31127 7</w116>
<w117>Node 32810 31129 7</w117>
<w118>Node 32816 31124 7</w118>
<w119>Node 32820 31127 7</w119>
<w121>Node 32824 31124 7</w121>
<w122>Node 32832 31122 7</w122>
<w123>Node 32835 31117 7</w123>
<w124>Node 32828 31112 7</w124>
<w125>Stand 32825 31112 7</w125>
<w126>Stand 32824 31113 7</w126>
<w127>Stand 32825 31117 7</w127>
<w128>Action 32825 31117 7 if FirstFloor then; return;else; gotolabel('FirstDone');end;</w128>
<w129>Stand 32827 31116 7</w129>
<w130>Stand 32827 31115 7</w130>
<w131>Stand 32827 31118 6</w131>
<w132>Action 32827 31118 6 if not islocation(1) then; gotolabel("w129");end ;;;;;;;</w132>
<w133>Node 32828 31124 6</w133>
<w134>Node 32826 31129 6</w134>
<w135>Node 32816 31130 6</w135>
<w136>Node 32810 31129 6</w136>
<w137>Node 32810 31121 6</w137>
<w138>Stand 32809 31119 6</w138>
<w139>Action 32809 31119 6 if SecondFloor then; return;else; gotolabel('SecondDone');end;;</w139>
<w140>Stand 32808 31118 6</w140>
<w141>Stand 32808 31117 6</w141>
<w142>Stand 32809 31116 5</w142>
<w143>Action 32809 31116 5 if not islocation(1) then; gotolabel("w140");end ;;;;;;;</w143>
<w144>Node 32816 31116 5</w144>
<w145>Node 32828 31118 5</w145>
<w146>Node 32828 31126 5</w146>
<w147>Node 32821 31129 5</w147>
<w148>Node 32810 31129 5</w148>
<w149>Stand 32811 31119 5</w149>
<w150>Action 32811 31119 5 if ThirdFloor then; return;else; gotolabel('ThirdDone');end;;;</w150>
<w151>Stand 32815 31119 5</w151>
<w152>Stand 32815 31118 5</w152>
<w153>Stand 32814 31117 4</w153>
<w154>Action 32814 31117 4 if not islocation(1) then; gotolabel("w151");end ;;;;;;;</w154>
<w155>Stand 32811 31118 4</w155>
<w156>Action 32811 31118 4 if Tower then; return;else; gotolabel('PotrojnaDone1');end;;;;;</w156>
<w157>Stand 32808 31118 4</w157>
<w158>Stand 32812 31118 3</w158>
<w159>Stand 32808 31118 3</w159>
<w160>Stand 32808 31119 4</w160>
<w166>Action 32808 31119 4 if not islocation(1) then; gotolabel("w157");end ;;;;;;;;</w166>
<PotrojnaDone1>Node 32810 31125 4</PotrojnaDone1>
<w163>Node 32812 31129 4</w163>
<w164>Stand 32817 31129 4</w164>
<w165>Action 32817 31129 4 if Tower then; return;else; gotolabel('PotrojnaDone2');end;;;;;</w165>
<w167>Stand 32820 31130 4</w167>
<w168>Stand 32818 31127 3</w168>
<w169>Stand 32820 31130 3</w169>
<w170>Stand 32822 31129 4</w170>
<w171>Action 32822 31129 4 if not islocation(1) then; gotolabel("w167");end ;;;;;;;;;</w171>
<PotrojnaDone2>Node 32825 31129 4</PotrojnaDone2>
<w161>Node 32828 31128 4</w161>
<w162>Stand 32828 31120 4</w162>
<w172>Action 32828 31120 4 if Tower then; return;else; gotolabel('PotrojnaDone3');end;;;;;</w172>
<w173>Stand 32827 31120 4</w173>
<w174>Stand 32826 31120 4</w174>
<w175>Stand 32829 31119 3</w175>
<w176>Stand 32826 31120 3</w176>
<w177>Stand 32827 31121 4</w177>
<w178>Action 32827 31121 4 if not islocation(1) then; gotolabel("w173");end ;;;;;;;;;</w178>
<PotrojnaDone3>Node 32823 31116 4</PotrojnaDone3>
<w179>Node 32820 31116 4</w179>
<w180>Stand 32813 31118 4</w180>
<w181>Stand 32815 31118 4</w181>
<w182>Stand 32812 31118 5</w182>
<w183>Action 32812 31118 5 if not islocation(1) then; gotolabel("w180");end ;;;;;;;;;</w183>
<ThirdDone>Stand 32808 31118 5</ThirdDone>
<w185>Stand 32808 31117 5</w185>
<w186>Stand 32809 31118 6</w186>
<w187>Action 32809 31118 6 if not islocation(1) then; gotolabel("w184");end ;;;;;;;;;</w187>
<SecondDone>Node 32816 31116 6</SecondDone>
<w189>Stand 32826 31116 6</w189>
<w190>Stand 32827 31115 6</w190>
<w191>Stand 32824 31117 7</w191>
<w192>Action 32824 31117 7 if not islocation(1) then; gotolabel("w189");end ;;;;;;;;;</w192>
<FirstDone>Stand 32820 31116 7</FirstDone>
<w194>Action 32820 31116 7 if (itemcount(mananame) < manatoback) or (itemcount(healthname) < healthtoback) or (cap < CapToLeave) then;gotolabel("Leave");end;</w194>
<w195>Action 32820 31116 7 gotolabel("Djinki");</w195>
<Leave>Stand 32821 31114 7</Leave>
<w196>Stand 32821 31113 7</w196>
<w197>Use 32821 31112 7</w197>
<w198>Stand 32821 31111 7</w198>
<w199>Stand 32821 31110 7</w199>
<w200>Stand 32821 31108 6</w200>
<w201>Stand 32821 31105 7</w201>
<w202>Action 32821 31105 7 if not islocation(1) then; gotolabel("w196");end ;;;;;;;;;</w202>
<w203>Stand 32834 31107 7</w203>
<w204>Stand 32843 31116 7</w204>
<w205>Stand 32836 31127 7</w205>
<w206>Stand 32835 31137 7</w206>
<w207>Stand 32835 31143 7</w207>
<w208>Stand 32835 31145 6</w208>
<w209>Stand 32834 31149 5</w209>
<w210>Action 32834 31149 5 if not islocation(1) then; gotolabel("w206");end ;;;;;;;;;</w210>
<w211>Stand 32833 31152 5</w211>
<w212>Stand 32833 31153 5</w212>
<w213>Stand 32833 31155 6</w213>
<w214>Stand 32833 31158 7</w214>
<w215>Action 32833 31158 7 if not islocation(1) then; gotolabel("w211");end ;;;;;;;;;</w215>
<w216>Stand 32837 31163 7</w216>
<w217>Stand 32849 31172 7</w217>
<w218>Stand 32857 31180 7</w218>
<w219>Stand 32858 31196 7</w219>
<w245>Stand 32855 31202 7</w245>
<w246>Stand 32848 31206 7</w246>
<w247>Stand 32841 31206 7</w247>
<w248>Stand 32837 31204 7</w248>
<w251>Stand 32829 31204 7</w251>
<w252>Stand 32827 31210 7</w252>
<w253>Stand 32825 31215 7</w253>
<w254>Stand 32826 31221 7</w254>
<w255>Stand 32826 31231 7</w255>
<w256>Stand 32813 31231 7</w256>
<w259>Stand 32800 31231 7</w259>
<w260>Stand 32800 31248 7</w260>
<w261>Stand 32790 31247 7</w261>
</Waypoints>
<Pathfinding>
<SpecialAreas>
<NewArea0>
<Coordinates>32816 31116 6</Coordinates>
<Dimensions>1 2</Dimensions>
<ConsideredBy>Target</ConsideredBy>
</NewArea0>
<NewArea1>
<Coordinates>32823 31116 6</Coordinates>
<Dimensions>1 1</Dimensions>
<ConsideredBy>Target</ConsideredBy>
</NewArea1>
<NewArea2>
<Coordinates>32828 31122 6</Coordinates>
<Dimensions>2 1</Dimensions>
<ConsideredBy>Target</ConsideredBy>
</NewArea2>
<NewArea3>
<Coordinates>32824 31129 6</Coordinates>
<Dimensions>1 2</Dimensions>
<ConsideredBy>Target</ConsideredBy>
</NewArea3>
<NewArea4>
<Coordinates>32815 31129 6</Coordinates>
<Dimensions>1 1</Dimensions>
<ConsideredBy>Target</ConsideredBy>
</NewArea4>
<NewArea5>
<Coordinates>32810 31122 6</Coordinates>
<Dimensions>2 1</Dimensions>
<ConsideredBy>Target</ConsideredBy>
</NewArea5>
<NewArea6>
<Coordinates>32816 31116 5</Coordinates>
<Dimensions>1 2</Dimensions>
<ConsideredBy>Target</ConsideredBy>
</NewArea6>
<NewArea7>
<Coordinates>32823 31116 5</Coordinates>
<Dimensions>1 1</Dimensions>
<ConsideredBy>Target</ConsideredBy>
</NewArea7>
<NewArea8>
<Coordinates>32828 31123 5</Coordinates>
<Dimensions>1 1</Dimensions>
<ConsideredBy>Target</ConsideredBy>
</NewArea8>
<NewArea9>
<Coordinates>32825 31129 5</Coordinates>
<Dimensions>1 1</Dimensions>
<ConsideredBy>Target</ConsideredBy>
</NewArea9>
<NewArea10>
<Coordinates>32815 31129 5</Coordinates>
<Dimensions>1 1</Dimensions>
<ConsideredBy>Target</ConsideredBy>
</NewArea10>
<NewArea11>
<Coordinates>32810 31123 5</Coordinates>
<Dimensions>1 1</Dimensions>
<ConsideredBy>Target</ConsideredBy>
</NewArea11>
<NewArea12>
<Coordinates>32817 31116 4</Coordinates>
<Dimensions>1 1</Dimensions>
<ConsideredBy>Target</ConsideredBy>
</NewArea12>
<NewArea13>
<Coordinates>32823 31116 4</Coordinates>
<Dimensions>1 1</Dimensions>
<ConsideredBy>Target</ConsideredBy>
</NewArea13>
<NewArea14>
<Coordinates>32828 31123 4</Coordinates>
<Dimensions>1 1</Dimensions>
<ConsideredBy>Target</ConsideredBy>
</NewArea14>
<NewArea15>
<Coordinates>32825 31129 4</Coordinates>
<Dimensions>1 1</Dimensions>
<ConsideredBy>Target</ConsideredBy>
</NewArea15>
<NewArea16>
<Coordinates>32815 31129 4</Coordinates>
<Dimensions>1 1</Dimensions>
<ConsideredBy>Target</ConsideredBy>
</NewArea16>
<NewArea17>
<Coordinates>32810 31123 4</Coordinates>
<Dimensions>1 1</Dimensions>
<ConsideredBy>Target</ConsideredBy>
</NewArea17>
</SpecialAreas>
<WalkThroughPlayers>yes</WalkThroughPlayers>
<WalkingMethod>Map Clicks</WalkingMethod>
<MapWalkDistance>20 to 50</MapWalkDistance>
<WalkableIds>140;404;831;832;833;834;883;2118;2119;2120;2121;2122;2123;2124;2125;2126;2127;2131;2132;2133;2134;2135;2314;2315;2316;2319;2346;2347;2348;2349;2350;2351;2352;2353;2354;2355;2356;2357;2358;2359;2360;2361;2362;2363;2364;2365;2366;2367;2368;2369;2370;2371;2372;2373;2374;2375;2376;2377;2378;2379;2380;2381;2382;2383;2384;2385;2418;2419;2420;2421;2422;2423;2424;2425;2426;2431;2432;2433;2434;2441;2442;2443;2444;2469;2471;2472;2473;2478;2480;2481;2482;2483;2484;2485;2486;2519;2523;2775;2776;2777;2778;2779;2780;2781;2782;2783;2784;2785;2786;2787;2788;2789;2790;2791;2792;2793;2794;2795;2796;2797;2798;2799;2800;2801;2802;2803;2804;2805;2806;2807;2808;2809;2810;2811;2812;2981;2983;2982;2984;2985;2987;2988;3503;3504;3514;3807;5086;5087;5088;6114;6115;6355;6356;6357;6358;6359;6360;6361;6362;6371;6372;7864;8455;8763;9061;9062;10207;10209;10216;10286;10287;10288;11009;11800;11801;11802;11803;11804;11805;11806;11807;11808;11809;11810</WalkableIds>
</Pathfinding>
<Settings>
<Rope>3003</Rope>
<Shovel>3457</Shovel>
<Pick>3456</Pick>
<Machete>3308</Machete>
<NodeRange>4</NodeRange>
<Priority>Target</Priority>
<OpenNextBp>yes</OpenNextBp>
<AutoMount>no</AutoMount>
<Anti-idle>no</Anti-idle>
<EatFood>yes</EatFood>
<FoodToEat>3725;3587;3600;3595;3589;3598;8014;3583;3606;3578;3592;3582;3577;3593;3586;3585;3581;3723</FoodToEat>
<PauseOnDeath>yes</PauseOnDeath>
</Settings>
<Enabled>no</Enabled>
</CaveBot>
<Looting>
<List>
<Gold-Coin>
<Id>3031</Id>
<Destination>03</Destination>
<AlarmOn>No Alarm</AlarmOn>
</Gold-Coin>
<Mana-Potion>
<Id>268</Id>
<Destination>01</Destination>
<AlarmOn>No Alarm</AlarmOn>
</Mana-Potion>
<Small-Oil-Lamp>
<Id>2933</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</Small-Oil-Lamp>
<Small-Sapphire>
<Id>3029</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</Small-Sapphire>
<Strong-Mana-Potion>
<Id>237</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</Strong-Mana-Potion>
<Blue-Piece-of-Cloth>
<Id>5912</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</Blue-Piece-of-Cloth>
<Noble-Turban>
<Id>11486</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</Noble-Turban>
<Jewelled-Belt>
<Id>11470</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</Jewelled-Belt>
<Seeds>
<Id>647</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</Seeds>
<Hailstorm-Rod>
<Id>3067</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</Hailstorm-Rod>
<Mystic-Turban>
<Id>3574</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</Mystic-Turban>
<Magma-Monocle>
<Id>827</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</Magma-Monocle>
<Dirty-Turban>
<Id>11456</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</Dirty-Turban>
<Blue-Gem>
<Id>3041</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</Blue-Gem>
</List>
<Condition>Corpses with listed items</Condition>
<Style>After melee kill</Style>
<OpenBodyTime>300</OpenBodyTime>
<Range>10</Range>
<EatFood>yes</EatFood>
<Enabled>yes</Enabled>
</Looting>
<Targeting>
<Monsters>
<Blue-Djinn>
<Categories>A</Categories>
<Danger>5</Danger>
<ListSettings>
<Setting0>
<Count>Any</Count>
<HpRange>0 to 100 %</HpRange>
<Stance>Reach</Stance>
<Avoid>None</Avoid>
<Distance>3</Distance>
<Attack>Attack</Attack>
<ListSpell>
<Spell0>Ice Strike</Spell0>
</ListSpell>
<SpellRate>500 to 1000</SpellRate>
<AttackMode>No Change</AttackMode>
</Setting0>
</ListSettings>
<Looting>yes</Looting>
<MustAttackMe>no</MustAttackMe>
<OnlyIfTrapped>no</OnlyIfTrapped>
</Blue-Djinn>
<Marid>
<Categories>A</Categories>
<Danger>9</Danger>
<ListSettings>
<Setting0>
<Count>Any</Count>
<HpRange>0 to 100 %</HpRange>
<Stance>Reach</Stance>
<Avoid>None</Avoid>
<Distance>3</Distance>
<Attack>Attack</Attack>
<ListSpell>
<Spell0>Strong Ice Strike</Spell0>
<Spell1>Ice Strike</Spell1>
</ListSpell>
<SpellRate>500 to 1000</SpellRate>
<AttackMode>No Change</AttackMode>
</Setting0>
</ListSettings>
<Looting>yes</Looting>
<MustAttackMe>no</MustAttackMe>
<OnlyIfTrapped>no</OnlyIfTrapped>
</Marid>
<All>
<Categories>-</Categories>
<Danger>0</Danger>
<ListSettings>
<Setting0>
<Count>Any</Count>
<HpRange>0 to 100 %</HpRange>
<Stance>No movement</Stance>
<Avoid>None</Avoid>
<Distance>0</Distance>
<Attack>Attack</Attack>
<ListSpell>
<Spell0>Ice Strike</Spell0>
</ListSpell>
<SpellRate>500 to 1000</SpellRate>
<AttackMode>No Change</AttackMode>
</Setting0>
</ListSettings>
<Looting>no</Looting>
<MustAttackMe>no</MustAttackMe>
<OnlyIfTrapped>yes</OnlyIfTrapped>
</All>
<Category-A>
<Categories>-</Categories>
<Danger>0</Danger>
<ListSettings>
<Setting0>
<Count>4+</Count>
<HpRange>0 to 100 %</HpRange>
<Stance>No movement</Stance>
<Avoid>None</Avoid>
<Distance>3</Distance>
<Attack>Attack</Attack>
<ListSpell>
<Spell0>Sudden Death Rune</Spell0>
</ListSpell>
<SpellRate>500 to 1000</SpellRate>
<AttackMode>No Change</AttackMode>
</Setting0>
</ListSettings>
<Looting>yes</Looting>
<MustAttackMe>no</MustAttackMe>
<OnlyIfTrapped>no</OnlyIfTrapped>
</Category-A>
</Monsters>
<Settings>
<ListOrder>1</ListOrder>
<Health>4</Health>
<Proximity>6</Proximity>
<Danger>9</Danger>
<PlayerOnScreenSecurity>If cavebotting</PlayerOnScreenSecurity>
<CooldownControl>yes</CooldownControl>
<CheckItem>no</CheckItem>
<MustBeReachable>yes</MustBeReachable>
<MustBeShootable>no</MustBeShootable>
</Settings>
<Enabled>yes</Enabled>
</Targeting>
<Hud>
<List>
<Edited_BUgWT_HUD>
<Script>local function addbordertext(text, color, xpos, ypos)
setfontcolor(rgbcolor(1, 1, 1))
addtext(text, xpos+1, ypos)
addtext(text, xpos-1, ypos)
addtext(text, xpos, ypos+1)
addtext(text, xpos, ypos-1)
setfontcolor(color)
addtext(text, xpos, ypos)
end
function addcommas(amount)
local formated = amount
while true do
formated, k = string.gsub(formated, "^(-?%d+)(%d%d%d)", '%1.%2')
if (k==0) then
break
end
end
return formated
end
function formatstaminaintotime(staminaAmount)
if staminaAmount == 0 then
return "00:00"
else
local nHours = string.format("%02.f", math.floor(staminaAmount/60))
local nMins = string.format("%02.f", math.floor(staminaAmount - (nHours*60)))
return nHours..":"..nMins
end
end
local walkthroughplayers = getsettings("Settings/CaveBot/Pathfinding/WalkThroughPlayers")
local yellow = rgbcolor(230, 255, 4)
local firstcolor = rgbcolor(255, 255, 255)
local white = rgbcolor(255, 255, 255)
local title = rgbcolor(111, 178, 83)
local green = rgbcolor(43, 118, 41)
local red = rgbcolor(255, 0, 0)
local orange = rgbcolor(255, 180, 4)
setposition(clientwin.left+10, worldwin.top+22)
addbordertext('-= BLUE DJINNS YALAHAR BY SPENS13 =-', title, 5,25)
addbordertext("BOTTING INFO", orange, 5, 50)
addbordertext('Experience Per Hour', yellow, 5, 70)
addbordertext('Experience Left', yellow, 5, 85)
addbordertext('Experience Today', yellow, 5, 100)
addbordertext('Time to Next Level', yellow, 5, 115)
addbordertext('Played Time', yellow, 5, 130)
addbordertext("CHARACTER INFO", orange, 5, 155)
addbordertext('Current Level', yellow, 5, 175)
addbordertext('Total Experience', yellow, 5, 190)
addbordertext('Health Points', yellow, 5, 205)
addbordertext('Mana Points', yellow, 5, 220)
addbordertext('Stamina', yellow, 5, 235)
addbordertext('Bank Balance', yellow, 5, 250)
addbordertext("ENGINES", orange, 5, 275)
addbordertext('Cavebot', yellow, 5, 295)
addbordertext('Targeting', yellow, 5, 310)
addbordertext('Looting', yellow, 5, 325)
addbordertext('Walk Through Players', yellow, 5, 340)
addbordertext(': ' ..exphour, white, 140, 70)
addbordertext(': ' ..addcommas(exptolevel()), white, 140, 85)
addbordertext(': ' ..addcommas(expgained), white, 140, 100)
addbordertext(': ' ..addcommas(exp), white, 140, 190)
addbordertext(': ' ..timetolevel, white, 140, 115)
addbordertext(': ' ..level, white, 140, 175)
addbordertext(': ' .. mp ..' (' .. mppc .. '%)', white, 140, 220)
addbordertext(': ' .. hp ..' (' .. hppc .. '%)', white, 140, 205)
if stamina >= 2400 then
addbordertext(': ' ..formatstaminaintotime(stamina), green, 140, 235)
elseif stamina < 2400 and stamina >= 840 then
addbordertext(': ' ..formatstaminaintotime(stamina), orange, 140, 235)
elseif stamina <= 840 then
addbordertext(': ' ..formatstaminaintotime(stamina), red, 140, 235)
end
addbordertext(': ' ..timehunt, white, 140, 130)
if cavebot then
addbordertext(': ' ..'ON', green, 140, 295)
else
addbordertext(': ' ..'OFF', red, 140, 295)
end
if targeting then
addbordertext(': ' ..'ON', green, 140, 310)
else
addbordertext(': ' ..'OFF', red, 140, 310)
end
if looting then
addbordertext(': ' ..'ON', green, 140, 325)
else
addbordertext(': ' ..'OFF', red, 140, 325)
end
if walkthroughplayers == 'yes' then
addbordertext(': ' ..'ON', green, 140, 340)
elseif walkthroughplayers == 'no' then
addbordertext(': ' ..'OFF', red, 140, 340)
end
addbordertext(': ' ..addcommas(balance), white, 140, 250)</Script>
<RefreshRate>1000</RefreshRate>
<Enabled>yes</Enabled>
</Edited_BUgWT_HUD>
<MyMonitorHunting>
<Script>-- [[ INIT START ]] --
--
-- 88
-- "" ,d
-- 88
-- ,adPPYba, 88 8b,dPPYba, 88,dPYba,,adPYba, ,adPPYYba, MM88MMM ,adPPYba,
-- I8[ "" 88 88P' "Y8 88P' "88" "8a "" `Y8 88 a8P_____88
-- `"Y8ba, 88 88 88 88 88 ,adPPPPP88 88 8PP"""""""
-- aa ]8I 88 88 88 88 88 88, ,88 88, "8b, ,aa
-- Author: `"YbbdP"' 88 88 88 88 88 `"8bbdP"Y8 "Y888 `"Ybbd8"'
--
-- Monitor My Hunting!
--
-- Version: 1.0
-- Created: 7.09.2012
-- Last update: 18.09.2012
--
MONITOR_MY_HUNTING = MONITOR_MY_HUNTING or {
SCRIPT_NAME = "Monitor My Hunting",
SCRIPT_VERSION = "1.0",
CLEARED_STATS = false,
INITIALIZED = false,
}
MONITOR_MY_HUNTING.SHOW_ALL_ITEMS = false
MONITOR_MY_HUNTING.ITEMS_LIST = {
{NAME = "gold coin", VALUE = 1},
{NAME = "Mana Potion", VALUE = 50},
{NAME = "Dirty Turban", VALUE = 120},
{NAME = "Small Oil Lamp", VALUE = 150},
{NAME = "Small Sapphire", VALUE = 250},
{NAME = "Strong Mana Potion", VALUE = 75},
{NAME = "Blue Piece of Cloth", VALUE = 1750},
{NAME = "Noble Turban", VALUE = 430},
{NAME = "Jewelled Belt", VALUE = 180},
{NAME = "Seeds", VALUE = 150},
{NAME = "Hailstorm Rod", VALUE = 3000},
{NAME = "Blue Gem", VALUE = 5000},
{NAME = "Magma Monocle", VALUE = 2500},
{NAME = "Mystic Turban", VALUE = 1750},
}
MONITOR_MY_HUNTING.SHOW_ALL_SUPPLIES = false
MONITOR_MY_HUNTING.SUPPLIES_LIST = {
{NAME = "mana potion", PRICE = 50},
{NAME = "great health potion", PRICE = 190},
{NAME = "strong health potion", PRICE = 100},
{NAME = "sudden death rune", PRICE = 108},
}
-- [[ DO NOT CHANGE ANYTHING BELOW THIS LINE. ]] --
MONITOR_MY_HUNTING.TEMP_ITEMS_LIST = MONITOR_MY_HUNTING.TEMP_ITEMS_LIST or {}
MONITOR_MY_HUNTING.TEMP_SUPPLIES_LIST = MONITOR_MY_HUNTING.TEMP_SUPPLIES_LIST or {}
MONITOR_MY_HUNTING.COLORS = MONITOR_MY_HUNTING.COLORS or {
BLACK = rgbcolor(1, 1, 1),
ORANGE = rgbcolor(255, 165, 0),
BLUE = rgbcolor(30, 144, 255),
CORNSILK = rgbcolor(205, 200, 177),
WHITE = rgbcolor(255, 255, 255),
GREEN = rgbcolor(107, 142, 35),
RED = rgbcolor(178, 34, 34),
}
local function CreateMessageObject(MESSAGE_DATA)
if (type(MESSAGE_DATA) ~= "userdata") then
return setmetatable({__data = {TYPE = -1, TIME_STAMP = -1, SENDER_NAME = "", SENDER_LEVEL = -1, CONTENT = ""}}, MessageMetaTable)
else
return setmetatable({__data = {TYPE = MESSAGE_DATA.type, TIME_STAMP = Misc.ConvertToSeconds(string.sub(MESSAGE_DATA.text, 1, 5)), SENDER_NAME = MESSAGE_DATA.sender, SENDER_LEVEL = tonumber((tostring(string.match(MESSAGE_DATA.text, ".+ (%b[]): .+")):gsub("[^%d]", ""))) or 0, CONTENT = string.sub(MESSAGE_DATA.text, 7)}}, MessageMetaTable)
end
end
local function addtextshadow(DISPLAY_TEXT, X_OFFSET, Y_OFFSET, FONT_COLOR)
setfontcolor(MONITOR_MY_HUNTING.COLORS.BLACK)
addtext(DISPLAY_TEXT, X_OFFSET + 1, Y_OFFSET + 1)
setfontcolor(FONT_COLOR)
addtext(DISPLAY_TEXT, X_OFFSET, Y_OFFSET)
end
-- [[ INIT END ]] --
if (not Stats.Update()) then
local SERVER_LOG_MESSAGES = getnewmessages("Server Log")
local SERVER_LOG_MESSAGES_COUNT = SERVER_LOG_MESSAGES.count - 1
for INDEX = 0, SERVER_LOG_MESSAGES_COUNT do
local MESSAGE_OBJECT = CreateMessageObject(SERVER_LOG_MESSAGES[SERVER_LOG_MESSAGES_COUNT - INDEX])
if (MESSAGE_OBJECT:Type() == 19 and MESSAGE_OBJECT:Content():lower():match("^loot of")) then
local LOOT_INFO = Message.ParseLootMessage(MESSAGE_OBJECT, true)
if (#LOOT_INFO.NAME > 0) then
Stats.__data.MONSTERS_KILLED[LOOT_INFO.NAME] = (Stats.__data.MONSTERS_KILLED[LOOT_INFO.NAME] or 0) + 1
for _, LOOT_ITEM in ipairs(LOOT_INFO.ITEMS) do
if (Stats.__data.ITEMS_LOOTED[LOOT_ITEM.ID]) then
Stats.__data.ITEMS_LOOTED[LOOT_ITEM.ID].QUANTITY = Stats.__data.ITEMS_LOOTED[LOOT_ITEM.ID].QUANTITY + LOOT_ITEM.QUANTITY
else
Stats.__data.ITEMS_LOOTED[LOOT_ITEM.ID] = {ID = LOOT_ITEM.ID, NAME = LOOT_ITEM.NAME, QUANTITY = LOOT_ITEM.QUANTITY, VALUE = Item.GetValue(LOOT_ITEM.ID)}
end
end
end
end
end
end
local RESET_ITEMS_AND_SUPPLIES = #MONITOR_MY_HUNTING.ITEMS_LIST ~= #MONITOR_MY_HUNTING.TEMP_ITEMS_LIST or #MONITOR_MY_HUNTING.SUPPLIES_LIST ~= #MONITOR_MY_HUNTING.TEMP_SUPPLIES_LIST
if (not RESET_ITEMS_AND_SUPPLIES) then
for INDEX, LOOT_ITEM in ipairs(MONITOR_MY_HUNTING.ITEMS_LIST) do
if (LOOT_ITEM.NAME ~= MONITOR_MY_HUNTING.TEMP_ITEMS_LIST[INDEX].NAME or LOOT_ITEM.VALUE ~= MONITOR_MY_HUNTING.TEMP_ITEMS_LIST[INDEX].VALUE) then
RESET_ITEMS_AND_SUPPLIES = true
break
end
end
end
if (not RESET_ITEMS_AND_SUPPLIES) then
for INDEX, SUPPLY_ITEM in ipairs(MONITOR_MY_HUNTING.SUPPLIES_LIST) do
if (SUPPLY_ITEM.NAME ~= MONITOR_MY_HUNTING.TEMP_SUPPLIES_LIST[INDEX].NAME or SUPPLY_ITEM.PRICE ~= MONITOR_MY_HUNTING.TEMP_SUPPLIES_LIST[INDEX].PRICE) then
RESET_ITEMS_AND_SUPPLIES = true
break
end
end
end
if (not MONITOR_MY_HUNTING.INITIALIZED or RESET_ITEMS_AND_SUPPLIES) then
if (not MONITOR_MY_HUNTING.CLEARED_STATS) then
Stats.Clear(CLEAR_STATS_ALL)
Stats.Update()
MONITOR_MY_HUNTING.CLEARED_STATS = true
end
MONITOR_MY_HUNTING.TEMP_ITEMS_LIST, MONITOR_MY_HUNTING.TEMP_SUPPLIES_LIST = {}, {}
for _, LOOT_ITEM in ipairs(MONITOR_MY_HUNTING.ITEMS_LIST) do
local LOOT_ITEM_ID = Item.GetID(type(LOOT_ITEM.NAME) ~= "table" and LOOT_ITEM.NAME or unpack(LOOT_ITEM.NAME))
Stats.AddItemsLooted(LOOT_ITEM_ID, 0, LOOT_ITEM.VALUE)
table.insert(MONITOR_MY_HUNTING.TEMP_ITEMS_LIST, {ID = LOOT_ITEM_ID, NAME = LOOT_ITEM.NAME, VALUE = LOOT_ITEM.VALUE})
end
for _, SUPPLY_ITEM in ipairs(MONITOR_MY_HUNTING.SUPPLIES_LIST) do
local SUPPLY_ITEM_ID = Item.GetID(type(SUPPLY_ITEM.NAME) ~= "table" and SUPPLY_ITEM.NAME or unpack(SUPPLY_ITEM.NAME))
Stats.AddSuppliesUsed(SUPPLY_ITEM_ID, 0, SUPPLY_ITEM.PRICE)
table.insert(MONITOR_MY_HUNTING.TEMP_SUPPLIES_LIST, {ID = SUPPLY_ITEM_ID, NAME = SUPPLY_ITEM.NAME, PRICE = SUPPLY_ITEM.PRICE})
end
MONITOR_MY_HUNTING.INITIALIZED = true
end
setposition(Client.ClientWindow().right - 434, Client.WorldWindow().top + 5)
local Y_POSITION, INDEX, ITEMS_LOOTED_WORTH, SUPPLIES_USED_WORTH = 30, 0, 0, 0
addtextshadow(sprintf("%s v%s", MONITOR_MY_HUNTING.SCRIPT_NAME:upper(), MONITOR_MY_HUNTING.SCRIPT_VERSION), 10, Y_POSITION + (INDEX * 16), MONITOR_MY_HUNTING.COLORS.ORANGE)
Y_POSITION = Y_POSITION + 20
addtextshadow("ITEMS LOOTED", 10, Y_POSITION + (INDEX * 16), MONITOR_MY_HUNTING.COLORS.BLUE)
Y_POSITION = Y_POSITION + 20
for _, LOOT_ITEM in pairs(Stats.GetItemsLooted()) do
if ((MONITOR_MY_HUNTING.SHOW_ALL_ITEMS or table.find(MONITOR_MY_HUNTING.TEMP_ITEMS_LIST, LOOT_ITEM.ID, "ID")) and LOOT_ITEM.QUANTITY > 0) then
addtextshadow(((#LOOT_ITEM.NAME > 17 and sprintf("%s...", string.match(string.sub(LOOT_ITEM.NAME, 1, 17), "(.-)%s?$"))) or LOOT_ITEM.NAME):ucwords(), 10, Y_POSITION + (INDEX * 16), MONITOR_MY_HUNTING.COLORS.CORNSILK)
addtextshadow(sprintf("%s (%sK)", Misc.FormatNumber(LOOT_ITEM.QUANTITY), tostring(math.floor(LOOT_ITEM.VALUE * LOOT_ITEM.QUANTITY / 100) / 10)), 140, Y_POSITION + (INDEX * 16), MONITOR_MY_HUNTING.COLORS.WHITE)
INDEX, ITEMS_LOOTED_WORTH = INDEX + 1, ITEMS_LOOTED_WORTH + (LOOT_ITEM.VALUE * LOOT_ITEM.QUANTITY)
end
end
addtextshadow("Total:", 10, Y_POSITION + (INDEX * 16), MONITOR_MY_HUNTING.COLORS.WHITE)
addtextshadow(sprintf("%s GPs", Misc.FormatNumber(ITEMS_LOOTED_WORTH)), 10 + 35, Y_POSITION + (INDEX * 16), MONITOR_MY_HUNTING.COLORS.ORANGE)
Y_POSITION = Y_POSITION + 20
addtextshadow("SUPPLIES USED", 10, Y_POSITION + (INDEX * 16), MONITOR_MY_HUNTING.COLORS.BLUE)
Y_POSITION = Y_POSITION + 20
for _, SUPPLY_ITEM in pairs(Stats.GetSuppliesUsed()) do
if ((MONITOR_MY_HUNTING.SHOW_ALL_SUPPLIES or table.find(MONITOR_MY_HUNTING.TEMP_SUPPLIES_LIST, SUPPLY_ITEM.ID, "ID")) and SUPPLY_ITEM.QUANTITY > 0) then
addtextshadow(((#SUPPLY_ITEM.NAME > 17 and sprintf("%s...", string.match(string.sub(SUPPLY_ITEM.NAME, 1, 17), "(.-)%s?$"))) or SUPPLY_ITEM.NAME):ucwords(), 10, Y_POSITION + (INDEX * 16), MONITOR_MY_HUNTING.COLORS.CORNSILK)
addtextshadow(sprintf("%s (%sK)", Misc.FormatNumber(SUPPLY_ITEM.QUANTITY), tostring(math.floor(SUPPLY_ITEM.PRICE * SUPPLY_ITEM.QUANTITY / 100) / 10)), 140, Y_POSITION + (INDEX * 16), MONITOR_MY_HUNTING.COLORS.WHITE)
INDEX, SUPPLIES_USED_WORTH = INDEX + 1, SUPPLIES_USED_WORTH + (SUPPLY_ITEM.PRICE * SUPPLY_ITEM.QUANTITY)
end
end
addtextshadow("Total:", 10, Y_POSITION + (INDEX * 16), MONITOR_MY_HUNTING.COLORS.WHITE)
addtextshadow(sprintf("%s GPs", Misc.FormatNumber(SUPPLIES_USED_WORTH)), 10 + 35, Y_POSITION + (INDEX * 16), MONITOR_MY_HUNTING.COLORS.ORANGE)
Y_POSITION = Y_POSITION + 20
addtextshadow(sprintf("%s: %s GPs (%s K/H)", ((ITEMS_LOOTED_WORTH >= SUPPLIES_USED_WORTH and ("PROFIT")) or ("WASTE")), Misc.FormatNumber(ITEMS_LOOTED_WORTH - SUPPLIES_USED_WORTH), tostring(math.floor(((ITEMS_LOOTED_WORTH - SUPPLIES_USED_WORTH) * 3600) / (System.HuntingTime() / 1000) / 100) / 10)), 10, Y_POSITION + (INDEX * 16), ITEMS_LOOTED_WORTH >= SUPPLIES_USED_WORTH and MONITOR_MY_HUNTING.COLORS.GREEN or MONITOR_MY_HUNTING.COLORS.RED)</Script>
<RefreshRate>600</RefreshRate>
<Enabled>yes</Enabled>
</MyMonitorHunting>
</List>
<Show>If focused</Show>
<Enabled>yes</Enabled>
</Hud>
<Input>
<Keyboard>
<Mode>Simulate</Mode>
<StuckCtrlShift>If cavebot on, release after 1 sec</StuckCtrlShift>
<TypingStyle>Keyboard keys</TypingStyle>
<PressWaitTime>45 to 65</PressWaitTime>
</Keyboard>
<Mouse>
<Mode>Simulate</Mode>
<Scroll>Use mouse wheel</Scroll>
<MoveSpeed>Instantaneous</MoveSpeed>
<ClickWaitTime>30 to 50</ClickWaitTime>
</Mouse>
<OpenMenuPolicy>Confirm if cavebotting</OpenMenuPolicy>
<Enabled>yes</Enabled>
</Input>
</Settings>