Xinum
Never Give Up!
- Joined
- Dec 23, 2009
- Messages
- 578
- Reaction score
- 66
[EK] Svargrond Krimhorn Barbarians ~ Full Afk
Code:
<Settings>
<By_3173654 />
<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 60 %</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>
<shp>
<HealRange>0 to 40 %</HealRange>
<ManaRange>0 to all</ManaRange>
<HealMethod>Health Potion</HealMethod>
<ExtraCondition>No condition</ExtraCondition>
<CooldownControl>yes</CooldownControl>
<CheckItem>no</CheckItem>
<SpamRate>200 to 400</SpamRate>
<Enabled>yes</Enabled>
</shp>
<mana-potion>
<HealRange>50 to 100 %</HealRange>
<ManaRange>0 to 80</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>
<utura>
<HealRange>61 to 85 %</HealRange>
<ManaRange>80 to all</ManaRange>
<HealMethod>Recovery</HealMethod>
<ExtraCondition>If not strengthened</ExtraCondition>
<CooldownControl>yes</CooldownControl>
<CheckItem>no</CheckItem>
<SpamRate>200 to 400</SpamRate>
<Enabled>yes</Enabled>
</utura>
</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>
<DROPVIALS>
<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>
</DROPVIALS>
<ANTIFURNITURE>
<Script>while (standtime > 60000)do
antifurnituretrap()
wait(5000)
end</Script>
<SpamRate>800 to 1000</SpamRate>
<Enabled>yes</Enabled>
</ANTIFURNITURE>
<EXORI>
<Script>if maround(1) >= 4 then
cast('exori')
end </Script>
<SpamRate>800 to 1000</SpamRate>
<Enabled>yes</Enabled>
</EXORI>
<ALERTLIFE>
<Script>if low_health == true and hppc < 50 then
playsound("alert.wav") end</Script>
<SpamRate>800 to 1000</SpamRate>
<Enabled>yes</Enabled>
</ALERTLIFE>
<SAFEBANK>
<Script>local index = 0
local msgs = getmessages("NPCs")
local qtd = msgs.count-1
for i=0,qtd do
if msgs[qtd].sender == npcname and 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>
<SCREENDEATH>
<Script>local printscreen = true
if hppc == 0 then
if (printscreen == true) then
focusclient()
screenshot()
end
printscreen = false
else
printscreen = true
end
</Script>
<SpamRate>800 to 1000</SpamRate>
<Enabled>yes</Enabled>
</SCREENDEATH>
<RECONECT>
<Script>--Set true or false for reopen Backpacks
ReopenBackpack = false
--Configure here the name of Backpacks
--Configure aki o nome das Backpacks
local Mainbp = 'Green Backpack'
local Lootbp = 'Brocade Backpack'
local Goldbp = 'Red Backpack'
--Configure here account, password and name of the character
--Configura aki o seuaccount, senha e nome do char
ACCname = "LOGIN"
PASSWORD = "SENHA"
CHARACTERNAME = "nome do seu char"
--dont change below
local accounts =
{
{acc = ACCname, pass = PASSWORD, name = CHARACTERNAME}
}
local serversavetime = {from = '6:00', to = '6:20'}
serversavetime = {from = tosec(serversavetime.from), to = tosec(serversavetime.to)}
local randdelay = {min = 0, max = 300}
local startlabel = ''
local curchar = 1
--dont change things below
local randomdelay = math.random(randdelay.min, randdelay.max)
if not connected then
setcavebot('off')
local curtime = tosec(time())
if curtime < serversavetime.from or curtime > serversavetime.to+randomdelay then
connect(accounts[curchar].acc, accounts[curchar].pass, accounts[curchar].name)
wait(3000,4000)
updateworld()
if connected then
if startlabel ~= '' then
gotolabel(startlabel)
if ReopenBackpack == true then
wait(2000) openitem(MainBP, "back") wait(1000) openitem(LootBP, MainBP, true) wait(1000) resizewindows() wait(1000) openitem(GoldBP, MainBP, true) wait(1000) resizewindows() wait(1000) setcavebot("on") wait(300) settargeting("on") wait(300) setlooting("on")
end
end
setcavebot('on')
end
end
end</Script>
<SpamRate>800 to 1000</SpamRate>
<Enabled>yes</Enabled>
</RECONECT>
<EATFOOD>
<Script>wait(300000)
eatfood()
</Script>
<SpamRate>800 to 1000</SpamRate>
<Enabled>yes</Enabled>
</EATFOOD>
<Action0>
<Script>--</Script>
<SpamRate>800 to 1000</SpamRate>
<Enabled>no</Enabled>
</Action0>
<Action1>
<Script>null</Script>
<SpamRate>800 to 1000</SpamRate>
<Enabled>no</Enabled>
</Action1>
<CHECKBP>
<Script>if windowcount() < 3 then
pausewalking(10000)
if windowcount(MainBP) < 1 and maround(2) == 0 and not lootbodies
then
wait(500)
openitem(MainBP, "back")
wait(1000)
resizewindows()
wait(1000)
end
if windowcount(LootBP) < 1 and maround(2) == 0 and not lootbodies
then
wait(2000)
openitem(LootBP, MainBP, true)
wait(1000)
resizewindows()
end
if windowcount(GoldBP) < 1 and maround(2) == 0 and not lootbodies
then
wait(2000)
openitem(GoldBP, MainBP, true)
wait(2000)
resizewindows()
wait(2000)
resizewindows()
end
wait(500)
pausewalking(0)
end</Script>
<SpamRate>800 to 1000</SpamRate>
<Enabled>yes</Enabled>
</CHECKBP>
<SCREENUP>
<Script>if PrintOnUp then
setsettings("Settings\\Alerts\\Message\\Advanced\\Screenshot", "yes")
wait(5000)
setsettings("Settings\\Alerts\\Enabled", "yes")
else
setsettings("Settings\\Alerts\\Message\\Advanced\\Screenshot", "no")
wait(5000)
setsettings("Settings\\Alerts\\Enabled", "no")
end</Script>
<SpamRate>10 to 30</SpamRate>
<Enabled>yes</Enabled>
</SCREENUP>
<PrintUpCheck>
<Script>if PrintOnUp then
setsettings("Settings\\Alerts\\Message\\Advanced\\Screenshot", "yes")
wait(5000)
setsettings("Settings\\Alerts\\Enabled", "yes")
else
setsettings("Settings\\Alerts\\Message\\Advanced\\Screenshot", "no")
wait(5000)
setsettings("Settings\\Alerts\\Enabled", "no")
end</Script>
<SpamRate>10 to 30</SpamRate>
<Enabled>yes</Enabled>
</PrintUpCheck>
</List>
<Setup>
--###############[true = sim / false = não]###############
CapToLeave = 70 -- CAP TO REFILL
PvP = false -- (true/false)
PrintOnUp = true --TRUE=Print Screen on Advanced Level
--###################### {Backpack} ######################
MainBP = "Pirate Backpack" --
LootBP = "Camouflage Backpack"
GoldBP = "Orange Backpack"
MainDPBP = "beach Backpack"
LootDPBP = "fur Backpack"
StackableDPBP = "brocade Backpack"
--####################### {Potions} ######################
MPtype = "mana potion"
MPmax = 150
MPmin = 15
MPprice = 50
HPtype = "health potion"
HPmax = 25
HPmin = 10
HPprice = 100
--##################--Check Healer--##################
</Setup>
<Library>Standard</Library>
<Enabled>yes</Enabled>
</Actions>
<CaveBot>
<Waypoints>
<start>Stand 32262 31141 7</start>
<w001>Node 32260 31140 7</w001>
<w146>Action 32052 31372 7 setsettings("Settings\\Actions\\List\\CHECKBP\\Enabled", "no");;</w146>
<open_bps>Action 32260 31140 7 closewindows();wait(500, 1000);openitem(MainBP, 'back');wait(500, 1000);resizewindows() ;wait(500, 1000);openitem(LootBP, MainBP, true);wait(500, 1000);resizewindows();wait(500, 1000);resizewindows();minimizewindows("equip")</open_bps>
<w002>Stand 32260 31140 7</w002>
<w003>Action 32260 31140 7 if windowcount() < 2 then;gotolabel("open_bps");end</w003>
<w004>Stand 32260 31140 7</w004>
<Depot>Action 32260 31140 7 reachgrounditem("depot");wait(1000, 2000);openitem("depot");wait(1000, 2000);openitem(3502, 'locker');wait(1000, 2000);openitem(MainDPBP, 3502);wait(1000, 2000);depotdeposit(StackDPBP, "red piece of cloth", "brown piece of cloth");wait(1000, 2000);depotdeposit(LootDPBP, "mammoth fur cape", "fur boots", "shard", "brutetamers staff", "life ring", "beastslayer axe", "ragnir helmet", "crystal sword", "krimhorn helmet", "mammoth fur shorts");wait(1000, 2000);openitem(LootBP, MainBP);wait(1000);depotdeposit(StackDPBP, "red piece of cloth", "brown piece of cloth");wait(500,1000);depotdeposit(LootDPBP, "mammoth fur cape", "fur boots", "shard", "brutetamer's staff", "life ring", "beastslayer axe", "ragnir helmet", "crystal sword", "krimhorn helmet", "mammoth fur shorts")</Depot>
<w000>Node 32262 31141 7</w000>
<w005>Node 32272 31141 7</w005>
<w006>Node 32284 31138 7</w006>
<w007>Node 32294 31133 7</w007>
<w008>Node 32299 31131 7</w008>
<w009>Stand 32299 31134 7</w009>
<w010>Stand 32299 31134 7</w010>
<w012>Stand 32299 31134 7</w012>
<coco>Action 32308 31127 7 closewindows();wait(500, 1000);openitem(MainBP, 'back');wait(500, 1000);resizewindows();;</coco>
<w079>Action 32308 31132 7 if windowcount() < 1 then;gotolabel("coco");end</w079>
<w013>Action 32299 31134 7 local HPMoney = positive(HPmax - itemcount(HPtype)) * HPprice;local ManaMoney = positive(MPmax - itemcount(MPtype)) * MPprice;local All = HPMoney + ManaMoney + 1000;;depositall();npcsay("withdraw "..All) wait(1000);npcsay("yes") wait(1000);npcsay("balance") wait(1000)</w013>
<w179>Action 32049 31373 7 setsettings("Settings\\Actions\\List\\CHECKBP\\Enabled", "no");</w179>
<w180>Action 32049 31373 7 closewindows();wait(500, 1000);openitem(MainBP, 'back');wait(500, 1000);resizewindows();minimizewindows("equip");</w180>
<w014>Stand 32308 31132 7</w014>
<buypots>Action 32308 31132 7 opentrade();wait(2000);sellflasks();wait(1000);sellflasks();wait(1000);npcsay("trade");wait(1000);if itemcount(MPtype) < MPmax then;buyitemsupto(MPtype, MPmax);wait(1000);end;if itemcount(HPtype) < HPmax then;buyitemsupto(HPtype, HPmax);wait(1000);end</buypots>
<w015>Stand 32308 31132 7</w015>
<Check>Action 32308 31132 7 if itemcount(MPtype) < MPmax or itemcount(HPtype) < HPmax then;gotolabel("start");end</Check>
<w016>Stand 32299 31134 7</w016>
<w053>Action 32393 32212 7 closewindows();wait(500, 1000);openitem(MainBP, 'back');wait(500, 1000);resizewindows() ;wait(500, 1000);openitem(LootBP, MainBP, true);wait(500, 1000);resizewindows();wait(500, 1000);openitem(GoldBP, MainBP, true);wait(500, 1000);resizewindows();minimizewindows("equip")</w053>
<w182>Action 32299 31134 7 setsettings("Settings\\Actions\\List\\CHECKBP\\Enabled", "yes")</w182>
<w018>Node 32299 31132 7</w018>
<w019>Node 32287 31136 7</w019>
<w020>Node 32280 31140 7</w020>
<w021>Node 32273 31141 7</w021>
<w022>Node 32259 31141 7</w022>
<w023>Node 32247 31141 7</w023>
<w024>Node 32242 31149 7</w024>
<w025>Node 32243 31159 7</w025>
<w026>Node 32247 31165 7</w026>
<w027>Node 32254 31176 7</w027>
<w028>Node 32255 31187 7</w028>
<w029>Stand 32255 31194 7</w029>
<Buddel>Action 32255 31194 7 reachcreature("Buddel");say("hi");wait(1000);npcsay("go");wait(1000);npcsay("camp");wait(1000);npcsay("yes");wait(1000)</Buddel>
<w031>Action 32152 31375 7 if not islocation(5) then; gotolabel("Buddel"); return;end</w031>
<w030>Node 32152 31375 7</w030>
<Camp>Node 32150 31369 7</Camp>
<w176>Action 32150 31369 7 wait(1000);setattackmode("defensive stand")</w176>
<w034>Node 32153 31358 7</w034>
<pre1>Stand 32159 31355 7</pre1>
<w036>Stand 32159 31354 7</w036>
<w037>Node 32159 31353 6</w037>
<w035>Action 32159 31353 6 if not islocation(4) then; gotolabel("pre1"); return;end</w035>
<w038>Node 32165 31348 6</w038>
<w039>Node 32168 31341 6</w039>
<w040>Node 32171 31325 6</w040>
<w041>Node 32166 31307 6</w041>
<w042>Node 32162 31295 6</w042>
<w043>Node 32144 31260 6</w043>
<w044>Node 32114 31246 6</w044>
<pre2>Stand 32108 31241 6</pre2>
<HAHA>Stand 32107 31241 6</HAHA>
<w011>Node 32091 31250 7</w011>
<w046>Node 32084 31260 7</w046>
<w126>Node 32072 31262 7</w126>
<w181>Node 32063 31267 7</w181>
<w183>Node 32051 31280 7</w183>
<w184>Node 32038 31278 7</w184>
<w185>Node 32044 31267 7</w185>
<w186>Node 32034 31258 7</w186>
<w047>Node 32106 31241 7</w047>
<Hunt>Node 31996 31260 7</Hunt>
<w188>Node 31995 31260 7</w188>
<w033>Action 31995 31260 7 setsettings("Settings\\Targeting\\Enabled", "yes");setsettings("Settings\\Looting\\Enabled", "yes");setsettings("Settings\\Input\\Enabled", "yes");setsettings("Settings\\Actions\\List\\CHECKBP\\Enabled", "yes");setsettings("Settings\\Actions\\List\\EATFOOD\\Enabled", "yes");;;;;</w033>
<w048>Node 31990 31232 7</w048>
<w177>Node 32008 31228 7</w177>
<w189>Node 32022 31217 7</w189>
<w190>Node 32023 31207 7</w190>
<w191>Node 32011 31235 7</w191>
<w192>Node 31991 31242 7</w192>
<w193>Node 31961 31261 7</w193>
<w194>Node 31989 31260 7</w194>
<w195>Action 31989 31260 7 if itemcount(HPtype) <= HPmin or itemcount(MPtype) <= MPmin or cap <= CapToLeave then;gotolabel("Refill");else;gotolabel("Hunt");end</w195>
<w137>Action 32131 31323 7 if itemcount(HPtype) <= HPmin or itemcount(MPtype) <= MPmin or cap <= CapToLeave then;gotolabel("Refill");else;gotolabel("Hunt");end</w137>
<Refill>Node 32016 31258 7</Refill>
<w032>Node 32027 31258 7</w032>
<w045>Node 32039 31258 7</w045>
<w049>Node 32044 31267 7</w049>
<w050>Node 32039 31278 7</w050>
<w051>Node 32065 31268 7</w051>
<w052>Node 32068 31262 7</w052>
<w144>Node 32094 31253 7</w144>
<w145>Node 32099 31243 7</w145>
<w178>Action 32099 31243 7 wait(1000);setattackmode("defensive stand")</w178>
<pre15>Stand 32106 31241 7</pre15>
<w147>Stand 32107 31241 7</w147>
<w148>Node 32108 31241 6</w148>
<w149>Action 32108 31241 6 if not islocation(4) then; gotolabel("pre15"); return;end</w149>
<w150>Node 32114 31244 6</w150>
<w151>Node 32137 31254 6</w151>
<w152>Node 32153 31261 6</w152>
<w153>Node 32172 31274 6</w153>
<w154>Node 32175 31293 6</w154>
<w155>Node 32174 31311 6</w155>
<w156>Node 32172 31330 6</w156>
<w157>Node 32168 31343 6</w157>
<w158>Node 32162 31350 6</w158>
<pre16>Stand 32159 31353 6</pre16>
<w160>Stand 32159 31354 6</w160>
<w161>Node 32159 31355 7</w161>
<w133>Action 32159 31355 7 if not islocation(4) then; gotolabel("pre16"); return;end</w133>
<w162>Node 32153 31357 7</w162>
<w163>Node 32150 31367 7</w163>
<w164>Node 32150 31376 7</w164>
<w165>Stand 32152 31376 7</w165>
<Buddel2>Action 0 0 7 reachcreature("Buddel");say("hi");wait(1500,2500);npcsay("go");wait(200,300);npcsay("svargrond");wait(200,300);npcsay("yes");wait(200,300)</Buddel2>
<w166>Action 32256 31197 7 if not islocation(5) then; gotolabel("Buddel2"); return;end</w166>
<w167>Node 32256 31194 7</w167>
<w168>Node 32256 31187 7</w168>
<w169>Node 32255 31179 7</w169>
<w170>Node 32249 31170 7</w170>
<w171>Node 32248 31160 7</w171>
<w172>Node 32242 31149 7</w172>
<w173>Node 32251 31142 7</w173>
<w174>Stand 32256 31141 7</w174>
</Waypoints>
<Pathfinding>
<SpecialAreas />
<WalkThroughPlayers>yes</WalkThroughPlayers>
<WalkingMethod>Map Clicks</WalkingMethod>
<MapWalkDistance>20 to 50</MapWalkDistance>
<WalkableIds>140;404;831;832;833;834;883;2118;2119;2120;2121;2122;2123;2124;2125;2126;2127;2131;2132;2133;2134;2135;2314;2315;2316;2319;2346;2347;2348;2349;2350;2351;2352;2353;2354;2355;2356;2357;2358;2359;2360;2361;2362;2363;2364;2365;2366;2367;2368;2369;2370;2371;2372;2373;2374;2375;2376;2377;2378;2379;2380;2381;2382;2383;2384;2385;2418;2419;2420;2421;2422;2423;2424;2425;2426;2431;2432;2433;2434;2441;2442;2443;2444;2469;2471;2472;2473;2478;2480;2481;2482;2483;2484;2485;2486;2519;2523;2775;2776;2777;2778;2779;2780;2781;2782;2783;2784;2785;2786;2787;2788;2789;2790;2791;2792;2793;2794;2795;2796;2797;2798;2799;2800;2801;2802;2803;2804;2805;2806;2807;2808;2809;2810;2811;2812;2981;2983;2982;2984;2985;2987;2988;3503;3504;3514;3807;5086;5087;5088;6114;6115;6355;6356;6357;6358;6359;6360;6361;6362;6371;6372;7864;8455;8763;9061;9062;10207;10209;10216;10286;10287;10288;11009;11800;11801;11802;11803;11804;11805;11806;11807;11808;11809;11810</WalkableIds>
</Pathfinding>
<Settings>
<Rope>3003</Rope>
<Shovel>3457</Shovel>
<Pick>3456</Pick>
<Machete>3308</Machete>
<NodeRange>3</NodeRange>
<Priority>Target and Looting</Priority>
<OpenNextBp>if cavebot enabled</OpenNextBp>
<AutoMount>no</AutoMount>
<Anti-idle>no</Anti-idle>
<EatFood>no</EatFood>
<FoodToEat>3725;3587;3600;3595;3589;3598;8014;3583;3606;3578;3592;3582;3577;3593;3586;3585;3581;3723</FoodToEat>
<PauseOnDeath>yes</PauseOnDeath>
</Settings>
<Enabled>no</Enabled>
</CaveBot>
<Looting>
<List>
<Gold-Coin>
<Id>3031</Id>
<Destination>Orange Backpack</Destination>
<AlarmOn>No Alarm</AlarmOn>
</Gold-Coin>
<fur-boots>
<Id>7457</Id>
<Destination>Camouflage Backpack</Destination>
<AlarmOn>No Alarm</AlarmOn>
</fur-boots>
<shard>
<Id>7290</Id>
<Destination>Camouflage Backpack</Destination>
<AlarmOn>No Alarm</AlarmOn>
</shard>
<red-piece-of-cloth>
<Id>5911</Id>
<Destination>Camouflage Backpack</Destination>
<AlarmOn>No Alarm</AlarmOn>
</red-piece-of-cloth>
<brutetamers-staff>
<Id>7379</Id>
<Destination>Camouflage Backpack</Destination>
<AlarmOn>No Alarm</AlarmOn>
</brutetamers-staff>
<life-ring>
<Id>3052</Id>
<Destination>Camouflage Backpack</Destination>
<AlarmOn>No Alarm</AlarmOn>
</life-ring>
<beastslayer-axe>
<Id>3344</Id>
<Destination>Camouflage Backpack</Destination>
<AlarmOn>No Alarm</AlarmOn>
</beastslayer-axe>
<brown-piece-of-cloth>
<Id>5913</Id>
<Destination>Camouflage Backpack</Destination>
<AlarmOn>No Alarm</AlarmOn>
</brown-piece-of-cloth>
<ragnir-helmet>
<Id>7462</Id>
<Destination>Camouflage Backpack</Destination>
<AlarmOn>No Alarm</AlarmOn>
</ragnir-helmet>
<mammoth-fur-cape>
<Id>7463</Id>
<Destination>Camouflage Backpack</Destination>
<AlarmOn>No Alarm</AlarmOn>
</mammoth-fur-cape>
<crystal-sword>
<Id>7449</Id>
<Destination>Camouflage Backpack</Destination>
<AlarmOn>No Alarm</AlarmOn>
</crystal-sword>
<krimhorn-helmet>
<Id>7461</Id>
<Destination>Camouflage Backpack</Destination>
<AlarmOn>No Alarm</AlarmOn>
</krimhorn-helmet>
<mammoth-fur-shorts>
<Id>7464</Id>
<Destination>Camouflage Backpack</Destination>
<AlarmOn>No Alarm</AlarmOn>
</mammoth-fur-shorts>
<Mana-Potion>
<Id>268</Id>
<Destination>Pirate Backpack</Destination>
<AlarmOn>No Alarm</AlarmOn>
</Mana-Potion>
</List>
<Condition>Corpses with listed items</Condition>
<Style>After melee kill</Style>
<OpenBodyTime>500</OpenBodyTime>
<Range>10</Range>
<EatFood>yes</EatFood>
<Enabled>no</Enabled>
</Looting>
<Targeting>
<Monsters>
<Mammoth>
<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>Stand/Offensive</AttackMode>
</Setting0>
</ListSettings>
<Looting>yes</Looting>
<MustAttackMe>no</MustAttackMe>
<OnlyIfTrapped>no</OnlyIfTrapped>
</Mammoth>
<Badger>
<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>
</Badger>
<Barbarian-Brutetamer>
<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>Chase/Offensive</AttackMode>
</Setting0>
</ListSettings>
<Looting>yes</Looting>
<MustAttackMe>no</MustAttackMe>
<OnlyIfTrapped>no</OnlyIfTrapped>
</Barbarian-Brutetamer>
<Barbarian-Bloodwalker>
<Categories>-</Categories>
<Danger>9</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>Chase/Offensive</AttackMode>
</Setting0>
</ListSettings>
<Looting>yes</Looting>
<MustAttackMe>no</MustAttackMe>
<OnlyIfTrapped>no</OnlyIfTrapped>
</Barbarian-Bloodwalker>
<Barbarian-Headsplitter>
<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>Chase/Offensive</AttackMode>
</Setting0>
</ListSettings>
<Looting>yes</Looting>
<MustAttackMe>no</MustAttackMe>
<OnlyIfTrapped>no</OnlyIfTrapped>
</Barbarian-Headsplitter>
<Barbarian-Skullhunter>
<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>Chase/Offensive</AttackMode>
</Setting0>
</ListSettings>
<Looting>yes</Looting>
<MustAttackMe>no</MustAttackMe>
<OnlyIfTrapped>no</OnlyIfTrapped>
</Barbarian-Skullhunter>
<Frost-Troll>
<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>
</Frost-Troll>
<Polar-Bear>
<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>
</Polar-Bear>
<Winter-Wolf>
<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>
</Winter-Wolf>
<War-Wolf>
<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>
</War-Wolf>
<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>
<Monster0>
<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>no</OnlyIfTrapped>
</Monster0>
<Monster1>
<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>no</OnlyIfTrapped>
</Monster1>
<Monster2>
<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>no</OnlyIfTrapped>
</Monster2>
</Monsters>
<Settings>
<ListOrder>3</ListOrder>
<Health>7</Health>
<Proximity>6</Proximity>
<Danger>9</Danger>
<PlayerOnScreenSecurity>If cavebotting</PlayerOnScreenSecurity>
<CooldownControl>yes</CooldownControl>
<CheckItem>no</CheckItem>
<MustBeReachable>yes</MustBeReachable>
<MustBeShootable>no</MustBeShootable>
</Settings>
<Enabled>no</Enabled>
</Targeting>
<Hud>
<List>
<HUD>
<Script>setfontcolor("orange")
setfontstyle("Comic Sans MS", 9, "white")
setfontcolor("orange")
addtext("#####################", 20, 30)
setfontcolor("cornsilk")
addtext("LEVEL: ", 20, 45)
addtext("EXP/H: ", 20, 65)
addtext("EXP GAINED: ", 20, 85)
addtext("EXP TO UP: ", 20, 105)
addtext("TIME TO UP: ", 20, 125)
addtext("STAMINA: ", 20, 145)
addtext("BALANCE: ", 20, 165)
setfontcolor("orange")
addtext("#####################", 20, 180)
setfontcolor("cornsilk")
addtext("MOUSE ITEM ID: ", 20, 195)
setfontcolor("Gold")
addtext(level, 125, 45)
addtext(exphour, 125, 65)
addtext(expgained, 125, 85)
addtext(exptolevel(), 125, 105)
if (exptolevel()/exphour) < 1 then addtext("Less than 1 Hour", 125, 125) else addtext("About "..math.ceil(exptolevel()/exphour).. " Hours", 125, 125) end
addtext(math.floor(stamina/60).." Hours", 125, 145)
addtext(balance, 125, 165)
addtext(cursorinfo().id, 130, 195)</Script>
<RefreshRate>1000</RefreshRate>
<Enabled>yes</Enabled>
</HUD>
<Monitor-my-hunting>
<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 = "Beatslayer Axe", VALUE = 7000},
{NAME = "Red Piece Of Cloth", VALUE = 17000},
{NAME = "Brown Piece Of Cloth", VALUE = 2000},
{NAME = "Ragnir Helmet", VALUE = 1500},
{NAME = "Halberd", VALUE = 400},
{NAME = "Mammoth Fur Cape", VALUE = 6000},
{NAME = "Mammoth Fur Shorts", VALUE = 800},
{NAME = "Shard", VALUE = 2000},
{NAME = "Crystal Sword", VALUE = 600},
{NAME = "Life ring", VALUE = 800},
{NAME = "Krimhorn Helmet", VALUE = 500},
{NAME = "Brutetamer's Staff", VALUE = 1500},
{NAME = "Fur Boots", VALUE = 2000},
}
MONITOR_MY_HUNTING.SHOW_ALL_SUPPLIES = false
MONITOR_MY_HUNTING.SUPPLIES_LIST = {
{NAME = "mana potion", PRICE = 50},
{NAME = "great health potion", PRICE = 190},
{NAME = "strong health potion", PRICE = 100},
{NAME = "great mana potion", PRICE = 120},
{NAME = "strong mana potion", PRICE = 80},
{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>
</Monitor-my-hunting>
</List>
<Show>If focused</Show>
<Enabled>no</Enabled>
</Hud>
<Input>
<Keyboard>
<Mode>Simulate</Mode>
<StuckCtrlShift>If cavebot on, release after 1 sec</StuckCtrlShift>
<TypingStyle>Keyboard keys</TypingStyle>
<PressWaitTime>45 to 65</PressWaitTime>
</Keyboard>
<Mouse>
<Mode>Simulate</Mode>
<Scroll>Use mouse wheel</Scroll>
<MoveSpeed>Instantaneous</MoveSpeed>
<ClickWaitTime>30 to 50</ClickWaitTime>
</Mouse>
<OpenMenuPolicy>Confirm if cavebotting</OpenMenuPolicy>
<Enabled>yes</Enabled>
</Input>
<By_3173654 />
</Settings>