What's new

Druid [PACC] Libery Bay Behemoth

Status
Not open for further replies.
Joined
Jul 7, 2010
Messages
2,061
Reaction score
193
Age
27
PACC / [-]FACC[/-]

Miejsce:
Liberty Bay - Behemoty na Wyrm Hill

Profesja :
-Elder Druid

Polecany poziom :
140

Skrypt :
[XML]<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>
</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>no</Screenshot>
</Advanced>
<Raid>
<PlaySound>no</PlaySound>
<FlashClient>no</FlashClient>
<PauseBot>no</PauseBot>
<Disconnect>no</Disconnect>
<Warnings>All</Warnings>
</Raid>
</Message>
<Capacity>
<Value>100</Value>
<PlaySound>no</PlaySound>
<FlashClient>no</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>
<Disconnect>
<PlaySound>yes</PlaySound>
<FlashClient>yes</FlashClient>
<PauseBot>no</PauseBot>
</Disconnect>
<Enabled>no</Enabled>
</Alerts>
<Healer>
<Rules>
<Vita>
<HealRange>0 to 60 %</HealRange>
<ManaRange>5 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>
</Vita>
<Gran>
<HealRange>61 to 85 %</HealRange>
<ManaRange>20 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>
</Gran>
<Exura>
<HealRange>86 to 95 %</HealRange>
<ManaRange>20 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>
<GMP>
<HealRange>0 to 100 %</HealRange>
<ManaRange>0 to 70 %</ManaRange>
<HealMethod>Great Mana Potion</HealMethod>
<ExtraCondition>No condition</ExtraCondition>
<CooldownControl>yes</CooldownControl>
<CheckItem>no</CheckItem>
<SpamRate>200 to 400</SpamRate>
<Enabled>yes</Enabled>
</GMP>
<Haste>
<HealRange>60 to 100 %</HealRange>
<ManaRange>30 to 100 %</ManaRange>
<HealMethod>Strong Haste</HealMethod>
<ExtraCondition>If not Hasted</ExtraCondition>
<CooldownControl>yes</CooldownControl>
<CheckItem>no</CheckItem>
<SpamRate>200 to 400</SpamRate>
<Enabled>no</Enabled>
</Haste>
</Rules>
<PingCompensation>10</PingCompensation>
<Enabled>yes</Enabled>
</Healer>
<FriendHealer>
<Rules />
<Enabled>no</Enabled>
</FriendHealer>
<Refiller>
<Rules />
<Enabled>no</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>
<Furniture-Break>
<Script>while (standtime > 60000)do
antifurnituretrap()
wait(5000)
end
</Script>
<SpamRate>800 to 1000</SpamRate>
<Enabled>yes</Enabled>
</Furniture-Break>
<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>
<Safe-Bank>
<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>
</Safe-Bank>
<Softboots>
<Script>local DEFAULT_BOOTS = 'boots of haste' --Name of normal boots
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>
<Stamina>
<Script>if ((pzone == true) and (stamina <= 925))
then
wait(1000, 1500)
closetibia()
end</Script>
<SpamRate>800 to 1000</SpamRate>
<Enabled>yes</Enabled>
</Stamina>
<Death>
<Script>local printscreen = true

if hppc == 0 then
if (printscreen == true) then
focusclient()
screenshot()
end
printscreen = false
else
printscreen = true
end </Script>
<SpamRate>800 to 1000</SpamRate>
<Enabled>yes</Enabled>
</Death>
<UE>
<Script>if (serverType == ("1"))
then
updateworld()
if ((paround(10, true) == 0) and (maround(5, "Behemoth") >= 4))
then
cast("exevo gran mas frigo")
wait(300)
end
elseif (serverType == ("0"))
then
updateworld()
if ((maround(5, "Behemoth") >= 4))
then
cast("exevo gran mas frigo")
wait(300)
end
end</Script>
<SpamRate>800 to 1000</SpamRate>
<Enabled>yes</Enabled>
</UE>
<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>
<Skin>
<Script>skin(4, true)
</Script>
<SpamRate>800 to 1000</SpamRate>
<Enabled>no</Enabled>
</Skin>
</List>
<Setup>-- [ED -=- Liberty Bay Behemoths 1.1 -=- by Spens13]



-- Setup:
serverType = ("0") -- [[1 = PvP/PvPe]] [[0 = NonPvP]
SoftbootsRefill = true
SetAlarms = false
UseMount = true
CapToLeave = 200
HuntUp = true
Haste = true
-- >>>>>>>>>> Backpacks <<<<<<<<<<
MainBPname = "Backpack of holding"
LootBPname = "Blue Backpack"
GoldBPname = "Golden Backpack"
SupplyBPname = "Green Backpack"
-- >>>>>>>>>> Depot <<<<<<<<<<
MainDepotname = "Brown Backpack"
LootDepotname = "purple Backpack"
AddonDepotname = "beach Backpack"
-- >>>>>>>>>> Potions <<<<<<<<<<
mananame = "great mana potion" -- Name of mana potion.
manaprice = 120 -- Price of mana potion to buy.
manatobuy = 200 -- How many mana potions to buy?
manatoback = 60 -- How many potions to back reffil?
runename = "sudden death rune" -- Name of runes.
runeprice = 120 -- Price of runes to buy.
runetobuy = 150 -- How many runes buy?
runetoback = 50 -- How many runes to back reffil?</Setup>
<Enabled>yes</Enabled>
</Actions>
<CaveBot>
<Waypoints>
<w000>Stand 32332 32835 7</w000>
<w001>Stand 32336 32838 7</w001>
<w002>Stand 32330 32835 6</w002>
<w003>Action 32330 32835 6 if not islocation(1) then; gotolabel("w000");end ;;;;</w003>
<w004>Action 32330 32835 6 closewindows();setsettings("Settings\\Cavebot\\Settings\\OpenNextBp","no");;while windowcount() < 2 do;closewindows();wait(1000,2000);openitem(MainBPname, "back", true);wait(1000,2000);resizewindows();wait(1000,2000);openitem(LootBPname, MainBPname, true);wait(1000,2000);end;;;</w004>
<w005>Action 32330 32835 6 openitem(MainBPname, "back");reachgrounditem("depot");while (windowcount("Locker") ==0) do ; openitem("depot"); wait(700,900);end;;while (windowcount("Depot Chest") == 0) do; openitem(3502, "locker"); wait(800,1000);end;; openitem(MainDepotname, "Depot Chest", false); wait(800,1000);;for i=1,8 do;depotdeposit(AddonDepotname, "Assassin Star", "Small Amethyst", "Battle Stone", "Behemoth Claw", "Great Health Potion", "Perfect Behemoth Fang", "Small Diamond", "Wyrm Scale");wait(500,1000);depotdeposit(LootDepotname, "Giant Sword", "Steel Boots", "Strange Symbol", "Behemoth Trophy", "Crystal Necklace", "Titan Axe", "War Axe", "Composite Hornbow", "Dragonbone Staff", "Shockwave Amulet", "Hibiscus Dress", "Wand of Starstorm", "Focus Cape", "Lightning Pendant", "Wand of Draconia");wait(1000);openitem(LootBPname, LootBPname, false);end;;setsettings("Settings\\Cavebot\\Pathfinding\\WalkThroughPlayers","no");;</w005>
<w006>Stand 32335 32835 6</w006>
<w007>Stand 32336 32838 6</w007>
<w008>Stand 32336 32842 7</w008>
<w009>Action 32336 32842 7 if not islocation(1) then; gotolabel("w006");end ;;;;;</w009>
<w010>Action 32336 32842 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;</w010>
<w011>Stand 32339 32837 7</w011>
<w012>Action 32339 32837 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;;;</w012>
<w013>Stand 32332 32836 7</w013>
<w014>Stand 32322 32836 7</w014>
<w015>Stand 32311 32840 7</w015>
<w016>Stand 32311 32850 7</w016>
<w017>Stand 32311 32861 7</w017>
<w018>Ladder 32306 32868 7</w018>
<w019>Stand 32299 32873 6</w019>
<w020>Action 32299 32873 6 if not islocation(1) then; gotolabel("w017");end ;;;;;;</w020>
<w021>Stand 32293 32873 6</w021>
<w022>Stand 32283 32873 6</w022>
<w023>Stand 32276 32878 6</w023>
<w024>Stand 32276 32883 6</w024>
<w025>Stand 32276 32888 6</w025>
<w026>Stand 32278 32893 6</w026>
<w027>Stand 32282 32893 6</w027>
<w028>Action 32282 32893 6 if islocation(1) then;reachcreature("Jack Fate");say("hi");wait(1000,1200);npcsay("venore");wait(1000,1200);npcsay("yes");wait(500);end;</w028>
<w051>Stand 32954 32027 6</w051>
<w052>Stand 32954 32035 6</w052>
<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>
<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(700,1000);npcsay("repair");wait(700,1000);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("liberty bay");wait(1000,1200);npcsay("yes");wait(500);end</w071>
<w029>Stand 32279 32893 6</w029>
<w030>Stand 32276 32887 6</w030>
<w031>Stand 32276 32879 6</w031>
<w032>Stand 32278 32874 6</w032>
<w033>Stand 32290 32874 6</w033>
<w034>Stand 32295 32873 6</w034>
<w035>Stand 32305 32872 6</w035>
<w036>Stand 32306 32868 6</w036>
<w037>Stand 32310 32860 7</w037>
<w038>Stand 32311 32847 7</w038>
<w039>Stand 32314 32839 7</w039>
<w040>Stand 32322 32838 7</w040>
<w041>Stand 32326 32836 7</w041>
<w042>Stand 32333 32836 7</w042>
<SoftsDone>Stand 32336 32842 7</SoftsDone>
<w072>Action 32336 32842 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;;;</w072>
<w043>Stand 32338 32837 7</w043>
<w044>Action 32338 32837 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 runes = positive(runetobuy - itemcount(runename)) * runeprice;;local Total = mana + runes + 5000;;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);;;;</w044>
<w045>Stand 32342 32837 7</w045>
<w046>Action 32342 32837 7 if serverType == ("1") then ; setsettings("Settings\\Cavebot\\Pathfinding\\WalkThroughPlayers","no");else; setsettings("Settings\\Cavebot\\Pathfinding\\WalkThroughPlayers","yes");end;;</w046>
<w047>Stand 32342 32828 7</w047>
<w048>Stand 32341 32816 7</w048>
<w049>Stand 32341 32802 7</w049>
<w050>Stand 32345 32805 7</w050>
<w073>Action 32345 32805 7 if not islocation(1) then; gotolabel("w048");end ;;sellflasks();wait(500);;local CurrentManas = itemcount(mananame);local CurrentRunes = itemcount(runename);;buyitemsupto(runename,runetobuy,CurrentRunes);wait(200,300);;amount = manatobuy - CurrentManas ;while amount > 0 do ;buyitems(mananame, amount) ;wait(500,1000) ;moveitems(mananame,SupplyBPname, 1000) ;wait(300,400) ;moveitems(runename,SupplyBPname, 1000) ;wait(300,400) ;amount = amount-100;end;;;;</w073>
<w074>Stand 32353 32803 7</w074>
<w075>Stand 32365 32803 7</w075>
<w076>Stand 32371 32797 7</w076>
<w077>Action 32371 32797 7 if Haste then;setsettings("Settings\\Healer\\Rules\\Haste\\Enabled", "yes");end;;</w077>
<w078>Stand 32374 32789 7</w078>
<w079>Stand 32371 32779 7</w079>
<w080>Stand 32371 32772 7</w080>
<w081>Stand 32373 32770 7</w081>
<w082>Stand 32376 32769 6</w082>
<w083>Action 32376 32769 6 if not islocation(1) then; gotolabel("w076");end ;;;;;;;</w083>
<w084>Stand 32378 32768 6</w084>
<w134>Stand 32379 32768 5</w134>
<w135>Action 32379 32768 5 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(runename) < runetoback) or (cap < CapToLeave);then; gotolabel("Leave");end;;if boots ~= 3549 then;moveitems(6529, MainBPname, "boots", 1);end;;;</w135>
<w085>Stand 32380 32768 5</w085>
<w086>Stand 32382 32768 4</w086>
<w087>Stand 32384 32768 3</w087>
<w088>Action 32384 32768 3 if not islocation(1) then; gotolabel("w084");end ;;;;;;;</w088>
<w089>Stand 32386 32763 3</w089>
<w090>Stand 32386 32754 3</w090>
<w091>Stand 32387 32749 3</w091>
<w092>Stand 32388 32746 3</w092>
<w093>Stand 32391 32749 2</w093>
<w094>Action 32391 32749 2 if not islocation(1) then; gotolabel("w091");end ;;;;;;;</w094>
<w095>Stand 32391 32754 2</w095>
<w096>Stand 32392 32760 2</w096>
<w097>Stand 32397 32764 2</w097>
<w098>Stand 32398 32764 2</w098>
<Hunting>Stand 32399 32764 1</Hunting>
<w100>Action 32399 32764 1 if not islocation(1) then; gotolabel("w097");end ;;;;;;;</w100>
<w101>Stand 32400 32766 1</w101>
<w102>Action 32400 32766 1 if HuntUp then; return;else; gotolabel('UpFDone');end;;</w102>
<w103>Stand 32403 32766 1</w103>
<w104>Node 32408 32769 0</w104>
<w105>Node 32412 32771 0</w105>
<w106>Node 32417 32764 0</w106>
<w107>Node 32410 32760 0</w107>
<w108>Stand 32403 32766 0</w108>
<UpFDone>Stand 32401 32763 1</UpFDone>
<w109>Node 32400 32758 1</w109>
<w110>Node 32397 32752 1</w110>
<w111>Stand 32397 32747 1</w111>
<w112>Action 32397 32747 1 if (itemcount(mananame) < manatoback) or (itemcount(runename) < runetoback) or (cap < CapToLeave) then;gotolabel("Leave");end;;;;;;;</w112>
<w113>Action 32397 32747 1 if HuntUp then; return;else; gotolabel('UpSDone');end;;;</w113>
<w114>Stand 32399 32747 1</w114>
<w115>Stand 32407 32747 0</w115>
<w116>Stand 32399 32747 0</w116>
<UpSDone>Stand 32397 32745 1</UpSDone>
<w117>Node 32397 32739 1</w117>
<w118>Node 32404 32736 1</w118>
<w119>Node 32410 32740 1</w119>
<w120>Node 32412 32749 1</w120>
<w121>Node 32410 32755 1</w121>
<w122>Node 32402 32758 1</w122>
<w123>Action 32400 32762 1 if (itemcount(mananame) < manatoback) or (itemcount(runename) < runetoback) or (cap < CapToLeave) then;gotolabel("Leave");end;;;;;;</w123>
<w124>Action 32400 32759 1 if (itemcount(mananame) > manatoback) or (itemcount(runename) > runetoback) or (cap > CapToLeave) then;gotolabel("Hunting");end;;;;;</w124>
<Leave>Stand 32399 32763 1</Leave>
<w099>Stand 32398 32764 1</w099>
<w125>Stand 32392 32761 2</w125>
<w126>Stand 32391 32752 2</w126>
<w127>Stand 32388 32746 2</w127>
<w128>Stand 32385 32751 3</w128>
<w129>Stand 32386 32759 3</w129>
<w130>Stand 32386 32766 3</w130>
<w131>Stand 32382 32768 3</w131>
<w132>Stand 32380 32768 4</w132>
<w133>Stand 32378 32768 5</w133>
<w136>Stand 32375 32770 6</w136>
<w137>Stand 32373 32770 6</w137>
<w138>Stand 32370 32778 7</w138>
<w139>Stand 32370 32785 7</w139>
<w140>Stand 32375 32792 7</w140>
<w141>Stand 32371 32802 7</w141>
<w142>Stand 32369 32814 7</w142>
<w143>Stand 32358 32815 7</w143>
<w144>Stand 32347 32815 7</w144>
<w145>Stand 32340 32817 7</w145>
<w146>Stand 32340 32827 7</w146>
<w147>Action 32340 32827 7 setsettings("Settings\\Healer\\Rules\\Haste\\Enabled", "no");</w147>
<w148>Stand 32342 32835 7</w148>
<w149>Stand 32338 32838 7</w149>
</Waypoints>
<Pathfinding>
<SpecialAreas>
<NewArea0>
<Coordinates>32397 32769 3</Coordinates>
<Dimensions>3 6</Dimensions>
<ConsideredBy>All</ConsideredBy>
</NewArea0>
<NewArea1>
<Coordinates>32391 32736 3</Coordinates>
<Dimensions>3 4</Dimensions>
<ConsideredBy>All</ConsideredBy>
</NewArea1>
<NewArea2>
<Coordinates>32395 32746 2</Coordinates>
<Dimensions>3 2</Dimensions>
<ConsideredBy>All</ConsideredBy>
</NewArea2>
<NewArea3>
<Coordinates>32399 32762 1</Coordinates>
<Dimensions>4 1</Dimensions>
<ConsideredBy>Target</ConsideredBy>
</NewArea3>
<NewArea5>
<Coordinates>32403 32755 1</Coordinates>
<Dimensions>1 6</Dimensions>
<ConsideredBy>Target</ConsideredBy>
</NewArea5>
<NewArea7>
<Coordinates>32394 32741 1</Coordinates>
<Dimensions>6 1</Dimensions>
<ConsideredBy>Target</ConsideredBy>
</NewArea7>
<NewArea8>
<Coordinates>32407 32733 1</Coordinates>
<Dimensions>1 7</Dimensions>
<ConsideredBy>Target</ConsideredBy>
</NewArea8>
<NewArea9>
<Coordinates>32410 32742 1</Coordinates>
<Dimensions>4 1</Dimensions>
<ConsideredBy>Target</ConsideredBy>
</NewArea9>
<NewArea10>
<Coordinates>32411 32748 1</Coordinates>
<Dimensions>5 1</Dimensions>
<ConsideredBy>Target</ConsideredBy>
</NewArea10>
<NewArea4>
<Coordinates>32396 32751 1</Coordinates>
<Dimensions>4 3</Dimensions>
<ConsideredBy>Target</ConsideredBy>
</NewArea4>
<NewArea6>
<Coordinates>32411 32750 1</Coordinates>
<Dimensions>2 1</Dimensions>
<ConsideredBy>Target</ConsideredBy>
</NewArea6>
<NewArea11>
<Coordinates>32412 32750 1</Coordinates>
<Dimensions>1 6</Dimensions>
<ConsideredBy>Target</ConsideredBy>
</NewArea11>
<NewArea12>
<Coordinates>32422 32763 1</Coordinates>
<Dimensions>3 1</Dimensions>
<ConsideredBy>Target</ConsideredBy>
</NewArea12>
</SpecialAreas>
<WalkThroughPlayers>no</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>no</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>yes</Enabled>
</CaveBot>
<Looting>
<List>
<Platinum-Coin>
<Id>3035</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</Platinum-Coin>
<Assassin-Star>
<Id>7368</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</Assassin-Star>
<Small-Amethyst>
<Id>3033</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</Small-Amethyst>
<Battle-Stone>
<Id>11447</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</Battle-Stone>
<Behemoth-Claw>
<Id>5930</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</Behemoth-Claw>
<Giant-Sword>
<Id>3281</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</Giant-Sword>
<Great-Health-Potion>
<Id>239</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</Great-Health-Potion>
<Perfect-Behemoth-Fang>
<Id>5893</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</Perfect-Behemoth-Fang>
<Steel-Boots>
<Id>3554</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</Steel-Boots>
<Strange-Symbol>
<Id>3058</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</Strange-Symbol>
<Behemoth-Trophy>
<Id>7396</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</Behemoth-Trophy>
<Crystal-Necklace>
<Id>3008</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</Crystal-Necklace>
<Titan-Axe>
<Id>7413</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</Titan-Axe>
<War-Axe>
<Id>3342</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</War-Axe>
<Composite-Hornbow>
<Id>8027</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</Composite-Hornbow>
<Dragonbone-Staff>
<Id>7430</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</Dragonbone-Staff>
<Shockwave-Amulet>
<Id>9304</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</Shockwave-Amulet>
<Hibiscus-Dress>
<Id>8045</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</Hibiscus-Dress>
<Wand-of-Starstorm>
<Id>8092</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</Wand-of-Starstorm>
<Focus-Cape>
<Id>8043</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</Focus-Cape>
<Lightning-Pendant>
<Id>816</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</Lightning-Pendant>
<Wand-of-Draconia>
<Id>8093</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</Wand-of-Draconia>
<Small-Diamond>
<Id>3028</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</Small-Diamond>
<Wyrm-Scale>
<Id>9665</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</Wyrm-Scale>
</List>
<Condition>Corpses with listed items</Condition>
<Style>After all dead</Style>
<OpenBodyTime>300</OpenBodyTime>
<Range>10</Range>
<EatFood>yes</EatFood>
<Enabled>yes</Enabled>
</Looting>
<Targeting>
<Monsters>
<Category-A>
<Categories>-</Categories>
<Danger>8</Danger>
<ListSettings>
<Setting0>
<Count>3+</Count>
<HpRange>0 to 100 %</HpRange>
<Stance>Keep Away</Stance>
<Avoid>None</Avoid>
<Distance>4</Distance>
<Attack>Attack</Attack>
<ListSpell>
<Spell0>Sudden Death Rune</Spell0>
</ListSpell>
<SpellRate>500 to 1000</SpellRate>
<AttackMode>Stand/Defensive</AttackMode>
</Setting0>
</ListSettings>
<Looting>yes</Looting>
<MustAttackMe>no</MustAttackMe>
<OnlyIfTrapped>no</OnlyIfTrapped>
</Category-A>
<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>
<Behemoth>
<Categories>A</Categories>
<Danger>6</Danger>
<ListSettings>
<Any>
<Count>Any</Count>
<HpRange>0 to 100 %</HpRange>
<Stance>Keep Away</Stance>
<Avoid>None</Avoid>
<Distance>3</Distance>
<Attack>Attack</Attack>
<ListSpell>
<Spell2>Ultimate Ice Strike</Spell2>
<Spell0>Strong Ice Strike</Spell0>
<Spell1>Ice Strike</Spell1>
</ListSpell>
<SpellRate>500 to 1000</SpellRate>
<AttackMode>Stand/Defensive</AttackMode>
</Any>
</ListSettings>
<Looting>yes</Looting>
<MustAttackMe>no</MustAttackMe>
<OnlyIfTrapped>no</OnlyIfTrapped>
</Behemoth>
<Wyrm>
<Categories>-</Categories>
<Danger>4</Danger>
<ListSettings>
<Any>
<Count>Any</Count>
<HpRange>0 to 100 %</HpRange>
<Stance>Keep Away</Stance>
<Avoid>Wave</Avoid>
<Distance>3</Distance>
<Attack>Attack</Attack>
<ListSpell>
<Spell1>Ice Strike</Spell1>
<Spell0>Strong Ice Strike</Spell0>
</ListSpell>
<SpellRate>500 to 1000</SpellRate>
<AttackMode>Stand/Defensive</AttackMode>
</Any>
</ListSettings>
<Looting>yes</Looting>
<MustAttackMe>no</MustAttackMe>
<OnlyIfTrapped>yes</OnlyIfTrapped>
</Wyrm>
</Monsters>
<Settings>
<ListOrder>2</ListOrder>
<Health>7</Health>
<Proximity>5</Proximity>
<Danger>9</Danger>
<PlayerOnScreenSecurity>If cavebotting</PlayerOnScreenSecurity>
<CooldownControl>yes</CooldownControl>
<CheckItem>no</CheckItem>
<MustBeReachable>yes</MustBeReachable>
<MustBeShootable>yes</MustBeShootable>
</Settings>
<Enabled>yes</Enabled>
</Targeting>
<Hud>
<List>
<BUgWT_HUD>
<Script>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")

setposition(clientwin.left+10, worldwin.top+22)

setfontcolor("white")

addtext('---------------------------------------------', 0, 15)
setfontcolor("dodgerblue")
addtext('-= Behemoths Liberty Bay by Spens13 =-', 15,25)
addtext('>> HUD by BUgWT <<', 40,40)
addtext('~*~ www.bugwt.com ~*~', 30,55)
setfontcolor("white")
addtext('---------------------------------------------', 0, 65)

setfontcolor("yellow")
addtext('Experience Per Hour', 5, 80)
addtext('Experience Left', 5, 95)
addtext('Experience Today', 5, 110)
addtext('Time to Next Level', 5, 125)
addtext('Stamina', 5, 140)
addtext('Played Time', 5, 155)
addtext('Cavebotting', 5, 170)
addtext('Targeting', 5, 185)
addtext('Looting', 5, 200)
addtext('Walk Through Players', 5, 215)
addtext('Bank Balance', 5, 230)
addtext('Floor Level', 5, 245)

setfontcolor("white")
addtext(': ' ..exphour, 140, 80)
addtext(': ' ..addcommas(exptolevel()), 140, 95)
addtext(': ' ..addcommas(expgained), 140, 110)
addtext(': ' ..timetolevel, 140, 125)

if stamina >= 2400 then
setfontcolor("green")
addtext(': ' ..formatstaminaintotime(stamina), 140, 140)
elseif stamina < 2400 and stamina >= 840 then
setfontcolor("orange")
addtext(': ' ..formatstaminaintotime(stamina), 140, 140)
elseif stamina <= 840 then
setfontcolor("red")
addtext(': ' ..formatstaminaintotime(stamina), 140, 140)
end

setfontcolor("white")
addtext(': ' ..timehunt, 140, 155)

if cavebot then
setfontcolor("green")
addtext(': ' ..'ON', 140, 170)
else
setfontcolor("red")
addtext(': ' ..'OFF', 140, 170)
end

if targeting then
setfontcolor("green")
addtext(': ' ..'ON', 140, 185)
else
setfontcolor("red")
addtext(': ' ..'OFF', 140, 185)
end

if looting then
setfontcolor("green")
addtext(': ' ..'ON', 140, 200)
else
setfontcolor("red")
addtext(': ' ..'OFF', 140, 200)
end

if walkthroughplayers == 'yes' then
setfontcolor("green")
addtext(': ' ..'ON', 140, 215)
elseif walkthroughplayers == 'no' then
setfontcolor("red")
addtext(': ' ..'OFF', 140, 215)
end

setfontcolor("white")
addtext(': ' ..addcommas(balance), 140, 230)
addtext(': ' ..posz, 140, 245)</Script>
<RefreshRate>1000</RefreshRate>
<Enabled>yes</Enabled>
</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 = "platinum coin", VALUE = 100},
{NAME = "assassin star", VALUE = 100},
{NAME = "small amethyst", VALUE = 200},
{NAME = "battle stone", VALUE = 290},
{NAME = "behemoth claw", VALUE = 2000},
{NAME = "giant sword", VALUE = 17000},
{NAME = "great health potion", VALUE = 175},
{NAME = "perfect behemoth fang", VALUE = 1000},
{NAME = "steel boots", VALUE = 30000},
{NAME = "strange symbol", VALUE = 200},
{NAME = "behemoth trophy", VALUE = 20000},
{NAME = "crystal necklace", VALUE = 400},
{NAME = "titan axe", VALUE = 4000},
{NAME = "war axe", VALUE = 12000},
{NAME = "wyrm scale", VALUE = 400},
{NAME = "small diamond", VALUE = 300},
{NAME = "wand of draconia", VALUE = 1500},
{NAME = "lightning pendant", VALUE = 1500},
{NAME = "focus cape", VALUE = 6000},
{NAME = "wand of starstorm", VALUE = 3600},
{NAME = "hibiscus dress", VALUE = 3000},
{NAME = "shockwave amulet", VALUE = 3000},
{NAME = "dragonbone staff", VALUE = 3000},
{NAME = "composite hornbow", VALUE = 25000},
}

MONITOR_MY_HUNTING.SHOW_ALL_SUPPLIES = false
MONITOR_MY_HUNTING.SUPPLIES_LIST = {
{NAME = "strong mana potion", PRICE = 80},
{NAME = "great mana potion", PRICE = 120},
{NAME = "sudden death rune", PRICE = 108},
{NAME = "icicle rune", PRICE = 30},
}

-- [[ 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>
</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>[/XML]
 
Status
Not open for further replies.
Top