Xinum
Never Give Up!
- Joined
- Dec 23, 2009
- Messages
- 578
- Reaction score
- 66
[EK][130] Liberty Bay Malada Quara Scounts
Code:
<Settings>
<Alerts>
<Player>
<OnScreen>
<PlaySound>no</PlaySound>
<FlashClient>no</FlashClient>
<PauseBot>no</PauseBot>
<Disconnect>no</Disconnect>
<SafeList>null</SafeList>
</OnScreen>
<Attacking>
<PlaySound>yes</PlaySound>
<FlashClient>yes</FlashClient>
<PauseBot>no</PauseBot>
<Disconnect>no</Disconnect>
<SafeList>null</SafeList>
</Attacking>
<GMOnScreen>
<PlaySound>yes</PlaySound>
<FlashClient>yes</FlashClient>
<PauseBot>yes</PauseBot>
<Disconnect>no</Disconnect>
</GMOnScreen>
</Player>
<Creature />
<Item />
<Message>
<PrivateMessage>
<PlaySound>no</PlaySound>
<FlashClient>no</FlashClient>
<PauseBot>no</PauseBot>
<Disconnect>no</Disconnect>
<SafeList>null</SafeList>
</PrivateMessage>
<Advanced>
<PlaySound>no</PlaySound>
<FlashClient>no</FlashClient>
<PauseBot>no</PauseBot>
<Disconnect>no</Disconnect>
<Screenshot>yes</Screenshot>
</Advanced>
<Raid>
<PlaySound>no</PlaySound>
<FlashClient>no</FlashClient>
<PauseBot>no</PauseBot>
<Disconnect>no</Disconnect>
<Warnings>All</Warnings>
</Raid>
<SafeBank>
<PlaySound>yes</PlaySound>
<FlashClient>yes</FlashClient>
<PauseBot>yes</PauseBot>
<CloseTibia>no</CloseTibia>
<Disconnect>yes</Disconnect>
</SafeBank>
<HealCreature>
<PlaySound>yes</PlaySound>
<FlashClient>yes</FlashClient>
<PauseBot>yes</PauseBot>
<CloseTibia>no</CloseTibia>
<Disconnect>yes</Disconnect>
<Screenshot>no</Screenshot>
</HealCreature>
<YourAttack>
<PlaySound>yes</PlaySound>
<FlashClient>yes</FlashClient>
<PauseBot>yes</PauseBot>
<CloseTibia>no</CloseTibia>
<Disconnect>yes</Disconnect>
<Screenshot>no</Screenshot>
<SafeList>null</SafeList>
</YourAttack>
<Unjust>
<PlaySound>yes</PlaySound>
<FlashClient>yes</FlashClient>
<PauseBot>yes</PauseBot>
<CloseTibia>no</CloseTibia>
<Disconnect>yes</Disconnect>
</Unjust>
</Message>
<Capacity>
<Value>100</Value>
<PlaySound>no</PlaySound>
<FlashClient>no</FlashClient>
<PauseBot>no</PauseBot>
<Disconnect>no</Disconnect>
</Capacity>
<StandTime>
<Value>30000</Value>
<PlaySound>no</PlaySound>
<FlashClient>no</FlashClient>
<PauseBot>no</PauseBot>
<Disconnect>no</Disconnect>
</StandTime>
<Stamina>
<Value>841</Value>
<PlaySound>yes</PlaySound>
<FlashClient>yes</FlashClient>
<PauseBot>yes</PauseBot>
<CloseTibia>no</CloseTibia>
<Disconnect>yes</Disconnect>
</Stamina>
<Disconnect>
<PlaySound>no</PlaySound>
<FlashClient>no</FlashClient>
<PauseBot>no</PauseBot>
</Disconnect>
<Enabled>yes</Enabled>
</Alerts>
<Healer>
<Rules>
<exura-ico>
<HealRange>40 to 85 %</HealRange>
<ManaRange>40 to all</ManaRange>
<HealMethod>Wound Cleansing</HealMethod>
<ExtraCondition>No condition</ExtraCondition>
<CooldownControl>yes</CooldownControl>
<CheckItem>no</CheckItem>
<SpamRate>200 to 400</SpamRate>
<Enabled>yes</Enabled>
</exura-ico>
<great-health-potion>
<HealRange>0 to 38 %</HealRange>
<ManaRange>0 to 100 %</ManaRange>
<HealMethod>Great Health Potion</HealMethod>
<ExtraCondition>No condition</ExtraCondition>
<CooldownControl>yes</CooldownControl>
<CheckItem>no</CheckItem>
<SpamRate>200 to 400</SpamRate>
<Enabled>yes</Enabled>
</great-health-potion>
<mana-potion>
<HealRange>0 to 100 %</HealRange>
<ManaRange>0 to 70 %</ManaRange>
<HealMethod>Mana Potion</HealMethod>
<ExtraCondition>No condition</ExtraCondition>
<CooldownControl>yes</CooldownControl>
<CheckItem>no</CheckItem>
<SpamRate>200 to 400</SpamRate>
<Enabled>yes</Enabled>
</mana-potion>
<Paralyze>
<HealRange>0 to 100 %</HealRange>
<ManaRange>0 to 100 %</ManaRange>
<HealMethod>Wound Cleansing</HealMethod>
<ExtraCondition>If paralyzed</ExtraCondition>
<CooldownControl>yes</CooldownControl>
<CheckItem>no</CheckItem>
<SpamRate>200 to 400</SpamRate>
<Enabled>yes</Enabled>
</Paralyze>
<Utura-gran>
<HealRange>0 to 95 %</HealRange>
<ManaRange>0 to 100 %</ManaRange>
<HealMethod>Recovery</HealMethod>
<ExtraCondition>No condition</ExtraCondition>
<CooldownControl>yes</CooldownControl>
<CheckItem>no</CheckItem>
<SpamRate>200 to 400</SpamRate>
<Enabled>yes</Enabled>
</Utura-gran>
</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>
<Safe-Exori>
<Script>--safe exori by blakw
if (serverType == "PVP")
then
if (paround(10) == 0)
then
if (maround(1, "Quara Constrictor Scout", "Quara Hydromancer Scout", "Quara Mantassin Scout", "Quara Pincher Scout", "Quara Predator Scout", "Bog Raider")
>= 3)
then
cast("exori")
wait(600, 1800)
end
end
elseif (serverType == OPT-PVP)
then
if (maround(1, "Quara Constrictor Scout", "Quara Hydromancer Scout", "Quara Mantassin Scout", "Quara Pincher Scout", "Quara Predator Scout", "Bog Raider") >= 3)
then
cast("exori")
wait(600, 1800)
end
end</Script>
<SpamRate>800 to 1000</SpamRate>
<Enabled>yes</Enabled>
</Safe-Exori>
<SafeRefill>
<Script>if ((SafeRefill == true) and (posz == 9))
then
if (itemcount(MpType) <= (MpMin)) or (itemcount(AmmoType) <= (AmmoMin))
then
if (posz == 9)
then
setlooting("on")
settargeting("off")
gotolabel("Leave")
end
end
elseif (SafeRefill == false)
then
--do nothing
end</Script>
<SpamRate>800 to 1000</SpamRate>
<Enabled>no</Enabled>
</SafeRefill>
<Move-Manas>
<Script>moveitems(ManaType,MainBP, SuplieBP, 100)
moveitems(HealType,MainBP, SuplieBP, 100)</Script>
<SpamRate>800 to 1000</SpamRate>
<Enabled>yes</Enabled>
</Move-Manas>
<Flask-Drop>
<Script>local currentflask = itemcount(285) + itemcount(284) + itemcount(283)
if (maround(2) == 0) and (lootbodies == false)
and (cap < 200) and (currentflask > 30) then
pausewalking(1000)
moveitems(283,"all",'ground',50)
pausewalking(1000)
moveitems(284,"all","ground",50)
pausewalking(1000)
moveitems(285,"all",'ground',50)
wait(5000)
end</Script>
<SpamRate>800 to 1000</SpamRate>
<Enabled>yes</Enabled>
</Flask-Drop>
<safebank>
<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>
</safebank>
</List>
<Setup>-- Setup
--Safe Exori
serverType = "PVP" -- Server Type PVP,OPT-PVP
SafeRefill = true -- Do not edit this one
--BackPack Setup
MainBP = "Brocade Backpack"
SuplieBP= "Green BackPack"
LootBP = "Fur Backpack"
GoldBP = "Blue Backpack"
MainBPDP = "beach backpack"
StackBPDP = "camouflage backpack"
LootBPDP = "golden backpack"
--Suplies
ManaType = "Mana Potion"
ManaMin = 150
ManaMax = 600
ManaPrice = 50
HealType = "Great Health Potion"
HealMin = 10
HealMax = 50
HealPrice = 160</Setup>
<Enabled>yes</Enabled>
</Actions>
<CaveBot>
<Waypoints>
<w000>Action 31997 32714 8 if posz == 7 ;then ;gotolabel("Dp");else ;gotolabel("BpHunt")</w000>
<StartHunt>Stand 31995 32712 8</StartHunt>
<w042>Action 31995 32712 8 setsettings("Settings\\CaveBot\\Settings\\OpenNextBp","yes");setsettings("Settings\\Targeting\\Monsters\\Quara Constrictor Scout\\OnlyIfTrapped", "no") ;setsettings("Settings\\Targeting\\Monsters\\Quara Hydromancer Scout\\OnlyIfTrapped", "no");setsettings("Settings\\Targeting\\Monsters\\Quara Mantassin Scout\\OnlyIfTrapped", "no") ;setsettings("Settings\\Targeting\\Monsters\\Quara Pincher Scout\\OnlyIfTrapped", "no");setsettings("Settings\\Targeting\\Monsters\\Quara Predator Scout\\OnlyIfTrapped", "no") ;setsettings("Settings\\Targeting\\Monsters\\Bog Raider\\OnlyIfTrapped", "no")</w042>
<w001>Node 31996 32709 8</w001>
<w002>Node 32020 32725 8</w002>
<w003>Stand 32027 32722 8</w003>
<w004>Node 32016 32727 9</w004>
<w005>Node 32038 32730 9</w005>
<w037>Action 32038 32730 9 if itemcount(ManaType) < ManaMin or itemcount(HealType) < HealMin;then;gotolabel("LeaveHole");end;</w037>
<w006>Stand 32048 32726 9</w006>
<w007>Rope 32048 32726 9</w007>
<w008>Node 32025 32736 8</w008>
<w009>Node 32060 32723 8</w009>
<w010>Stand 32048 32726 8</w010>
<w011>Node 32043 32715 9</w011>
<w091>Action 32043 32715 9 if itemcount(ManaType) < ManaMin or itemcount(HealType) < HealMin;then;gotolabel("LeaveHole");end;</w091>
<w012>Node 32052 32685 9</w012>
<w013>Node 32042 32712 9</w013>
<w014>Node 32025 32706 9</w014>
<w015>Node 32015 32694 9</w015>
<w092>Action 32015 32694 9 if itemcount(ManaType) < ManaMin or itemcount(HealType) < HealMin;then;gotolabel("LeaveHole");end;</w092>
<w016>Node 32026 32704 9</w016>
<w017>Node 32026 32683 9</w017>
<w018>Node 32043 32684 9</w018>
<w019>Node 32038 32699 9</w019>
<w020>Node 32026 32683 9</w020>
<w093>Action 32026 32683 9 if itemcount(ManaType) < ManaMin or itemcount(HealType) < HealMin;then;gotolabel("LeaveHole");end;</w093>
<w021>Node 32010 32686 9</w021>
<w022>Node 31999 32691 9</w022>
<w023>Stand 31990 32700 9</w023>
<w024>Rope 31990 32700 9</w024>
<w025>Node 31983 32714 8</w025>
<w026>Node 32008 32737 8</w026>
<w027>Node 31984 32726 8</w027>
<w028>Node 31987 32705 8</w028>
<w029>Stand 31990 32700 8</w029>
<w030>Node 31997 32693 9</w030>
<w095>Action 31997 32693 9 if itemcount(ManaType) < ManaMin or itemcount(HealType) < HealMin;then;gotolabel("LeaveHole");end;</w095>
<w031>Node 32014 32684 9</w031>
<w032>Node 32029 32710 9</w032>
<w033>Node 32043 32715 9</w033>
<w034>Node 32036 32728 9</w034>
<w035>Node 32017 32727 9</w035>
<w036>Stand 32027 32722 9</w036>
<LeaveHole>Rope 32027 32722 9</LeaveHole>
<w038>Node 32018 32726 8</w038>
<w078>Action 0 0 0 if itemcount(ManaType) < ManaMin or itemcount(HealType) < HealMin;then;gotolabel("Leaveaction");end;</w078>
<w039>Node 31996 32708 8</w039>
<w040>Stand 31996 32712 8</w040>
<w041>Action 31996 32712 8 gotolabel("StartHunt")</w041>
<Leaveaction>Action 31996 32712 8 setsettings("Settings\\Targeting\\Monsters\\Quara Constrictor Scout\\OnlyIfTrapped", "yes") ;setsettings("Settings\\Targeting\\Monsters\\Quara Hydromancer Scout\\OnlyIfTrapped", "yes");setsettings("Settings\\Targeting\\Monsters\\Quara Mantassin Scout\\OnlyIfTrapped", "yes") ;setsettings("Settings\\Targeting\\Monsters\\Quara Pincher Scout\\OnlyIfTrapped", "yes");setsettings("Settings\\Targeting\\Monsters\\Quara Predator Scout\\OnlyIfTrapped", "yes") ;setsettings("Settings\\Targeting\\Monsters\\Bog Raider\\OnlyIfTrapped", "yes");setsettings("Settings\\Targeting\\Monsters\\All\\OnlyIfTrapped", "yes")</Leaveaction>
<Leave>Stand 31995 32712 8</Leave>
<w043>Rope 31995 32712 8</w043>
<w044>Node 31990 32711 7</w044>
<w045>Node 31997 32692 7</w045>
<w133>Node 31996 32690 8</w133>
<w134>Action 31996 32690 8 if location(10);then;gotolabel("Rope2");end</w134>
<Rope2>Rope 31996 32690 8</Rope2>
<w046>Node 32019 32681 7</w046>
<w047>Stand 32019 32678 7</w047>
<w048>Stand 32010 32677 8</w048>
<w049>Stand 31912 32656 8</w049>
<w050>Stand 31937 32555 8</w050>
<w051>Stand 32038 32560 8</w051>
<w052>Node 32049 32560 7</w052>
<w053>Node 32077 32570 7</w053>
<w054>Stand 32086 32577 7</w054>
<w055>Stand 32091 32577 8</w055>
<w056>Stand 32092 32577 8</w056>
<w057>Rope 32097 32576 8</w057>
<w058>Node 32115 32571 7</w058>
<w059>Node 32136 32566 7</w059>
<w060>Stand 32159 32556 7</w060>
<w128>Action 32159 32556 7 if not islocation();then;gotolabel("StartHunt");end</w128>
<w061>Action 32159 32556 7 setsettings("Settings\\Cavebot\\Pathfinding\\SpecialAreas\\WalkThroughPlayers", "yes") ;</w061>
<w062>Stand 32159 32555 7</w062>
<ToLib>Stand 32161 32556 6</ToLib>
<w064>Action 32161 32556 6 reachcreature("Jack Fate");;say("hi");wait(600,800);npcsay("Liberty bay");wait(600,800);npcsay("yes")</w064>
<w065>Action 32283 32893 6 if not islocation(1);then;gotolabel("ToLib");end</w065>
<w063>Stand 32282 32893 6</w063>
<w066>Action 32282 32893 6 setsettings("Settings\\Cavebot\\Pathfinding\\SpecialAreas\\WalkThroughPlayers", "no") ;</w066>
<w067>Node 32276 32873 6</w067>
<w068>Node 32305 32873 6</w068>
<w069>Stand 32306 32868 6</w069>
<w070>Node 32311 32856 7</w070>
<w071>Node 32336 32850 7</w071>
<w085>Stand 32336 32849 7</w085>
<w086>Action 32336 32849 7 setsettings("Settings\\Cavebot\\Pathfinding\\SpecialAreas\\WalkThroughPlayers", "yes") ;</w086>
<Dp>Stand 32336 32844 7</Dp>
<w073>Action 32336 32844 7 setsettings("Settings\\CaveBot\\Settings\\OpenNextBp","no");;closewindows();wait(800,1200);openitem(MainBP, "back");wait(600,800);resizewindows();wait(800,1200);openitem(LootBP, MainBP, true);resizewindows()</w073>
<w074>Action 32336 32844 7 if windowcount() < 2 then;gotolabel("Dp");end</w074>
<w075>Action 32336 32844 7 reachgrounditem("depot");wait(1000,1200);openitem("depot");wait(600,800);openitem(3502, "locker");wait(600,800);openitem(MainBPDP, "depot chest");wait(1500,1800);for i=1,6 do;wait(2000);depotdeposit(StackBPDP, "quara tentacle", "Fish fin", "Small amethyst", "quara eye", "black pearl", "white pearl", "small emerald", "mantassin tail", "small sapphire", "small ruby", "Life crystal", "quara bone", "small diamond", "boggy dreads", "great spirit potion", "ultimate health potion", "quara pincers");wait(1000,1200);depotdeposit(LootBPDP, "paladin armor", "springsprout rod", "belted cape", "Giant shrimp", "halberd", "stealth ring", "knight armor", "ring of healing", "wand of cosmic energy");wait(1000);openitem(LootBP, LootBP);end</w075>
<Bank>Stand 32338 32836 7</Bank>
<w089>Action 32338 32836 7 closewindows();wait(1000);openitem(MainBP, "back");wait(600,800);openitem(SuplieBP, MainBP, true);wait(600,800);resizewindows()</w089>
<w090>Action 32338 32836 7 if windowcount() < 2 ;then;gotolabel("Bank");end</w090>
<w072>Action 32338 32836 7 local ManaBuy = positive(ManaMax - itemcount(ManaType)) * ManaPrice;local HealBuy = positive(HealMax - itemcount(HealType)) * HealPrice;local Travel = 1000;local All = ManaBuy + HealBuy + Travel;;depositall();wait(1000);npcsay("withdraw "..All);wait(1000,1200);npcsay("yes");wait(600,800);npcsay("Balance");</w072>
<w087>Stand 32341 32837 7</w087>
<w088>Action 32341 32837 7 setsettings("Settings\\Cavebot\\Pathfinding\\SpecialAreas\\WalkThroughPlayers", "no") ;</w088>
<w076>Node 32342 32827 7</w076>
<w077>Node 32340 32815 7</w077>
<ManaBp>Stand 32345 32810 7</ManaBp>
<Manas>Action 32345 32810 7 closewindows();wait(1000);openitem(MainBP, "back");wait(600,800);openitem(SuplieBP, MainBP, true);wait(600,800);resizewindows()</Manas>
<w080>Action 32345 32810 7 if windowcount() < 2 ;then;gotolabel("ManaBp");end</w080>
<w081>Action 32345 32810 7 opentrade();wait(1200,1700);sellflasks();wait(1000,1600);npcsay("trade");wait(1000);if itemcount(ManaType) < ManaMax or (HealType) < HealMax ;then;buyitemsupto(ManaType, ManaMax);wait(600,1200);buyitemsupto(HealType, HealMax);wait(1000);;end</w081>
<w079>Node 32344 32815 7</w079>
<w082>Node 32331 32827 7</w082>
<w083>Stand 32322 32835 7</w083>
<w084>Action 32322 32835 7 if itemcount(ManaType) < ManaMax or itemcount(HealType) < HealMax;then;gotolabel("Bank");else ;gotolabel("ToHunt");end</w084>
<ToHunt>Node 32311 32842 7</ToHunt>
<w094>Node 32306 32864 7</w094>
<w096>Ladder 32306 32868 7</w096>
<w097>Node 32276 32873 6</w097>
<w098>Stand 32281 32893 6</w098>
<w130>Action 32281 32893 6 if not islocation();then;gotolabel("w063");end</w130>
<w099>Action 32281 32893 6 setsettings("Settings\\Cavebot\\Pathfinding\\SpecialAreas\\WalkThroughPlayers", "yes") ;</w099>
<ToGoroma>Stand 32285 32891 6</ToGoroma>
<w101>Action 32285 32891 6 reachcreature("Jack Fate");;say("hi");wait(600,800);npcsay("Goroma");wait(600,800);npcsay("yes")</w101>
<w102>Action 32161 32558 6 if not islocation(1);then;gotolabel("ToGoroma");end</w102>
<w100>Stand 32159 32554 6</w100>
<w103>Action 32159 32554 6 setsettings("Settings\\Cavebot\\Pathfinding\\SpecialAreas\\WalkThroughPlayers", "no") ;</w103>
<w104>Stand 32159 32555 6</w104>
<w105>Node 32130 32561 7</w105>
<w106>Node 32105 32572 7</w106>
<w107>Stand 32097 32576 7</w107>
<w108>Stand 32091 32576 8</w108>
<w109>Stand 32090 32576 8</w109>
<w110>Rope 32086 32577 8</w110>
<w111>Node 32083 32583 7</w111>
<w112>Node 32062 32576 7</w112>
<w113>Node 32043 32560 7</w113>
<w114>Stand 32038 32560 7</w114>
<w115>Stand 32046 32559 8</w115>
<w116>Stand 31954 32555 8</w116>
<w117>Stand 31929 32656 8</w117>
<openBPS>Action 32021 32680 8 closewindows();wait(1000);openitem(MainBP, "back");wait(600,800);openitem(SuplieBP,MainBP, true);wait(600,800);resizewindows();wait(600,800);openitem(LootBP, MainBP, true);wait(600,800);openitem(GoldBP, MainBP, true);wait(600,800);resizewindows()</openBPS>
<w119>Action 32021 32680 8 if windowcount() < 4 ;then;gotolabel("openBPS");end</w119>
<w118>Stand 32019 32679 8</w118>
<w120>Stand 32019 32678 8</w120>
<w121>Node 32016 32681 7</w121>
<w122>Node 32005 32691 7</w122>
<w131>Node 31996 32690 8</w131>
<w132>Action 31996 32690 8 if location(10);then;gotolabel("Rope1");end</w132>
<Rope1>Rope 31996 32690 8</Rope1>
<w123>Node 31992 32712 7</w123>
<w124>Stand 31994 32712 7</w124>
<w125>Stand 31995 32712 7</w125>
<w126>Stand 31995 32712 8</w126>
<w129>Action 31995 32712 8 if not islocation();then;gotolabel("w100");end</w129>
<w127>Action 31995 32712 8 gotolabel("StartHunt")</w127>
</Waypoints>
<Pathfinding>
<SpecialAreas>
<NewArea0>
<Coordinates>31995 32691 7</Coordinates>
<Dimensions>4 1</Dimensions>
<ConsideredBy>All</ConsideredBy>
</NewArea0>
<NewArea1>
<Coordinates>31997 32689 7</Coordinates>
<Dimensions>1 3</Dimensions>
<ConsideredBy>All</ConsideredBy>
</NewArea1>
</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>no</Enabled>
</CaveBot>
<Looting>
<List>
<quara-tentacle>
<Id>11487</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</quara-tentacle>
<fish-fin>
<Id>5895</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</fish-fin>
<small-amethyst>
<Id>3033</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</small-amethyst>
<quara-eye>
<Id>11488</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</quara-eye>
<black-pearl>
<Id>3027</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</black-pearl>
<white-pearl>
<Id>3026</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</white-pearl>
<small-emerald>
<Id>3032</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</small-emerald>
<wand-of-cosmic-energy>
<Id>3073</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</wand-of-cosmic-energy>
<ring-of-healing>
<Id>3098</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</ring-of-healing>
<knight-armor>
<Id>3370</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</knight-armor>
<mantassin-tail>
<Id>11489</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</mantassin-tail>
<stealth-ring>
<Id>3049</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</stealth-ring>
<small-sapphire>
<Id>3029</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</small-sapphire>
<halberd>
<Id>3269</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</halberd>
<small-ruby>
<Id>3030</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</small-ruby>
<life-crystal>
<Id>3061</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</life-crystal>
<giant-shrimp>
<Id>12318</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</giant-shrimp>
<quara-bone>
<Id>11491</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</quara-bone>
<small-diamond>
<Id>3028</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</small-diamond>
<Boggy-dreads>
<Id>9667</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</Boggy-dreads>
<great-health-potion>
<Id>239</Id>
<Destination>01</Destination>
<AlarmOn>No Alarm</AlarmOn>
</great-health-potion>
<great-spirit-potion>
<Id>7642</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</great-spirit-potion>
<ultimate-health-potion>
<Id>7643</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</ultimate-health-potion>
<belted-cape>
<Id>8044</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</belted-cape>
<springsprout-rod>
<Id>8084</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</springsprout-rod>
<paladin-armor>
<Id>8063</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</paladin-armor>
<gold-coin>
<Id>3031</Id>
<Destination>03</Destination>
<AlarmOn>No Alarm</AlarmOn>
</gold-coin>
<quara-pincers>
<Id>11490</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</quara-pincers>
</List>
<Condition>All corpses</Condition>
<Style>After melee kill</Style>
<OpenBodyTime>300</OpenBodyTime>
<Range>10</Range>
<EatFood>yes</EatFood>
<Enabled>yes</Enabled>
</Looting>
<Targeting>
<Monsters>
<Quara-Constrictor-Scout>
<Categories>-</Categories>
<Danger>0</Danger>
<ListSettings>
<Setting0>
<Count>Any</Count>
<HpRange>0 to 100 %</HpRange>
<Stance>Reach</Stance>
<Avoid>None</Avoid>
<Distance>0</Distance>
<Attack>Attack</Attack>
<ListSpell />
<SpellRate>500 to 1000</SpellRate>
<AttackMode>No Change</AttackMode>
</Setting0>
</ListSettings>
<Looting>yes</Looting>
<MustAttackMe>no</MustAttackMe>
<OnlyIfTrapped>no</OnlyIfTrapped>
</Quara-Constrictor-Scout>
<Quara-Hydromancer-Scout>
<Categories>-</Categories>
<Danger>0</Danger>
<ListSettings>
<Setting0>
<Count>Any</Count>
<HpRange>0 to 100 %</HpRange>
<Stance>Reach</Stance>
<Avoid>None</Avoid>
<Distance>8</Distance>
<Attack>Attack</Attack>
<ListSpell>
<Spell0>Whirlwind Throw</Spell0>
<Spell1>Brutal Strike</Spell1>
</ListSpell>
<SpellRate>500 to 1000</SpellRate>
<AttackMode>No Change</AttackMode>
</Setting0>
</ListSettings>
<Looting>yes</Looting>
<MustAttackMe>no</MustAttackMe>
<OnlyIfTrapped>no</OnlyIfTrapped>
</Quara-Hydromancer-Scout>
<Quara-Mantassin-Scout>
<Categories>-</Categories>
<Danger>0</Danger>
<ListSettings>
<Setting0>
<Count>Any</Count>
<HpRange>0 to 100 %</HpRange>
<Stance>Reach</Stance>
<Avoid>None</Avoid>
<Distance>0</Distance>
<Attack>Attack</Attack>
<ListSpell />
<SpellRate>500 to 1000</SpellRate>
<AttackMode>No Change</AttackMode>
</Setting0>
</ListSettings>
<Looting>yes</Looting>
<MustAttackMe>no</MustAttackMe>
<OnlyIfTrapped>no</OnlyIfTrapped>
</Quara-Mantassin-Scout>
<Quara-Pincher-Scout>
<Categories>-</Categories>
<Danger>5</Danger>
<ListSettings>
<Setting0>
<Count>Any</Count>
<HpRange>0 to 100 %</HpRange>
<Stance>Reach</Stance>
<Avoid>None</Avoid>
<Distance>0</Distance>
<Attack>Attack</Attack>
<ListSpell>
<Spell0>Whirlwind Throw</Spell0>
<Spell1>Brutal Strike</Spell1>
</ListSpell>
<SpellRate>500 to 1000</SpellRate>
<AttackMode>No Change</AttackMode>
</Setting0>
</ListSettings>
<Looting>yes</Looting>
<MustAttackMe>no</MustAttackMe>
<OnlyIfTrapped>no</OnlyIfTrapped>
</Quara-Pincher-Scout>
<Quara-Predator-Scout>
<Categories>-</Categories>
<Danger>10</Danger>
<ListSettings>
<Setting0>
<Count>Any</Count>
<HpRange>0 to 100 %</HpRange>
<Stance>Reach</Stance>
<Avoid>None</Avoid>
<Distance>0</Distance>
<Attack>Attack</Attack>
<ListSpell>
<Spell0>Whirlwind Throw</Spell0>
<Spell1>Brutal Strike</Spell1>
</ListSpell>
<SpellRate>500 to 1000</SpellRate>
<AttackMode>No Change</AttackMode>
</Setting0>
</ListSettings>
<Looting>yes</Looting>
<MustAttackMe>no</MustAttackMe>
<OnlyIfTrapped>no</OnlyIfTrapped>
</Quara-Predator-Scout>
<Bog-Raider>
<Categories>-</Categories>
<Danger>7</Danger>
<ListSettings>
<Setting0>
<Count>Any</Count>
<HpRange>0 to 100 %</HpRange>
<Stance>Reach</Stance>
<Avoid>None</Avoid>
<Distance>0</Distance>
<Attack>Attack</Attack>
<ListSpell>
<Spell0>Whirlwind Throw</Spell0>
<Spell1>Brutal Strike</Spell1>
</ListSpell>
<SpellRate>500 to 1000</SpellRate>
<AttackMode>No Change</AttackMode>
</Setting0>
</ListSettings>
<Looting>yes</Looting>
<MustAttackMe>no</MustAttackMe>
<OnlyIfTrapped>no</OnlyIfTrapped>
</Bog-Raider>
<All>
<Categories>-</Categories>
<Danger>0</Danger>
<ListSettings>
<Setting0>
<Count>Any</Count>
<HpRange>0 to 100 %</HpRange>
<Stance>No movement</Stance>
<Avoid>None</Avoid>
<Distance>0</Distance>
<Attack>Attack</Attack>
<ListSpell />
<SpellRate>500 to 1000</SpellRate>
<AttackMode>No Change</AttackMode>
</Setting0>
</ListSettings>
<Looting>yes</Looting>
<MustAttackMe>no</MustAttackMe>
<OnlyIfTrapped>yes</OnlyIfTrapped>
</All>
</Monsters>
<Settings>
<ListOrder>7</ListOrder>
<Health>9</Health>
<Proximity>3</Proximity>
<Danger>5</Danger>
<PlayerOnScreenSecurity>If cavebotting</PlayerOnScreenSecurity>
<CooldownControl>yes</CooldownControl>
<CheckItem>no</CheckItem>
<MustBeReachable>yes</MustBeReachable>
<MustBeShootable>no</MustBeShootable>
</Settings>
<Enabled>yes</Enabled>
</Targeting>
<Hud>
<List>
<GeneralInfo>
<Script>setsize(100,100)
setfontcolor("white")
addtext(name,10,30)
addtext("LvL :", 150,30)
addtext(level, 180,30)
addtext("Next LvL :", 150,45)
addtext(exptolevel(), 210,45)
addtext("Pos X : ", 10,45)
addtext(posx, 54,45)
addtext("Pos Y : ", 10,60)
addtext(posy, 54,60)
addtext("Pos Z : ", 10,75)
addtext(posz, 54,75)</Script>
<RefreshRate>1000</RefreshRate>
<Enabled>no</Enabled>
</GeneralInfo>
<Hud0>
<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 = "quara tentacle", VALUE = 140},
{NAME = "fich fin", VALUE = 1000},
{NAME = "small amethyst", VALUE = 200},
{NAME = "quara eye", VALUE = 350},
{NAME = "wand of cosmic energy", VALUE = 2000},
{NAME = "white pearl", VALUE = 280},
{NAME = "black pearl", VALUE = 280},
{NAME = "small emerald", VALUE = 250},
{NAME = "ring of healing", VALUE = 0},
{NAME = "knight armor", VALUE = 5000},
{NAME = "great health potion", VALUE = 0},
{NAME = "mantassin tail", VALUE = 280},
{NAME = "stealth ring", VALUE = 0},
{NAME = "small sapphire", VALUE = 250},
{NAME = "halberd", VALUE = 400},
{NAME = "small ruby", VALUE = 250},
{NAME = "life crystal", VALUE = 0},
{NAME = "giant shrimp", VALUE = 0},
{NAME = "quara bone", VALUE = 500},
{NAME = "springsprout rod", VALUE = 3600},
{NAME = "small diamond", VALUE = 300},
{NAME = "boggy dreads", VALUE = 200},
{NAME = "great spirit potion", VALUE = 0},
{NAME = "ultimate health potion", VALUE = 8000},
{NAME = "belted cape", VALUE = 500},
{NAME = "paladin armor", VALUE = 15000},
{NAME = "quara pincers", VALUE = 410},
{NAME = "time ring", VALUE = 1000},
}
MONITOR_MY_HUNTING.SHOW_ALL_SUPPLIES = false
MONITOR_MY_HUNTING.SUPPLIES_LIST = {
{NAME = "mana potion", PRICE = 50},
{NAME = "great health potion", PRICE = 190},
{NAME = "ultimate health potion", PRICE = 310},
}
-- [[ 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>
</Hud0>
<Hud1>
<Script>-- [ Simple HUD by Fsma92 ] --
local fontfamily = "verdana"
local fontsize = 8
local headfontsize = 8
local fontcolor = 0x000000
local headfontcolor = 0x000000
local startposx = 2
local startposy = 15
setfontstyle(fontfamily, headfontsize, headfontcolor)
setfontcolor(rgbcolor(30, 144, 255))
addtext(" - Straxor Script -", startposx, startposy+10)
setfontstyle(fontfamily, fontsize, fontcolor)
setfontcolor(rgbcolor(205, 200, 177))
addtext("Level: ", startposx+10, startposy+25)
addtext(level, startposx+72, startposy+25)
setfontcolor(rgbcolor(205, 200, 177))
addtext("XP to Lvl: ", startposx+10, startposy+40)
addtext(exptolevel(), startposx+72, startposy+40)
setfontcolor(rgbcolor(205, 200, 177))
addtext("XP Gain: ", startposx+10, startposy+85)
addtext(expgained, startposx+72, startposy+85)
setfontcolor(rgbcolor(205, 200, 177))
addtext("XP/Hour: ", startposx+10, startposy+55)
addtext(exphour, startposx+72, startposy+55)
setfontcolor(rgbcolor(205, 200, 177))
addtext("Stamina:", startposx+10, startposy+115)
addtext(math.floor(stamina/60).." Hours", startposx+72, startposy+115)
setfontcolor(rgbcolor(205, 200, 177))
addtext("Off Train:", startposx+10, startposy+130)
addtext(math.floor(offtrain/60).." Hours", startposx+72, startposy+130)
addtext("Balance:", startposx+10, startposy+145)
addtext(balance, startposx+72, startposy+145)
addtext("Time On:", startposx+10, startposy+100)
addtext('' .. timehunt, startposx+72, startposy+100)
addtext("Next Lvl:", startposx+10, startposy+70)
addtext('' .. timetolevel, startposx+72, startposy+70)
setfontstyle(fontfamily, headfontsize, headfontcolor)
setfontcolor(rgbcolor(30, 144, 255))
addtext(" - Character Info - ", startposx, startposy+160)
setfontstyle(fontfamily, fontsize, fontcolor)
setfontcolor(rgbcolor(205, 200, 177))
addtext("Health: ", startposx+10, startposy+175)
addtext(hp .. " / " .. maxhp .. " ", startposx+72, startposy+175)
setfontcolor(rgbcolor(205, 200, 177))
addtext("Mana: ", startposx+10, startposy+190)
addtext(mp .. " / " .. maxmp .. " ", startposx+72, startposy+190)
setfontcolor(rgbcolor(205, 200, 177))
addtext("Cap: ", startposx+10, startposy+205)
addtext(cap, startposx+72, startposy+205)</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>