Xinum
Never Give Up!
- Joined
- Dec 23, 2009
- Messages
- 578
- Reaction score
- 64
Code:
<Settings>
<Alerts>
<Player>
<OnScreen>
<PlaySound>yes</PlaySound>
<FlashClient>yes</FlashClient>
<PauseBot>no</PauseBot>
<Disconnect>no</Disconnect>
<SafeList>null</SafeList>
</OnScreen>
<Attacking>
<PlaySound>yes</PlaySound>
<FlashClient>yes</FlashClient>
<PauseBot>no</PauseBot>
<Disconnect>no</Disconnect>
<SafeList>null</SafeList>
</Attacking>
</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>60000</Value>
<PlaySound>yes</PlaySound>
<FlashClient>yes</FlashClient>
<PauseBot>no</PauseBot>
<Disconnect>no</Disconnect>
</StandTime>
<Disconnect>
<PlaySound>no</PlaySound>
<FlashClient>no</FlashClient>
<PauseBot>no</PauseBot>
</Disconnect>
<Enabled>yes</Enabled>
</Alerts>
<Healer>
<Rules>
<SMP>
<HealRange>0 to 100 %</HealRange>
<ManaRange>0 to 50 %</ManaRange>
<HealMethod>Strong Mana Potion</HealMethod>
<ExtraCondition>No condition</ExtraCondition>
<CooldownControl>yes</CooldownControl>
<CheckItem>no</CheckItem>
<SpamRate>1010 to 1100</SpamRate>
<Enabled>yes</Enabled>
</SMP>
<GSP>
<HealRange>0 to 40 %</HealRange>
<ManaRange>0 to 100 %</ManaRange>
<HealMethod>Great Spirit Potion</HealMethod>
<ExtraCondition>No condition</ExtraCondition>
<CooldownControl>no</CooldownControl>
<CheckItem>no</CheckItem>
<SpamRate>200 to 400</SpamRate>
<Enabled>yes</Enabled>
</GSP>
<Healer0>
<HealRange>50 to 80 %</HealRange>
<ManaRange>0 to all</ManaRange>
<HealMethod>Intense Recovery</HealMethod>
<ExtraCondition>No condition</ExtraCondition>
<CooldownControl>yes</CooldownControl>
<CheckItem>no</CheckItem>
<SpamRate>200 to 400</SpamRate>
<Enabled>yes</Enabled>
</Healer0>
</Rules>
<PingCompensation>10</PingCompensation>
<Enabled>yes</Enabled>
</Healer>
<FriendHealer>
<Rules />
<Enabled>no</Enabled>
</FriendHealer>
<Refiller>
<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>
<healing>
<Script>if maround(5, false, "Hydra", "Serpent Spawn", "Medusa") >= 3 then
if hppc < 65 and cancast("exura gran san") then
cast("exura gran san")
elseif hppc < 75 and hppc >= 65 and cancast("exura san") then
cast("exura san")
elseif hppc < 90 and hppc >= 75 and cancast("exura") then
cast("exura")
elseif hppc >= 90 and cancast("exura") and paralyzed then
cast("exura")
elseif hppc >= 90 and hppc < 94 and cancast("utura gran") and not strengthened then
cast("utura gran")
end
else
if hppc < 40 and cancast("exura gran san") then
cast("exura gran san")
elseif hppc < 55 and hppc >= 40 and cancast("exura san") then
cast("exura san")
elseif hppc < 90 and hppc >= 55 and cancast("exura") then
cast("exura")
elseif hppc >= 90 and cancast("exura") and paralyzed then
cast("exura")
elseif hppc >= 90 and hppc < 94 and cancast("utura gran") and not strengthened then
cast("utura gran")
end
end</Script>
<SpamRate>40 to 60</SpamRate>
<Enabled>yes</Enabled>
</healing>
<mana-walk>
<Script>if maround(7, false) > 0 then
setsettings("Settings\\Healer\\Rules\\SMP\\ManaRange", "0 to 50 %")
else
setsettings("Settings\\Healer\\Rules\\SMP\\ManaRange", "0 to 75 %")
end</Script>
<SpamRate>800 to 1000</SpamRate>
<Enabled>yes</Enabled>
</mana-walk>
<soft-boots>
<Script>local softequip = 85
local softunequip = 96
local softid = 6529
local softuseid = 3549
local wornsoftid = 6530
local BootsId = itemid(BootsName)
if mppc <= softequip and not pzone and boots ~= softuseid and itemcount(softid) > 0 then
moveitems(softid, 'all', 'boots', 1)
wait(500, 600)
elseif ((mppc >= softunequip) or (mppc < softunequip and boots == wornsoftid and itemcount(softid) == 0) or pzone) and boots ~= BootsId then
moveitems(BootsId, 'all', 'boots', 1)
wait(500, 600)
end</Script>
<SpamRate>800 to 1000</SpamRate>
<Enabled>yes</Enabled>
</soft-boots>
<drop-flasks>
<Script>if maround(7) == 0 and (itemcount(285) + itemcount(284) + itemcount(283)) >= 1 and cap <= 220 and lootbodies ~= true then
moveitems(285, 'all', "ground", 100)
wait(700, 900)
moveitems(284, 'all', "ground", 100)
wait(700, 900)
moveitems(283, 'all', "ground", 100)
wait(700, 900)
end</Script>
<SpamRate>100 to 250</SpamRate>
<Enabled>yes</Enabled>
</drop-flasks>
<safe-bank>
<Script>local msgs = getmessages("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>
<updateworld>
<Script>updateworld()</Script>
<SpamRate>800 to 1000</SpamRate>
<Enabled>yes</Enabled>
</updateworld>
<lure-alert>
<Script>if maround(7, "Hydra", "Serpent Spawn", "Medusa") >= 5 then
playsound("alert.wav")
flashclient()
end</Script>
<SpamRate>800 to 1000</SpamRate>
<Enabled>yes</Enabled>
</lure-alert>
<rust-remover>
<Script>local trash = {"Scale Armor", "Chain Armor", "Brass Armor ", "Plate Armor"}
if maround(4) == 0 then
if itemcount(8896) > 0 and itemcount(9016) > 0 then
pausewalking(1000)
useitemon(9016, 8896, LootBP)
pausewalking(0)
end
for k, v in ipairs(trash) do
if itemcount(v) > 0 then
moveitems(v, "all", "ground", 1)
end
end
end</Script>
<SpamRate>800 to 1000</SpamRate>
<Enabled>yes</Enabled>
</rust-remover>
<safe-spells>
<Script>if target.id ~= 0 and target.dist <= 4 and target.isshootable and (target.name == "Serpent Spawn" or target.name == "Medusa" or target.name == "Giant Spider" or target.name == "Bonebeast") and target.hppc < 100 and paround(7, true) == 0 and cancast("exori san") and target.hppc > 10 then
cast("exori san")
wait(200, 400)
elseif target.id ~= 0 and target.dist <= 7 and target.isshootable and target.hppc < 100 and cancast("exori con") then
cast("exori con")
wait(200, 400)
end</Script>
<SpamRate>10 to 20</SpamRate>
<Enabled>yes</Enabled>
</safe-spells>
<open-area>
<Script>if posx > 32853 then
setsettings("Settings\\CaveBot\\Pathfinding\\SpecialAreas\\north lure\\ConsideredBy", "Target")
else
setsettings("Settings\\CaveBot\\Pathfinding\\SpecialAreas\\north lure\\ConsideredBy", "None")
end</Script>
<SpamRate>100 to 200</SpamRate>
<Enabled>yes</Enabled>
</open-area>
<ammo-refiller>
<Script>if ammoamount < random(40, 60) then
moveitems(AmmoName, "all", "ammo", 100)
end</Script>
<SpamRate>800 to 1000</SpamRate>
<Enabled>yes</Enabled>
</ammo-refiller>
<open-close-areas>
<Script>if posx > 32871 then
setsettings("Settings\\Cavebot\\Pathfinding\\SpecialAreas\\gs from west\\ConsideredBy", "Target")
else
setsettings("Settings\\Cavebot\\Pathfinding\\SpecialAreas\\gs from west\\ConsideredBy", "None")
end
if posy < 32525 then
setsettings("Settings\\Cavebot\\Pathfinding\\SpecialAreas\\entrance to c h\\ConsideredBy", "Target")
else
setsettings("Settings\\Cavebot\\Pathfinding\\SpecialAreas\\entrance to c h\\ConsideredBy", "None")
end
if posy < 32537 then
setsettings("Settings\\Cavebot\\Pathfinding\\SpecialAreas\\north from statue room\\ConsideredBy", "Target")
else
setsettings("Settings\\Cavebot\\Pathfinding\\SpecialAreas\\north from statue room\\ConsideredBy", "None")
end
if posx < 32792 then
setsettings("Settings\\Cavebot\\Pathfinding\\SpecialAreas\\before sw spawn\\ConsideredBy", "Target")
else
setsettings("Settings\\Cavebot\\Pathfinding\\SpecialAreas\\before sw spawn\\ConsideredBy", "None")
end
</Script>
<SpamRate>100 to 200</SpamRate>
<Enabled>yes</Enabled>
</open-close-areas>
<life-ring-changer>
<Script>if mppc < 90 and itemcount("life ring") > 0 and ring ~= 3089 and not pzone then
moveitems("life ring", "all", "ring", 1)
elseif (mppc >= 96 or pzone) and ring == 3089 then
moveitems(3089, "ring", "all", 1)
end</Script>
<SpamRate>800 to 1000</SpamRate>
<Enabled>yes</Enabled>
</life-ring-changer>
<open-close-areas-2>
<Script>if posx < 32834 then
setsettings("Settings\\Cavebot\\Pathfinding\\SpecialAreas\\cross west\\ConsideredBy", "Target")
else
setsettings("Settings\\Cavebot\\Pathfinding\\SpecialAreas\\cross west\\ConsideredBy", "None")
end
if posy < 32636 then
setsettings("Settings\\Cavebot\\Pathfinding\\SpecialAreas\\s hc wall\\ConsideredBy", "Target")
else
setsettings("Settings\\Cavebot\\Pathfinding\\SpecialAreas\\s hc wall\\ConsideredBy", "None")
end
if posy < 32546 then
setsettings("Settings\\Cavebot\\Pathfinding\\SpecialAreas\\long wall on h c\\ConsideredBy", "Target")
else
setsettings("Settings\\Cavebot\\Pathfinding\\SpecialAreas\\long wall on h c\\ConsideredBy", "None")
end
if posx < 32805 then
setsettings("Settings\\Cavebot\\Pathfinding\\SpecialAreas\\h c east\\ConsideredBy", "Target")
else
setsettings("Settings\\Cavebot\\Pathfinding\\SpecialAreas\\h c east\\ConsideredBy", "None")
end</Script>
<SpamRate>100 to 200</SpamRate>
<Enabled>yes</Enabled>
</open-close-areas-2>
<open-close-areas-3>
<Script>if posx < 32785 then
setsettings("Settings\\Cavebot\\Pathfinding\\SpecialAreas\\h c west\\ConsideredBy", "Target")
else
setsettings("Settings\\Cavebot\\Pathfinding\\SpecialAreas\\h c west\\ConsideredBy", "None")
end
if posy < 32543 then
setsettings("Settings\\Cavebot\\Pathfinding\\SpecialAreas\\statue room n\\ConsideredBy", "Target")
else
setsettings("Settings\\Cavebot\\Pathfinding\\SpecialAreas\\statue room n\\ConsideredBy", "None")
end
if posy < 32623 then
setsettings("Settings\\Cavebot\\Pathfinding\\SpecialAreas\\cross south\\ConsideredBy", "Target")
else
setsettings("Settings\\Cavebot\\Pathfinding\\SpecialAreas\\cross south\\ConsideredBy", "None")
end
if posy > 32617 then
setsettings("Settings\\Cavebot\\Pathfinding\\SpecialAreas\\cross north\\ConsideredBy", "Target")
else
setsettings("Settings\\Cavebot\\Pathfinding\\SpecialAreas\\cross north\\ConsideredBy", "None")
end</Script>
<SpamRate>100 to 200</SpamRate>
<Enabled>yes</Enabled>
</open-close-areas-3>
<open-close-areas-4>
<Script>if posy < 32611 then
setsettings("Settings\\Cavebot\\Pathfinding\\SpecialAreas\\cross north center\\ConsideredBy", "Target")
else
setsettings("Settings\\Cavebot\\Pathfinding\\SpecialAreas\\cross north center\\ConsideredBy", "None")
end
if posx > 32811 then
setsettings("Settings\\Cavebot\\Pathfinding\\SpecialAreas\\h c center east\\ConsideredBy", "Target")
else
setsettings("Settings\\Cavebot\\Pathfinding\\SpecialAreas\\h c center east\\ConsideredBy", "None")
end</Script>
<SpamRate>100 to 200</SpamRate>
<Enabled>yes</Enabled>
</open-close-areas-4>
<keep-haste>
<Script>if not hasted and cancast("utani hur") and not pzone and standtime < 5000 then
cast("utani hur")
end</Script>
<SpamRate>800 to 1000</SpamRate>
<Enabled>no</Enabled>
</keep-haste>
<safe-keep-away-wait>
<Script>if paround(10) > 0 or maround(1) > 1 then
setsettings("Settings\\Targeting\\Monsters\\Medusa\\ListSettings\\Setting0\\Stance", "Keep Away")
setsettings("Settings\\Targeting\\Monsters\\Serpent Spawn\\ListSettings\\Setting0\\Stance", "Keep Away")
setsettings("Settings\\Targeting\\Monsters\\Hydra\\ListSettings\\Setting0\\Stance", "Keep Away")
setsettings("Settings\\Targeting\\Monsters\\Giant Spider\\ListSettings\\Setting0\\Stance", "Keep Away")
setsettings("Settings\\Targeting\\Monsters\\Bonebeast\\ListSettings\\Setting0\\Stance", "Keep Away")
else
setsettings("Settings\\Targeting\\Monsters\\Medusa\\ListSettings\\Setting0\\Stance", "Keep Away Wait")
setsettings("Settings\\Targeting\\Monsters\\Serpent Spawn\\ListSettings\\Setting0\\Stance", "Keep Away Wait")
setsettings("Settings\\Targeting\\Monsters\\Hydra\\ListSettings\\Setting0\\Stance", "Keep Away Wait")
setsettings("Settings\\Targeting\\Monsters\\Giant Spider\\ListSettings\\Setting0\\Stance", "Keep Away Wait")
setsettings("Settings\\Targeting\\Monsters\\Bonebeast\\ListSettings\\Setting0\\Stance", "Keep Away Wait")
end</Script>
<SpamRate>100 to 200</SpamRate>
<Enabled>yes</Enabled>
</safe-keep-away-wait>
<rope-shovel-fixer>
<Script>setsettings("Settings\\CaveBot\\Settings\\Rope", itemid(RopeType))
setsettings("Settings\\CaveBot\\Settings\\Shovel", itemid(ShovelType))</Script>
<SpamRate>5000 to 10000</SpamRate>
<Enabled>yes</Enabled>
</rope-shovel-fixer>
</List>
<Setup>-- Setup
--------------Backpack Setup----------------
MainBP = "backpack of holding"
AmmoBP = "jewelled backpack"
LootBP = "camouflage backpack"
GoldBP = "brocade backpack"
--------------Depo Setup--------------------
MainDPBP = "backpack"
AddonDPBP = "dragon backpack"
RandomDPBP = "blue backpack"
--------------Mana Setup--------------------
ManaName = "strong mana potion"
ManaPrice = 80
BuyMana = 500
--------------Ammo Setup--------------------
AmmoName = "prismatic bolt"
AmmoPrice = 20
BuyAmmo = 1500
--------------Health Setup------------------
HealthName = "great spirit potion"
HealthPrice = 190
BuyHealth = 100
--------------Soft Boots Setup--------------
RefillSofts = true
BootsName = "boots of haste"
--------------Checker Setup-----------------
ManaCheck = 120
HealthCheck = 10
AmmoCheck = 250
CapCheck = 100
StaminaCheck = 840
--------------Others Setup------------------
BoatShortcut = false
HasteOnRefill = true
CentaralHydras = false
SouthHardcore = false
RopeType = "rope"
ShovelType = "shovel"</Setup>
<Enabled>yes</Enabled>
</Actions>
<CaveBot>
<Waypoints>
<finding_where_you_are>Action 32629 32750 7 if posz == 11 then; gotolabel('fixing_settings_before_hunt');else; gotolabel('open_bps');end</finding_where_you_are>
<open_bps>Action 32629 32750 7 setsettings("Settings\\Alerts\\Player\\OnScreen\\FlashClient", "no");setsettings("Settings\\Alerts\\Player\\OnScreen\\PlaySound", "no");setsettings("Settings\\Actions\\List\\keep haste\\Enabled", "no");setsettings("Settings\\Cavebot\\Settings\\OpenNextBp", "yes");setsettings("Settings\\Targeting\\Monsters\\Giant Spider\\OnlyIfTrapped", "yes");if stamina <= StaminaCheck then; closetibia();end;;-------opening backpacks-------;while windowcount(MainBP) ~= 1 or windowcount(AmmoBP) ~= 1 or windowcount() ~= 2 do;;closewindows();wait(400, 600);;openitem(MainBP, 'back');wait(400, 600);resizewindow(MainBP, 0);wait(400, 600);;openitem(AmmoBP, MainBP, true);wait(400, 600);resizewindow(AmmoBP, 0);wait(400, 600);;end</open_bps>
<refill_check>Action 32629 32750 7 if (itemcount(ManaName) < BuyMana) or (itemcount(HealthName) < BuyHealth) or (itemcount(AmmoName) + ammoamount < BuyAmmo) or (RefillSofts == true and itemcount("worn soft boots") > 0) then; gotolabel('go_bank');else; gotolabel('go_hunt');end</refill_check>
<go_bank>Stand 32629 32749 7</go_bank>
<w063>Stand 32634 32741 6</w063>
<deposit_and_withdraw_gold>Action 32634 32741 6 if not islocation() then;gotolabel('go_bank');else;;local ManaCash = positive(BuyMana - itemcount(ManaName)) * ManaPrice;local HealthCash = positive(BuyHealth - itemcount(HealthName)) * HealthPrice;local AmmoCash = positive(BuyAmmo - (itemcount(AmmoName)+ammoamount)) * AmmoPrice;local SoftCash = 0;;if RefillSofts then; SoftCash = (itemcount("worn soft boots") * 10000);end;;local TotalCash = ManaCash + HealthCash + AmmoCash + SoftCash + 5000;;say('hi') ;wait(1600, 2000);;npcsay('deposit all');wait(100, 200);npcsay('yes');wait(100, 200);npcsay('withdraw '..TotalCash);wait(100, 200);npcsay('yes');wait(100, 200);npcsay('balance');wait(100, 200);;end</deposit_and_withdraw_gold>
<withdraw_check>Action 32634 32741 6 local ManaCash = positive(BuyMana - itemcount(ManaName)) * ManaPrice;local HealthCash = positive(BuyHealth - itemcount(HealthName)) * HealthPrice;local AmmoCash = positive(BuyAmmo - (itemcount(AmmoName)+ammoamount)) * AmmoPrice;local SoftCash = 0;;if RefillSofts then; SoftCash = (itemcount("worn soft boots") * 10000);end;;local TotalCash = ManaCash + HealthCash + AmmoCash + SoftCash + 5000;;if gold() < TotalCash then;gotolabel('go_bank');end</withdraw_check>
<what_to_do>Action 32634 32741 6 if itemcount(AmmoName)+ammoamount < BuyAmmo then; gotolabel('to_ammoshop');elseif (itemcount(ManaName) < BuyMana) or (itemcount(HealthName) < BuyHealth) then; gotolabel('to_manashop');elseif RefillSofts == true and itemcount("worn soft boots") > 0 then; gotolabel('go_repair_soft_boots');else; gotolabel('go_hunt');end</what_to_do>
<to_ammoshop>Stand 32634 32744 6</to_ammoshop>
<buying_ammo>Action 32634 32744 6 if not islocation() then;gotolabel("to_ammoshop");else;;while windowcount(MainBP) ~= 1 or windowcount(AmmoBP) ~= 1 or windowcount() ~= 2 do; closewindows(); wait(400, 600);; openitem(MainBP, 'back'); wait(400, 600); resizewindow(MainBP, 0); wait(400, 600);; openitem(AmmoBP, MainBP, true); wait(400, 600); resizewindow(AmmoBP, 0); wait(400, 600);end;;say('hi') ;wait(2000, 2200) ;;npcsay('trade');wait(900, 1100);;local stacks_to_buy = (BuyAmmo - (itemcount(AmmoName)+ammoamount))/100;for i=1, stacks_to_buy do; buyitems(AmmoName, 100); wait(200, 400); moveitems(AmmoName, MainBP, AmmoBP, 100); wait(200, 400); stacks_to_buy = stacks_to_buy - 100;end;;buyitemsupto(AmmoName, BuyAmmo, itemcount(AmmoName)+ammoamount);wait(200, 400);moveitems(AmmoName, MainBP, AmmoBP, 100);wait(100, 200);;while itemcount(AmmoName, MainBP) > 0 and ((getcontainer(AmmoBP).maxslots - getcontainer(AmmoBP).usedslots) > 0) do;moveitems(AmmoName, MainBP, AmmoBP, 100);wait(200, 400);end;;end</buying_ammo>
<what_to_do_2>Action 32630 32742 6 if (itemcount(ManaName) < BuyMana) or (itemcount(HealthName) < BuyHealth) then; gotolabel('to_manashop');elseif RefillSofts == true and itemcount("worn soft boots") > 0 then; gotolabel('go_repair_soft_boots');else; gotolabel('go_hunt');end</what_to_do_2>
<to_manashop>Ladder 32630 32742 6</to_manashop>
<w062>Stand 32624 32741 5</w062>
<buying_potions>Action 32624 32741 5 if not islocation() then;gotolabel('to_manashop');else;;while windowcount(MainBP) ~= 1 or windowcount(AmmoBP) ~= 1 or windowcount() ~= 2 do; closewindows(); wait(400, 600);; openitem(MainBP, 'back'); wait(400, 600); resizewindow(MainBP, 0); wait(400, 600);; openitem(AmmoBP, MainBP, true); wait(400, 600); resizewindow(AmmoBP, 0); wait(400, 600);end;;if (itemcount(ManaName) < BuyMana) or (itemcount(HealthName) < BuyHealth) then;;say('hi') ;wait(2000, 2200) ;;local flaskcount = (itemcount(285)+itemcount(284)+itemcount(283));;if flaskcount > 0 then; npcsay('vial'); wait(100, 200);; while flaskcount > 0 do; npcsay('yes'); wait(100, 200); flaskcount = flaskcount - 200; end; npcsay('yes'); wait(100, 200); npcsay('yes'); wait(100, 200);end;;npcsay('trade');wait(900, 1100);;buyitemsupto(HealthName, BuyHealth);wait(400, 600);;local stacks_to_buy = (BuyMana - itemcount(ManaName))/100;for i=1, stacks_to_buy do; buyitems(ManaName, 100); wait(200, 400); stacks_to_buy = stacks_to_buy - 100;end;;buyitemsupto(ManaName, BuyMana);wait(200, 400);;end;end</buying_potions>
<leave_manashop>Stand 32626 32742 5</leave_manashop>
<what_to_do_3>Action 32626 32742 6 if not islocation(10) then; gotolabel("leave_manashop");elseif (itemcount(AmmoName)+ammoamount < BuyAmmo) or (itemcount(ManaName) < BuyMana) or (itemcount(HealthName) < BuyHealth) then; gotolabel('go_bank');elseif RefillSofts == true and itemcount("worn soft boots") > 0 then; gotolabel('go_repair_soft_boots');else; gotolabel('go_hunt');end</what_to_do_3>
<go_repair_soft_boots>Stand 32625 32749 6</go_repair_soft_boots>
<w064>Node 32609 32762 7</w064>
<w065>Ladder 32578 32766 7</w065>
<w066>Node 32577 32768 6</w066>
<w067>Node 32574 32768 6</w067>
<w068>Node 32571 32768 6</w068>
<w069>Node 32563 32767 6</w069>
<w070>Node 32557 32774 6</w070>
<w071>Node 32557 32784 6</w071>
<w072>Node 32546 32787 6</w072>
<w073>Stand 32530 32784 6</w073>
<travel_to_venore>Action 32530 32784 6 if not islocation(3) then;gotolabel('go_repair_soft_boots');else;;reachcreature("Charles");wait(500, 800);;say('hi') ;wait(1000, 1200) ;npcsay('venore');wait(200, 400);npcsay('yes');wait(800, 1000);end</travel_to_venore>
<check_location>Action 32954 32023 6 if not islocation(10) then;gotolabel('travel_to_venore');end</check_location>
<to_aldo>Stand 32953 32108 6</to_aldo>
<repairing_soft_boots>Action 32953 32108 6 if not islocation() then;gotolabel("at_aldo");end;;if itemcount(6530) > 0 and islocation() and gold() > 10500 then; say("hi"); wait(1500,1900);; while itemcount(6530) > 0 and islocation() and gold() > 10500 do; npcsay("repair"); wait(200,400); npcsay("yes"); wait(200, 400); end;end</repairing_soft_boots>
<repair_check>Action 32953 32108 6 if itemcount(6530) > 0 and gold() > 10500 then;gotolabel('at_aldo');end</repair_check>
<back_at_veno_boat>Stand 32955 32023 6</back_at_veno_boat>
<back_to_ph>Action 32955 32023 6 if not islocation(3) then ;gotolabel("back_at_veno_boat");end;;reachcreature("Captain Fearless");wait(500, 600);;say("hi") ;wait(1000, 1200) ;npcsay("port hope");wait(100, 200);npcsay("yes");wait(800, 1000)</back_to_ph>
<check_location>Action 32530 32784 6 if not islocation(5) then;gotolabel("back_at_veno_boat");end</check_location>
<back_to_dp>Node 32532 32778 6</back_to_dp>
<w074>Node 32543 32783 6</w074>
<w075>Node 32557 32782 6</w075>
<w076>Node 32561 32767 6</w076>
<w077>Node 32570 32768 6</w077>
<w078>Node 32573 32768 6</w078>
<w079>Node 32576 32768 6</w079>
<w080>Stand 32578 32766 6</w080>
<w081>Node 32617 32762 7</w081>
<w082>Stand 32627 32751 7</w082>
<check_location>Action 32627 32751 7 if not islocation(10) then; gotolabel("back_to_dp");else; gotolabel("refill_check");end</check_location>
<go_hunt>Stand 32625 32749 6</go_hunt>
<w117>Stand 32627 32751 7</w117>
<how_to_travel>Action 32627 32751 7 if BoatShortcut == false then;gotolabel("go_long_way");end</how_to_travel>
<go_short_way>Stand 32629 32770 7</go_short_way>
<to_east>Action 32629 32770 7 if islocation(2) then;reachcreature("Old Adall");wait(500, 800);;say('hi') ;wait(1000, 1200) ;npcsay('east');wait(100, 200);npcsay('yes');wait(800, 1000);end</to_east>
<to_banuta>Action 32679 32777 7 if islocation(2) then;reachcreature("Lorek");wait(500, 800);;say('hi') ;wait(1000, 1200) ;npcsay('banuta');wait(100, 200);npcsay('yes');wait(800, 1000);end</to_banuta>
<haste>Action 32826 32632 7 if HasteOnRefill == true then;setsettings("Settings\\Actions\\List\\keep haste\\Enabled", "yes");end;setsettings("Settings\\Targeting\\Monsters\\Giant Spider\\OnlyIfTrapped", "yes")</haste>
<w083>Node 32821 32621 7</w083>
<w084>Node 32831 32609 7</w084>
<w085>Node 32845 32625 7</w085>
<w086>Node 32861 32641 7</w086>
<w087>Node 32860 32648 7</w087>
<w088>Node 32855 32665 7</w088>
<w089>Shovel 32853 32669 7</w089>
<w090>Stand 32853 32669 7</w090>
<w091>Stand 32858 32667 8</w091>
<w092>Shovel 32854 32666 9</w092>
<w040>Stand 32854 32666 9</w040>
<w093>Stand 32874 32661 10</w093>
<w094>Node 32891 32661 10</w094>
<w095>Stand 32891 32645 10</w095>
<w096>Stand 32891 32631 11</w096>
<check_location>Action 32891 32631 11 if not islocation(5) then;gotolabel("go_short_way");else;gotolabel("fixing_settings_before_hunt");end</check_location>
<go_long_way>Node 32634 32751 7</go_long_way>
<haste>Action 32634 32751 7 if HasteOnRefill == true then;setsettings("Settings\\Actions\\List\\keep haste\\Enabled", "yes");end;;setsettings("Settings\\Targeting\\Monsters\\Giant Spider\\OnlyIfTrapped", "yes")</haste>
<w118>Node 32639 32737 7</w118>
<w119>Node 32699 32717 7</w119>
<w120>Node 32743 32687 7</w120>
<w121>Node 32777 32673 7</w121>
<w122>Node 32813 32624 7</w122>
<w123>Node 32855 32625 7</w123>
<w124>Node 32849 32646 7</w124>
<w125>Node 32848 32663 7</w125>
<w126>Shovel 32853 32669 7</w126>
<w127>Stand 32853 32669 7</w127>
<w128>Stand 32858 32667 8</w128>
<w129>Shovel 32854 32666 9</w129>
<w130>Stand 32854 32666 9</w130>
<w131>Node 32869 32661 10</w131>
<w132>Node 32891 32660 10</w132>
<w133>Stand 32891 32645 10</w133>
<w134>Stand 32891 32631 11</w134>
<check_location>Action 32891 32631 11 if not islocation(5) then;gotolabel("go_long_way");else;gotolabel("fixing_settings_before_hunt");end</check_location>
<fixing_settings_before_hunt>Action 32891 32631 11 if not islocation(5) then;gotolabel("go_hunt");else;setsettings("Settings\\Actions\\List\\keep haste\\Enabled", "no");setlooting("yes");settargeting("yes");setsettings("Settings\\Targeting\\Monsters\\Giant Spider\\OnlyIfTrapped", "no");setsettings("Settings\\Targeting\\Monsters\\Medusa\\OnlyIfTrapped", "no");setsettings("Settings\\Targeting\\Monsters\\Serpent Spawn\\OnlyIfTrapped", "no");setsettings("Settings\\Targeting\\Monsters\\Hydra\\OnlyIfTrapped", "no");setsettings("Settings\\Targeting\\Monsters\\Bonebeast\\OnlyIfTrapped", "no");-------opening backpacks-------;while windowcount(MainBP) ~= 1 or windowcount(AmmoBP) ~= 1 or windowcount(LootBP) ~= 1 or windowcount(GoldBP) ~= 1 or windowcount() < 4 do;;closewindows();wait(400, 600);;openitem(MainBP, 'back');wait(400, 600);resizewindow(MainBP, 0);wait(400, 600);;openitem(AmmoBP, MainBP, true);wait(400, 600);resizewindow(AmmoBP, 0);wait(400, 600);;openitem(LootBP, MainBP, true);wait(400, 600);resizewindow(LootBP, 0);wait(400, 600);;openitem(GoldBP, MainBP, true);wait(400, 600);resizewindow(GoldBP, 0);wait(400, 600);;end;;setsettings("Settings\\Cavebot\\Settings\\OpenNextBp", "yes");setsettings("Settings\\Alerts\\Player\\OnScreen\\FlashClient", "yes");setsettings("Settings\\Alerts\\Player\\OnScreen\\PlaySound", "yes");end</fixing_settings_before_hunt>
<enter_spawn>Stand 32890 32632 11</enter_spawn>
<w097>Stand 32886 32632 11</w097>
<check_location>Action 32885 32632 11 if not islocation(2) then;gotolabel("enter_spawn");end</check_location>
<start>Stand 32871 32621 11</start>
<checker1>Action 32871 32621 11 local softs = 0;;if boots == 3549 then; softs = itemcount(6529) + 1;else; softs = itemcount(6529);end;;if ((itemcount(ManaName) <= ManaCheck) or (itemcount(HealthName) <= HealthCheck) or (itemcount(AmmoName)+ammoamount <= AmmoCheck) or (cap <= CapCheck) or (RefillSofts == true and softs == 0) or stamina <= StaminaCheck) then; setsettings("Settings\\Targeting\\Monsters\\Giant Spider\\OnlyIfTrapped", "yes"); setsettings("Settings\\Targeting\\Monsters\\Medusa\\OnlyIfTrapped", "yes"); setsettings("Settings\\Targeting\\Monsters\\Serpent Spawn\\OnlyIfTrapped", "yes"); setsettings("Settings\\Targeting\\Monsters\\Hydra\\OnlyIfTrapped", "yes"); setsettings("Settings\\Targeting\\Monsters\\Bonebeast\\OnlyIfTrapped", "yes"); setsettings("Settings\\Actions\\List\\keep haste\\Enabled", "yes"); gotolabel("go_refill");end</checker1>
<w001>Stand 32881 32606 11</w001>
<w002>Stand 32881 32597 11</w002>
<w055>Stand 32881 32591 11</w055>
<w056>Stand 32872 32590 11</w056>
<w057>Stand 32866 32590 11</w057>
<w058>Stand 32861 32590 11</w058>
<w059>Stand 32855 32590 11</w059>
<w060>Stand 32848 32590 11</w060>
<w061>Stand 32842 32590 11</w061>
<w003>Stand 32842 32580 11</w003>
<w004>Stand 32842 32571 11</w004>
<w047>Stand 32847 32564 11</w047>
<lure_hydras>Action 32847 32564 11 wait(2500, 3500)</lure_hydras>
<w005>Node 32850 32558 11</w005>
<w006>Stand 32864 32559 11</w006>
<checker_2>Action 32864 32559 11 local softs = 0;;if boots == 3549 then; softs = itemcount(6529) + 1;else; softs = itemcount(6529);end;if ((itemcount(ManaName) <= ManaCheck) or (itemcount(HealthName) <= HealthCheck) or (itemcount(AmmoName)+ammoamount <= AmmoCheck) or (cap <= CapCheck) or (RefillSofts == true and softs == 0) or stamina <= StaminaCheck) then; setsettings("Settings\\Targeting\\Monsters\\Giant Spider\\OnlyIfTrapped", "yes"); setsettings("Settings\\Targeting\\Monsters\\Medusa\\OnlyIfTrapped", "yes"); setsettings("Settings\\Targeting\\Monsters\\Serpent Spawn\\OnlyIfTrapped", "yes"); setsettings("Settings\\Targeting\\Monsters\\Hydra\\OnlyIfTrapped", "yes"); setsettings("Settings\\Targeting\\Monsters\\Bonebeast\\OnlyIfTrapped", "yes"); setsettings("Settings\\Actions\\List\\keep haste\\Enabled", "yes"); gotolabel("go_refill");end</checker_2>
<w007>Node 32844 32552 11</w007>
<w008>Node 32837 32533 11</w008>
<w009>Stand 32799 32520 11</w009>
<central_hydras>Action 32799 32520 11 if CentaralHydras == false then;gotolabel("central_hydras_done");end</central_hydras>
<w010>Stand 32799 32532 11</w010>
<w011>Stand 32799 32536 11</w011>
<w135>Stand 32791 32539 11</w135>
<w012>Stand 32787 32539 11</w012>
<w136>Stand 32781 32543 11</w136>
<w013>Stand 32782 32550 11</w013>
<w014>Stand 32782 32559 11</w014>
<w015>Stand 32782 32569 11</w015>
<w016>Stand 32786 32575 11</w016>
<w017>Stand 32794 32575 11</w017>
<w018>Stand 32802 32575 11</w018>
<checker3>Action 32803 32575 11 local softs = 0;;if boots == 3549 then; softs = itemcount(6529) + 1;else; softs = itemcount(6529);end;;if ((itemcount(ManaName) <= ManaCheck) or (itemcount(HealthName) <= HealthCheck) or (itemcount(AmmoName)+ammoamount <= AmmoCheck) or (cap <= CapCheck) or (RefillSofts == true and softs == 0) or stamina <= StaminaCheck) then; setsettings("Settings\\Targeting\\Monsters\\Giant Spider\\OnlyIfTrapped", "yes"); setsettings("Settings\\Targeting\\Monsters\\Medusa\\OnlyIfTrapped", "yes"); setsettings("Settings\\Targeting\\Monsters\\Serpent Spawn\\OnlyIfTrapped", "yes"); setsettings("Settings\\Targeting\\Monsters\\Hydra\\OnlyIfTrapped", "yes"); setsettings("Settings\\Targeting\\Monsters\\Bonebeast\\OnlyIfTrapped", "yes"); setsettings("Settings\\Actions\\List\\keep haste\\Enabled", "yes"); gotolabel("go_refill");end</checker3>
<w019>Stand 32813 32575 11</w019>
<w137>Stand 32818 32567 11</w137>
<w138>Stand 32818 32561 11</w138>
<w139>Stand 32815 32555 11</w139>
<w140>Stand 32809 32555 11</w140>
<w141>Stand 32802 32555 11</w141>
<w142>Stand 32799 32555 11</w142>
<w143>Stand 32801 32547 11</w143>
<w144>Stand 32810 32540 11</w144>
<w145>Stand 32798 32521 11</w145>
<central_hydras_done>Stand 32795 32513 11</central_hydras_done>
<w021>Stand 32773 32508 11</w021>
<w000>Stand 32762 32504 11</w000>
<w046>Stand 32753 32505 11</w046>
<w022>Stand 32757 32522 11</w022>
<w024>Stand 32751 32538 11</w024>
<waiting>Action 32751 32577 11 wait(3000, 3200)</waiting>
<w025>Stand 32752 32547 11</w025>
<w026>Stand 32748 32556 11</w026>
<w027>Stand 32753 32563 11</w027>
<w028>Stand 32750 32571 11</w028>
<w030>Stand 32765 32590 11</w030>
<w032>Stand 32801 32620 11</w032>
<w033>Stand 32814 32620 11</w033>
<checker_4>Action 32828 32621 11 local softs = 0;;if boots == 3549 then; softs = itemcount(6529) + 1;else; softs = itemcount(6529);end;;if ((itemcount(ManaName) <= ManaCheck) or (itemcount(HealthName) <= HealthCheck) or (itemcount(AmmoName)+ammoamount <= AmmoCheck) or (cap <= CapCheck) or (RefillSofts == true and softs == 0) or stamina <= StaminaCheck) then; setsettings("Settings\\Targeting\\Monsters\\Giant Spider\\OnlyIfTrapped", "yes"); setsettings("Settings\\Targeting\\Monsters\\Medusa\\OnlyIfTrapped", "yes"); setsettings("Settings\\Targeting\\Monsters\\Serpent Spawn\\OnlyIfTrapped", "yes"); setsettings("Settings\\Targeting\\Monsters\\Hydra\\OnlyIfTrapped", "yes"); setsettings("Settings\\Targeting\\Monsters\\Bonebeast\\OnlyIfTrapped", "yes"); setsettings("Settings\\Actions\\List\\keep haste\\Enabled", "yes"); gotolabel("go_refill");end</checker_4>
<w034>Stand 32824 32620 11</w034>
<w036>Stand 32828 32621 11</w036>
<w8>Action 32828 32621 11 wait(3000, 3300)</w8>
<w037>Stand 32832 32614 11</w037>
<w038>Stand 32843 32608 11</w038>
<w053>Stand 32835 32611 11</w053>
<w054>Stand 32831 32616 11</w054>
<w039>Stand 32833 32620 11</w039>
<lure>Action 32833 32620 11 wait(3000, 3300)</lure>
<w049>Stand 32838 32620 11</w049>
<w050>Stand 32843 32620 11</w050>
<w051>Stand 32854 32620 11</w051>
<w052>Stand 32851 32628 11</w052>
<w045>Stand 32843 32632 11</w045>
<south_hc>Action 32843 32632 11 if SouthHardcore == false then;gotolabel("south_hc_done");end</south_hc>
<w042>Stand 32842 32640 11</w042>
<w146>Stand 32843 32645 11</w146>
<w147>Stand 32843 32652 11</w147>
<w043>Stand 32843 32655 11</w043>
<south_hc_done>Node 32843 32631 11</south_hc_done>
<w044>Stand 32860 32620 11</w044>
<hunt_loop>Action 32873 32624 11 gotolabel("start")</hunt_loop>
<go_refill>Stand 32871 32620 11</go_refill>
<w098>Stand 32888 32632 11</w098>
<settings>Action 32892 32632 11 setsettings("Settings\\Alerts\\Player\\OnScreen\\FlashClient", "no");setsettings("Settings\\Alerts\\Player\\OnScreen\\PlaySound", "no");if HasteOnRefill == true then;setsettings("Settings\\Actions\\List\\keep haste\\Enabled", "yes");else;setsettings("Settings\\Actions\\List\\keep haste\\Enabled", "no");end;setsettings("Settings\\Targeting\\Monsters\\Giant Spider\\OnlyIfTrapped", "yes")</settings>
<w099>Stand 32891 32645 11</w099>
<w100>Node 32890 32655 10</w100>
<w101>Node 32885 32661 10</w101>
<w102>Node 32872 32661 10</w102>
<w103>Node 32854 32663 10</w103>
<w104>Rope 32854 32666 10</w104>
<w105>Rope 32857 32668 9</w105>
<w106>Rope 32853 32669 8</w106>
<w107>Node 32847 32644 7</w107>
<w108>Node 32831 32605 7</w108>
<w109>Node 32821 32621 7</w109>
<w110>Node 32809 32651 7</w110>
<w111>Node 32767 32694 7</w111>
<w112>Node 32734 32704 7</w112>
<w113>Node 32706 32719 7</w113>
<w114>Node 32667 32745 7</w114>
<w115>Node 32634 32750 7</w115>
<w116>Stand 32632 32742 7</w116>
<depositing_items>Action 32632 32742 7 if not islocation(5) then;gotolabel("go_refill");else;;-------opening backpacks-------;setsettings("Settings\\Cavebot\\Settings\\OpenNextBp", "no");;while windowcount(LootBP) ~= 1 or windowcount() ~= 1 do;closewindows();wait(500, 800);;openitem(MainBP, 'back');wait(500, 800);resizewindow(MainBP, 0);wait(500, 800);;openitem(LootBP, MainBP, true);wait(700, 900);;closewindow(MainBP);wait(500, 800);end;;--depositing items;;reachgrounditem("depot");wait(1000, 1500);openitem("depot");wait(900, 1400);openitem(3502, "locker");wait(900, 1400);;openitem(MainDPBP, 'Depot Chest');wait(900, 1400);;local Addons = {"spider silk", "hardened bone", "winged tail", "hydra head", "strand of medusa hair", "snake skin", "ultimate health potion", "small emerald", "small sapphire", "bony tail", "great mana potion", "strong health potion", "life crystal", "strong mana potion", "green mushroom"};local Randoms = {"royal helmet", "boots of haste", "swamplair armor", "spellbook of mind control", "mercenary sword", "crown armor", "terra mantle", "terra legs", "noble axe", "medusa shield", "tower shield", "bonebeast trophy", "knight legs", "warrior helmet", "knight armor", "titan axe", "sacred tree amulet", "platinum amulet", "lightning headband", "terra amulet", "charmer's tiara", "hydra egg", "stone skin amulet", "time ring", "ring of healing", "life ring", 8896, "old parchment"};;--addons;depotdeposit(AddonDPBP, unpack(Addons));wait(400, 600);;--randoms;depotdeposit(RandomDPBP, unpack(Randoms));wait(400, 600);;while itemcount(LootBP) > 0 do; wait(900, 1400); openitem(LootBP, LootBP); wait(900, 1400);; --addons; depotdeposit(AddonDPBP, unpack(Addons)); wait(900, 1400);; --randoms; depotdeposit(RandomDPBP, unpack(Randoms)); wait(900, 1400);end;;wait(900, 1400);;end</depositing_items>
<w020>Stand 32631 32744 7</w020>
<w023>Stand 32631 32749 7</w023>
<script_loop>Action 32632 32742 7 gotolabel("open_bps")</script_loop>
</Waypoints>
<Pathfinding>
<SpecialAreas>
<avoid-cross>
<Coordinates>32869 32618 11</Coordinates>
<Dimensions>1 5</Dimensions>
<ConsideredBy>Target</ConsideredBy>
</avoid-cross>
<close-gs-from-north>
<Coordinates>32879 32581 11</Coordinates>
<Dimensions>5 1</Dimensions>
<ConsideredBy>Target</ConsideredBy>
</close-gs-from-north>
<gs-from-west>
<Coordinates>32871 32588 11</Coordinates>
<Dimensions>1 5</Dimensions>
<ConsideredBy>None</ConsideredBy>
</gs-from-west>
<one-medusa-tunnel-w>
<Coordinates>32854 32588 11</Coordinates>
<Dimensions>1 5</Dimensions>
<ConsideredBy>Target</ConsideredBy>
</one-medusa-tunnel-w>
<avoid-bonebeasts-near-h-c>
<Coordinates>32831 32588 11</Coordinates>
<Dimensions>1 5</Dimensions>
<ConsideredBy>Target</ConsideredBy>
</avoid-bonebeasts-near-h-c>
<two-hydras>
<Coordinates>32841 32577 11</Coordinates>
<Dimensions>4 1</Dimensions>
<ConsideredBy>Target</ConsideredBy>
</two-hydras>
<two-hydras-n-close>
<Coordinates>32844 32562 11</Coordinates>
<Dimensions>9 1</Dimensions>
<ConsideredBy>Target</ConsideredBy>
</two-hydras-n-close>
<one-medusa-w-close>
<Coordinates>32849 32553 11</Coordinates>
<Dimensions>1 9</Dimensions>
<ConsideredBy>Target</ConsideredBy>
</one-medusa-w-close>
<before-n-of-h-c>
<Coordinates>32816 32512 11</Coordinates>
<Dimensions>1 6</Dimensions>
<ConsideredBy>Target</ConsideredBy>
</before-n-of-h-c>
<c-h-south-close>
<Coordinates>32797 32579 11</Coordinates>
<Dimensions>6 1</Dimensions>
<ConsideredBy>Target</ConsideredBy>
</c-h-south-close>
<entrance-to-c-h>
<Coordinates>32797 32525 11</Coordinates>
<Dimensions>6 1</Dimensions>
<ConsideredBy>None</ConsideredBy>
</entrance-to-c-h>
<after-n-of-h-c>
<Coordinates>32789 32511 11</Coordinates>
<Dimensions>1 7</Dimensions>
<ConsideredBy>Target</ConsideredBy>
</after-n-of-h-c>
<four-serpents-long-wall>
<Coordinates>32748 32512 11</Coordinates>
<Dimensions>17 1</Dimensions>
<ConsideredBy>Target</ConsideredBy>
</four-serpents-long-wall>
<north-from-statue-room>
<Coordinates>32749 32537 11</Coordinates>
<Dimensions>5 1</Dimensions>
<ConsideredBy>Target</ConsideredBy>
</north-from-statue-room>
<end-of-statue-room>
<Coordinates>32749 32569 11</Coordinates>
<Dimensions>5 1</Dimensions>
<ConsideredBy>Target</ConsideredBy>
</end-of-statue-room>
<hydra-medusa-small-spawn>
<Coordinates>32772 32599 11</Coordinates>
<Dimensions>6 1</Dimensions>
<ConsideredBy>Target</ConsideredBy>
</hydra-medusa-small-spawn>
<before-sw-spawn>
<Coordinates>32792 32618 11</Coordinates>
<Dimensions>1 5</Dimensions>
<ConsideredBy>Target</ConsideredBy>
</before-sw-spawn>
<sw-spawn-done>
<Coordinates>32819 32618 11</Coordinates>
<Dimensions>1 5</Dimensions>
<ConsideredBy>Target</ConsideredBy>
</sw-spawn-done>
<cross-west>
<Coordinates>32834 32610 11</Coordinates>
<Dimensions>1 22</Dimensions>
<ConsideredBy>Target</ConsideredBy>
</cross-west>
<s-hc-wall>
<Coordinates>32840 32636 11</Coordinates>
<Dimensions>7 1</Dimensions>
<ConsideredBy>Target</ConsideredBy>
</s-hc-wall>
<north-cross>
<Coordinates>32841 32602 11</Coordinates>
<Dimensions>4 1</Dimensions>
<ConsideredBy>Target</ConsideredBy>
</north-cross>
<long-wall-on-h-c>
<Coordinates>32779 32546 11</Coordinates>
<Dimensions>42 1</Dimensions>
<ConsideredBy>Target</ConsideredBy>
</long-wall-on-h-c>
<h-c-east>
<Coordinates>32805 32537 11</Coordinates>
<Dimensions>1 9</Dimensions>
<ConsideredBy>Target</ConsideredBy>
</h-c-east>
<h-c-west>
<Coordinates>32785 32550 11</Coordinates>
<Dimensions>1 16</Dimensions>
<ConsideredBy>Target</ConsideredBy>
</h-c-west>
<statue-room-n>
<Coordinates>32743 32543 11</Coordinates>
<Dimensions>17 1</Dimensions>
<ConsideredBy>Target</ConsideredBy>
</statue-room-n>
<cross-south>
<Coordinates>32827 32623 11</Coordinates>
<Dimensions>7 1</Dimensions>
<ConsideredBy>Target</ConsideredBy>
</cross-south>
<cross-north>
<Coordinates>32827 32617 11</Coordinates>
<Dimensions>7 1</Dimensions>
<ConsideredBy>None</ConsideredBy>
</cross-north>
<cross-north-center>
<Coordinates>32841 32611 11</Coordinates>
<Dimensions>5 1</Dimensions>
<ConsideredBy>Target</ConsideredBy>
</cross-north-center>
<h-c-center-east>
<Coordinates>32811 32553 11</Coordinates>
<Dimensions>1 10</Dimensions>
<ConsideredBy>None</ConsideredBy>
</h-c-center-east>
</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>yes</OpenNextBp>
<AutoMount>no</AutoMount>
<Anti-idle>no</Anti-idle>
<EatFood>yes</EatFood>
<FoodToEat>3725;3587;3600;3595;3589;3598;8014;3583;3606;3578;3592;3582;3577;3593;3586;3585;3581;3723</FoodToEat>
<PauseOnDeath>yes</PauseOnDeath>
</Settings>
<Enabled>yes</Enabled>
</CaveBot>
<Looting>
<List>
<royal-helmet>
<Id>3392</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</royal-helmet>
<boots-of-haste>
<Id>3079</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</boots-of-haste>
<swamplair-armor>
<Id>8052</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</swamplair-armor>
<spellbook-of-mind-control>
<Id>8074</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</spellbook-of-mind-control>
<mercenary-sword>
<Id>7386</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</mercenary-sword>
<crown-armor>
<Id>3381</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</crown-armor>
<terra-mantle>
<Id>811</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</terra-mantle>
<terra-legs>
<Id>812</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</terra-legs>
<noble-axe>
<Id>7456</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</noble-axe>
<medusa-shield>
<Id>3436</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</medusa-shield>
<tower-shield>
<Id>3428</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</tower-shield>
<bonebeast-trophy>
<Id>10244</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</bonebeast-trophy>
<knight-legs>
<Id>3371</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</knight-legs>
<warrior-helmet>
<Id>3369</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</warrior-helmet>
<knight-armor>
<Id>3370</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</knight-armor>
<spider-silk>
<Id>5879</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</spider-silk>
<titan-axe>
<Id>7413</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</titan-axe>
<sacred-tree-amulet>
<Id>9302</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</sacred-tree-amulet>
<platinum-amulet>
<Id>3055</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</platinum-amulet>
<lightning-headband>
<Id>828</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</lightning-headband>
<terra-amulet>
<Id>814</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</terra-amulet>
<hardened-bone>
<Id>5925</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</hardened-bone>
<charmers-tiara>
<Id>3407</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</charmers-tiara>
<winged-tail>
<Id>10313</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</winged-tail>
<hydra-head>
<Id>10282</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</hydra-head>
<strand-of-medusa-hair>
<Id>10309</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</strand-of-medusa-hair>
<hydra-egg>
<Id>4839</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</hydra-egg>
<stone-skin-amulet>
<Id>3081</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</stone-skin-amulet>
<snake-skin>
<Id>9694</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</snake-skin>
<ultimate-health-potion>
<Id>7643</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</ultimate-health-potion>
<small-emerald>
<Id>3032</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</small-emerald>
<small-sapphire>
<Id>3029</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</small-sapphire>
<bony-tail>
<Id>10277</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</bony-tail>
<great-mana-potion>
<Id>238</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</great-mana-potion>
<time-ring>
<Id>3053</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</time-ring>
<ring-of-healing>
<Id>3098</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</ring-of-healing>
<strong-health-potion>
<Id>236</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</strong-health-potion>
<platinum-coin>
<Id>3035</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</platinum-coin>
<life-crystal>
<Id>3061</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</life-crystal>
<strong-mana-potion>
<Id>237</Id>
<Destination>00</Destination>
<AlarmOn>No Alarm</AlarmOn>
</strong-mana-potion>
<life-ring>
<Id>3052</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</life-ring>
<gold-coin>
<Id>3031</Id>
<Destination>03</Destination>
<AlarmOn>No Alarm</AlarmOn>
</gold-coin>
<rusty-armor>
<Id>8896</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</rusty-armor>
<old-parchment>
<Id>4831</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</old-parchment>
<green-mushroom>
<Id>3732</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</green-mushroom>
</List>
<Condition>Corpses with listed items</Condition>
<Style>After all dead</Style>
<OpenBodyTime>300</OpenBodyTime>
<Range>50</Range>
<EatFood>yes</EatFood>
<Enabled>yes</Enabled>
</Looting>
<Targeting>
<Monsters>
<Medusa>
<Categories>-</Categories>
<Danger>8</Danger>
<ListSettings>
<Setting0>
<Count>Any</Count>
<HpRange>15 to 100 %</HpRange>
<Stance>Keep Away Wait</Stance>
<Avoid>Wave</Avoid>
<Distance>4</Distance>
<Attack>Attack</Attack>
<ListSpell />
<SpellRate>500 to 1000</SpellRate>
<AttackMode>No Change</AttackMode>
</Setting0>
<Setting1>
<Count>Any</Count>
<HpRange>0 to 15 %</HpRange>
<Stance>Approach</Stance>
<Avoid>Beam</Avoid>
<Distance>0</Distance>
<Attack>Attack</Attack>
<ListSpell />
<SpellRate>500 to 1000</SpellRate>
<AttackMode>No Change</AttackMode>
</Setting1>
</ListSettings>
<Looting>yes</Looting>
<MustAttackMe>no</MustAttackMe>
<OnlyIfTrapped>no</OnlyIfTrapped>
</Medusa>
<Serpent-Spawn>
<Categories>-</Categories>
<Danger>7</Danger>
<ListSettings>
<Setting0>
<Count>Any</Count>
<HpRange>15 to 100 %</HpRange>
<Stance>Keep Away Wait</Stance>
<Avoid>Wave</Avoid>
<Distance>4</Distance>
<Attack>Attack</Attack>
<ListSpell />
<SpellRate>500 to 1000</SpellRate>
<AttackMode>No Change</AttackMode>
</Setting0>
<Setting1>
<Count>Any</Count>
<HpRange>0 to 15 %</HpRange>
<Stance>Approach</Stance>
<Avoid>Beam</Avoid>
<Distance>0</Distance>
<Attack>Attack</Attack>
<ListSpell />
<SpellRate>500 to 1000</SpellRate>
<AttackMode>No Change</AttackMode>
</Setting1>
</ListSettings>
<Looting>yes</Looting>
<MustAttackMe>no</MustAttackMe>
<OnlyIfTrapped>no</OnlyIfTrapped>
</Serpent-Spawn>
<Hydra>
<Categories>-</Categories>
<Danger>10</Danger>
<ListSettings>
<Setting0>
<Count>Any</Count>
<HpRange>17 to 100 %</HpRange>
<Stance>Keep Away Wait</Stance>
<Avoid>Beam</Avoid>
<Distance>4</Distance>
<Attack>Attack</Attack>
<ListSpell />
<SpellRate>500 to 1000</SpellRate>
<AttackMode>No Change</AttackMode>
</Setting0>
<Setting1>
<Count>Any</Count>
<HpRange>0 to 17 %</HpRange>
<Stance>Approach</Stance>
<Avoid>Beam</Avoid>
<Distance>0</Distance>
<Attack>Attack</Attack>
<ListSpell />
<SpellRate>500 to 1000</SpellRate>
<AttackMode>No Change</AttackMode>
</Setting1>
</ListSettings>
<Looting>yes</Looting>
<MustAttackMe>no</MustAttackMe>
<OnlyIfTrapped>no</OnlyIfTrapped>
</Hydra>
<Giant-Spider>
<Categories>-</Categories>
<Danger>0</Danger>
<ListSettings>
<Setting0>
<Count>Any</Count>
<HpRange>0 to 100 %</HpRange>
<Stance>Keep Away Wait</Stance>
<Avoid>None</Avoid>
<Distance>4</Distance>
<Attack>Attack</Attack>
<ListSpell />
<SpellRate>500 to 1000</SpellRate>
<AttackMode>No Change</AttackMode>
</Setting0>
</ListSettings>
<Looting>yes</Looting>
<MustAttackMe>no</MustAttackMe>
<OnlyIfTrapped>no</OnlyIfTrapped>
</Giant-Spider>
<Bonebeast>
<Categories>-</Categories>
<Danger>0</Danger>
<ListSettings>
<Setting0>
<Count>Any</Count>
<HpRange>0 to 100 %</HpRange>
<Stance>Keep Away Wait</Stance>
<Avoid>Beam</Avoid>
<Distance>4</Distance>
<Attack>Attack</Attack>
<ListSpell />
<SpellRate>500 to 1000</SpellRate>
<AttackMode>No Change</AttackMode>
</Setting0>
</ListSettings>
<Looting>yes</Looting>
<MustAttackMe>no</MustAttackMe>
<OnlyIfTrapped>no</OnlyIfTrapped>
</Bonebeast>
<All>
<Categories>-</Categories>
<Danger>0</Danger>
<ListSettings>
<Setting0>
<Count>Any</Count>
<HpRange>0 to 100 %</HpRange>
<Stance>Approach</Stance>
<Avoid>None</Avoid>
<Distance>0</Distance>
<Attack>Attack</Attack>
<ListSpell />
<SpellRate>500 to 1000</SpellRate>
<AttackMode>No Change</AttackMode>
</Setting0>
</ListSettings>
<Looting>no</Looting>
<MustAttackMe>no</MustAttackMe>
<OnlyIfTrapped>yes</OnlyIfTrapped>
</All>
</Monsters>
<Settings>
<ListOrder>2</ListOrder>
<Health>9</Health>
<Proximity>7</Proximity>
<Danger>8</Danger>
<PlayerOnScreenSecurity>If cavebotting</PlayerOnScreenSecurity>
<CooldownControl>yes</CooldownControl>
<CheckItem>no</CheckItem>
<MustBeReachable>yes</MustBeReachable>
<MustBeShootable>no</MustBeShootable>
</Settings>
<Enabled>yes</Enabled>
</Targeting>
<Hud>
<List>
<Hud0>
<Script>local function addbordertext(text, color, xpos, ypos)
setfontcolor(rgbcolor(1, 1, 1))
addtext(text, xpos+1, ypos)
addtext(text, xpos-1, ypos)
addtext(text, xpos, ypos+1)
addtext(text, xpos, ypos-1)
setfontcolor(color)
addtext(text, xpos, ypos)
end
local numberscolor = rgbcolor(255, 255, 255)
local namecolor = rgbcolor(230, 221, 213)
local staminaformated = 0
local staminahours = 0
if math.floor(stamina/60) >= 10 then
staminahours = math.floor(stamina/60)
else
staminahours = "0" .. math.floor(stamina/60)
end
local staminaminutes = 0
if math.floor(stamina - math.floor(stamina/60)*60) >= 10 then
staminaminutes = math.floor(stamina - math.floor(stamina/60)*60)
else
staminaminutes = "0" .. math.floor(stamina - math.floor(stamina/60)*60)
end
local staminaformated = staminahours .. ":" .. staminaminutes
setposition(worldwin.left+10, worldwin.top+33)
addbordertext("BOTTING INFO", rgbcolor(255, 180, 4), 0, 0)
addbordertext("Exp per Hour", namecolor, 0, 15)
addbordertext("Exp to Level", namecolor, 0, 30)
addbordertext("Exp Gained", namecolor, 0, 45)
addbordertext("Time to Level", namecolor, 0, 60)
addbordertext("Time Online", namecolor, 0, 75)
addbordertext("Stamina", namecolor, 0, 90)
addbordertext("Balance", namecolor, 0, 105)
addbordertext(exphour, numberscolor, 100, 15)
addbordertext(exptolevel(), numberscolor, 100, 30)
addbordertext(expgained, numberscolor, 100, 45)
addbordertext(timetolevel, numberscolor, 100, 60)
addbordertext(timehunt, numberscolor, 100, 75)
addbordertext(balance, numberscolor, 100, 105)
if stamina >= 2400 then
addbordertext(staminaformated, rgbcolor(106, 177, 22), 100, 90)
elseif stamina < 2400 and stamina >= 840 then
addbordertext(staminaformated, rgbcolor(248, 158, 0), 100, 90)
elseif stamina <= 840 then
addbordertext(staminaformated, rgbcolor(255, 0, 0), 100, 90)
end
</Script>
<RefreshRate>1000</RefreshRate>
<Enabled>yes</Enabled>
</Hud0>
<Hud1>
<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 = "Ultimate Health Potion", VALUE = 260},
{NAME = "Great Mana Potion", VALUE = 120},
{NAME = "Small Emerald", VALUE = 250},
{NAME = "Strand of Medusa Hair", VALUE = 600},
{NAME = "Terra Amulet", VALUE = 1500},
{NAME = "Knight Armor", VALUE = 5000},
{NAME = "mercenary sword", VALUE = 12000},
{NAME = "terra mantle", VALUE = 11000},
{NAME = "Medusa Shield", VALUE = 9000},
{NAME = "Sacred Tree Amulet", VALUE = 3000},
{NAME = "Titan Axe", VALUE = 4000},
{NAME = "Snake Skin", VALUE = 400},
{NAME = "Life Ring", VALUE = 1000},
{NAME = "Winged Tail", VALUE = 800},
{NAME = "Life Crystal", VALUE = 1000},
{NAME = "Warrior Helmet", VALUE = 5000},
{NAME = "Crown Armor", VALUE = 12000},
{NAME = "Tower Shield", VALUE = 8000},
{NAME = "Noble Axe", VALUE = 10000},
{NAME = "Spellbook of Mind Control", VALUE = 13000},
{NAME = "Swamplair Armor", VALUE = 16000},
{NAME = "Royal Helmet", VALUE = 30000},
{NAME = "Terra Legs", VALUE = 11000},
}
MONITOR_MY_HUNTING.SHOW_ALL_SUPPLIES = false
MONITOR_MY_HUNTING.SUPPLIES_LIST = {
{NAME = "prismatic bolt", PRICE = 20},
{NAME = "Strong Mana Potion", PRICE = 80},
{NAME = "prismatic bolt", PRICE = 20},
}
-- [[ 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>
</Hud1>
</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>