- Dołączył
- Marzec 9, 2013
- Posty
- 170
- Liczba reakcji
- 2
[MS] Farmine - DLs
Kod:
- <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>
<HealRange>70 to 90 %</HealRange>
<ManaRange>1 to 100 %</ManaRange>
<HealMethod>Light Healing</HealMethod>
<ExtraCondition>No condition</ExtraCondition>
<CooldownControl>yes</CooldownControl>
<CheckItem>no</CheckItem>
<SpamRate>200 to 400</SpamRate>
<Enabled>yes</Enabled>
</Exura>
- <GMP>
<HealRange>0 to 100 %</HealRange>
<ManaRange>0 to 60 %</ManaRange>
<HealMethod>Great Mana Potion</HealMethod>
<ExtraCondition>No condition</ExtraCondition>
<CooldownControl>yes</CooldownControl>
<CheckItem>no</CheckItem>
<SpamRate>200 to 400</SpamRate>
<Enabled>yes</Enabled>
</GMP>
- <Anti-Paralyze-High-Hp>
<HealRange>0 to 100 %</HealRange>
<ManaRange>1 to 100 %</ManaRange>
<HealMethod>Light Healing</HealMethod>
<ExtraCondition>If paralyzed</ExtraCondition>
<CooldownControl>yes</CooldownControl>
<CheckItem>no</CheckItem>
<SpamRate>200 to 400</SpamRate>
<Enabled>yes</Enabled>
</Anti-Paralyze-High-Hp>
- <Exura-gran>
<HealRange>45 to 70 %</HealRange>
<ManaRange>1 to 100 %</ManaRange>
<HealMethod>Intense Healing</HealMethod>
<ExtraCondition>No condition</ExtraCondition>
<CooldownControl>yes</CooldownControl>
<CheckItem>no</CheckItem>
<SpamRate>200 to 400</SpamRate>
<Enabled>yes</Enabled>
</Exura-gran>
- <Exura-vita>
<HealRange>0 to 45 %</HealRange>
<ManaRange>1 to 100 %</ManaRange>
<HealMethod>Ultimate Healing</HealMethod>
<ExtraCondition>No condition</ExtraCondition>
<CooldownControl>yes</CooldownControl>
<CheckItem>no</CheckItem>
<SpamRate>200 to 400</SpamRate>
<Enabled>yes</Enabled>
</Exura-vita>
</Rules>
<PingCompensation>10</PingCompensation>
<Enabled>yes</Enabled>
</Healer>
- <FriendHealer>
<Rules />
<Enabled>no</Enabled>
</FriendHealer>
- <Refiller>
- <Rules>
- <prysmatic>
<HealRange>0 to 100 %</HealRange>
<ManaRange>0 to 100 %</ManaRange>
<ItemRefiller>16141</ItemRefiller>
<AmmoCount>0 to 50</AmmoCount>
<ExtraCondition>No condition</ExtraCondition>
<SpamRate>500 to 1000</SpamRate>
<Enabled>yes</Enabled>
</prysmatic>
- <power-bolt>
<HealRange>0 to 100 %</HealRange>
<ManaRange>0 to 100 %</ManaRange>
<ItemRefiller>3450</ItemRefiller>
<AmmoCount>0 to 50</AmmoCount>
<ExtraCondition>No condition</ExtraCondition>
<SpamRate>500 to 1000</SpamRate>
<Enabled>yes</Enabled>
</power-bolt>
- <life-ring>
<HealRange>0 to 100 %</HealRange>
<ManaRange>0 to 80 %</ManaRange>
<ItemRefiller>3052</ItemRefiller>
<AmmoCount>0 to 0</AmmoCount>
<ExtraCondition>If no ring</ExtraCondition>
<SpamRate>500 to 1000</SpamRate>
<Enabled>yes</Enabled>
</life-ring>
</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>
- <Safestrikes>
<Script>if pvpworld then setsettings("Settings\\Targeting\\Settings\\PlayerOnScreenSecurity", "Always") else setsettings("Settings\\Targeting\\Settings\\PlayerOnScreenSecurity", "Do nothing") end</Script>
<SpamRate>800 to 1000</SpamRate>
<Enabled>yes</Enabled>
</Safestrikes>
- <Safebanker>
<Script>-- NPC name local npcname = 'Murim' 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>
</Safebanker>
- <Usesoftbootschecker>
<Script>if usesoftboots then setsettings("Settings\\Actions\\List\\Softbootschanger\\Enabled", "yes") else setsettings("Settings\\Actions\\List\\Softbootschanger\\Enabled", "no") end</Script>
<SpamRate>800 to 1000</SpamRate>
<Enabled>yes</Enabled>
</Usesoftbootschecker>
- <Softbootschanger>
<Script>-- ID change boots changeboots = 'boots of haste' if mppc > 90 or pzone then if boots ~= changeboots then if itemcount(changeboots) > 0 then moveitems(changeboots,"all","boots",1) end end else if boots ~= 3549 then if itemcount("soft boots") > 0 then moveitems("soft boots","all","boots",1) end end end</Script>
<SpamRate>800 to 1000</SpamRate>
<Enabled>no</Enabled>
</Softbootschanger>
- <Usemountchecker>
<Script>if usemount then setsettings("Settings\\CaveBot\\Settings\\AutoMount", "yes") else setsettings("Settings\\CaveBot\\Settings\\AutoMount", "no") end</Script>
<SpamRate>800 to 1000</SpamRate>
<Enabled>yes</Enabled>
</Usemountchecker>
- <Drop-vials>
<Script>if (maround(7) < 1) and itemcount(284) > 10 then moveitems(283,"ground") moveitems(284,"ground") moveitems(285,"ground") end</Script>
<SpamRate>800 to 1000</SpamRate>
<Enabled>yes</Enabled>
</Drop-vials>
</List>
<Setup>-------- Script setup -------- usemount = true --true if you want to use mount (true/false) useshortcut = false --true if you want to use shortcut (true/false) pvpworld = false --for safety with strikes (true/false) usesoftboots = false --true if you want to use soft boots (true/false) refillsofts = false --true if you want to refill soft boots (true/false) -------- Backpack setup -------- mainbp = "Backpack" --your main backpack name lootbp = "Grey backpack" --your backpack for loot goldbp = "Blue backpack" --your backpack for gold coins maindpbp = "Yellow backpack" --backpack in depo lootdpbp = "purple backpack" --backpack for non-stackable loot stackdpbp = "beach backpack" --backpack for stackable loot -------- Supplies setup -------- mananame = "great mana potion" --name of your mana potion manaamount = 250 --amount of mana potion to buy manaprice = 120 --price of mana potion manaleave = 70 --amount of ammunition to leave resp capleave = 20 --cap to leave resp -------------------------------------------------------------------</Setup>
<Enabled>yes</Enabled>
</Actions>
- <CaveBot>
- <Waypoints>
<start_at_dp>Stand 33018 31461 10</start_at_dp>
<w001>Stand 33019 31459 10</w001>
<w002>Stand 33026 31448 11</w002>
<w003>Action 33026 31448 11 if not islocation() then gotolabel('start') end</w003>
<openbpsfordeposit>Action 33026 31448 11 wait(500, 1000);closewindows();setsettings("Settings\\CaveBot\\Settings\\OpenNextBp", "no");wait(500, 1000);openitem(mainbp, 'back') ;wait(500, 1000);resizewindows();wait(500, 1000);openitem(lootbp, mainbp, true);wait(500, 1000);resizewindows();wait(500, 1000)</openbpsfordeposit>
<depositerasdasd>Action 33026 31453 11 reachgrounditem("depot");wait(2000);openitem("depot");wait(2000);openitem("depot chest", "locker");wait(2000);openitem(maindpbp, "depot chest");wait(2000);;for i=1,6 do;wait(2000);depotdeposit(stackdpbp, "Small diamond", "Small Sapphire", "Red dragon scale", "Red dragon leather", "Dragon's tail", "Green mushroom");wait(500,1000);depotdeposit(lootdpbp, "Dragon lord trophy", "Dragon slayer", "Dragon scale mail", "Royal helmet", "Fire sword", "tower shield", "wand of inferno", "dragon shield", "dragon hammer", "Magma boots", "Dragonbone staff");wait(1000);openitem(lootbp, lootbp);end</depositerasdasd>
<w000>Stand 33020 31459 11</w000>
<w004>Stand 33019 31459 11</w004>
<w005>Stand 33013 31482 10</w005>
<bank_door>Stand 33013 31487 10</bank_door>
<w007>Action 33013 31487 10 if toptileitem(posx, posy+1, posz) == 6252 then; useitem(6252, posx, posy+1, posz);end</w007>
<w008>Stand 33013 31492 10</w008>
<w009>Action 33013 31492 10 if not islocation() then gotolabel('bank_door') end</w009>
<w006>Action 33013 31492 10 local mana = positive(manaamount - itemcount(mananame)) * manaprice;local sds = positive(25 - itemcount('sudden death rune')) * 108;local softs = positive(itemcount('worn soft boots')) * 10000;local Total = mana + sds + softs + 2000;;say("hi");wait(1500,2500);npcsay("deposit all");wait(200,300) ;npcsay("yes");wait(200,300) ;;if Total > 0 then ; npcsay("withdraw "..Total) ; wait(200,300) ; npcsay("yes") ; wait(200,300); npcsay("Balance"); wait(200,300);end;</w006>
<w010>Stand 33009 31492 10</w010>
<w011>Action 33009 31492 10 if toptileitem(posx-1, posy, posz) == 6249 then; useitem(6249, posx-1, posy, posz);end</w011>
<w012>Stand 33004 31513 10</w012>
<w013>Stand 33010 31538 10</w013>
<w014>Action 33010 31538 10</w014>
<mana_door>Stand 33010 31538 10</mana_door>
<w015>Action 33010 31538 10 if toptileitem(posx, posy-1, posz) == 7715 then; useitem(7715, posx, posy-1, posz);end</w015>
<w016>Stand 33010 31534 10</w016>
<w017>Action 33010 31534 10 if not islocation() then gotolabel('mana_door') end</w017>
<w018>Action 33010 31534 10 wait(1500,2000);opentrade();wait(600);sellflasks();buyitemsupto(mananame, manaamount);buyitemsupto('sudden death rune', 50)</w018>
<mana_door2>Stand 33010 31536 10</mana_door2>
<w019>Action 33010 31536 10 if toptileitem(posx, posy+1, posz) == 7715 then; useitem(7715, posx, posy+1, posz);end</w019>
<w020>Stand 33010 31538 10</w020>
<w021>Action 33010 31538 10 if not islocation() then gotolabel('mana_door2') end</w021>
<w022>Stand 33021 31539 10</w022>
<open_bps_forhunt>Action 33021 31539 10 closewindows() ;setsettings("Settings\\CaveBot\\Settings\\OpenNextBp", "yes");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()</open_bps_forhunt>
<w085>Action 33015 31533 10 if windowcount() < 3 then gotolabel('open_bps_forhunt') end</w085>
<door_to_lever>Stand 33060 31530 10</door_to_lever>
<w025>Use 33060 31529 10</w025>
<w027>Stand 33061 31527 10</w027>
<w028>Action 33061 31527 10 if not islocation() then gotolabel('door_to_lever') end</w028>
<pull_lever1>Use 33062 31527 10</pull_lever1>
<w029>Stand 32993 31547 4</w029>
<w030>Action 32993 31547 4 if not islocation() then gotolabel('pull_lever1') end</w030>
<w023>Action 32993 31547 4 if useshortcut then;gotolabel('door_to_carpet');else;gotolabel('stair_to_levitate1');end</w023>
<door_to_carpet>Stand 32990 31548 4</door_to_carpet>
<w026>Use 32990 31547 4</w026>
<lever_to_carpet>Stand 32991 31539 4</lever_to_carpet>
<w087>Use 32992 31539 4</w087>
<w088>Stand 32991 31539 1</w088>
<w086>Action 32991 31539 1 if not islocation() then gotolabel('lever_to_carpet') end</w086>
<w042>Action 32990 31539 1 if refillsofts and itemcount('worn soft boots') > 0 then;gotolabel('travel_to_darashia');else;gotolabel('take_shortcut');end</w042>
<travel_to_darashia>Stand 32986 31539 1</travel_to_darashia>
<w089>Action 32986 31539 1 reachcreature('Melian');wait(500,800);say('Hi');wait(500,800);npcsay('Darashia');wait(500,800);npcsay('Yes')</w089>
<w090>Stand 33269 32441 6</w090>
<w091>Action 33269 32441 6 if not islocation() then gotolabel('travel_to_darashia') end</w091>
<w092>Stand 33265 32441 6</w092>
<w093>Stand 33267 32467 7</w093>
<Ladder_to_darashiaboat>Stand 33293 32473 7</Ladder_to_darashiaboat>
<w094>Ladder 33293 32473 7</w094>
<travel_to_venore>Stand 33289 32479 6</travel_to_venore>
<w096>Action 33289 32479 6 if not islocation() then gotolabel('Ladder_to_darashiaboat') end</w096>
<w097>Action 33289 32479 6 reachcreature('Petros');wait(500,800);say('Hi');wait(500,800);npcsay('Venore');wait(500,800);npcsay('yes')</w097>
<w095>Stand 32954 32023 6</w095>
<w098>Action 32954 32023 6 if not islocation() then gotolabel('travel_to_venore') end</w098>
<w099>Stand 32954 32038 6</w099>
<w100>Stand 32954 32060 6</w100>
<w101>Stand 32954 32083 6</w101>
<w102>Stand 32949 32102 6</w102>
<softboots_npc>Stand 32952 32108 6</softboots_npc>
<w103>Action 32952 32108 6 if not islocation() then gotolabel('softboots_npc') end;</w103>
<w104>Action 32952 32108 6 say('hi');wait(500,800);while itemcount("worn soft boots") > 0 do;npcsay('repair');wait(500,800);npcsay('yes');wait(500,800);end</w104>
<w105>Stand 32949 32096 6</w105>
<w106>Stand 32954 32071 6</w106>
<w107>Stand 32955 32026 6</w107>
<travel_to_darashia2>Stand 32955 32024 6</travel_to_darashia2>
<w108>Action 32955 32026 6 reachcreature('Captain Fearless');wait(500,800);say('Hi');wait(500,800);npcsay('Darashia');wait(500,800);npcsay('Yes');wait(500,800);npcsay('Yes')</w108>
<w109>Action 33330 32172 5 if not islocation() then gotolabel('darashia_boat5') end</w109>
<ghost_boat>Stand 33330 32173 5</ghost_boat>
<w111>Stand 33328 32181 6</w111>
<w112>Ladder 33328 32181 6</w112>
<w113>Stand 33328 32182 5</w113>
<w114>Action 33328 32182 5 if not islocation() then gotolabel('ghost_boat') end</w114>
<darashia_boat5>Stand 33328 32184 5</darashia_boat5>
<w115>Stand 33290 32476 6</w115>
<w116>Action 33290 32476 6 if not islocation() then gotolabel('travel_to_darashia2') end;</w116>
<w117>Stand 33293 32473 6</w117>
<w118>Stand 33265 32457 7</w118>
<travel_to_farmine>Stand 33265 32441 7</travel_to_farmine>
<w120>Stand 33269 32440 6</w120>
<w121>Action 33269 32440 6 if not islocation() then gotolabel('travel_to_farmine') end;;</w121>
<w119>Action 33269 32440 6 reachcreature('Chemar');wait(500,800);say('Hi');wait(500,800);npcsay('Farmine');wait(500,800);npcsay('Yes');</w119>
<w122>Stand 32991 31542 1</w122>
<w123>Action 32991 31542 1 if not islocation() then gotolabel('travel_to_farmine') end</w123>
<take_shortcut>Stand 32991 31543 1</take_shortcut>
<w125>Stand 32999 31544 2</w125>
<w133>Stand 33004 31543 1</w133>
<w126>Stand 33004 31540 0</w126>
<w153>Stand 33198 31348 6</w153>
<w154>Action 33198 31349 7 gotolabel('to_spawnlol123')</w154>
<stair_to_levitate1>Stand 33004 31557 4</stair_to_levitate1>
<levitate_up_spot>Stand 33008 31555 5</levitate_up_spot>
<w032>Action 33008 31555 5 levitate('n', up)</w032>
<w033>Action 33008 31554 4 if not islocation() then gotolabel('levitate_up_spot') end</w033>
<w031>Stand 33013 31555 4</w031>
<levitate_down_spot>Stand 33026 31550 5</levitate_down_spot>
<w035>Action 33026 31550 5 levitate('e', down)</w035>
<w036>Action 33027 31550 6 if not islocation() then gotolabel('levitate_down_spot') end</w036>
<w034>Stand 33048 31553 6</w034>
<w037>Stand 33069 31544 6</w037>
<down_from_mountain>Stand 33081 31533 6</down_from_mountain>
<w024>Stand 33095 31523 7</w024>
<w038>Stand 33121 31489 7</w038>
<w039>Stand 33151 31468 7</w039>
<w040>Stand 33191 31432 7</w040>
<to_spawnlol123>Stand 33225 31363 7</to_spawnlol123>
<w044>Stand 33258 31364 7</w044>
<w045>Stand 33272 31325 7</w045>
<start_spawn>Stand 33267 31325 7</start_spawn>
<w041>Stand 33251 31317 6</w041>
<w046>Stand 33249 31316 6</w046>
<w047>Stand 33259 31325 5</w047>
<w048>Stand 33255 31331 5</w048>
<w049>Stand 33240 31317 5</w049>
<w050>Stand 33263 31344 5</w050>
<w056>Stand 33265 31327 5</w056>
<w053>Stand 33268 31329 5</w053>
<w054>Stand 33259 31324 5</w054>
<w055>Stand 33250 31316 5</w055>
<down_from_start>Stand 33249 31316 5</down_from_start>
<w057>Stand 33266 31325 6</w057>
<w058>Stand 33267 31325 6</w058>
<w062>Stand 33268 31325 7</w062>
<w063>Action 33268 31325 7 if not islocation(3) then gotolabel('down_from_start') end;</w063>
<w059>Action 33268 31325 7 if itemcount(mananame) > manaleave and cap > capleave then;gotolabel('next_spawn');else;gotolabel('deposit');end</w059>
<next_spawn>Stand 33281 31337 7</next_spawn>
<w138>Stand 33282 31350 7</w138>
<w139>Stand 33280 31350 7</w139>
<w140>Stand 33282 31358 6</w140>
<w141>Stand 33283 31358 6</w141>
<w142>Stand 33282 31363 5</w142>
<w143>Stand 33294 31359 5</w143>
<w144>Stand 33277 31346 5</w144>
<w137>Stand 33268 31361 5</w137>
<w145>Stand 33283 31357 5</w145>
<down_from_next>Stand 33283 31358 5</down_from_next>
<w147>Stand 33280 31350 6</w147>
<w148>Stand 33281 31338 7</w148>
<w061>Action 33281 31338 7 if not islocation(3) then gotolabel('down_from_next') end</w061>
<w149>Action 33281 31338 7 if itemcount(mananame) > manaleave and cap > capleave then;gotolabel('start_spawn');else;gotolabel('deposit');end;</w149>
<deposit>Stand 33273 31341 7</deposit>
<w150>Stand 33255 31370 7</w150>
<w151>Stand 33217 31402 7</w151>
<w152>Stand 33199 31449 7</w152>
<w155>Stand 33147 31470 7</w155>
<w156>Stand 33108 31486 7</w156>
<w157>Stand 33089 31523 7</w157>
<stair_to_town>Stand 33081 31532 7</stair_to_town>
<w067>Action 33080 31532 6 if not islocation() then gotolabel('stair_to_town') end</w067>
<w068>Stand 33063 31545 6</w068>
<levitate_up_spot2>Stand 33027 31548 6</levitate_up_spot2>
<w070>Action 33027 31548 6 turn('w');cast('exani hur up')</w070>
<w071>Action 33026 31548 5 if not islocation() then gotolabel('levitate_up_spot2') end</w071>
<w043>Stand 33018 31555 5</w043>
<w060>Stand 33013 31555 5</w060>
<levitate_down_spot2>Stand 33008 31554 4</levitate_down_spot2>
<w072>Action 33008 31554 4 levitate('s', down)</w072>
<w073>Action 33008 31555 5 if not islocation() then gotolabel('levitate_down_spot2') end</w073>
<lever_to_town>Stand 33004 31557 5</lever_to_town>
<w069>Stand 32993 31547 4</w069>
<w074>Action 32993 31547 4 if not islocation then gotolabel('lever_to_town') end</w074>
<pull_lever2>Use 32994 31547 4</pull_lever2>
<w075>Stand 33061 31527 10</w075>
<w076>Action 33061 31527 10 if not islocation() then gotolabel('pull_lever2') end</w076>
<w066>Stand 33061 31528 10</w066>
<w077>Use 33061 31529 10</w077>
<w078>Stand 33061 31530 10</w078>
<w079>Action 33061 31530 10 if not islocation() then gotolabel('door_from_lever') end</w079>
<w080>Stand 33030 31535 10</w080>
<w081>Stand 33003 31510 10</w081>
<w082>Stand 33005 31486 10</w082>
<w083>Stand 33016 31471 10</w083>
<w084>Action 33018 31461 10 gotolabel('start_at_dp')</w084>
</Waypoints>
- <Pathfinding>
- <SpecialAreas>
- <NewArea0>
<Coordinates>33220 31395 7</Coordinates>
<Dimensions>4 4</Dimensions>
<ConsideredBy>All</ConsideredBy>
</NewArea0>
</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>4</NodeRange>
<Priority>Target</Priority>
<OpenNextBp>yes</OpenNextBp>
<AutoMount>yes</AutoMount>
<Anti-idle>no</Anti-idle>
<EatFood>yes</EatFood>
<FoodToEat>3725;3587;3600;3595;3589;3598;8014;3583;3606;3578;3592;3582;3577;3593;3586;3585;3581;3723</FoodToEat>
<PauseOnDeath>yes</PauseOnDeath>
</Settings>
<Enabled>no</Enabled>
</CaveBot>
- <Looting>
- <List>
- <Dragon-lord-trophy>
<Id>7399</Id>
<Destination>01</Destination>
<AlarmOn>No Alarm</AlarmOn>
</Dragon-lord-trophy>
- <Dragon-slayer>
<Id>7402</Id>
<Destination>01</Destination>
<AlarmOn>No Alarm</AlarmOn>
</Dragon-slayer>
- <Dragon-scale-mail>
<Id>3386</Id>
<Destination>01</Destination>
<AlarmOn>No Alarm</AlarmOn>
</Dragon-scale-mail>
- <Royal-helmet>
<Id>3392</Id>
<Destination>01</Destination>
<AlarmOn>No Alarm</AlarmOn>
</Royal-helmet>
- <Tower-shield>
<Id>3428</Id>
<Destination>01</Destination>
<AlarmOn>No Alarm</AlarmOn>
</Tower-shield>
- <Fire-sword>
<Id>3280</Id>
<Destination>01</Destination>
<AlarmOn>No Alarm</AlarmOn>
</Fire-sword>
- <Red-dragon-leather>
<Id>5948</Id>
<Destination>01</Destination>
<AlarmOn>No Alarm</AlarmOn>
</Red-dragon-leather>
- <Red-dragon-scale>
<Id>5882</Id>
<Destination>01</Destination>
<AlarmOn>No Alarm</AlarmOn>
</Red-dragon-scale>
- <Small-sapphire>
<Id>3029</Id>
<Destination>01</Destination>
<AlarmOn>No Alarm</AlarmOn>
</Small-sapphire>
- <Magma-boots>
<Id>818</Id>
<Destination>01</Destination>
<AlarmOn>No Alarm</AlarmOn>
</Magma-boots>
- <Wand-of-inferno>
<Id>3071</Id>
<Destination>01</Destination>
<AlarmOn>No Alarm</AlarmOn>
</Wand-of-inferno>
- <Dragon-shield>
<Id>3416</Id>
<Destination>01</Destination>
<AlarmOn>No Alarm</AlarmOn>
</Dragon-shield>
- <Dragonbone-staff>
<Id>7430</Id>
<Destination>01</Destination>
<AlarmOn>No Alarm</AlarmOn>
</Dragonbone-staff>
- <Dragon-hammer>
<Id>3322</Id>
<Destination>01</Destination>
<AlarmOn>No Alarm</AlarmOn>
</Dragon-hammer>
- <Small-diamond>
<Id>3028</Id>
<Destination>01</Destination>
<AlarmOn>No Alarm</AlarmOn>
</Small-diamond>
- <Dragons-tail>
<Id>11457</Id>
<Destination>01</Destination>
<AlarmOn>No Alarm</AlarmOn>
</Dragons-tail>
- <Green-mushroom>
<Id>3732</Id>
<Destination>01</Destination>
<AlarmOn>No Alarm</AlarmOn>
</Green-mushroom>
- <Gold-coin>
<Id>3031</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</Gold-coin>
</List>
<Condition>Corpses with listed items</Condition>
<Style>After melee kill</Style>
<OpenBodyTime>300</OpenBodyTime>
<Range>60</Range>
<EatFood>yes</EatFood>
<Enabled>yes</Enabled>
</Looting>
- <Targeting>
- <Monsters>
- <Dragon>
<Categories>-</Categories>
<Danger>6</Danger>
- <ListSettings>
- <Setting0>
<Count>Any</Count>
<HpRange>0 to 100 %</HpRange>
<Stance>Approach</Stance>
<Avoid>Wave</Avoid>
<Distance>0</Distance>
<Attack>Attack</Attack>
- <ListSpell>
<Spell0>Ice Strike</Spell0>
</ListSpell>
<SpellRate>500 to 1000</SpellRate>
<AttackMode>Stand/Defensive</AttackMode>
</Setting0>
</ListSettings>
<Looting>yes</Looting>
<MustAttackMe>no</MustAttackMe>
<OnlyIfTrapped>no</OnlyIfTrapped>
</Dragon>
- <Dragon-Lord>
<Categories>-</Categories>
<Danger>8</Danger>
- <ListSettings>
- <Setting0>
<Count>Any</Count>
<HpRange>0 to 100 %</HpRange>
<Stance>Approach</Stance>
<Avoid>Wave</Avoid>
<Distance>0</Distance>
<Attack>Attack</Attack>
- <ListSpell>
<Spell1>Ice Strike</Spell1>
</ListSpell>
<SpellRate>500 to 1000</SpellRate>
<AttackMode>Stand/Defensive</AttackMode>
</Setting0>
- <Setting1>
<Count>3+</Count>
<HpRange>0 to 100 %</HpRange>
<Stance>Approach</Stance>
<Avoid>Wave</Avoid>
<Distance>0</Distance>
<Attack>Attack</Attack>
- <ListSpell>
<Spell0>Sudden Death Rune</Spell0>
</ListSpell>
<SpellRate>500 to 1000</SpellRate>
<AttackMode>Stand/Defensive</AttackMode>
</Setting1>
</ListSettings>
<Looting>yes</Looting>
<MustAttackMe>no</MustAttackMe>
<OnlyIfTrapped>no</OnlyIfTrapped>
</Dragon-Lord>
- <Dragon-Hatchling>
<Categories>-</Categories>
<Danger>3</Danger>
- <ListSettings>
- <Setting0>
<Count>Any</Count>
<HpRange>0 to 100 %</HpRange>
<Stance>Approach</Stance>
<Avoid>None</Avoid>
<Distance>0</Distance>
<Attack>Attack</Attack>
- <ListSpell>
<Spell0>Ice Strike</Spell0>
</ListSpell>
<SpellRate>500 to 1000</SpellRate>
<AttackMode>No Change</AttackMode>
</Setting0>
</ListSettings>
<Looting>yes</Looting>
<MustAttackMe>no</MustAttackMe>
<OnlyIfTrapped>no</OnlyIfTrapped>
</Dragon-Hatchling>
- <Dragon-lord-hatchling>
<Categories>-</Categories>
<Danger>4</Danger>
- <ListSettings>
- <Setting0>
<Count>Any</Count>
<HpRange>0 to 100 %</HpRange>
<Stance>Approach</Stance>
<Avoid>None</Avoid>
<Distance>0</Distance>
<Attack>Attack</Attack>
- <ListSpell>
<Spell0>Ice Strike</Spell0>
</ListSpell>
<SpellRate>500 to 1000</SpellRate>
<AttackMode>No Change</AttackMode>
</Setting0>
</ListSettings>
<Looting>yes</Looting>
<MustAttackMe>no</MustAttackMe>
<OnlyIfTrapped>no</OnlyIfTrapped>
</Dragon-lord-hatchling>
- <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>1</ListOrder>
<Health>9</Health>
<Proximity>7</Proximity>
<Danger>8</Danger>
<PlayerOnScreenSecurity>Do nothing</PlayerOnScreenSecurity>
<CooldownControl>yes</CooldownControl>
<CheckItem>no</CheckItem>
<MustBeReachable>yes</MustBeReachable>
<MustBeShootable>no</MustBeShootable>
</Settings>
<Enabled>yes</Enabled>
</Targeting>
- <Hud>
- <List>
- <Monitor-my-hunt>
<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.2 -- Created: 7.09.2012 -- Last update: 18.09.2012 -- MONITOR_MY_HUNTING = MONITOR_MY_HUNTING or { SCRIPT_NAME = "[MS] Dragonblaze DLs", SCRIPT_VERSION = "1.3", CLEARED_STATS = false, INITIALIZED = false, } MONITOR_MY_HUNTING.SHOW_ALL_ITEMS = false MONITOR_MY_HUNTING.ITEMS_LIST = { {NAME = "gold coin", VALUE = 1}, {NAME = "Tower Shield", VALUE = 8000}, {NAME = "Small Diamond", VALUE = 250}, {NAME = "Wand of inferno", VALUE = 3000}, {NAME = "Dragon lord trophy", VALUE = 10000}, {NAME = "Dragon slayer", VALUE = 15000}, {NAME = "Dragon scale mail", VALUE = 40000}, {NAME = "Royal helmet", VALUE = 30000}, {NAME = "Fire sword", VALUE = 4000}, {NAME = "Small sapphire", VALUE = 250}, {NAME = "Red dragon scale", VALUE = 200}, {NAME = "Red dragon leather", VALUE = 200}, {NAME = "Magma boots", VALUE = 2500}, {NAME = "Dragonbone staff", VALUE = 3000}, {NAME = "Dragon shield", VALUE = 4000}, {NAME = "Dragon Hammer", VALUE = 2000}, {NAME = "Dragon's tail", VALUE = 100}, {NAME = "Green mushroom", VALUE = 100}, } MONITOR_MY_HUNTING.SHOW_ALL_SUPPLIES = false MONITOR_MY_HUNTING.SUPPLIES_LIST = { {NAME = "great mana potion", PRICE = 80}, {NAME = "Sudden death rune", PRICE = 108}, {NAME = "drill bolt", PRICE = 12}, {NAME = "power bolt bolt", PRICE = 7}, {NAME = "Crystalline Arrow", PRICE = 20}, {NAME = "Onyx Arrow", PRICE = 7}, } -- [[ DO NOT CHANGE ANYTHING BELOW THIS LINE. ]] -- MONITOR_MY_HUNTING.TEMP_ITEMS_LIST = MONITOR_MY_HUNTING.TEMP_ITEMS_LIST or {} MONITOR_MY_HUNTING.TEMP_SUPPLIES_LIST = MONITOR_MY_HUNTING.TEMP_SUPPLIES_LIST or {} MONITOR_MY_HUNTING.COLORS = MONITOR_MY_HUNTING.COLORS or { BLACK = rgbcolor(1, 1, 1), ORANGE = rgbcolor(255, 165, 0), BLUE = rgbcolor(30, 144, 255), CORNSILK = rgbcolor(205, 200, 177), WHITE = rgbcolor(255, 255, 255), GREEN = rgbcolor(107, 142, 35), RED = rgbcolor(178, 34, 34), } local function CreateMessageObject(MESSAGE_DATA) if (type(MESSAGE_DATA) ~= "userdata") then return setmetatable({__data = {TYPE = -1, TIME_STAMP = -1, SENDER_NAME = "", SENDER_LEVEL = -1, CONTENT = ""}}, MessageMetaTable) else return setmetatable({__data = {TYPE = MESSAGE_DATA.type, TIME_STAMP = Misc.ConvertToSeconds(string.sub(MESSAGE_DATA.text, 1, 5)), SENDER_NAME = MESSAGE_DATA.sender, SENDER_LEVEL = tonumber((tostring(string.match(MESSAGE_DATA.text, ".+ (%b[]): .+")):gsub("[^%d]", ""))) or 0, CONTENT = string.sub(MESSAGE_DATA.text, 7)}}, MessageMetaTable) end end local function addtextshadow(DISPLAY_TEXT, X_OFFSET, Y_OFFSET, FONT_COLOR) setfontcolor(MONITOR_MY_HUNTING.COLORS.BLACK) addtext(DISPLAY_TEXT, X_OFFSET + 1, Y_OFFSET + 1) setfontcolor(FONT_COLOR) addtext(DISPLAY_TEXT, X_OFFSET, Y_OFFSET) end -- [[ INIT END ]] -- if (not Stats.Update()) then local SERVER_LOG_MESSAGES = getnewmessages("Server Log") local SERVER_LOG_MESSAGES_COUNT = SERVER_LOG_MESSAGES.count - 1 for INDEX = 0, SERVER_LOG_MESSAGES_COUNT do local MESSAGE_OBJECT = CreateMessageObject(SERVER_LOG_MESSAGES[SERVER_LOG_MESSAGES_COUNT - INDEX]) if (MESSAGE_OBJECT:Type() == 19 and MESSAGE_OBJECT:Content():lower():match("^loot of")) then local LOOT_INFO = Message.ParseLootMessage(MESSAGE_OBJECT, true) if (#LOOT_INFO.NAME > 0) then Stats.__data.MONSTERS_KILLED[LOOT_INFO.NAME] = (Stats.__data.MONSTERS_KILLED[LOOT_INFO.NAME] or 0) + 1 for _, LOOT_ITEM in ipairs(LOOT_INFO.ITEMS) do if (Stats.__data.ITEMS_LOOTED[LOOT_ITEM.ID]) then Stats.__data.ITEMS_LOOTED[LOOT_ITEM.ID].QUANTITY = Stats.__data.ITEMS_LOOTED[LOOT_ITEM.ID].QUANTITY + LOOT_ITEM.QUANTITY else Stats.__data.ITEMS_LOOTED[LOOT_ITEM.ID] = {ID = LOOT_ITEM.ID, NAME = LOOT_ITEM.NAME, QUANTITY = LOOT_ITEM.QUANTITY, VALUE = Item.GetValue(LOOT_ITEM.ID)} end end end end end end local RESET_ITEMS_AND_SUPPLIES = #MONITOR_MY_HUNTING.ITEMS_LIST ~= MONITOR_MY_HUNTING.TEMP_ITEMS_LIST or #MONITOR_MY_HUNTING.SUPPLIES_LIST ~= MONITOR_MY_HUNTING.TEMP_SUPPLIES_LIST if (not RESET_ITEMS_AND_SUPPLIES) then for INDEX, LOOT_ITEM in ipairs(MONITOR_MY_HUNTING.ITEMS_LIST) do if (LOOT_ITEM.NAME ~= MONITOR_MY_HUNTING.TEMP_ITEMS_LIST[INDEX].NAME or LOOT_ITEM.VALUE ~= MONITOR_MY_HUNTING.TEMP_ITEMS_LIST[INDEX].VALUE) then RESET_ITEMS_AND_SUPPLIES = true break end end end if (not RESET_ITEMS_AND_SUPPLIES) then for INDEX, SUPPLY_ITEM in ipairs(MONITOR_MY_HUNTING.SUPPLIES_LIST) do if (SUPPLY_ITEM.NAME ~= MONITOR_MY_HUNTING.TEMP_SUPPLIES_LIST[INDEX].NAME or SUPPLY_ITEM.PRICE ~= MONITOR_MY_HUNTING.TEMP_SUPPLIES_LIST[INDEX].PRICE) then RESET_ITEMS_AND_SUPPLIES = true break end end end if (not MONITOR_MY_HUNTING.INITIALIZED or RESET_ITEMS_AND_SUPPLIES) then if (not MONITOR_MY_HUNTING.CLEARED_STATS) then Stats.Clear(CLEAR_STATS_ALL) Stats.Update() MONITOR_MY_HUNTING.CLEARED_STATS = true end MONITOR_MY_HUNTING.TEMP_ITEMS_LIST, MONITOR_MY_HUNTING.TEMP_SUPPLIES_LIST = {}, {} for _, LOOT_ITEM in ipairs(MONITOR_MY_HUNTING.ITEMS_LIST) do local LOOT_ITEM_ID = Item.GetID(type(LOOT_ITEM.NAME) ~= "table" and LOOT_ITEM.NAME or unpack(LOOT_ITEM.NAME)) Stats.AddItemsLooted(LOOT_ITEM_ID, 0, LOOT_ITEM.VALUE) table.insert(MONITOR_MY_HUNTING.TEMP_ITEMS_LIST, {ID = LOOT_ITEM_ID, NAME = LOOT_ITEM.NAME, VALUE = LOOT_ITEM.VALUE}) end for _, SUPPLY_ITEM in ipairs(MONITOR_MY_HUNTING.SUPPLIES_LIST) do local SUPPLY_ITEM_ID = Item.GetID(type(SUPPLY_ITEM.NAME) ~= "table" and SUPPLY_ITEM.NAME or unpack(SUPPLY_ITEM.NAME)) Stats.AddSuppliesUsed(SUPPLY_ITEM_ID, 0, SUPPLY_ITEM.PRICE) table.insert(MONITOR_MY_HUNTING.TEMP_SUPPLIES_LIST, {ID = SUPPLY_ITEM_ID, NAME = SUPPLY_ITEM.NAME, PRICE = SUPPLY_ITEM.PRICE}) end MONITOR_MY_HUNTING.INITIALIZED = true end setposition(Client.ClientWindow().left + 5, 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-hunt>
- <General-info>
<Script>local x = worldwin.right+10 local x2 = worldwin.right+15 local y = worldwin.top local y2 = worldwin.top+58 setfontcolor("darkorange") setfontstyle("Alba Matter", 14, "orange") addtext("Character status", x, y+30) addtext("Botting status", x, y+190) ------Character status--------- setfontcolor("red") setfontstyle("Candara", 9, "red") addtext("Name: " .. name, x2, y2+2) addtext("Level: " .. level, x2, y2+14) addtext("Magic level: " .. mlevel .. "(" .. 100-mlevelpc .. "%)", x2, y2+26) addtext("Health: " .. hp .. "/" .. maxhp, x2, y2+38) addtext("Mana: " .. mp .. "/" .. maxmp, x2, y2+50) addtext("Club: " .. club .. "(" .. 100-clubpc .. "%)", x2, y2+72) addtext("Sword: " .. sword .. "(" .. 100-swordpc .. "%)", x2, y2+84) addtext("Axe: " .. axe .. "(" .. 100-axepc .. "%)", x2, y2+96) addtext("Dist: " .. distance .. "(" .. 100-distancepc .. "%)", x2, y2+108) addtext("Shield: " .. shielding .. "(" .. 100-shieldingpc .. "%)", x2, y2+120) ------Botting status---------- addtext("Time played: " .. timehunt, x2, y2+160) addtext("Time to level: " .. timetolevel, x2, y2+172) addtext("Exp to lvl: " .. exptolevel(), x2, y2+184) addtext("Exp/h: " .. exphour, x2, y2+196) addtext("Exp gained: " .. expgained, x2, y2+208) addtext("Balance: " .. balance, x2, y2+232) addtext("Caveboting: ", x2, y2+254) addtext("Targeting: ", x2, y2+266) addtext("Looting: ", x2, y2+278) if cavebot then setfontcolor("limegreen") addtext("ON", x2+65, y2+254) else setfontcolor("darkgray") addtext("OFF", x2+65, y2+254) end if targeting then setfontcolor("limegreen") addtext("ON", x2+53, y2+266) else setfontcolor("darkgray") addtext("OFF", x2+53, y2+266) end if looting then setfontcolor("limegreen") addtext("ON", x2+45, y2+278) else setfontcolor("darkgray") addtext("OFF", x2+45, y2+278) end</Script>
<RefreshRate>1000</RefreshRate>
<Enabled>yes</Enabled>
</General-info>
- <Recent-PM>
<Script>-- max lines to display at once local maxindex = 8 -- spacing between lines local spacing = 10 local index = 0 local msgs = getmessages("Local Chat") local qtd = msgs.count-1 for i=0,qtd do if msgs[qtd-i].type == 6 then setfontcolor("cyan") addtext(msgs[qtd-i].text, worldwin.left+10,worldwin.top+30+(index*spacing)) index=index+1 if index == maxindex then break end end end</Script>
<RefreshRate>1000</RefreshRate>
<Enabled>yes</Enabled>
</Recent-PM>
- <Recent-loot>
<Script>-- you can add more items here local warnitems = {'dragon lord trophy', 'dragon slayer', 'dragon scale mail', 'royal helmet', 'tower shield', 'fire sword', 'magma boots', 'wand of inferno', 'dragon shield', 'dragonbone staff', 'dragon hammer'} -- max lines to display at once local maxindex = 8 -- spacing between lines local spacing = 15 local index = 0 local msgs = getmessages("Server Log") local qtd = msgs.count-1 for i=0,qtd do if msgs[qtd-i].type == 19 and msgs[qtd-i].text:find('Loot of ') then local colorm = false local l = 0 for l=1, table.getn(warnitems) do if msgs[qtd-i].text:find(warnitems[l]) then colorm = true break end end if colorm then setfontcolor('red') else setfontcolor('white') end addtext(msgs[qtd-i].text, worldwin.left+5,worldwin.bottom-(maxindex*spacing)+20+(index*spacing)) index=index+1 if index == maxindex then break end end end</Script>
<RefreshRate>1000</RefreshRate>
<Enabled>yes</Enabled>
</Recent-loot>
</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>