Xinum
Never Give Up!
- Joined
- Dec 23, 2009
- Messages
- 578
- Reaction score
- 64
Skrypt
Code:
<Settings>
<Alerts>
<Message>
<PrivateMessage>
<PlaySound>no</PlaySound>
<FlashClient>no</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>no</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>no</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>100</Value>
<PlaySound>no</PlaySound>
<FlashClient>no</FlashClient>
<PauseBot>no</PauseBot>
<Disconnect>no</Disconnect>
</Capacity>
<StandTime>
<Value>30000</Value>
<PlaySound>no</PlaySound>
<FlashClient>no</FlashClient>
<PauseBot>no</PauseBot>
<Disconnect>no</Disconnect>
</StandTime>
<Stamina>
<Value>841</Value>
<PlaySound>yes</PlaySound>
<FlashClient>yes</FlashClient>
<PauseBot>yes</PauseBot>
<CloseTibia>no</CloseTibia>
<Disconnect>yes</Disconnect>
</Stamina>
<Disconnect>
<PlaySound>no</PlaySound>
<FlashClient>no</FlashClient>
<PauseBot>no</PauseBot>
</Disconnect>
<Enabled>yes</Enabled>
</Alerts>
<Healer>
<Rules>
<Exura-Gran-San>
<HealRange>0 to 50 %</HealRange>
<ManaRange>210 to all</ManaRange>
<HealMethod>Salvation</HealMethod>
<ExtraCondition>No condition</ExtraCondition>
<CooldownControl>yes</CooldownControl>
<CheckItem>no</CheckItem>
<SpamRate>200 to 400</SpamRate>
<Enabled>yes</Enabled>
</Exura-Gran-San>
<Exura-San>
<HealRange>51 to 81 %</HealRange>
<ManaRange>160 to all</ManaRange>
<HealMethod>Divine Healing</HealMethod>
<ExtraCondition>No condition</ExtraCondition>
<CooldownControl>yes</CooldownControl>
<CheckItem>no</CheckItem>
<SpamRate>200 to 400</SpamRate>
<Enabled>yes</Enabled>
</Exura-San>
<Exura>
<HealRange>82 to 90 %</HealRange>
<ManaRange>20 to all</ManaRange>
<HealMethod>Light Healing</HealMethod>
<ExtraCondition>No condition</ExtraCondition>
<CooldownControl>yes</CooldownControl>
<CheckItem>no</CheckItem>
<SpamRate>200 to 400</SpamRate>
<Enabled>yes</Enabled>
</Exura>
<Utura-Gran>
<HealRange>85 to 93 %</HealRange>
<ManaRange>50 to all %</ManaRange>
<HealMethod>Intense Recovery</HealMethod>
<ExtraCondition>If not strengthened</ExtraCondition>
<CooldownControl>yes</CooldownControl>
<CheckItem>no</CheckItem>
<SpamRate>200 to 400</SpamRate>
<Enabled>yes</Enabled>
</Utura-Gran>
<SMP>
<HealRange>0 to all %</HealRange>
<ManaRange>0 to 85 %</ManaRange>
<HealMethod>Strong Mana Potion</HealMethod>
<ExtraCondition>No condition</ExtraCondition>
<CooldownControl>yes</CooldownControl>
<CheckItem>no</CheckItem>
<SpamRate>300 to 500</SpamRate>
<Enabled>yes</Enabled>
</SMP>
</Rules>
<PingCompensation>10</PingCompensation>
<Enabled>yes</Enabled>
</Healer>
<FriendHealer>
<Rules />
<Enabled>no</Enabled>
</FriendHealer>
<Refiller>
<Rules>
<Drill-Bolt>
<HealRange>0 to 100 %</HealRange>
<ManaRange>0 to 100 %</ManaRange>
<ItemRefiller>16142</ItemRefiller>
<AmmoCount>0 to 80</AmmoCount>
<ExtraCondition>No condition</ExtraCondition>
<SpamRate>500 to 1000</SpamRate>
<Enabled>yes</Enabled>
</Drill-Bolt>
<Crystaline-arrow>
<HealRange>0 to 100 %</HealRange>
<ManaRange>0 to 100 %</ManaRange>
<ItemRefiller>15793</ItemRefiller>
<AmmoCount>0 to 70</AmmoCount>
<ExtraCondition>No condition</ExtraCondition>
<SpamRate>500 to 1000</SpamRate>
<Enabled>yes</Enabled>
</Crystaline-arrow>
<Power-Bolts>
<HealRange>0 to 100 %</HealRange>
<ManaRange>0 to 100 %</ManaRange>
<ItemRefiller>3450</ItemRefiller>
<AmmoCount>0 to 80</AmmoCount>
<ExtraCondition>No condition</ExtraCondition>
<SpamRate>500 to 1000</SpamRate>
<Enabled>yes</Enabled>
</Power-Bolts>
<Prismatic-Bolts>
<HealRange>0 to 100 %</HealRange>
<ManaRange>0 to 100 %</ManaRange>
<ItemRefiller>16141</ItemRefiller>
<AmmoCount>0 to 70</AmmoCount>
<ExtraCondition>No condition</ExtraCondition>
<SpamRate>500 to 1000</SpamRate>
<Enabled>yes</Enabled>
</Prismatic-Bolts>
<Onyx-Arrow>
<HealRange>0 to 100 %</HealRange>
<ManaRange>0 to 100 %</ManaRange>
<ItemRefiller>7365</ItemRefiller>
<AmmoCount>0 to 80</AmmoCount>
<ExtraCondition>No condition</ExtraCondition>
<SpamRate>500 to 1000</SpamRate>
<Enabled>yes</Enabled>
</Onyx-Arrow>
</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>
<Mount>
<Script>if Mount 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>
<Haste>
<Script>if not hasted and pzone == false then
cast("utani hur")
end</Script>
<SpamRate>800 to 1000</SpamRate>
<Enabled>no</Enabled>
</Haste>
<Furniture-Trap>
<Script>while (standtime > 60000) do
antifurnituretrap()
wait(5000)
end</Script>
<SpamRate>800 to 1000</SpamRate>
<Enabled>yes</Enabled>
</Furniture-Trap>
<SoftBootsChanger>
<Script>local DEFAULT_BOOTS = NormalBoots --Name of normal boots
local CONSIDER_TYPE = 1 --[[ 1 = mp pc, 2 = hp pc, 3 = mp exact, 4 = hp exact ]]
local CONSIDER_EQUIP = {20, 80} -- Value to equip soft boots
local CONSIDER_UNEQUIP = {95, 97} -- 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>
</SoftBootsChanger>
<Walker>
<Script>if PvPServer == true or pzzone == true then
setsettings("Settings\\Cavebot\\Pathfinding\\WalkThroughPlayers","no")
else setsettings("Settings\\Cavebot\\Pathfinding\\WalkThroughPlayers","yes")
end</Script>
<SpamRate>800 to 1000</SpamRate>
<Enabled>yes</Enabled>
</Walker>
<Alarms>
<Script>if Alarms == true and posz == 12 then
setsettings("Settings\\Alerts\\Player\\OnScreen\\PlaySound","yes")
setsettings("Settings\\Alerts\\Message\\PrivateMessage\\PlaySound","yes")
else
setsettings("Settings\\Alerts\\Player\\OnScreen\\PlaySound","no")
setsettings("Settings\\Alerts\\Message\\PrivateMessage\\PlaySound","no")
end
if PvP_Server == true then
setsettings("Settings\\Alerts\\Message\\HealCreature\\PlaySound","yes")
setsettings("Settings\\Alerts\\Message\\HealCreature\\Screenshot","yes")
else
setsettings("Settings\\Alerts\\Message\\HealCreature\\PlaySound","no")
setsettings("Settings\\Alerts\\Message\\HealCreature\\Screenshot","no")
end</Script>
<SpamRate>800 to 1000</SpamRate>
<Enabled>yes</Enabled>
</Alarms>
<Spells>
<Script>if (target.id ~= 0) and (target.name == "Dragon Lord") and (target.isshootable) and (target.dist <= 4) then
if (target.hppc > 25) and cancast('exori san') then
cast('exori san')
elseif (target.hppc <= 25) and cancast('exori con') then
cast('exori con')
end
end</Script>
<SpamRate>800 to 1000</SpamRate>
<Enabled>yes</Enabled>
</Spells>
<FlaskDropper>
<Script>if itemcount(285) + itemcount(284) + itemcount(283) > 50 and cap < 400
then
dropflask()
end</Script>
<SpamRate>800 to 1000</SpamRate>
<Enabled>yes</Enabled>
</FlaskDropper>
<ScreenshootOnAdvance>
<Script>if ScreenshotOnAdvance then
setsettings("Settings\\Alerts\\Message\\Advanced\\Screenshot", "no")
wait(5000)
else
setsettings("Settings\\Alerts\\Message\\Advanced\\Screenshot", "yes")
wait(5000)
end</Script>
<SpamRate>800 to 1000</SpamRate>
<Enabled>yes</Enabled>
</ScreenshootOnAdvance>
<SS-if-dead>
<Script>if hppc == 0 then
screenshot(name.." "..string.gsub(date(), "/", "_").." "..string.gsub(time(), ":", "."))
wait(1000)
end </Script>
<SpamRate>800 to 1000</SpamRate>
<Enabled>yes</Enabled>
</SS-if-dead>
<PotionsDrinking>
<Script>if maround(6, "dragon lord") == 0 then
setsettings("Settings\\Healer\\Rules\\SMP\\ManaRange", "0 to 85 %")
else
setsettings("Settings\\Healer\\Rules\\SMP\\ManaRange", "0 to 30 %")
end
</Script>
<SpamRate>800 to 1000</SpamRate>
<Enabled>yes</Enabled>
</PotionsDrinking>
<UpdateWorld>
<Script>updateworld()</Script>
<SpamRate>800 to 1000</SpamRate>
<Enabled>yes</Enabled>
</UpdateWorld>
<Tools>
<Script>setsettings("Settings\\Cavebot\\Settings\\Rope", itemid(RopeToUse))
setsettings("Settings\\Cavebot\\Settings\\Pick", itemid(PickToUse))
setsettings("Settings\\Cavebot\\Settings\\Shovel", itemid(ShovelToUse))</Script>
<SpamRate>800 to 1000</SpamRate>
<Enabled>yes</Enabled>
</Tools>
<Action0>
<Script>if (connected == false)
then
wait(2000)
closetibia()
end</Script>
<SpamRate>800 to 1000</SpamRate>
<Enabled>yes</Enabled>
</Action0>
</List>
<Setup>-- Script made by Eli Scripts! Highest Quality for Lowest Price!
-- Name of script: Pits of Inferno - Dragon Lords for Paladins
-- Main script settings:
--[[
_________ _____ _ __
/ ____/ (_) / ___/__________(_)___ / /______
/ __/ / / / \__ \/ ___/ ___/ / __ \/ __/ ___/
/ /___/ / / ___/ / /__/ / / / /_/ / /_(__ )
/_____/_/_/ /____/\___/_/ /_/ .___/\__/____/
/_/
]]--
SoftBootsRefiller = true -- (true/false)
PvP_Server = false -- (true/false)
Mount = true -- (true/false)
SreenshotOnAdvance = true -- (true/false)
NormalBoots = 'boots of haste' -- Name of yours normal boots
--- Tools Settings:
RopeToUse = "whacking driller of fate" -- Tool working as Rope.
PickToUse = "whacking driller of fate" -- Tool working as Pick.
ShovelToUse = "whacking driller of fate" -- Tool working as Shovel.
-- Customize your Backpacks Settings:
MainBP = "Pirate Backpack" -- Backpack that you use as the main
LootBP = "Red Backpack" -- Backpack with items (rares, stackable)
GoldBP = "Brocade Backpack" -- Backapck with gold
SuppBP = "Blue Backpack" -- Backpack with supplies
-- Customize Depot Backpack Settings:
MainDpBp = "Yellow Backpack" -- Main depot backpack
StackItems = "Backpack" -- Backpacks with stack items
LootRares = "Golden Backpack" -- Backpack with rares
BloodBP = "grey Backpack" -- Backpack with Vial of Blood
OilBP = "fur Backpack" -- Backpack with Vial of Oil
-- Customize your Supplies Settings:
-- Potions
SmpToBuy = 500 -- Amount of wanted Strong Mana Potions
SmpToLeave = 100 -- Amount of SMP to Leave spawn
GspToBuy = 50 -- Amount of Great Spirt Potions (Hihgly recommended on PvP worlds)
-- Ammunitions
AmmoName = "prismatic bolt" -- Name of ammo (bolt/arrow)
AmmoToBuy = 1400 -- Amount of wanted Ultimate Health Potions
AmmoCost = 20 -- Cost of each bolt/arrow
AmmoToLeave = 250 -- Amount of Ammo to Leave spawn</Setup>
<Enabled>yes</Enabled>
</Actions>
<CaveBot>
<Waypoints>
<WAY>Action 33018 32048 7 if posz == 7 then gotolabel("AtDepot") else gotolabel("OpenAllBp") end</WAY>
<AtDepot>Stand 33017 32049 7</AtDepot>
<OpenBpDepot>Action 33017 32049 7 setsettings("Settings\\Cavebot\\Settings\\OpenNextBp", "no");;closewindows();wait(500, 1000);openitem(MainBP, 'back');wait(500, 1000);resizewindows();openitem(LootBP, MainBP, true);wait(500, 1000);</OpenBpDepot>
<CheckBpDepot>Action 33017 32049 7 if windowcount() ~= 2 then gotolabel("OpenBpDepot") end</CheckBpDepot>
<Depositer>Action 33017 32049 7 reachgrounditem("depot");wait(1000,2000);openitem("depot");wait(700,900);openitem(3502, "locker");wait(700,900);openitem(MainDpBp, "depot chest");wait(700,900);;local CONFIG = {; LOOT_BACKPACK = LootBP,; ; STACKABLE_BACKPACK = StackItems,; STACKABLE_BACKPACK_AMOUNT = 2,; ; NOT_STACKABLE_BACKPACK = LootRares,; NOT_STACKABLE_BACKPACK_AMOUNT = 18,; ; DEPOSIT_ITEMS = {"dragons tail", "broadsword", "green dragon leather", "green dragon scale", "wand of inferno", "Strong Health Potion", "small diamond", "life crystal", "dragon hammer", "serpent sword", "dragon shield", "dragonbone staff", "small sapphire", "golden mug", "green mushroom", "energy ring", "red dragon scale", "red dragon Leather", "strange helmet", "fire sword", "tower shield", "royal helmet", "dragon scale mail", "dragon lord trophy", "dragon slayer", "life crystal"},;};;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;;;;</Depositer>
<OpenBpBlood>Action 33017 32049 7 closewindows();wait(500, 1000);openitem(MainBP, 'back');wait(500, 1000);resizewindows();openitem(LootBP, MainBP, true);wait(500, 1000);;</OpenBpBlood>
<CheckBpBlood>Action 33014 32048 7 if windowcount() ~= 2 then gotolabel("OpenBpBlood") end;</CheckBpBlood>
<TakeBlood>Action 33014 32048 7 reachgrounditem("depot");wait(1000,2000);openitem("depot");wait(700,900);openitem(3502, "locker");wait(1500,2500);openitem(BloodBP, "depot chest");;wait(1500, 2000);;while itemcount(2874, LootBP) < 1 and itemcount(2874, BloodBP) > 1 do; moveitems(2874, BloodBP, LootBP, 1); wait(1000,1200) ;end</TakeBlood>
<OpenBpOil>Action 33017 32046 7 closewindows();wait(500, 1000);openitem(MainBP, 'back');wait(500, 1000);resizewindows()</OpenBpOil>
<CheckBpOil>Action 33017 32046 7 if windowcount() ~= 1 then gotolabel("OpenBpOil") end;;</CheckBpOil>
<TakeOil>Action 33017 32046 7 reachgrounditem("depot");wait(1000,2000);openitem("depot");wait(700,900);openitem(3502, "locker");wait(1500,2500);openitem(OilBP, "depot chest");;wait(1500, 2000);;while itemcount(2874, MainBP) < 1 and itemcount(2874, OilBP) > 1 do; moveitems(2874, OilBP, MainBP, 1); wait(1000,1200) ;end</TakeOil>
<GetOutDepot>Stand 33018 32055 7</GetOutDepot>
<w000>Stand 33020 32058 7</w000>
<w001>Stand 33020 32059 7</w001>
<Bank>Stand 33019 32052 6</Bank>
<OpenBpBank>Action 33019 32052 6 closewindows();wait(500, 1000);openitem(MainBP, 'back');wait(500, 1000);resizewindows();openitem(SuppBP, MainBP, true);wait(500, 1000);</OpenBpBank>
<CheckBpBank>Action 33019 32052 6 if windowcount() ~= 2 then gotolabel("OpenBpBank") end;;setsettings("Settings\\Cavebot\\Settings\\OpenNextBp", "yes")</CheckBpBank>
<getCash>Action 33019 32052 6 local Mana = positive(SmpToBuy - itemcount("strong mana potion"))*80;local Bolts = positive(AmmoToBuy - itemcount(AmmoName)) * AmmoCost;local Soft = positive(itemcount("worn soft boots"))*10000;local Total = Mana + Bolts + Soft + 2000;findcreature("Rokyn");say("hi");wait(1500,2500);npcsay("deposit all");wait(200,300);npcsay("yes");wait(200,300);;if Total > 0 then; npcsay("withdraw "..Total); wait(200,300); npcsay("yes"); wait(200,300); npcsay("balance"); wait(200,400);end;;;setsettings("Settings\\Actions\\List\\Haste\\Enabled","yes")</getCash>
<w017>Node 32770 32359 12</w017>
<w018>Node 32782 32350 12</w018>
<w019>Node 32776 32337 12</w019>
<GoBuyBolts>Stand 32954 32053 6</GoBuyBolts>
<w021>Node 32746 32331 12</w021>
<VenoreBoat>Stand 32954 32023 6</VenoreBoat>
<TravelEdron>Action 32954 32023 6 findcreature("Captain Fearless");say("Hi");wait(500, 1000);npcsay("Edron");wait(500,900);npcsay("Yes");wait(500, 1000)</TravelEdron>
<CheckLocation_1>Action 33175 31764 6 if not islocation(2) then; gotolabel("VenoreBoat");end;</CheckLocation_1>
<w002>Stand 33175 31775 6</w002>
<XYZ>Stand 33175 31773 6</XYZ>
<w031>Node 33203 31820 7</w031>
<w032>Stand 33210 31819 7</w032>
<w033>Stand 33210 31818 7</w033>
<w034>Node 33208 31815 6</w034>
<w035>Node 33208 31805 6</w035>
<w036>Node 33208 31797 6</w036>
<AmmoShopEdron>Stand 33214 31796 6</AmmoShopEdron>
<OpenBpAmmo>Action 33214 31796 6 closewindows();wait(500, 1000);openitem(MainBP, 'back');wait(500, 1000);resizewindows();openitem(SuppBP, MainBP, true);wait(500, 1000);</OpenBpAmmo>
<CheckBpAmmo>Action 33214 31796 6 if windowcount() ~= 2 then gotolabel("OpenBpAmmo") end;;;</CheckBpAmmo>
<CheckLocation_3>Action 33214 31796 6 if not islocation(2) then; gotolabel("XYZ");end</CheckLocation_3>
<BuyingAmmo>Action 33214 31796 6 findcreature("Willard");say("Hi");wait(500,900);opentrade();;local Bolts = AmmoToBuy-itemcount(AmmoName);;while Bolts> 0 do ;buyitems(AmmoName, Bolts) ;wait(500,900) ;moveitems(AmmoName,MainBP, SuppBP, 100) ;wait(300,900) ;Bolts = Bolts-100;end</BuyingAmmo>
<w042>Stand 33208 31797 6</w042>
<CheckAmmo>Action 33208 31797 6</CheckAmmo>
<XYZ_2>Node 33208 31792 6</XYZ_2>
<w045>Stand 33208 31789 6</w045>
<w046>Node 33197 31790 7</w046>
<w047>Node 33188 31778 7</w047>
<w048>Stand 33175 31775 7</w048>
<w049>Ladder 33175 31775 7</w049>
<w050>Node 33176 31771 6</w050>
<EdronBoat>Stand 33177 31764 6</EdronBoat>
<TravelVenoreBack>Action 33177 31764 6 findcreature("Captain Seahorse");say("Hi");wait(500, 1000);npcsay("Venore");wait(500,900);npcsay("Yes");wait(500, 1000);</TravelVenoreBack>
<w053>Stand 32954 32023 6</w053>
<CheckLocation_4>Action 32954 32023 6 if not islocation(2) then; gotolabel("XYZ_2");end;;</CheckLocation_4>
<w055>Node 32955 32032 6</w055>
<w056>Node 32954 32051 6</w056>
<w057>Node 32954 32073 6</w057>
<w058>Node 32969 32073 6</w058>
<ManaShop>Stand 32971 32085 6</ManaShop>
<BuyingManas>Action 32970 32082 6 findcreature("Digger");wait(500,1000);sellflasks();wait(500,900);opentrade();wait(500, 1000);buyitemsupto("Strong Mana Potion", SmpToBuy,itemcount("Strong Mana Potion"));wait(500,1000);buyitemsupto("Destroy Field Rune", 10);wait(500,900);npcsay("Bye")</BuyingManas>
<RuneShop>Stand 32970 32082 6</RuneShop>
<SuppliesPart_2>Action 32970 32082 6 findcreature("Frans");wait(500,900);opentrade();wait(500,1000);buyitemsupto("Destroy Field Rune", 10);wait(500,900);npcsay("Bye");</SuppliesPart_2>
<w061>Node 32976 32078 6</w061>
<w062>Node 32960 32078 6</w062>
<w063>Node 32954 32092 6</w063>
<SoftBoots>Stand 32948 32096 6</SoftBoots>
<CheckSoftBoots>Action 32948 32096 6 if itemcount("worn soft boots") >= 1 and SoftBootsRefiller == true;then gotolabel("Repair") else gotolabel("LeaveVenore");end</CheckSoftBoots>
<Repair>Node 32949 32104 6</Repair>
<Aldo>Stand 32954 32108 6</Aldo>
<GetNewSofts>Action 32954 32108 6 findcreature("Aldo");wait(500,1000);say("Hi");wait(800,1300);npcsay("soft boots");wait(800,1400);npcsay("yes")</GetNewSofts>
<LeaveVenore>Node 32948 32096 6</LeaveVenore>
<w070>Node 32935 32096 6</w070>
<w071>Node 32936 32118 6</w071>
<w072>Node 32936 32126 6</w072>
<w073>Node 32920 32126 6</w073>
<w074>Node 32898 32126 6</w074>
<w075>Node 32883 32126 6</w075>
<w076>Node 32871 32126 6</w076>
<w077>Stand 32862 32125 6</w077>
<w078>Stand 32862 32126 6</w078>
<OutOfTown>Stand 32859 32126 7</OutOfTown>
<CheckLocation_5>Action 32859 32126 7 if not islocation(2) then; gotolabel("SoftBoots");end;;;</CheckLocation_5>
<GoResp>Node 32849 32125 7</GoResp>
<w082>Node 32839 32116 7</w082>
<w083>Node 32825 32111 7</w083>
<w084>Node 32814 32099 7</w084>
<w085>Node 32799 32093 7</w085>
<w086>Node 32781 32099 7</w086>
<w087>Node 32763 32120 7</w087>
<w088>Node 32752 32126 7</w088>
<w089>Stand 32744 32143 7</w089>
<CheckPosition_1Resp>Action 32744 32143 7 if not islocation(2) then; gotolabel("GoResp");end;;;;</CheckPosition_1Resp>
<GoResp_2>Node 32748 32159 7</GoResp_2>
<w092>Node 32753 32171 7</w092>
<w093>Node 32753 32184 7</w093>
<w094>Node 32757 32198 7</w094>
<w095>Node 32757 32212 7</w095>
<w096>Node 32759 32227 7</w096>
<w097>Node 32760 32241 7</w097>
<w098>Node 32759 32260 7</w098>
<w099>Node 32758 32283 7</w099>
<w100>Node 32758 32301 7</w100>
<w101>Stand 32761 32321 7</w101>
<CheckPosition_2Resp>Action 32761 32321 7 if not islocation(2) then; gotolabel("GoResp_2");end;;;;</CheckPosition_2Resp>
<w103>Node 32768 32325 7</w103>
<w104>Node 32769 32341 7</w104>
<w105>Node 32784 32343 7</w105>
<Hole>Stand 32795 32341 7</Hole>
<w107>Action 32795 32340 7 useitemon("Destroy Field Rune", 32795, 32340, 7)</w107>
<w108>Action 32795 32341 7 openhole(32795, 32340, 7);</w108>
<w109>Stand 32795 32340 7</w109>
<CheckPosition_3Resp>Action 32795 32340 8 if not islocation(2) then; gotolabel("Hole");end;;;;</CheckPosition_3Resp>
<Pick>Stand 32794 32335 8</Pick>
<w112>Action 32794 32334 8 openpick(32794,32334,8)</w112>
<w113>Stand 32794 32334 8</w113>
<BeforeBlood>Stand 32793 32334 9</BeforeBlood>
<CheckBloodPos>Action 32793 32334 9 if not islocation(2) then; gotolabel("Pick");end;;;;</CheckBloodPos>
<w116>Stand 32791 32334 9</w116>
<OpenBpForUseBlood>Action 32791 32334 9 closewindows();wait(1500, 2000);openitem(MainBP, 'back');wait(1500, 2000);resizewindows();openitem(LootBP, MainBP, false);wait(1500, 2000);;;</OpenBpForUseBlood>
<CheckBpForUseBlood>Action 32791 32334 9 if windowcount() ~= 1 then gotolabel("OpenBpForUseBlood") end;;;</CheckBpForUseBlood>
<UseBlood>Action 32791 32333 9 useitemon(2874, 32791, 32333, 9);;</UseBlood>
<AfterBlood>Stand 32791 32332 10</AfterBlood>
<w121>Stand 32791 32330 10</w121>
<w122>Stand 32794 32327 10</w122>
<w123>Use 32795 32327 10</w123>
<w124>Stand 32796 32327 10</w124>
<w125>Action 32796 32327 10 if not islocation(2) then; gotolabel("UseBlood");end;;;;;</w125>
<w126>Stand 32798 32329 10</w126>
<w127>Stand 32798 32328 10</w127>
<w128>Stand 32798 32335 11</w128>
<Oil>Stand 32800 32340 11</Oil>
<OpenBpForUseOil>Action 32800 32340 11 closewindows();wait(500, 1000);openitem(MainBP, 'back');wait(500, 1000);resizewindows();</OpenBpForUseOil>
<CheckBpForUseOil>Action 32800 32340 11 if windowcount() ~= 1 then gotolabel("OpenBpForUseOil") end;;;</CheckBpForUseOil>
<UseOIl>Action 32800 32339 11 useitemon(2874, 32800, 32339, 11);</UseOIl>
<ChangeItToCorrect>Stand 32800 32340 11</ChangeItToCorrect>
<w134>Use 32800 32339 11</w134>
<w135>Node 32797 32336 11</w135>
<PierdolonyKamien>Stand 32806 32334 11</PierdolonyKamien>
<CheckPos_1>Action 32806 32334 11 if not islocation(2) then; gotolabel("UseOil");end;;;;;;</CheckPos_1>
<CorrectSide>Stand 32807 32334 11</CorrectSide>
<w139>Action 32808 32334 11 useitemon(PickToUse, 32808, 32334, 11)</w139>
<w140>Stand 32810 32334 11</w140>
<w141>Action 32810 32334 11 if not islocation(2) then; gotolabel("CorrectSide");end;;;;;;;</w141>
<w142>Stand 32815 32334 11</w142>
<w143>Stand 32816 32333 11</w143>
<OpenAllBp>Action 32816 32333 11 closewindows();wait(500, 1000);openitem(MainBP, 'back');wait(500, 1000);resizewindows();openitem(LootBP, MainBP, true);wait(500, 1000);resizewindows();openitem(GoldBP, MainBP, true);wait(500,800);resizewindows();openitem(SuppBP, MainBP, true);wait(500,800);resizewindows();;;setsettings("Settings\\Actions\\List\\Haste\\Enabled","no")</OpenAllBp>
<CheckAllBp>Action 32816 32333 11 if windowcount() ~= 4 then gotolabel("OpenAllBp") end;;dropitems(2874);dropitems(2874);dropitems(2874)</CheckAllBp>
<DropUsedVials>Action 32816 32333 11</DropUsedVials>
<GoHunt>Stand 32816 32333 11</GoHunt>
<Start>Stand 32816 32334 11</Start>
<w146>Node 32816 32335 12</w146>
<w147>Node 32806 32336 12</w147>
<w148>Node 32802 32325 12</w148>
<w149>Node 32802 32336 12</w149>
<w150>Node 32801 32344 12</w150>
<w151>Node 32793 32338 12</w151>
<w152>Node 32788 32326 12</w152>
<w153>Node 32795 32318 12</w153>
<w154>Node 32794 32309 12</w154>
<w155>Node 32793 32319 12</w155>
<w156>Node 32781 32314 12</w156>
<w157>Node 32771 32312 12</w157>
<w158>Node 32777 32312 12</w158>
<w159>Node 32788 32321 12</w159>
<w160>Node 32786 32340 12</w160>
<w161>Node 32782 32351 12</w161>
<w162>Node 32770 32359 12</w162>
<w163>Node 32782 32350 12</w163>
<w164>Node 32776 32337 12</w164>
<w165>Node 32764 32330 12</w165>
<w166>Node 32746 32331 12</w166>
<w167>Node 32746 32344 12</w167>
<w168>Node 32749 32330 12</w168>
<w169>Node 32771 32330 12</w169>
<w170>Node 32784 32337 12</w170>
<w171>Node 32800 32337 12</w171>
<w172>Node 32815 32338 12</w172>
<w173>Node 32815 32350 12</w173>
<w174>Node 32814 32359 12</w174>
<w175>Node 32815 32337 12</w175>
<SuppliesChecker_Spawn>Action 32815 32337 12 if itemcount("strong mana potion") < SmpToLeave or itemcount(AmmoName) < AmmoToLeave then gotolabel("Leave");else gotolabel("Start");end;;;</SuppliesChecker_Spawn>
<Leave>Stand 32795 32335 12</Leave>
<w004>Rope 32795 32335 12</w004>
<w003>Stand 32797 32336 11</w003>
<CheckLeave>Action 32797 32336 11 if not islocation(2) then; gotolabel("Leave");end;;;;;setsettings("Settings\\Actions\\List\\Haste\\Enabled","yes")</CheckLeave>
<Continue>Stand 32798 32334 11</Continue>
<w005>Stand 32798 32328 11</w005>
<w006>Rope 32798 32328 11</w006>
<w007>Stand 32796 32327 10</w007>
<w008>Use 32795 32327 10</w008>
<w009>Stand 32794 32327 10</w009>
<w010>Stand 32791 32327 10</w010>
<w011>Stand 32791 32328 10</w011>
<w012>Stand 32791 32332 10</w012>
<CheckContinue>Action 32791 32332 10 if not islocation(2) then; gotolabel("Continue");end;;;;</CheckContinue>
<Continue_2>Stand 32791 32334 10</Continue_2>
<w013>Ladder 32791 32334 10</w013>
<w014>Stand 32792 32334 9</w014>
<w015>Stand 32794 32334 9</w015>
<w016>Rope 32794 32334 9</w016>
<w020>Stand 32794 32337 8</w020>
<w022>Stand 32795 32340 8</w022>
<w023>Rope 32795 32340 8</w023>
<w024>Stand 32795 32341 7</w024>
<CheckContinue_2>Action 32795 32341 7 if not islocation(2) then; gotolabel("Continue_2");end;;;;;</CheckContinue_2>
<GroundFloor>Node 32790 32346 7</GroundFloor>
<w026>Node 32767 32339 7</w026>
<w027>Node 32760 32318 7</w027>
<w028>Node 32756 32302 7</w028>
<w029>Node 32757 32283 7</w029>
<w030>Node 32759 32257 7</w030>
<w037>Node 32759 32231 7</w037>
<w038>Node 32758 32215 7</w038>
<w039>Node 32761 32193 7</w039>
<w040>Node 32764 32169 7</w040>
<w041>Node 32762 32158 7</w041>
<w043>Node 32756 32151 7</w043>
<w044>Stand 32750 32137 7</w044>
<CheckGroundFloor>Action 32750 32137 7 if not islocation(2) then; gotolabel("GroundFloor");end;;;;;</CheckGroundFloor>
<ConFloor>Node 32749 32129 7</ConFloor>
<w051>Node 32761 32122 7</w051>
<w052>Node 32773 32112 7</w052>
<w054>Node 32780 32099 7</w054>
<w059>Node 32795 32097 7</w059>
<w060>Node 32807 32093 7</w060>
<w064>Node 32820 32110 7</w064>
<w065>Node 32842 32122 7</w065>
<w066>Node 32857 32126 7</w066>
<w025>Stand 32862 32127 7</w025>
<w067>Stand 32862 32126 7</w067>
<w068>Stand 32864 32126 6</w068>
<w069>Action 32864 32126 6 ConFloorif not islocation(2) then; gotolabel("ConFloor");end;;;;;</w069>
<GoToDepot>Node 32876 32126 6</GoToDepot>
<w079>Node 32893 32126 6</w079>
<w080>Node 32920 32126 6</w080>
<w081>Node 32937 32126 6</w081>
<w090>Node 32948 32126 6</w090>
<w091>Node 32963 32117 6</w091>
<w102>Node 32971 32108 6</w102>
<w106>Node 32998 32104 6</w106>
<w110>Node 32998 32073 6</w110>
<w111>Node 33007 32058 6</w111>
<w114>Node 33019 32056 6</w114>
<w115>Stand 33020 32058 6</w115>
<w117>Stand 33020 32059 6</w117>
<w118>Stand 33018 32058 7</w118>
<CheckDepotLoc>Action 33018 32058 7 if not islocation(2) then; gotolabel("GoToDepot");end;;;;;</CheckDepotLoc>
<w119>Action 33018 32058 7 gotolabel("AtDepot")</w119>
</Waypoints>
<Pathfinding>
<SpecialAreas>
<NewArea0>
<Coordinates>32814 32345 12</Coordinates>
<Dimensions>4 1</Dimensions>
<ConsideredBy>Target</ConsideredBy>
</NewArea0>
<NewArea1>
<Coordinates>32805 32334 12</Coordinates>
<Dimensions>1 4</Dimensions>
<ConsideredBy>Target</ConsideredBy>
</NewArea1>
<NewArea2>
<Coordinates>32801 32330 12</Coordinates>
<Dimensions>3 1</Dimensions>
<ConsideredBy>Target</ConsideredBy>
</NewArea2>
<NewArea5>
<Coordinates>32798 32334 12</Coordinates>
<Dimensions>1 1</Dimensions>
<ConsideredBy>None</ConsideredBy>
</NewArea5>
<NewArea4>
<Coordinates>32794 32334 12</Coordinates>
<Dimensions>1 10</Dimensions>
<ConsideredBy>Target</ConsideredBy>
</NewArea4>
<NewArea3>
<Coordinates>32787 32321 12</Coordinates>
<Dimensions>5 1</Dimensions>
<ConsideredBy>Target</ConsideredBy>
</NewArea3>
<NewArea6>
<Coordinates>32784 32313 12</Coordinates>
<Dimensions>1 6</Dimensions>
<ConsideredBy>Target</ConsideredBy>
</NewArea6>
<NewArea7>
<Coordinates>32795 32335 12</Coordinates>
<Dimensions>1 1</Dimensions>
<ConsideredBy>Target</ConsideredBy>
</NewArea7>
<NewArea8>
<Coordinates>32780 32349 12</Coordinates>
<Dimensions>7 1</Dimensions>
<ConsideredBy>Target</ConsideredBy>
</NewArea8>
<NewArea9>
<Coordinates>32779 32336 12</Coordinates>
<Dimensions>1 4</Dimensions>
<ConsideredBy>Target</ConsideredBy>
</NewArea9>
<NewArea10>
<Coordinates>32751 32329 12</Coordinates>
<Dimensions>1 1</Dimensions>
<ConsideredBy>Target</ConsideredBy>
</NewArea10>
</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>9598</Rope>
<Shovel>9598</Shovel>
<Pick>9598</Pick>
<Machete>3308</Machete>
<NodeRange>4</NodeRange>
<Priority>Target</Priority>
<OpenNextBp>yes</OpenNextBp>
<AutoMount>yes</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>
<Royal-Helmet>
<Id>3392</Id>
<Destination>01</Destination>
<AlarmOn>Couldn't loot</AlarmOn>
</Royal-Helmet>
<Dragon-Scale-Mail>
<Id>3386</Id>
<Destination>01</Destination>
<AlarmOn>Couldn't loot</AlarmOn>
</Dragon-Scale-Mail>
<Dragon-Slayer>
<Id>7402</Id>
<Destination>01</Destination>
<AlarmOn>Couldn't loot</AlarmOn>
</Dragon-Slayer>
<Fire-Sword>
<Id>3280</Id>
<Destination>01</Destination>
<AlarmOn>Couldn't loot</AlarmOn>
</Fire-Sword>
<Tower-Shield>
<Id>3428</Id>
<Destination>01</Destination>
<AlarmOn>Couldn't loot</AlarmOn>
</Tower-Shield>
<Dragon-Lord-Trophy>
<Id>7399</Id>
<Destination>01</Destination>
<AlarmOn>Couldn't loot</AlarmOn>
</Dragon-Lord-Trophy>
<Green-Mushroom>
<Id>3732</Id>
<Destination>01</Destination>
<AlarmOn>No Alarm</AlarmOn>
</Green-Mushroom>
<Red-Dragon-Scale>
<Id>5882</Id>
<Destination>01</Destination>
<AlarmOn>No Alarm</AlarmOn>
</Red-Dragon-Scale>
<Red-Dragon-Leather>
<Id>5948</Id>
<Destination>01</Destination>
<AlarmOn>No Alarm</AlarmOn>
</Red-Dragon-Leather>
<Green-Dragon-leather>
<Id>5877</Id>
<Destination>01</Destination>
<AlarmOn>No Alarm</AlarmOn>
</Green-Dragon-leather>
<Green-Dragon-Scale>
<Id>5920</Id>
<Destination>01</Destination>
<AlarmOn>No Alarm</AlarmOn>
</Green-Dragon-Scale>
<Wand-of-Inferno>
<Id>3071</Id>
<Destination>01</Destination>
<AlarmOn>No Alarm</AlarmOn>
</Wand-of-Inferno>
<Dragon-Hammer>
<Id>3322</Id>
<Destination>01</Destination>
<AlarmOn>No Alarm</AlarmOn>
</Dragon-Hammer>
<Dragon-Shield>
<Id>3416</Id>
<Destination>01</Destination>
<AlarmOn>No Alarm</AlarmOn>
</Dragon-Shield>
<Magma-Boots>
<Id>818</Id>
<Destination>01</Destination>
<AlarmOn>No Alarm</AlarmOn>
</Magma-Boots>
<Life-Crystal>
<Id>3061</Id>
<Destination>01</Destination>
<AlarmOn>No Alarm</AlarmOn>
</Life-Crystal>
<Dragonbone-Staff>
<Id>7430</Id>
<Destination>01</Destination>
<AlarmOn>No Alarm</AlarmOn>
</Dragonbone-Staff>
<Dragon-Claw>
<Id>5919</Id>
<Destination>All</Destination>
<AlarmOn>Loot announced</AlarmOn>
</Dragon-Claw>
<small-sapphire>
<Id>3029</Id>
<Destination>01</Destination>
<AlarmOn>No Alarm</AlarmOn>
</small-sapphire>
<golden-mug>
<Id>2903</Id>
<Destination>01</Destination>
<AlarmOn>No Alarm</AlarmOn>
</golden-mug>
<serpent-sword>
<Id>3297</Id>
<Destination>01</Destination>
<AlarmOn>No Alarm</AlarmOn>
</serpent-sword>
<gold-coin>
<Id>3031</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</gold-coin>
</List>
<Condition>Corpses with listed items</Condition>
<Style>After melee kill</Style>
<OpenBodyTime>300</OpenBodyTime>
<Range>30</Range>
<EatFood>yes</EatFood>
<Enabled>yes</Enabled>
</Looting>
<Targeting>
<Monsters>
<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 />
<SpellRate>500 to 1000</SpellRate>
<AttackMode>No Change</AttackMode>
</Setting0>
</ListSettings>
<Looting>yes</Looting>
<MustAttackMe>no</MustAttackMe>
<OnlyIfTrapped>yes</OnlyIfTrapped>
</all>
<Dragon-Lord>
<Categories>-</Categories>
<Danger>5</Danger>
<ListSettings>
<HighHP>
<Count>Any</Count>
<HpRange>14 to 100 %</HpRange>
<Stance>Keep Away</Stance>
<Avoid>Wave</Avoid>
<Distance>3</Distance>
<Attack>Attack</Attack>
<ListSpell />
<SpellRate>500 to 1000</SpellRate>
<AttackMode>Stand/Offensive</AttackMode>
</HighHP>
<LowHp>
<Count>Any</Count>
<HpRange>0 to 16 %</HpRange>
<Stance>Keep Away</Stance>
<Avoid>None</Avoid>
<Distance>2</Distance>
<Attack>Attack</Attack>
<ListSpell />
<SpellRate>500 to 1000</SpellRate>
<AttackMode>No Change</AttackMode>
</LowHp>
</ListSettings>
<Looting>yes</Looting>
<MustAttackMe>no</MustAttackMe>
<OnlyIfTrapped>no</OnlyIfTrapped>
</Dragon-Lord>
<Dragon>
<Categories>-</Categories>
<Danger>2</Danger>
<ListSettings>
<Setting0>
<Count>Any</Count>
<HpRange>0 to 100 %</HpRange>
<Stance>Keep Away</Stance>
<Avoid>None</Avoid>
<Distance>3</Distance>
<Attack>Attack</Attack>
<ListSpell />
<SpellRate>500 to 1000</SpellRate>
<AttackMode>Stand/Offensive</AttackMode>
</Setting0>
</ListSettings>
<Looting>yes</Looting>
<MustAttackMe>no</MustAttackMe>
<OnlyIfTrapped>no</OnlyIfTrapped>
</Dragon>
<Demodras>
<Categories>-</Categories>
<Danger>10</Danger>
<ListSettings>
<Setting0>
<Count>Any</Count>
<HpRange>0 to 100 %</HpRange>
<Stance>No movement</Stance>
<Avoid>None</Avoid>
<Distance>4</Distance>
<Attack>Attack</Attack>
<ListSpell>
<Spell0>Divine Missile</Spell0>
</ListSpell>
<SpellRate>500 to 1000</SpellRate>
<AttackMode>Stand/Offensive</AttackMode>
</Setting0>
</ListSettings>
<Looting>yes</Looting>
<MustAttackMe>no</MustAttackMe>
<OnlyIfTrapped>no</OnlyIfTrapped>
</Demodras>
</Monsters>
<Settings>
<ListOrder>5</ListOrder>
<Health>9</Health>
<Proximity>3</Proximity>
<Danger>7</Danger>
<PlayerOnScreenSecurity>Do nothing</PlayerOnScreenSecurity>
<CooldownControl>yes</CooldownControl>
<CheckItem>no</CheckItem>
<MustBeReachable>yes</MustBeReachable>
<MustBeShootable>no</MustBeShootable>
</Settings>
<Enabled>yes</Enabled>
</Targeting>
<Hud>
<List>
<GENERAL-INFO-HUD>
<Script>
local function addtextshadow(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 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
addtextshadow("GENERAL INFORMATION HUD v1.1", rgbcolor(255, 180, 4), 10, 30)
addtextshadow('Script Creator:',rgbcolor(205, 200, 177), 20, 90)
addtextshadow('Eli Scripts',rgbcolor(255, 255, 255), 105, 90)
addtextshadow('Script Name:',rgbcolor(205, 200, 177), 20, 50)
addtextshadow('[RP] Pits of Inferno - Dragon Lords v1.0',rgbcolor(107, 142, 35), 20, 65)
addtextshadow('Offical Homepage:',rgbcolor(205, 200, 177), 20, 105)
addtextshadow('www.eliscripts.com',rgbcolor(255, 255, 255), 125, 105)
addtextshadow("CONTACAT INFORMATION:", rgbcolor(255, 180, 4), 10, 135)
addtextshadow('MSN:',rgbcolor(205, 200, 177), 20, 155)
addtextshadow('rafalrutaa@gmail.com',rgbcolor(107, 142, 35), 55, 155)
addtextshadow('E-Mail:',rgbcolor(205, 200, 177), 20, 170)
addtextshadow('rafalrutaa@gmail.com',rgbcolor(107, 142, 35), 62, 170)
addtextshadow('Gadu-Gadu:',rgbcolor(205, 200, 177), 20, 185)
addtextshadow('2968674',rgbcolor(107, 142, 35), 90, 185)
addtextshadow("HUNTING INFROMATION:", rgbcolor(255, 180, 4), 10, 210)
addtextshadow('Experiance Per Hour:',rgbcolor(205, 200, 177), 20, 230)
addtextshadow(tibiaexphour/1000, rgbcolor(255, 255, 255), 140, 230)
addtextshadow('Experiance Left:',rgbcolor(205, 200, 177), 20, 245)
addtextshadow('' .. exptolevel()/1000, rgbcolor(255, 255, 255), 115, 245)
addtextshadow('Experiance Gained:',rgbcolor(205, 200, 177), 20, 260)
addtextshadow('' .. expgained/1000, rgbcolor(255, 255, 255), 130, 260)
addtextshadow('Time To Level:',rgbcolor(205, 200, 177), 20, 275)
addtextshadow('' .. timetolevel, rgbcolor(255, 255, 255), 105, 275)
addtextshadow('Stamina:',rgbcolor(205, 200, 177), 20, 290)
if stamina >= 2400 then
addtextshadow('' ..formatstaminaintotime(stamina), rgbcolor(107, 142, 35), 75, 290)
elseif stamina < 2400 and stamina >= 840 then
addtextshadow('' ..formatstaminaintotime(stamina), rgbcolor(255, 180, 4), 75, 290)
elseif stamina <= 840 then
addtextshadow('' ..formatstaminaintotime(stamina), rgbcolor(178, 34, 34), 75, 290)
end
addtextshadow('Time Played:',rgbcolor(205, 200, 177), 20, 305)
addtextshadow('' .. timehunt, rgbcolor(255, 255, 255), 95, 305)
addtextshadow('Bank Balance:',rgbcolor(205, 200, 177), 20, 320)
addtextshadow(balance, rgbcolor(255, 255, 255), 100, 320)
addtextshadow("SCRIPT INFORMATION:", rgbcolor(255, 180, 4), 10, 345)
addtextshadow('Cavebot:',rgbcolor(205, 200, 177), 20, 365)
if cavebot then
addtextshadow('ON',rgbcolor(107, 142, 35), 75, 365)
else
addtextshadow('OFF',rgbcolor(178, 34, 34), 75, 365)
end
addtextshadow('Targeting:',rgbcolor(205, 200, 177), 20, 380)
addtextshadow('Looting:',rgbcolor(205, 200, 177), 20, 395)
addtextshadow('Walk Through Players:',rgbcolor(205, 200, 177), 20, 410)
if targeting then
addtextshadow('ON',rgbcolor(107, 142, 35), 80, 380)
else
addtextshadow('OFF',rgbcolor(178, 34, 34), 80, 380)
end
if looting then
addtextshadow('ON',rgbcolor(107, 142, 35), 70, 395)
else
addtextshadow('OFF',rgbcolor(178, 34, 34), 70, 395)
end
if getsettings("Settings/CaveBot/Pathfinding/WalkThroughPlayers") == 'yes' then
addtextshadow('ON',rgbcolor(107, 142, 35), 150, 410)
elseif getsettings("Settings/CaveBot/Pathfinding/WalkThroughPlayers") == 'no' then
addtextshadow('OFF',rgbcolor(178, 34, 34), 150, 410)
end</Script>
<RefreshRate>1000</RefreshRate>
<Enabled>yes</Enabled>
</GENERAL-INFO-HUD>
<Hud0>
<Script>-- ___ -- _______ _____ _______ _______ _____ _______
-- /\ \ -- |______ |_____] |______ | | |_____| |
-- /::\ \ -- ______| | |______ |_____ __|__ | | |_____
-- /:/\:\ \ --
-- /::\~\:\ \ --
-- /:/\:\ \:\__\ --
-- \/_|::\/:/ / -- _______ ______ _______ _______ _______ _ _ _ _ ______
-- |:|::/ / -- |_____| |_____/ |______ |_____| |______ |_____| | | | \
-- |:|\/__/ -- | | | \_ |______ | | ______| | | |_____| |_____/
-- |:| | --
-- \|__| --
local CONFIG = CONFIG or {
--[[ YOUR SPECIAL AREAS NAMES ]]--
AREA_NAMES = {"NewArea0", "NewArea1", "NewArea2", "NewArea3", "NewArea4", "NewArea6", "NewArea7", "NewArea8", "NewArea9", "NewArea10", "NewArea11", "NewArea12"},
--[[ FONT DEFINITIONS ]]--
FONT_NAME = "lucida console",
FONT_SIZE = 10,
FONT_COLORS = {
--[[ COLORS FOR EACH TYPE OF CONDITION ]]--
["target"] = rgbcolor(110, 255, 150), -- default green
["cavebot"] = rgbcolor(110, 150, 255), -- default blue
["all"] = rgbcolor(255, 110, 150), -- default red
["none"] = rgbcolor(255, 255, 255), -- default white
},
--[[ CHANGE IT ONLY IF YOU'RE NOT VIEWING HUD PROPERLY ]]--
OFFSET_DIMENSIONS = {
["target"] = -18,
["cavebot"] = -23,
["all"] = -4,
["none"] = -10,
}
}
-- ENGINE
-- DON'T CHANGE NOTHING BELOW THIS LINE
local SCRIPT = SCRIPT or {
NAME = "Special Areas Display",
VERSION = "1.0",
}
local SETTINGS = "Settings/CaveBot/Pathfinding/SpecialAreas/"
local function squaredimensions(x, y)
local POS = Client.FindPixelFromPosition(x, y)
addtext("_", POS.x, POS.top)
addtext("_", POS.x, POS.bottom)
addtext("|", POS.left, POS.y + 5)
addtext("|", POS.right, POS.y + 5)
end
setfontstyle(CONFIG.FONT_NAME, CONFIG.FONT_SIZE, "white")
for INDEX, AREA_NAME in ipairs(CONFIG.AREA_NAMES) do
local SPECIAL_AREA = SETTINGS .. AREA_NAME
local AREA_COORDS = getsettings(SPECIAL_AREA .. "/Coordinates"):explode(" ")
local AREA_DIMENSIONS = getsettings(SPECIAL_AREA .. "/Dimensions"):explode(" ")
local CONSIDERED_BY = getsettings(SPECIAL_AREA .. "/ConsideredBy")
if #AREA_COORDS == 3 then
for H = 0, tonumber(AREA_DIMENSIONS[1]) do
local POSITION = Client.FindPixelFromPosition(tonumber(AREA_COORDS[1]) + H, tonumber(AREA_COORDS[2]), CONFIG.OFFSET_DIMENSIONS[CONSIDERED_BY:lower()])
local TILE = Tile.GetByPosition(tonumber(AREA_COORDS[1]) + H, tonumber(AREA_COORDS[2]), posz)
if TILE:isOnScreen() and tonumber(AREA_COORDS[3]) == posz then
setfontcolor(CONFIG.FONT_COLORS[CONSIDERED_BY:lower()])
addtext(CONSIDERED_BY, POSITION.x, POSITION.y + 5)
squaredimensions(tonumber(AREA_COORDS[1]) + H, tonumber(AREA_COORDS[2]))
end
end
for V = 0, tonumber(AREA_DIMENSIONS[2]) do
local POSITION = Client.FindPixelFromPosition(tonumber(AREA_COORDS[1]), tonumber(AREA_COORDS[2] + V), CONFIG.OFFSET_DIMENSIONS[CONSIDERED_BY:lower()])
local TILE = Tile.GetByPosition(tonumber(AREA_COORDS[1]), tonumber(AREA_COORDS[2]) + V, posz)
if TILE:isOnScreen() and tonumber(AREA_COORDS[3]) == posz then
setfontcolor(CONFIG.FONT_COLORS[CONSIDERED_BY:lower()])
squaredimensions(tonumber(AREA_COORDS[1]), tonumber(AREA_COORDS[2] + V))
addtext(CONSIDERED_BY, POSITION.x, POSITION.y + 5)
end
end
else
table.remove(CONFIG.AREA_NAMES, INDEX)
end
end</Script>
<RefreshRate>1000</RefreshRate>
<Enabled>no</Enabled>
</Hud0>
<RECENT-LOOT-HUD>
<Script>-- you can add more items here
local warnitems = {'dragon scale mail', 'royal helmet', 'dragon slayer','fire sword', 'tower shield', 'dragon lord trophy'}
-- max lines to display at once
local maxindex = 9
-- spacing between lines
local spacing = 15
local index = 0
local msgs = getmessages("Server Log")
local qtd = msgs.count-1
for i=0,qtd do
if msgs[qtd-i].type == 19 and msgs[qtd-i].text:find('Loot of ') then
local colorm = false
local l = 0
for l=1, table.getn(warnitems) do
if msgs[qtd-i].text:find(warnitems[l]) then
colorm = true
break
end
end
if colorm then
setfontcolor(rgbcolor(178, 34, 34))
else
setfontcolor(rgbcolor(255, 255, 255))
end
addtext(msgs[qtd-i].text, worldwin.left+5,worldwin.bottom-(maxindex*spacing)+20+(index*spacing))
index=index+1
if index == maxindex then
break
end
end
end</Script>
<RefreshRate>1000</RefreshRate>
<Enabled>yes</Enabled>
</RECENT-LOOT-HUD>
<MMH>
<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 = "platinum coin", VALUE = 100},
{NAME = "small sapphire", VALUE = 250},
{NAME = "golden mug", VALUE = 250},
{NAME = "green mushroom", VALUE = 100},
{NAME = "red dragon scale", VALUE = 200},
{NAME = "life crystal", VALUE = 500},
{NAME = "red dragon leather", VALUE = 200},
{NAME = "strange helmet", VALUE = 500},
{NAME = "fire sword", VALUE = 4000},
{NAME = "Small Diamond", VALUE = 250},
{NAME = "tower shield", VALUE = 8000},
{NAME = "dragon slayer", VALUE = 15000},
{NAME = "dragon scale mail", VALUE = 40000},
{NAME = "royal helmet", VALUE = 30000},
{NAME = "dragon lord trophy", VALUE = 10000},
{NAME = "magma boots", VALUE = 2500},
{NAME = "spiked iron ball", VALUE = 100},
{NAME = "Cursed Shoulder Spikes", VALUE = 320},
{NAME = "Dragon Priest's Wandtip", VALUE = 175},
{NAME = "Small Amethyst", VALUE = 200},
{NAME = "Terra rod", VALUE = 2000},
{NAME = "Wand of inferno", VALUE = 3000},
{NAME = "dragon shield", VALUE = 4000},
{NAME = "dragonbone staff", VALUE = 3000},
{NAME = "wand of inferno", VALUE = 3000},
{NAME = "dragon hammer", VALUE = 2000},
{NAME = "serpent sword", VALUE = 900},
{NAME = "broadsword", VALUE = 500},
{NAME = "small diamond", VALUE = 300},
{NAME = "dragon's tail", VALUE = 100},
{NAME = "green dragon leather", VALUE = 100},
{NAME = "strong health potion", VALUE = 100},
{NAME = "green dragon scale", VALUE = 100},
{NAME = "Zaoan Robe", VALUE = 12000},
{NAME = "High Guard Shoulderplates", VALUE = 130},
{NAME = "Lizard Leather", VALUE = 100},
{NAME = "Broken Halber", VALUE = 100},
{NAME = "Legionnaire Flags", VALUE = 500},
{NAME = "Lizard Trophy", VALUE = 0},
{NAME = "Yellow Gem", VALUE = 1000},
}
MONITOR_MY_HUNTING.SHOW_ALL_SUPPLIES = false
MONITOR_MY_HUNTING.SUPPLIES_LIST = {
{NAME = "strong mana potion", PRICE = 80},
{NAME = "prismatic bolt", PRICE = 20},
{NAME = "drill bolt", PRICE = 12},
{NAME = "power bolt bolt", PRICE = 7},
{NAME = "Crystalline Arrow", PRICE = 20},
{NAME = "Onyx Arrow", PRICE = 7},
}
-- [[ 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>1000</RefreshRate>
<Enabled>yes</Enabled>
</MMH>
</List>
<Show>If focused</Show>
<Enabled>no</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>