Faklop
Towarzysz Stalin
- Dołączył
- Marzec 9, 2013
- Posty
- 170
- Liczba reakcji
- 2
[RP] Cemetary Yalahar ST Scripts
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>
</Player>
<Creature />
<Item />
- <Message>
- <PrivateMessage>
<PlaySound>no</PlaySound>
<FlashClient>yes</FlashClient>
<PauseBot>no</PauseBot>
<Disconnect>no</Disconnect>
<SafeList>null</SafeList>
</PrivateMessage>
- <Advanced>
<PlaySound>no</PlaySound>
<FlashClient>no</FlashClient>
<PauseBot>no</PauseBot>
<Disconnect>no</Disconnect>
<Screenshot>yes</Screenshot>
</Advanced>
- <Raid>
<PlaySound>no</PlaySound>
<FlashClient>no</FlashClient>
<PauseBot>no</PauseBot>
<Disconnect>no</Disconnect>
<Warnings>All</Warnings>
</Raid>
</Message>
- <Capacity>
<Value>100</Value>
<PlaySound>no</PlaySound>
<FlashClient>no</FlashClient>
<PauseBot>no</PauseBot>
<Disconnect>no</Disconnect>
</Capacity>
- <StandTime>
<Value>30000</Value>
<PlaySound>no</PlaySound>
<FlashClient>no</FlashClient>
<PauseBot>no</PauseBot>
<Disconnect>no</Disconnect>
</StandTime>
- <Disconnect>
<PlaySound>no</PlaySound>
<FlashClient>no</FlashClient>
<PauseBot>no</PauseBot>
</Disconnect>
<Enabled>yes</Enabled>
</Alerts>
- <Healer>
- <Rules>
- <exura-ico>
<HealRange>46 to 90 %</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>
- <mana-potion>
<HealRange>0 to 100 %</HealRange>
<ManaRange>0 to 50 %</ManaRange>
<HealMethod>Mana Potion</HealMethod>
<ExtraCondition>No condition</ExtraCondition>
<CooldownControl>yes</CooldownControl>
<CheckItem>yes</CheckItem>
<SpamRate>200 to 400</SpamRate>
<Enabled>yes</Enabled>
</mana-potion>
- <utura-gran>
<HealRange>80 to 90 %</HealRange>
<ManaRange>200 to all</ManaRange>
<HealMethod>Intense Recovery</HealMethod>
<ExtraCondition>No condition</ExtraCondition>
<CooldownControl>yes</CooldownControl>
<CheckItem>no</CheckItem>
<SpamRate>200 to 400</SpamRate>
<Enabled>yes</Enabled>
</utura-gran>
- <HP>
<HealRange>0 to 45 %</HealRange>
<ManaRange>0 to all %</ManaRange>
<HealMethod>Health Potion</HealMethod>
<ExtraCondition>No condition</ExtraCondition>
<CooldownControl>yes</CooldownControl>
<CheckItem>yes</CheckItem>
<SpamRate>200 to 400</SpamRate>
<Enabled>yes</Enabled>
</HP>
- <Paralyze-exura-ico>
<HealRange>46 to 100 %</HealRange>
<ManaRange>40 to all</ManaRange>
<HealMethod>Wound Cleansing</HealMethod>
<ExtraCondition>If paralyzed</ExtraCondition>
<CooldownControl>yes</CooldownControl>
<CheckItem>no</CheckItem>
<SpamRate>200 to 400</SpamRate>
<Enabled>yes</Enabled>
</Paralyze-exura-ico>
</Rules>
<PingCompensation>10</PingCompensation>
<Enabled>yes</Enabled>
</Healer>
- <FriendHealer>
<Rules />
<Enabled>yes</Enabled>
</FriendHealer>
- <Refiller>
- <Rules>
- <Dwarven-ring>
<HealRange>0 to 100 %</HealRange>
<ManaRange>0 to 100 %</ManaRange>
<ItemRefiller>3097</ItemRefiller>
<AmmoCount>0 to 0</AmmoCount>
<ExtraCondition>If drunken</ExtraCondition>
<SpamRate>500 to 1000</SpamRate>
<Enabled>yes</Enabled>
</Dwarven-ring>
</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>
- <POSZ>
<Script>wait(500) npcsay('posx'..posx) wait(500) npcsay('posy'..posy) wait(500) npcsay('posz'..posz)</Script>
<MainKey>68</MainKey>
<ComboKey>Control</ComboKey>
<Enabled>no</Enabled>
</POSZ>
- <fsda>
<Script>setsettings("Settings\\Cavebot\\Settings\\OpenNextBp","no") while windowcount() < 4 do closewindows() wait(800,1800) openitem(MainBP, "back", true) wait(800,1800) resizewindows() wait(800,1800) openitem(GoldBP, MainBP, true) wait(800,1800) resizewindows() wait(800,1800) openitem(LootBP, MainBP, true) wait(800,1800) resizewindows() wait(800,1800) openitem(SuppBP, MainBP, true) wait(800,1800) resizewindows() end setsettings("Settings\\Cavebot\\Settings\\OpenNextBp","yes") setlooting('on') settargeting('on') wait(500) setsettings("Settings\\Actions\\List\\Softboots\\Enabled", "yes") wait(500) resizewindows()</Script>
<MainKey>71</MainKey>
<ComboKey>None</ComboKey>
<Enabled>no</Enabled>
</fsda>
</List>
<Condition>Client focus required</Condition>
<Enabled>yes</Enabled>
</HotKeys>
- <Actions>
- <List>
- <Drop-Flask>
<Script>local currentflask = itemcount(285) + itemcount(284) + itemcount(283) if (maround(2) == 0) and (lootbodies == false) and (cap < 100) and (currentflask > 50) then pausewalking(1000) moveitems(283,SuppBP,'ground',50) pausewalking(1000) moveitems(284,SuppBP,'ground',50) pausewalking(1000) moveitems(285,SuppBP,'ground',50) wait(5000) end</Script>
<SpamRate>800 to 1000</SpamRate>
<Enabled>yes</Enabled>
</Drop-Flask>
- <FurnitureBreak>
<Script>while (standtime > 60000)do antifurnituretrap() wait(5000) end</Script>
<SpamRate>800 to 1000</SpamRate>
<Enabled>yes</Enabled>
</FurnitureBreak>
- <Mount>
<Script>if Mount == true then setsettings("Settings\\CaveBot\\Settings\\AutoMount", "yes") else setsettings("Settings\\CaveBot\\Settings\\AutoMount", "no") end</Script>
<SpamRate>800 to 1000</SpamRate>
<Enabled>yes</Enabled>
</Mount>
- <SafeBank>
<Script>local npcname = 'Znozel' 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>
- <Softboots>
<Script>if (mppc <90 and itemcount('soft boots')>0 and pzone == false) then if boots ~= 6529 then setlooting('off') moveitems('soft boots', 'all', 'boots', 1) wait(200, 500) setlooting('on') end elseif (mppc >98 or pzone == true) then if boots ~= 3079 then setlooting('off') moveitems('boots of haste', 'all', 'boots', 1) wait(200, 500) setlooting('on') end end if boots== 6530 then setlooting('off') moveitems('boots of haste', 'all', 'boots', 1) wait(200, 500) setlooting('on') end</Script>
<SpamRate>800 to 1000</SpamRate>
<Enabled>no</Enabled>
</Softboots>
- <Others>
<Script>setsettings("Settings\\Actions\\List\\Softboots\\Enabled", "no")</Script>
<SpamRate>800 to 1000</SpamRate>
<Enabled>no</Enabled>
</Others>
- <MovePots>
<Script>if itemcount(Mp_Name, MainBP) >0 then moveitems(Mp_Name, MainBP, SuppBP, 100) wait(400, 800) end if itemcount(Hp_Name,MainBP)>0 then moveitems(Hp_Name, MainBP, SuppBP, 100) wait(400, 800) end</Script>
<SpamRate>800 to 1000</SpamRate>
<Enabled>yes</Enabled>
</MovePots>
- <CheckPk>
<Script>if WorldPvp == true then if pvpsigned == true and AlertWhenPkAttack == true then playsound("alert.wav") end end</Script>
<SpamRate>800 to 1000</SpamRate>
<Enabled>yes</Enabled>
</CheckPk>
- <drunk>
<Script>if ring ~= 3097 then if drunk then setlooting('off') moveitems('dwarven ring', 'all', 'ring', 1) wait(200, 500) setlooting('on') end end</Script>
<SpamRate>800 to 1000</SpamRate>
<Enabled>yes</Enabled>
</drunk>
- <SS-death>
<Script>local printscreen = true if hppc ==0 then if (printscreen == true) then screenshot(name.." "..string.gsub(date(), "/", "_").." "..string.gsub(time(), ":", ".")) npcsay('pff') end printscreen = false else printscreen = true end</Script>
<SpamRate>800 to 1000</SpamRate>
<Enabled>yes</Enabled>
</SS-death>
</List>
<Setup>WorldPvp= false Mount = false -- true or false to use mount-- SoftRefill = true -- true or false to refill soft AlertWhenPkAttack = true --SETUP BP MainBP = "Pirate Backpack" SuppBP = "Dragon Backpack" GoldBP = "Brocade Backpack" LootBP= "Beach Backpack" --SETUP BP IN DP MainBPDP = "Red Backpack" LootBPDP = "Blue Backpack" OtherBPDP = "Yellow Backpack" -- SETUP POTIONS Mp_Buy ="130" Hp_Buy ="10" Mp_Name ="mana potion" Hp_Name = "health potion" MpPrice = 50 HpPrice = 50 --Setup REFIL MpToBack= 120 HpToBack=5 CapToBack=50</Setup>
<Library>Standard</Library>
<Enabled>yes</Enabled>
</Actions>
- <CaveBot>
- <Waypoints>
<Start>Stand 32788 31247 7</Start>
<OpenBp>Action 32788 31247 7 if islocation(10) then;closewindows();setsettings("Settings\\Cavebot\\Settings\\OpenNextBp","no");;;;while windowcount() < 2 do;closewindows();wait(1000,2000);openitem(MainBP, "back", true);wait(1000,2000);resizewindows();wait(1000,2000);openitem(LootBP, MainBP, true);wait(1000,2000);end;end</OpenBp>
<Deposit>Action 32788 31247 7 if islocation(5) then;reachgrounditem("depot");while (windowcount("Locker") ==0) do ; openitem("depot"); wait(700,900);end;;while (windowcount("Depot Chest") == 0) do; openitem(3502, "locker"); wait(800,1000);end;; openitem(MainBPDP, "Depot Chest", false); wait(800,1000);bombs=1;while bombs<5 do;bombs=bombs+1;wait(500,1000);;depotdeposit(LootBPDP,"Life Ring","Two Handed Sword","Guardian Shield","Mysterious Fetish","Mind Stone","pile of grave earth");;wait(500,1000);depotdeposit(OtherBPDP,"Rotten Piece of Cloth","Ghoul Snack","Brown Piece of Cloth","Half-Digested Piece of Meat","Small Diamond","Pelvis Bone","Black Pearl","Demonic Skeletal Hand");;wait(500,1000);end;else;gotolabel('Start');;;;end</Deposit>
<CheckDpUp>Action 32786 31247 6 if islocation(10) then;gotolabel('GoDownDp');end</CheckDpUp>
<GoDownDp>Stand 32786 31248 6</GoDownDp>
<w001>Stand 32803 31253 7</w001>
<w002>Stand 32819 31254 7</w002>
<w003>Stand 32825 31248 7</w003>
<CheckBankUp>Action 32825 31246 6 if islocation(5) then;gotolabel('GoDownBank');;end</CheckBankUp>
<GoDownBank>Stand 32825 31247 6</GoDownBank>
<Bankgo>Stand 32826 31254 7</Bankgo>
<Bankgo1>Stand 32827 31249 7</Bankgo1>
<BeforeBank>Stand 32824 31248 7</BeforeBank>
<Bank>Action 32824 31248 7 if not islocation(1) then;gotolabel('BeforeBank');else;closewindows();wait(1000,2000);openitem(MainBP, "back", true);wait(1000,2000);resizewindows();openitem(SuppBP, MainBP, true);wait(1000,2000);resizewindows();if windowcount() == 2 then;local Soft = itemcount(6530) * 10000;local ManaMoney = positive(Mp_Buy - itemcount(Mp_Name)) * MpPrice ;local HealthMoney = positive(Hp_Buy- itemcount(Hp_Name)) * HpPrice;local Others = 700;local Total = ManaMoney + HealthMoney + Soft + Others;;say("hi");wait(1500,2000);npcsay("deposit all");wait(1000,2000);npcsay("yes");wait(1000,2000);;if Total > 0 then; npcsay("withdraw "..Total);wait(1000,2000); npcsay("yes");wait(1000,2000); npcsay("balance");end;end;end</Bank>
<w000>Node 32831 31248 7</w000>
<w004>Node 32818 31234 7</w004>
<w005>Node 32799 31234 7</w005>
<BeforePotTower>Stand 32790 31237 7</BeforePotTower>
<ReOpenBpsShop>Action 32790 31233 7 ;if not islocation(5) then;gotolabel('BeforePotTower');else;setsettings("Settings\\Cavebot\\Settings\\OpenNextBp","no");;while windowcount() < 2 do;closewindows();wait(800,1800);openitem(MainBP, "back", true);wait(800,1800);resizewindows();;resizewindows();wait(800,1800);openitem(SuppBP, MainBP, true);wait(800,1800);;resizewindows();;end;setsettings("Settings\\Cavebot\\Settings\\OpenNextBp","yes");resizewindows();end</ReOpenBpsShop>
<w006>Stand 32790 31239 7</w006>
<w007>Stand 32789 31239 6</w007>
<Pot>Stand 32789 31238 5</Pot>
<BuyPot>Action 32789 31238 5 if islocation(1) then;setsettings('Settings\\Cavebot\\Settings\\OpenNextBp', 'no');opentrade() ;wait(500,1000);sellflasks();wait(500,1000) ;buyitemsupto(Mp_Name, Mp_Buy) ;wait(500,1000);buyitemsupto(Hp_Name, Hp_Buy);npcsay('Bye') ;wait(500,1000);;moveitems(Hp_Name,Mainbpname,AmmoBp,100);wait(1000);moveitems(Mp_Name,Mainbpname,AmmoBp,100);wait(1000);moveitems(Mp_Name,Mainbpname,AmmoBp,100);wait(1000);moveitems(Mp_Name,Mainbpname,AmmoBp,100);wait(1000);moveitems(Mp_Name,Mainbpname,AmmoBp,100);wait(1000);moveitems(Mp_Name,Mainbpname,AmmoBp,100);wait(1000);;setsettings('Settings\\Cavebot\\Settings\\OpenNextBp', 'yes');gotolabel('AfterPot');elseif not islocation(1) and posz == 5 then;gotolabel('Pot');elseif not islocation(1) and posz >5 then;gotolabel('BeforePotTower');elseif not islocation(1) and posz < 5 then;gotolabel('BugUpPot');;;end</BuyPot>
<BugUpPot>Stand 32790 31239 4</BugUpPot>
<w008>Stand 32789 31239 5</w008>
<w009>Stand 32790 31239 6</w009>
<w010>Stand 32790 31237 7</w010>
<CheckPot>Action 32790 31237 7 if islocation(5) then;if itemcount(Hp_Name) >=Hp_Buy and itemcount(Mp_Name) >= Mp_Buy then;gotolabel('CheckSoft');else;gotolabel('BeforePotTower');;end;else;gotolabel('BeforePotTower');;end</CheckPot>
<CheckSoft>Action 32791 31233 7 if SoftRefill ==true and (itemcount(6530) >0 or boots == 6530) then;if money >10500 then;gotolabel('SoftRefill');else;gotolabel('BeforeBank');end;else;gotolabel('GoingResp');end</CheckSoft>
<SoftRefill>Stand 32801 31244 7</SoftRefill>
<w011>Stand 32801 31254 7</w011>
<w012>Stand 32801 31255 7</w012>
<CheckWay>Action 32806 31259 6 if not islocation(10) then;gotolabel('SoftRefill');;end</CheckWay>
<w013>Stand 32811 31267 6</w013>
<w014>Stand 32817 31277 6</w014>
<w015>Stand 32815 31277 6</w015>
<CheckLadder>Action 32815 31277 6 if not islocation(1) then;gotolabel('w015');end</CheckLadder>
<w016>Ladder 32815 31277 6</w016>
<w017>Stand 32817 31278 5</w017>
<ShipKarith>Action 32817 31278 5 if not islocation(7) then;gotolabel('w015');else;reachcreature('Karith');wait(500);say('hi');wait(500);reachcreature('Karith');wait(1000);npcsay('venore');wait(1000);npcsay('yes');;end</ShipKarith>
<w018>Stand 32954 32023 6</w018>
<CheckVenore>Action 32954 32023 6 if not islocation(10) then;gotolabel('ShipKarith');;end</CheckVenore>
<w019>Node 32954 32034 6</w019>
<w020>Node 32954 32048 6</w020>
<w021>Node 32954 32062 6</w021>
<w022>Node 32954 32072 6</w022>
<w023>Node 32955 32080 6</w023>
<w024>Node 32949 32100 6</w024>
<w025>Node 32950 32107 6</w025>
<w026>Stand 32953 32108 6</w026>
<CheckAldo>Action 32953 32108 6 if not islocation(1) then;gotolabel('w026');else;say('hi');wait(500);;while (itemcount(6530) >0) or (boots == 6530) do;wait(500);npcsay('soft boots');wait(500);npcsay('yes');end;;if worn_soft >0 and money > 10200 then;;gotolabel('w026');end;;;;;end</CheckAldo>
<w027>Node 32949 32100 6</w027>
<w028>Node 32954 32094 6</w028>
<w029>Node 32954 32082 6</w029>
<w030>Node 32954 32063 6</w030>
<w031>Node 32954 32047 6</w031>
<w032>Node 32953 32039 6</w032>
<w033>Stand 32955 32023 6</w033>
<ShipVenore>Action 32955 32023 6 if not islocation(10) then;gotolabel('w027');else;reachcreature('Captain Fearless');wait(500);say('hi');wait(1000);npcsay('yalahar');wait(500);reachcreature('Captain Fearless');wait(500);npcsay('yes');;;end</ShipVenore>
<w034>Node 32810 31269 6</w034>
<w035>Node 32803 31258 6</w035>
<w036>Stand 32803 31256 6</w036>
<CheckAfterSoft>Action 32803 31251 7 if not islocation(10) then;gotolabel('CheckYalaharShip');;;end</CheckAfterSoft>
<w037>Stand 32802 31244 7</w037>
<w038>Stand 32802 31233 7</w038>
<CheckBeforeExp>Action 32802 31233 7 if itemcount(Mp_Name)>=Mp_Buy and itemcount(Hp_Name)>= Hp_Buy then;gotolabel('GoingResp');else;gotolabel('BeforeBank') ;;;end</CheckBeforeExp>
<GoingResp>Stand 32813 31233 7</GoingResp>
<w039>Node 32766 31228 7</w039>
<w040>Node 32747 31220 7</w040>
<w041>Node 32744 31196 7</w041>
<w042>Node 32753 31170 7</w042>
<w043>Stand 32780 31154 7</w043>
<ShortWay>Stand 32780 31152 7</ShortWay>
<w044>Stand 32781 31150 7</w044>
<w045>Stand 32781 31148 6</w045>
<w046>Stand 32776 31145 5</w046>
<w047>Use 32775 31145 5</w047>
<CheckGate>Action 32777 31141 5 if not islocation(3) then;gotolabel("ShortWay");end</CheckGate>
<w048>Stand 32777 31139 5</w048>
<w049>Stand 32777 31137 6</w049>
<w050>Stand 32777 31135 7</w050>
<ReOpenBpss>Action 32777 31134 7 if islocation(15) then;closewindows();setsettings("Settings\\Cavebot\\Settings\\OpenNextBp","no");;;while windowcount() < 4 do;closewindows();wait(1000,2000);openitem(MainBP, "back", true);wait(1000,2000);resizewindows();;wait(1000,2000);openitem(GoldBP, MainBP, true);wait(1000,2000);resizewindows();;wait(1000,2000);openitem(LootBP, MainBP, true);wait(1000,2000);resizewindows();wait(1000,2000);openitem(SuppBP, MainBP, true);wait(1000,2000);resizewindows();end;end;setsettings("Settings\\Cavebot\\Settings\\OpenNextBp","yes");setlooting('on');settargeting('on');wait(1000);;if (itemcount(Mp_Name)>MpToBack and itemcount(Hp_Name)> HpToBack and cap>CapToBack )then;gotolabel("w051");else;;gotolabel('w089');;;end;;;;</ReOpenBpss>
<w051>Stand 32778 31119 7</w051>
<w052>Use 32778 31118 7</w052>
<w053>Stand 32781 31116 7</w053>
<Check_Ghouls>Action 32781 31116 7 if not islocation(2) then;gotolabel("w048");end</Check_Ghouls>
<w054>Node 32792 31112 7</w054>
<w055>Node 32787 31129 7</w055>
<Before_Shovel1>Stand 32789 31120 7</Before_Shovel1>
<w056>Shovel 32789 31119 7</w056>
<w057>Stand 32789 31119 7</w057>
<w058>Stand 32788 31118 8</w058>
<w059>Shovel 32788 31117 8</w059>
<w060>Stand 32788 31117 8</w060>
<w061>Stand 32788 31117 9</w061>
<Check_Is_Resp>Action 32788 31117 9 if not islocation(6) then;gotolabel("Before_Shovel1");end</Check_Is_Resp>
<Resp>Node 32797 31129 9</Resp>
<w063>Node 32804 31139 9</w063>
<w064>Node 32797 31128 9</w064>
<w065>Node 32789 31119 9</w065>
<w066>Node 32776 31117 9</w066>
<w067>Node 32773 31108 9</w067>
<w068>Node 32771 31093 9</w068>
<w069>Node 32765 31088 9</w069>
<w070>Node 32743 31088 9</w070>
<w071>Node 32737 31080 9</w071>
<w072>Node 32732 31070 9</w072>
<w073>Node 32728 31066 9</w073>
<w074>Node 32735 31099 9</w074>
<w075>Node 32734 31110 9</w075>
<w076>Node 32729 31101 9</w076>
<w077>Node 32737 31096 9</w077>
<w078>Node 32741 31088 9</w078>
<w079>Node 32756 31088 9</w079>
<w080>Node 32774 31098 9</w080>
<w081>Node 32777 31116 9</w081>
<w082>Node 32783 31120 9</w082>
<w083>Stand 32788 31119 9</w083>
<Check_Hunt>Action 32788 31119 9 if (itemcount(Mp_Name)>MpToBack and itemcount(Hp_Name)> HpToBack and cap>CapToBack )then;gotolabel("Resp");else;;gotolabel('Back');;;end;</Check_Hunt>
<Back>Stand 32788 31117 9</Back>
<w062>Rope 32788 31117 9</w062>
<w084>Stand 32789 31119 8</w084>
<w085>Rope 32789 31119 8</w085>
<w086>Action 32788 31120 7 if not islocation(8) then;gotolabel("Back");end</w086>
<w087>Stand 32783 31118 7</w087>
<w088>Stand 32781 31118 7</w088>
<w089>Stand 32780 31118 7</w089>
<w090>Stand 32777 31121 7</w090>
<w091>Stand 32777 31131 7</w091>
<w107>Action 32777 31131 7 if not islocation(3) then;gotolabel("w087");end;</w107>
<w093>Stand 32777 31137 7</w093>
<w094>Stand 32777 31139 6</w094>
<w095>Stand 32776 31141 5</w095>
<w096>Use 32775 31141 5</w096>
<w097>Stand 32779 31147 5</w097>
<w098>Stand 32779 31148 5</w098>
<w099>Stand 32779 31150 6</w099>
<w100>Stand 32779 31152 7</w100>
<Check_After_Hunt>Action 32779 31152 7 if not islocation(4) then;gotolabel("w093");end</Check_After_Hunt>
<w101>Node 32767 31160 7</w101>
<w102>Node 32745 31180 7</w102>
<w103>Node 32743 31207 7</w103>
<w104>Node 32753 31236 7</w104>
<w105>Node 32772 31247 7</w105>
<w106>Stand 32787 31247 7</w106>
</Waypoints>
- <Pathfinding>
- <SpecialAreas>
- <NewArea0>
<Coordinates>33448 31319 7</Coordinates>
<Dimensions>1 1</Dimensions>
<ConsideredBy>Cavebot</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>no</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>
- <Gold-Coin>
<Id>3031</Id>
<Destination>01</Destination>
<AlarmOn>No Alarm</AlarmOn>
</Gold-Coin>
- <Pelvis-Bone>
<Id>11481</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</Pelvis-Bone>
- <Rotten-Piece-of-Cloth>
<Id>10291</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</Rotten-Piece-of-Cloth>
- <Ghoul-Snack>
<Id>11467</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</Ghoul-Snack>
- <Pile-of-Grave-Earth>
<Id>11484</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</Pile-of-Grave-Earth>
- <Brown-Piece-of-Cloth>
<Id>5913</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</Brown-Piece-of-Cloth>
- <Life-Ring>
<Id>3052</Id>
<Destination>All</Destination>
<AlarmOn>No Alarm</AlarmOn>
</Life-Ring>
- <Demonic-Skeletal-Hand>
<Id>9647</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</Demonic-Skeletal-Hand>
- <Black-Pearl>
<Id>3027</Id>
<Destination>00</Destination>
<AlarmOn>No Alarm</AlarmOn>
</Black-Pearl>
- <Mana-Potion>
<Id>268</Id>
<Destination>03</Destination>
<AlarmOn>No Alarm</AlarmOn>
</Mana-Potion>
- <Health-Potion>
<Id>266</Id>
<Destination>03</Destination>
<AlarmOn>No Alarm</AlarmOn>
</Health-Potion>
- <Mind-Stone>
<Id>3062</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</Mind-Stone>
- <Mysterious-Fetish>
<Id>3078</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</Mysterious-Fetish>
- <Guardian-Shield>
<Id>3415</Id>
<Destination>All</Destination>
<AlarmOn>No Alarm</AlarmOn>
</Guardian-Shield>
- <Half-Digested-Piece-of-Meat>
<Id>10283</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</Half-Digested-Piece-of-Meat>
- <Two-Handed-Sword>
<Id>3265</Id>
<Destination>ground</Destination>
<AlarmOn>No Alarm</AlarmOn>
</Two-Handed-Sword>
- <Small-Diamond>
<Id>3028</Id>
<Destination>00</Destination>
<AlarmOn>No Alarm</AlarmOn>
</Small-Diamond>
- <Item3>
<Id>0</Id>
<Destination>All</Destination>
<AlarmOn>No Alarm</AlarmOn>
</Item3>
</List>
<Condition>Corpses with listed items</Condition>
<Style>After melee kill</Style>
<OpenBodyTime>300</OpenBodyTime>
<Range>20</Range>
<EatFood>yes</EatFood>
<Enabled>no</Enabled>
</Looting>
- <Targeting>
- <Monsters>
- <Ghoul>
<Categories>-</Categories>
<Danger>1</Danger>
- <ListSettings>
- <Setting0>
<Count>Any</Count>
<HpRange>0 to 100 %</HpRange>
<Stance>Approach</Stance>
<Avoid>None</Avoid>
<Distance>0</Distance>
<Attack>Attack</Attack>
<ListSpell />
<SpellRate>500 to 1000</SpellRate>
<AttackMode>No Change</AttackMode>
</Setting0>
</ListSettings>
<Looting>yes</Looting>
<MustAttackMe>no</MustAttackMe>
<OnlyIfTrapped>no</OnlyIfTrapped>
</Ghoul>
- <Skeleton>
<Categories>-</Categories>
<Danger>10</Danger>
- <ListSettings>
- <Setting0>
<Count>Any</Count>
<HpRange>0 to 100 %</HpRange>
<Stance>Approach</Stance>
<Avoid>None</Avoid>
<Distance>0</Distance>
<Attack>Attack</Attack>
<ListSpell />
<SpellRate>500 to 1000</SpellRate>
<AttackMode>No Change</AttackMode>
</Setting0>
</ListSettings>
<Looting>yes</Looting>
<MustAttackMe>no</MustAttackMe>
<OnlyIfTrapped>no</OnlyIfTrapped>
</Skeleton>
- <Demon-Skeleton>
<Categories>-</Categories>
<Danger>0</Danger>
- <ListSettings>
- <Setting0>
<Count>Any</Count>
<HpRange>0 to 100 %</HpRange>
<Stance>Approach</Stance>
<Avoid>None</Avoid>
<Distance>0</Distance>
<Attack>Attack</Attack>
<ListSpell />
<SpellRate>500 to 1000</SpellRate>
<AttackMode>No Change</AttackMode>
</Setting0>
</ListSettings>
<Looting>yes</Looting>
<MustAttackMe>no</MustAttackMe>
<OnlyIfTrapped>no</OnlyIfTrapped>
</Demon-Skeleton>
- <Crypt-Shambler>
<Categories>-</Categories>
<Danger>0</Danger>
- <ListSettings>
- <Setting0>
<Count>Any</Count>
<HpRange>0 to 100 %</HpRange>
<Stance>Approach</Stance>
<Avoid>None</Avoid>
<Distance>0</Distance>
<Attack>Attack</Attack>
<ListSpell />
<SpellRate>500 to 1000</SpellRate>
<AttackMode>No Change</AttackMode>
</Setting0>
</ListSettings>
<Looting>yes</Looting>
<MustAttackMe>no</MustAttackMe>
<OnlyIfTrapped>no</OnlyIfTrapped>
</Crypt-Shambler>
- <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>
</Monsters>
- <Settings>
<ListOrder>3</ListOrder>
<Health>8</Health>
<Proximity>6</Proximity>
<Danger>9</Danger>
<PlayerOnScreenSecurity>Do Nothing</PlayerOnScreenSecurity>
<CooldownControl>yes</CooldownControl>
<CheckItem>no</CheckItem>
<MustBeReachable>yes</MustBeReachable>
<MustBeShootable>no</MustBeShootable>
</Settings>
<Enabled>no</Enabled>
</Targeting>
- <Hud>
- <List>
- <Exp-etc>
<Script>local fontfamily = "Verdana" local normalfontsize = 7 local headfontsize = 9 local fontcolor = 0x000000 local headfontcolor = 0x000000 local startposx = 5 local startposy = 40 setfontstyle(fontfamily, headfontsize, headfontcolor) setfontcolor("yellow") addtext("_____________________", startposx, startposy) setfontcolor("blue") addtext(" ~ Botting Information ~", startposx, startposy+15) setfontcolor("yellow") addtext("_____________________", startposx, startposy+20) setfontstyle(fontfamily, normalfontsize, headfontcolor) setfontcolor("white") addtext("EXP to Level: ", startposx+10, startposy+40) addtext(exptolevel(), startposx+120, startposy+40) addtext("EXP gained: ", startposx+10, startposy+55) addtext(expgained, startposx+120, startposy+55) addtext("EXP/h (Bot): ", startposx+10, startposy+70) addtext(exphour, startposx+120, startposy+70) addtext('Stamina', startposx+10, startposy+85) if stamina >= 2400 then setfontcolor("white") else if stamina < 2400 and (stamina > 840) then setfontcolor("orange") else if stamina <= 840 then setfontcolor("red") end end end addtext(stamina, startposx+120, startposy+85) setfontcolor("white") addtext("Time to Level: ", startposx+10, startposy+100) addtext(timetolevel, startposx+120, startposy+100) addtext("Played Time: ", startposx+10, startposy+115) addtext(timehunt, startposx+120, startposy+115) setfontstyle(fontfamily, headfontsize, headfontcolor) setfontcolor("yellow") addtext("_____________________", startposx, startposy+120) setfontcolor("blue") addtext(" ~ Loot Counter ~", startposx, startposy+135)</Script>
<RefreshRate>500</RefreshRate>
<Enabled>yes</Enabled>
</Exp-etc>
- <monitor>
<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 = "strong mana potion", VALUE = 50}, {NAME = "strong health potion", VALUE = 50}, {NAME = "gold coin", VALUE = 1}, {NAME = "elven scouting glass", VALUE = 50}, {NAME = "elvish talisman", VALUE = 45}, {NAME = "strange helmet", VALUE = 500}, {NAME = "elvish bow", VALUE = 2000}, {NAME = "elven astral observer", VALUE = 90}, {NAME = "wand of cosmic energy", VALUE = 2000}, {NAME = "elven amulet", VALUE = 100}, {NAME = "holy orchid", VALUE = 2500}, {NAME = "jewelled belt", VALUE = 180}, {NAME = "dirty turban", VALUE = 120}, {NAME = "noble turban", VALUE = 430}, {NAME = "seeds", VALUE = 150}, {NAME = "heaven blossom", VALUE = 100}, {NAME = "platinum coin", VALUE = 100}, {NAME = "mutated flesh", VALUE = 50}, {NAME = "shard", VALUE = 2000}, {NAME = "green mushroom", VALUE = 100}, {NAME = "ice rapier", VALUE = 1000}, {NAME = "dragon scale mail", VALUE = 40000}, {NAME = "royal helmet", VALUE = 30000}, {NAME = "dragon slayer", VALUE = 15000}, {NAME = "tower shield", VALUE = 8000}, {NAME = "frosty heart", VALUE = 250}, {NAME = "life crystal", VALUE = 800}, {NAME = "blue piece of cloth", VALUE = 1300}, {NAME = "magma monocle", VALUE = 2500}, {NAME = "hailstorm rod", VALUE = 3000}, {NAME = "blue gem", VALUE = 5000}, {NAME = "small sapphire", VALUE = 250}, {NAME = "mystic turban", VALUE = 1300}, {NAME = "spellbook of enlightenment", VALUE = 4000}, {NAME = "mastermind potion", VALUE = 500}, {NAME = "spitter nose", VALUE = 340}, {NAME = "small amethyst", VALUE = 200}, {NAME = "dung ball", VALUE = 130}, {NAME = "emerald bangle", VALUE = 800}, {NAME = "waspoid claw", VALUE = 320}, {NAME = "black pearl", VALUE = 280}, {NAME = "small emerald", VALUE = 250}, {NAME = "small topaz", VALUE = 200}, {NAME = "crawler head plating", VALUE = 210}, {NAME = "great health potion", VALUE = 190}, {NAME = "waspoid wing", VALUE = 190}, {NAME = "compound eye", VALUE = 150}, {NAME = "swarmer antenna", VALUE = 130}, {NAME = "great mana potion", VALUE = 120}, {NAME = "carapace shield", VALUE = 32000}, {NAME = "hive scythe", VALUE = 17000}, {NAME = "grasshopper legs", VALUE = 50000}, {NAME = "epee", VALUE = 8000}, {NAME = "springsprout rod", VALUE = 3600}, {NAME = "war hammer", VALUE = 1200}, {NAME = "yellow gem", VALUE = 1000}, {NAME = "calopteryx cape", VALUE = 15000}, {NAME = "crusader helmet", VALUE = 8000}, {NAME = "platinum amulet", VALUE = 2500}, {NAME = "green gem", VALUE = 5000}, {NAME = "crystal sword", VALUE = 600}, {NAME = "time ring", VALUE = 1000}, {NAME = "wand of inferno", VALUE = 3000}, {NAME = "life ring", VALUE = 800}, {NAME = "terra rod", VALUE = 2000}, {NAME = "focus cape", VALUE = 6000}, {NAME = "small diamond", VALUE = 300}, {NAME = "lump of dirt", VALUE = 2}, {NAME = "Carrion Worm Fang", VALUE = 35}, {NAME = "zaoan helmet", VALUE = 45000}, {NAME = "zaoan robe", VALUE = 12000}, {NAME = "zaoan armor", VALUE = 14000}, {NAME = "zaoan legs", VALUE = 14000}, {NAME = "zaoan shoes", VALUE = 5000}, {NAME = "lizard scale", VALUE = 120}, {NAME = "high guard flag", VALUE = 550}, {NAME = "bunch of ripe rice", VALUE = 75}, {NAME = "high guard shoulderplates", VALUE = 130}, {NAME = "spiked iron ball", VALUE = 100}, {NAME = "dragon priest's wandtip", VALUE = 175}, {NAME = "zaogun flag", VALUE = 600}, {NAME = "zaogun shoulderplates", VALUE = 150}, {NAME = "drakinata", VALUE = 10000}, {NAME = "legionnaire flags", VALUE = 500}, {NAME = "Cursed Shoulder Spikes", VALUE = 320}, {NAME = "Scale of Corruption", VALUE = 680}, {NAME = "Corrupted Flag", VALUE = 700}, {NAME = "Two Handed Sword", VALUE = 350}, {NAME = "Guardian Shield", VALUE = 2000}, {NAME = "Mysterious Fetish", VALUE = 50}, {NAME = "Mind Stone", VALUE = 170}, {NAME = "Black Pearl", VALUE = 280}, {NAME = "Demonic Skeletal Hand", VALUE = 80}, {NAME = "Pelvis Bone", VALUE = 30}, {NAME = "Life Ring", VALUE = 800}, {NAME = "Brown Piece of Cloth", VALUE = 100}, {NAME = "Pile of Grave Earth", VALUE = 25}, {NAME = "Rotten Piece of Cloth", VALUE = 30}, {NAME = "Ghoul Snack", VALUE = 60}, {NAME = "Half-Digested Piece of Meat", VALUE = 55}, {NAME = "Rotten Piece of Cloth", VALUE = 30}, } MONITOR_MY_HUNTING.SHOW_ALL_SUPPLIES = false MONITOR_MY_HUNTING.SUPPLIES_LIST = { {NAME = "strong mana potion", PRICE = 80}, {NAME = "mana potion", PRICE = 50}, {NAME = "ultimate health potion", PRICE = 310}, {NAME = "great spirit potion", PRICE = 190}, {NAME = "prismatic bolt", PRICE = 21}, {NAME = "power bolt", 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().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>500</RefreshRate>
<Enabled>yes</Enabled>
</monitor>
</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>