Dziki Johnson
Kafar
- Joined
- Jul 7, 2010
- Messages
- 2,061
- Reaction score
- 191
- Age
- 28
Profesja: Knight
Poziom: 100+
Typ: PACC
Informacje dodatkowe:
-Bota startujemy na respawnie Killer Caiman?w
Skrypt #1:
Skrypt #2:
Poziom: 100+
Typ: PACC
Informacje dodatkowe:
-Bota startujemy na respawnie Killer Caiman?w
Skrypt #1:
PHP:
<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>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>no</Screenshot>
</Advanced>
<Raid>
<PlaySound>no</PlaySound>
<FlashClient>no</FlashClient>
<PauseBot>no</PauseBot>
<Disconnect>no</Disconnect>
<Warnings>All</Warnings>
</Raid>
</Message>
<Capacity>
<Value>100</Value>
<PlaySound>no</PlaySound>
<FlashClient>no</FlashClient>
<PauseBot>no</PauseBot>
<Disconnect>no</Disconnect>
</Capacity>
<StandTime>
<Value>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>no</Enabled>
</Alerts>
<Healer>
<Rules>
<ManaPotion>
<HealRange>0 to 100 %</HealRange>
<ManaRange>0 to 60 %</ManaRange>
<HealMethod>Mana Potion</HealMethod>
<ExtraCondition>No condition</ExtraCondition>
<CooldownControl>yes</CooldownControl>
<CheckItem>yes</CheckItem>
<SpamRate>200 to 400</SpamRate>
<Enabled>yes</Enabled>
</ManaPotion>
<GreatHealthPotion>
<HealRange>0 to 31 %</HealRange>
<ManaRange>0 to 100 %</ManaRange>
<HealMethod>Great Health Potion</HealMethod>
<ExtraCondition>No condition</ExtraCondition>
<CooldownControl>yes</CooldownControl>
<CheckItem>yes</CheckItem>
<SpamRate>200 to 400</SpamRate>
<Enabled>yes</Enabled>
</GreatHealthPotion>
<Exura-Ico>
<HealRange>32 to 80 %</HealRange>
<ManaRange>0 to 100 %</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>
<Utura-Gran>
<HealRange>83 to 90 %</HealRange>
<ManaRange>0 to 100 %</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>
<UHP>
<HealRange>0 to 31 %</HealRange>
<ManaRange>0 to 100 %</ManaRange>
<HealMethod>Ultimate Health Potion</HealMethod>
<ExtraCondition>No condition</ExtraCondition>
<CooldownControl>yes</CooldownControl>
<CheckItem>yes</CheckItem>
<SpamRate>200 to 400</SpamRate>
<Enabled>yes</Enabled>
</UHP>
</Rules>
<PingCompensation>10</PingCompensation>
<Enabled>yes</Enabled>
</Healer>
<FriendHealer>
<Rules />
<Enabled>no</Enabled>
</FriendHealer>
<Refiller>
<Rules />
<Enabled>no</Enabled>
</Refiller>
<HotKeys>
<List>
<ShowBot>
<Script>showbot()</Script>
<MainKey>66</MainKey>
<ComboKey>Alt</ComboKey>
<Enabled>yes</Enabled>
</ShowBot>
<PauseBot>
<Script>local cavebot = getsettings("Settings/CaveBot/Enabled")
local targeting = getsettings("Settings/Targeting/Enabled")
if cavebot == 'no' or targeting == 'no' then
setcavebot('on')
settargeting('on')
setlooting('on')
else
setcavebot('off')
settargeting('off')
setlooting('off')
end
wait(500)</Script>
<MainKey>19</MainKey>
<ComboKey>None</ComboKey>
<Enabled>yes</Enabled>
</PauseBot>
<ShowClient>
<Script>focusclient()</Script>
<MainKey>84</MainKey>
<ComboKey>Alt</ComboKey>
<Enabled>yes</Enabled>
</ShowClient>
<ShowSettings>
<Script>showsettings()</Script>
<MainKey>83</MainKey>
<ComboKey>Alt</ComboKey>
<Enabled>yes</Enabled>
</ShowSettings>
</List>
<Condition>Client focus required</Condition>
<Enabled>yes</Enabled>
</HotKeys>
<Actions>
<List>
<Safe-Bank>
<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>
</Safe-Bank>
<Exori>
<Script>local m = 5 -- How many monster need to around you to cast spell
local spell = 'exori' -- Spell to cast (exori gran , exori)
if maround(1, 'Killer Caiman', 'Dragon lord', 'Rat') >= m and and paround(7, true) == 0
then
cast(spell)
wait(2000)
end</Script>
<SpamRate>800 to 1000</SpamRate>
<Enabled>yes</Enabled>
</Exori>
<Mount>
<Script>if Mount then
setsettings("Settings\\CaveBot\\Settings\\AutoMount", "yes")
wait(5000)
else
setsettings("Settings\\CaveBot\\Settings\\AutoMount", "no")
wait(5000)
end</Script>
<SpamRate>800 to 1000</SpamRate>
<Enabled>yes</Enabled>
</Mount>
<Exori-Hur-Con>
<Script>if maround(3,true,'Killer Caiman') >= 3 or paround(3,true) > 0 and (SpellsIfPlayerOnScreen == true) and maround(3,true,'Killer Caiman') >= 1
then
cast('exori hur')
wait(2000,3000)
cast('exori ico')
wait(2000,3000)
end</Script>
<SpamRate>800 to 1000</SpamRate>
<Enabled>yes</Enabled>
</Exori-Hur-Con>
<Unlisted_1>
<Script>-- Credits to Dehan
local purchasemanaamount = MpToBuy-itemcount("mana potion")
while purchasemanaamount > 0 do
buyitems("mana potion", purchasemanaamount)
wait(500,1000)
wait(500,1000)
purchasemanaamount = purchasemanaamount-100
moveitems("mana potion", SuppBP, all)
wait(500,1000)
wait(500,1000)
end</Script>
<SpamRate>800 to 1000</SpamRate>
<Enabled>yes</Enabled>
</Unlisted_1>
<SimpleCheckWorld>
<Script>if PvP_World then
setsettings("Settings\\CaveBot\\Pathfinding\\WalkThroughPlayers", "no")
wait(5000)
setsettings("Settings\\Actions\\List\\Exori\\Enabled", "no")
wait(5000)
else
setsettings("Settings\\CaveBot\\Pathfinding\\WalkThroughPlayers", "yes")
wait(5000)
setsettings("Settings\\Actions\\List\\Exori\\Enabled", "yes")
wait(5000)
end</Script>
<SpamRate>800 to 1000</SpamRate>
<Enabled>yes</Enabled>
</SimpleCheckWorld>
<Action0>
<Script>local backpackName = SuppBP -- Backpack with Supplies
local amountToDrop = 30
local capToDrop = 1200
--DO NOT EDIT BELOW!
if (itemcount(283)+itemcount(284)+itemcount(285)) >= amountToDrop and maround(4) == 0 and cap <= capToDrop then
pausewalking(3000)
for i = 283,285 do
if itemcount(i) > 0 then
moveitems(i, backpackName, 'ground', amountToDrop)
end
end
end </Script>
<SpamRate>800 to 1000</SpamRate>
<Enabled>yes</Enabled>
</Action0>
</List>
<Setup>-- Script made by Eli Scripts! Highest Quality for Lowest Price!
-- Customize your Backpacks Settings:
MainBP = "Orange Backpack" -- Backpack that you use as the main
LootBP = "Red Backpack" -- Backpack with items (rares, stackable)
GoldBP = "Brocade Backpack" -- Backapck with gold
SuppBP = "Golden Backpack" -- Backpack with supplies
-- Customize Depot Backpack Settings:
MainDpBp = "Pirate Backpack"
StackItems = "Purple Backpack"
LootRares = "Expedition Backpack"
-- Customize your Supplies Settings:
MpToBuy = 600 -- Amount of wanted Mana Potions
HpToBuy = 50 -- Amount of wanted Great Health Potions
MpToLeave = 50 -- Amount of Mana Potions to Leave
HpToLeave = 10 -- Amount of GHP to Leave
CapToLeave = 20 -- Cap to Leave lol
-- Others:
SpellsIfPlayerOnScreen = true -- choose true if you want attack exori ico/hur if player on screen
Mount = true -- choose true if you want to use mount
PvP_World = false -- put true if you're playing on PvP server</Setup>
<Library>Standard</Library>
<Enabled>yes</Enabled>
</Actions>
<CaveBot>
<Waypoints>
<WhereAreYou>Action 33026 31456 11 if posz == 7 then; gotolabel("OpenHuntBp");else; gotolabel("Depot");end</WhereAreYou>
<Depot>Stand 33026 31456 11</Depot>
<OpenBPDP>Action 33026 31456 11 setsettings("Settings\\Cavebot\\Settings\\OpenNextBp", "no");;closewindows();wait(500, 1000);openitem(MainBP, 'back');wait(500, 1000);resizewindows();openitem(LootBP, MainBP, true);wait(500, 1000);resizewindows();</OpenBPDP>
<CheckBPDP>Action 33026 31456 11 if windowcount() ~= 2 then gotolabel("OpenBPDP") end</CheckBPDP>
<Deposit>Action 33029 31453 11 reachgrounditem("depot");wait(1000,2000);openitem("depot");wait(700,900);openitem(3502, "locker");wait(700,900);openitem(MainDpBp, "depot chest");wait(700,900);;depotdeposit(StackItems,"Small Emerald", "Giant Shimmering Pearl","Piece of Crocodile Leather", "Bunch of Ripe Rice");wait(700,900);;depotdeposit(LootRares,"crocodile boots", "Obsidian Lance");wait(700,1000);;openitem(LootBP, LootBP, false);wait(700,900);;depotdeposit(StackItems,"Small Emerald", "Giant Shimmering Pearl","Piece of Crocodile Leather", "Bunch of Ripe Rice");wait(700,900);;depotdeposit(LootRares,"crocodile boots", "Obsidian Lance");wait(700,1000);;openitem(LootBP, LootBP, false);wait(700,900);;depotdeposit(StackItems,"Small Emerald", "Giant Shimmering Pearl","Piece of Crocodile Leather", "Bunch of Ripe Rice");wait(700,900);;depotdeposit(LootRares,"crocodile boots", "Obsidian Lance");wait(700,1000);;openitem(LootBP, LootBP, false);wait(700,900);;depotdeposit(StackItems,"Small Emerald", "Giant Shimmering Pearl","Piece of Crocodile Leather", "Bunch of Ripe Rice");wait(700,900);;depotdeposit(LootRares,"crocodile boots", "Obsidian Lance");wait(700,1000);;setsettings("Settings\\Cavebot\\Settings\\OpenNextBp", "yes")</Deposit>
<w000>Node 33024 31457 11</w000>
<w001>Stand 33019 31458 11</w001>
<w002>Node 33016 31469 10</w002>
<w003>Node 33011 31478 10</w003>
<OpenBpForBank>Action 33011 31478 10 closewindows();wait(500, 1000);openitem(MainBP, 'back');wait(500, 1000);resizewindows();openitem(SuppBP, MainBP, true);;if windowcount() ~= 2 then gotolabel("OpenBpForBank") end;;</OpenBpForBank>
<GoBank>Node 33011 31482 10</GoBank>
<CheckDoor1>Stand 33012 31487 10</CheckDoor1>
<OpenDoor1>Action 33012 31487 10 if toptileitem(33012,31488,10) == 6252 then; useitem(6252,33012,31488,10);end</OpenDoor1>
<Bank>Stand 33012 31492 10</Bank>
<GetCash>Action 33012 31492 10 local mana = positive(MpToBuy - itemcount("mana potion"))*50;local health = positive(HpToBuy - itemcount("great health potion"))*190;local Total = mana + health + 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,400);end;</GetCash>
<CheckDoor2>Stand 33009 31491 10</CheckDoor2>
<OpenDoor2>Action 33009 31491 10 if toptileitem(33008,31491,10) == 6249 then; useitem(6249,33008,31491,10);end</OpenDoor2>
<w008>Node 33003 31494 10</w008>
<w009>Node 33001 31510 10</w009>
<w010>Node 33011 31523 10</w010>
<w011>Node 33014 31536 10</w011>
<CheckDoor3>Stand 33010 31538 10</CheckDoor3>
<OpenDoor3>Action 33010 31538 10 if toptileitem(33010,31537,10) == 7715 then; useitem(7715,33010,31537,10);end</OpenDoor3>
<ManaShop>Stand 33009 31534 10</ManaShop>
<BuySupp>Action 33009 31534 10 say("Hi");wait(500,900);sellflasks();wait(500,900);opentrade();wait(500, 1000);buyitemsupto("Mana Potion", MpToBuy,itemcount("Mana Potion"));wait(500,900);buyitemsupto("Great Health Potion", HpToBuy,itemcount("Great Health Potion"));wait(500,900);moveitems("Great Health Potion", MainBP, SuppBP, all);wait(500,1000);moveitems("Mana Potion", MainBP, SuppBP, all);npcsay('Bye');</BuySupp>
<w004>Stand 33010 31536 10</w004>
<OpenDoor3_2>Action 33010 31536 10 if toptileitem(33010,31537,10) == 7715 then; useitem(7715,33010,31537,10);end</OpenDoor3_2>
<w005>Stand 33024 31541 10</w005>
<CheckSuppBeforeHunt>Action 33024 31541 10 if itemcount("mana potion") < MpToBuy or itemcount("great health potion") < HpToBuy then gotolabel("OpenBpForBank");else;gotolabel("OpenALLbp");end;;</CheckSuppBeforeHunt>
<OpenALLbp>Action 33024 31541 10 closewindows();wait(500, 1000);openitem(MainBP, 'back');wait(500, 1000);resizewindows();openitem(LootBP, MainBP, true);wait(500, 1000);resizewindows();openitem(GoldBP, MainBP, true);wait(500,800);resizewindows();openitem(SuppBP, MainBP, true);wait(500,800);resizewindows();;if windowcount() ~= 4 then gotolabel("OpenALLbp") end</OpenALLbp>
<WayToHunt>Node 33030 31536 10</WayToHunt>
<w006>Node 33042 31535 10</w006>
<w007>Node 33057 31532 10</w007>
<OpenDoor4>Stand 33060 31530 10</OpenDoor4>
<w012>Use 33060 31529 10</w012>
<w013>Stand 33060 31528 10</w013>
<CheckDoor4>Action 33060 31528 10 if not islocation(2);then; gotolabel("OpenDoor4");end</CheckDoor4>
<Leaver>Stand 33061 31527 10</Leaver>
<w014>Use 33062 31527 10</w014>
<w016>Stand 32993 31550 4</w016>
<CheckPos>Action 32993 31550 4 if not islocation(2);then; gotolabel("Leaver");end</CheckPos>
<w015>Node 32998 31555 4</w015>
<w018>Stand 33004 31557 4</w018>
<HurUp>Stand 33008 31555 5</HurUp>
<HurUp_1>Action 33008 31555 5 levitate("n", "up")</HurUp_1>
<w020>Stand 33011 31553 4</w020>
<CheckPos_1>Action 33011 31553 4 if not islocation(2);then; gotolabel("HurUp");end</CheckPos_1>
<w022>Stand 33013 31555 4</w022>
<w023>Node 33019 31554 5</w023>
<HurDown>Stand 33026 31548 5</HurDown>
<HurDown_1>Action 33026 31548 5 levitate("e","down")</HurDown_1>
<w026>Stand 33029 31547 6</w026>
<CheckPos_2>Action 33029 31547 6 if not islocation(2);then; gotolabel("HurDown");end</CheckPos_2>
<w028>Node 33044 31551 6</w028>
<w029>Node 33057 31552 6</w029>
<w030>Node 33070 31542 6</w030>
<w019>Node 33076 31535 6</w019>
<GoShitFloor>Stand 33081 31533 6</GoShitFloor>
<w017>Stand 33086 31530 7</w017>
<CheckPos_3>Action 33086 31530 7 if not islocation(2);then; gotolabel("GoShitFloor");end</CheckPos_3>
<w021>Walk 33090 31522 7</w021>
<w024>Walk 33099 31508 7</w024>
<w025>Walk 33109 31492 7</w025>
<w027>Walk 33114 31473 7</w027>
<w031>Walk 33122 31464 7</w031>
<w032>Walk 33134 31455 7</w032>
<w033>Stand 33137 31451 7</w033>
<OpenHuntBp>Action 33137 31451 7 closewindows();wait(500, 1000);openitem(MainBP, 'back');wait(500, 1000);resizewindows();openitem(LootBP, MainBP, true);wait(500, 1000);resizewindows();openitem(GoldBP, MainBP, true);wait(500,800);resizewindows();openitem(SuppBP, MainBP, true);wait(500,800);resizewindows()</OpenHuntBp>
<CheckHuntBp>Action 33137 31451 7 if windowcount() ~= 4 then gotolabel("OpenHuntBp") end</CheckHuntBp>
<Enter_Cave>Stand 33137 31449 7</Enter_Cave>
<w034>Stand 33137 31452 8</w034>
<CheckPos_4>Action 33137 31452 8 if not islocation(2);then; gotolabel("Enter_Cave");end</CheckPos_4>
<Hunt>Stand 33135 31453 8</Hunt>
<w035>Node 33128 31459 8</w035>
<w036>Node 33138 31463 8</w036>
<w037>Node 33148 31461 8</w037>
<w038>Node 33149 31451 8</w038>
<w039>Node 33154 31451 8</w039>
<w040>Node 33140 31445 8</w040>
<w041>Node 33141 31434 8</w041>
<w042>Node 33150 31433 8</w042>
<w043>Node 33161 31434 8</w043>
<w044>Node 33154 31434 8</w044>
<w045>Node 33136 31434 8</w045>
<w046>Node 33129 31429 8</w046>
<w047>Stand 33131 31427 8</w047>
<GoSecondFloor>Stand 33131 31428 8</GoSecondFloor>
<w049>Stand 33133 31430 9</w049>
<CheckPos_5>Action 33133 31430 9 if not islocation(2);then; gotolabel("GoSecondFloor");end;</CheckPos_5>
<w048>Node 33139 31438 9</w048>
<w050>Node 33145 31444 9</w050>
<w051>Node 33131 31445 9</w051>
<w052>Node 33121 31438 9</w052>
<w053>Node 33118 31440 9</w053>
<w054>Node 33119 31429 9</w054>
<w055>Node 33114 31425 9</w055>
<w056>Node 33126 31421 9</w056>
<w057>Node 33127 31414 9</w057>
<w058>Node 33146 31415 9</w058>
<w059>Node 33138 31425 9</w059>
<SecondFloor_Done>Stand 33131 31429 9</SecondFloor_Done>
<w060>Stand 33131 31428 9</w060>
<w061>Stand 33132 31432 8</w061>
<Check_Pos6>Action 33132 31432 8 if not islocation(2);then; gotolabel("SecondFloor_Done");end</Check_Pos6>
<w062>Node 33136 31438 8</w062>
<Check>Stand 33139 31447 8</Check>
<SuppliesCheckerAtSpawn>Action 33139 31447 8 if itemcount("mana potion") < MpToLeave or itemcount("great health potion") < HpToLeave or cap < CapToLeave then;gotolabel("Leave");else;gotolabel("Hunt");end;</SuppliesCheckerAtSpawn>
<Leave>Stand 33137 31451 8</Leave>
<w063>Stand 33137 31449 8</w063>
<w064>Stand 33133 31452 7</w064>
<CheckPos_7>Action 33133 31452 7 if not islocation(2);then; gotolabel("Leave");end</CheckPos_7>
<w065>Walk 33126 31455 7</w065>
<w066>Walk 33107 31480 7</w066>
<w067>Walk 33100 31512 7</w067>
<w068>Walk 33091 31530 7</w068>
<GoUp>Stand 33082 31532 7</GoUp>
<w070>Stand 33081 31532 7</w070>
<w071>Stand 33077 31533 6</w071>
<w072>Action 33077 31533 6 if not islocation(2);then; gotolabel("GoUp");end</w072>
<w069>Node 33072 31539 6</w069>
<w073>Node 33055 31553 6</w073>
<w074>Node 33037 31546 6</w074>
<HurUp2>Stand 33027 31547 6</HurUp2>
<HurUp_2>Action 33027 31547 6 levitate("w", "up")</HurUp_2>
<w075>Stand 33022 31550 5</w075>
<CheckPos_8>Action 33022 31550 5 if not islocation(2);then; gotolabel("HurUp2");end</CheckPos_8>
<w076>Node 33018 31555 5</w076>
<w077>Stand 33013 31556 5</w077>
<GoUp3>Stand 33013 31555 5</GoUp3>
<w079>Stand 33011 31552 4</w079>
<w080>Action 33011 31552 4 if not islocation(2);then; gotolabel("GoUp3");end</w080>
<HurDown2>Stand 33008 31554 4</HurDown2>
<HurDown_2>Action 33008 31554 4 levitate("s","down")</HurDown_2>
<w078>Stand 33007 31557 5</w078>
<CheckPos_9>Action 33007 31557 5 if not islocation(2);then; gotolabel("HurDown2");end</CheckPos_9>
<GoUp4>Stand 33005 31557 5</GoUp4>
<w082>Stand 33004 31557 5</w082>
<w083>Stand 33000 31555 4</w083>
<w084>Action 33000 31555 4 if not islocation(2);then; gotolabel("GoUp4");end</w084>
<w081>Node 32994 31553 4</w081>
<LeverBack>Stand 32993 31547 4</LeverBack>
<w085>Use 32994 31547 4</w085>
<w086>Stand 33060 31527 10</w086>
<CheckPos_10>Action 33060 31527 10 if not islocation(2);then; gotolabel("LeverBack");end</CheckPos_10>
<Door4_1>Stand 33060 31528 10</Door4_1>
<w088>Use 33060 31529 10</w088>
<w089>Stand 33060 31531 10</w089>
<w090>Action 33060 31531 10 if not islocation(2);then; gotolabel("Door4_1");end</w090>
<w087>Node 33046 31532 10</w087>
<w091>Node 33020 31529 10</w091>
<w092>Node 33001 31500 10</w092>
<w093>Node 33015 31471 10</w093>
<GoDepot_Finally>Stand 33018 31459 10</GoDepot_Finally>
<w095>Stand 33019 31459 10</w095>
<w096>Stand 33023 31458 11</w096>
<CheckPos_11>Action 33023 31458 11 if not islocation(2);then; gotolabel("GoDepot_Finally");else; gotolabel("Depot")</CheckPos_11>
</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>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>yes</Enabled>
</CaveBot>
<Looting>
<List>
<Gold-Coin>
<Id>3031</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</Gold-Coin>
<Obsidian-Lance>
<Id>3313</Id>
<Destination>01</Destination>
<AlarmOn>No Alarm</AlarmOn>
</Obsidian-Lance>
<Piece-of-Crocodile-leather>
<Id>10279</Id>
<Destination>01</Destination>
<AlarmOn>No Alarm</AlarmOn>
</Piece-of-Crocodile-leather>
<Small-Emerald>
<Id>3032</Id>
<Destination>01</Destination>
<AlarmOn>No Alarm</AlarmOn>
</Small-Emerald>
<Giant-Shimmering-Pearl>
<Id>281</Id>
<Destination>01</Destination>
<AlarmOn>No Alarm</AlarmOn>
</Giant-Shimmering-Pearl>
<Crocodile-Boots>
<Id>3556</Id>
<Destination>01</Destination>
<AlarmOn>No Alarm</AlarmOn>
</Crocodile-Boots>
<bunch-of-ripe-rice>
<Id>10328</Id>
<Destination>01</Destination>
<AlarmOn>No Alarm</AlarmOn>
</bunch-of-ripe-rice>
</List>
<Condition>Corpses with listed items</Condition>
<Style>After melee kill</Style>
<Range>10</Range>
<EatFood>yes</EatFood>
<Enabled>yes</Enabled>
</Looting>
<Targeting>
<Monsters>
<Killer-Caiman>
<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>Chase/Offensive</AttackMode>
</Setting0>
</ListSettings>
<Looting>yes</Looting>
<MustAttackMe>no</MustAttackMe>
<OnlyIfTrapped>no</OnlyIfTrapped>
</Killer-Caiman>
<Orc-Sperman>
<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>
</Orc-Sperman>
<Gnarlhound>
<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>
</Gnarlhound>
<Sandcrawler>
<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>
</Sandcrawler>
</Monsters>
<Settings>
<ListOrder>7</ListOrder>
<Health>9</Health>
<Proximity>3</Proximity>
<Danger>5</Danger>
<PlayerOnScreenSecurity>Do nothing</PlayerOnScreenSecurity>
<CooldownControl>yes</CooldownControl>
<CheckItem>no</CheckItem>
<MustBeReachable>yes</MustBeReachable>
<MustBeShootable>no</MustBeShootable>
</Settings>
<Enabled>yes</Enabled>
</Targeting>
<Hud>
<List>
<Hud-By-Ryadan>
<Script>local fontfamily = "Verdana"
local fontsize = 8
local headfontsize = 11
local fontcolor = 0x000000
local headfontcolor = 0x000000
local startposx = 10
local startposy = 40
setfontstyle(fontfamily, headfontsize, headfontcolor)
setfontcolor("orange")
addtext("~~~~~~~~~~~~~~~~~~~~~", startposx, startposy)
addtext(" ~ Botting Information ~", startposx, startposy+10)
addtext("~~~~~~~~~~~~~~~~~~~~~", startposx, startposy+20)
setfontstyle(fontfamily, fontsize, fontcolor)
setfontcolor("white")
addtext("Level: ", startposx+10, startposy+45)
addtext(level, startposx+120, startposy+45)
setfontcolor("white")
addtext("EXP to Level: ", startposx+10, startposy+60)
addtext(exptolevel(), startposx+120, startposy+60)
setfontcolor("white")
addtext("EXP gained: ", startposx+10, startposy+75)
addtext(expgained, startposx+120, startposy+75)
setfontcolor("white")
addtext("EXP/h (Bot): ", startposx+10, startposy+90)
addtext(exphour, startposx+120, startposy+90)
setfontcolor("white")
addtext("EXP/h (Tibia): ", startposx+10, startposy+105)
addtext(exphour, startposx+120, startposy+105)
setfontcolor("white")
addtext("Time to Level: ", startposx+10, startposy+120)
addtext(timetolevel, startposx+120, startposy+120)
setfontcolor("white")
addtext("Played Time: ", startposx+10, startposy+135)
addtext(timehunt, startposx+120, startposy+135)
setfontstyle(fontfamily, headfontsize, headfontcolor)
setfontcolor("orange")
addtext("~~~~~~~~~~~~~~~~~~~~~", startposx, startposy+155)
addtext(" ~ Cavebot Information ~", startposx, startposy+165)
addtext("~~~~~~~~~~~~~~~~~~~~~", startposx, startposy+175)
setfontstyle(fontfamily, fontsize, fontcolor)
setfontcolor("white")
addtext("Position X: ", startposx+10, startposy+200)
addtext(posx, startposx+120, startposy+200)
setfontcolor("white")
addtext("Position Y: ", startposx+10, startposy+215)
addtext(posy, startposx+120, startposy+215)
setfontcolor("white")
addtext("Position Z: ", startposx+10, startposy+230)
addtext(posz, startposx+120, startposy+230)
setfontcolor("white")
addtext("Item ID below: ", startposx+10, startposy+245)
addtext(toptileitem(posx, posy, posz), startposx+120, startposy+245)
setfontstyle(fontfamily, headfontsize, headfontcolor)
setfontcolor("orange")
addtext("~~~~~~~~~~~~~~~~~~~~~", startposx, startposy+265)
addtext(" ~ Character Information ~", startposx, startposy+275)
addtext("~~~~~~~~~~~~~~~~~~~~~", startposx, startposy+285)
setfontstyle(fontfamily, fontsize, fontcolor)
setfontcolor("white")
addtext("Health Points: ", startposx+10, startposy+310)
addtext(hp .. " / " .. maxhp .. " (" .. hppc .. "%)", startposx+120, startposy+310)
setfontcolor("white")
addtext("Mana Points: ", startposx+10, startposy+325)
addtext(mp .. " / " .. maxmp .. " (" .. mppc .. "%)", startposx+120, startposy+325)
setfontcolor("white")
addtext("Cap: ", startposx+10, startposy+340)
addtext(cap, startposx+120, startposy+340)
setfontcolor("white")
addtext("Soul: ", startposx+10, startposy+355)
addtext(soul, startposx+120, startposy+355)
setfontstyle(fontfamily, headfontsize, headfontcolor)
setfontcolor("orange")
addtext("~~~~~~~~~~~~~~~~~~~~~", startposx, startposy+375)
addtext(" ~ Made by Rydan ~", startposx, startposy+385)
addtext("~~~~~~~~~~~~~~~~~~~~~", startposx, startposy+395) </Script>
<RefreshRate>1000</RefreshRate>
<Enabled>yes</Enabled>
</Hud-By-Ryadan>
<Recent-Loot>
<Script>-- you can add more items here
local warnitems = {'giant shimmering pearl', 'small emerald', 'crocodile boots','dragon hammer'}
-- max lines to display at once
local maxindex = 5
-- 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('green')
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>
PHP:
<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>
</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>no</Enabled>
</Alerts>
<Healer>
<Rules>
<Exura-ico>
<HealRange>45 to 85 %</HealRange>
<ManaRange>40 to all</ManaRange>
<HealMethod>Wound Cleansing</HealMethod>
<ExtraCondition>No condition</ExtraCondition>
<CooldownControl>yes</CooldownControl>
<CheckItem>no</CheckItem>
<SpamRate>200 to 400</SpamRate>
<Enabled>yes</Enabled>
</Exura-ico>
<GHP>
<HealRange>0 to 45 %</HealRange>
<ManaRange>0 to 100 %</ManaRange>
<HealMethod>Great Health Potion</HealMethod>
<ExtraCondition>No condition</ExtraCondition>
<CooldownControl>yes</CooldownControl>
<CheckItem>no</CheckItem>
<SpamRate>200 to 400</SpamRate>
<Enabled>yes</Enabled>
</GHP>
<MP>
<HealRange>0 to 100 %</HealRange>
<ManaRange>0 to 65 %</ManaRange>
<HealMethod>Mana Potion</HealMethod>
<ExtraCondition>No condition</ExtraCondition>
<CooldownControl>yes</CooldownControl>
<CheckItem>no</CheckItem>
<SpamRate>200 to 400</SpamRate>
<Enabled>yes</Enabled>
</MP>
</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>
<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 itemcount(284) > 30 or itemcount(283) > 30 or itemcount(285) > 30 and cap < capleave then
moveitems(283,"ground")
moveitems(284,"ground")
moveitems(285,"ground")
end</Script>
<SpamRate>800 to 1000</SpamRate>
<Enabled>yes</Enabled>
</Drop-vials>
<Drop-obsidian-lance>
<Script>if cap < 200 then setsettings("Settings\\Looting\\List\\obsidian lance\\Destination", "ground")
else
setsettings("Settings\\Looting\\List\\obsidian lance\\Destination", "02")
end</Script>
<SpamRate>800 to 1000</SpamRate>
<Enabled>yes</Enabled>
</Drop-obsidian-lance>
</List>
<Setup>-- ~~ S E T T I N G S ~~
-- Script Name: Zao - Killer caiman - EK
-- Vocation: Knight
-- Version: 1.0
-- Madeby : Drakke
-- Contact: Drakkeatibot@hotmail.com
-- Found bug or got some suggestions? Post on forum or contact me!
-------- Script setup --------
usemount = false --true if you want to use mount (true/false)
secondfloor = true --if you want to hunt in secondfloor (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 = "Green backpack" --your main backpack name
suppliebp = "Red backpack" --your ammunition backpack name
lootbp = "Blue backpack" --your backpack for loot
goldbp = "Orange backpack" --your backpack for gold coins
maindpbp = "Backpack" --backpack in depo
stackabledpbp = "Beach backpack" --backpack for stackable loot
nonstackabledpbp = "Purple backpack" --backpack for non-stackable loot
-------- Supplies setup --------
mananame = "mana potion" --name of your mana potion
manatobuy = 400 --amount of mana potion to buy
manaprice = 50 --price of mana potion
healthname = "great health potion" --name of your health potion
healthtobuy = 40 --amount of health potion to buy
healthprice = 190 --price of health potion
manaleave = 80 --amount of ammunition to leave resp
healthleave = 10 --amount of mana to leave resp
capleave = 100 --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>
<depositer>Action 33026 31448 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(stackabledpbp, "Piece of crocodile leather", "Small Emerald", 281, 282, "Bunch of ripe rice");wait(500,1000);depotdeposit(nonstackabledpbp, "Obsidian lance", "Crocodile boots");wait(1000);openitem(lootbp, lootbp, false);end;</depositer>
<w042>Action 33025 31445 11</w042>
<w000>Stand 33020 31459 11</w000>
<w004>Stand 33019 31459 11</w004>
<w005>Stand 33013 31482 10</w005>
<opensuppliebp>Action 33133 31430 9 wait(500, 1000);closewindows();wait(500, 1000);openitem(mainbp, 'back') ;wait(500, 1000);resizewindows();wait(500, 1000);openitem(suppliebp, mainbp, true);wait(500, 1000);resizewindows();wait(500, 1000)</opensuppliebp>
<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(manatobuy - itemcount(mananame)) * manaprice;local health = positive(healthtobuy - itemcount(healthname)) * healthprice;local softs = positive(itemcount('worn soft boots')) * 10000;local Total = mana + health + softs + 3000;;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>
<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, manatobuy);buyitemsupto(healthname, healthtobuy);;;while itemcount(mananame, mainbp) > 0 or itemcount(healthname, mainbp) > 0 do;moveitems(mananame, mainbp, suppliebp, 100);wait(400, 800);moveitems(healthname, mainbp, suppliebp, 100);end</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(suppliebp, mainbp, true) ;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() < 4 then gotolabel('open_bps_forhunt') end</w085>
<w024>Stand 33041 31535 10</w024>
<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 refillsofts and itemcount('worn soft boots') > 0 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>
<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>
<w110>Stand 33328 32184 5</w110>
<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>
<lever_from_carpet>Stand 32991 31539 1</lever_from_carpet>
<w123>Action 32991 31539 1 if not islocation() then gotolabel('travel_to_farmine') end</w123>
<w122>Use 32992 31539 1</w122>
<w124>Stand 32991 31539 4</w124>
<w125>Action 32991 31539 4 if not islocation() then gotolabel('lever_from_carpet') end</w125>
<door_from_carpet>Stand 32990 31546 4</door_from_carpet>
<w126>Use 32990 31547 4</w126>
<w127>Stand 32990 31548 4</w127>
<w128>Action 32990 31548 4 if not islocation() then gotolabel('door_from_carpet') end</w128>
<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>
<w038>Stand 33081 31533 6</w038>
<w039>Stand 33127 31474 7</w039>
<w040>Stand 33137 31450 7</w040>
<w041>Stand 33137 31449 7</w041>
<hunt>Stand 33129 31458 8</hunt>
<w044>Stand 33138 31463 8</w044>
<w045>Stand 33147 31460 8</w045>
<w046>Stand 33148 31448 8</w046>
<w047>Stand 33137 31437 8</w047>
<w048>Stand 33158 31437 8</w048>
<w049>Stand 33140 31434 8</w049>
<w061>Stand 33131 31429 8</w061>
<w014>Stand 33137 31449 7</w014>
<secondfloor_check>Action 33131 31429 8 if secondfloor and itemcount(mananame) > manaleave and itemcount(healthname) > healthleave ;then ;gotolabel('to_secondfloor');else ;gotolabel('deposit_check');end</secondfloor_check>
<to_secondfloor>Stand 33131 31428 8</to_secondfloor>
<w051>Stand 33140 31417 9</w051>
<w053>Stand 33127 31414 9</w053>
<w054>Stand 33118 31428 9</w054>
<w055>Stand 33123 31439 9</w055>
<w056>Stand 33133 31443 9</w056>
<w057>Stand 33142 31441 9</w057>
<w058>Stand 33131 31428 9</w058>
<w059>Stand 33137 31440 8</w059>
<deposit_check>Action 33137 31440 8 if itemcount(mananame) > manaleave and itemcount(healthname) > healthleave and cap > capleave then;gotolabel('hunt');else;gotolabel('deposit');end</deposit_check>
<deposit>Stand 33137 31449 8</deposit>
<w062>Action 33137 31448 7 if not islocation() then gotolabel('deposit') end</w062>
<w063>Stand 33130 31477 7</w063>
<w064>Stand 33108 31495 7</w064>
<w065>Stand 33086 31532 7</w065>
<stair_to_town>Stand 33081 31532 7</stair_to_town>
<w067>Action 33080 31532 6</w067>
<w068>Stand 33063 31545 6</w068>
<levitate_up_spot2>Stand 33027 31548 6</levitate_up_spot2>
<w070>Action 33027 31548 6 turn('w');wait(200,500);say('exani hur up')</w070>
<w043>Stand 33018 31555 5</w043>
<w050>Action 33018 31555 5 if not islocation() then gotolabel('levitate_up_spot2') end</w050>
<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 31554 4 if not islocation() then gotolabel('levitate_down_spot2')</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 />
<WalkThroughPlayers>no</WalkThroughPlayers>
<WalkingMethod>Map Clicks</WalkingMethod>
<MapWalkDistance>20 to 50</MapWalkDistance>
<WalkableIds>140;404;831;832;833;834;883;2118;2119;2120;2121;2122;2123;2124;2125;2126;2127;2131;2132;2133;2134;2135;2314;2315;2316;2319;2346;2347;2348;2349;2350;2351;2352;2353;2354;2355;2356;2357;2358;2359;2360;2361;2362;2363;2364;2365;2366;2367;2368;2369;2370;2371;2372;2373;2374;2375;2376;2377;2378;2379;2380;2381;2382;2383;2384;2385;2418;2419;2420;2421;2422;2423;2424;2425;2426;2431;2432;2433;2434;2441;2442;2443;2444;2469;2471;2472;2473;2478;2480;2481;2482;2483;2484;2485;2486;2519;2523;2775;2776;2777;2778;2779;2780;2781;2782;2783;2784;2785;2786;2787;2788;2789;2790;2791;2792;2793;2794;2795;2796;2797;2798;2799;2800;2801;2802;2803;2804;2805;2806;2807;2808;2809;2810;2811;2812;2981;2983;2982;2984;2985;2987;2988;3503;3504;3514;3807;5086;5087;5088;6114;6115;6355;6356;6357;6358;6359;6360;6361;6362;6371;6372;7864;8455;8763;9061;9062;10207;10209;10216;10286;10287;10288;11009;11800;11801;11802;11803;11804;11805;11806;11807;11808;11809;11810</WalkableIds>
</Pathfinding>
<Settings>
<Rope>3003</Rope>
<Shovel>3457</Shovel>
<Pick>3456</Pick>
<Machete>3308</Machete>
<NodeRange>4</NodeRange>
<Priority>Target</Priority>
<OpenNextBp>yes</OpenNextBp>
<AutoMount>no</AutoMount>
<Anti-idle>no</Anti-idle>
<EatFood>yes</EatFood>
<FoodToEat>3725;3587;3600;3595;3589;3598;8014;3583;3606;3578;3592;3582;3577;3593;3586;3585;3581;3723</FoodToEat>
<PauseOnDeath>yes</PauseOnDeath>
</Settings>
<Enabled>no</Enabled>
</CaveBot>
<Looting>
<List>
<Piece-of-crocodile-leather>
<Id>10279</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</Piece-of-crocodile-leather>
<Small-emerald>
<Id>3032</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</Small-emerald>
<Obsidian-lance>
<Id>3313</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</Obsidian-lance>
<Giant-shimmering-pearl>
<Id>281</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</Giant-shimmering-pearl>
<Crocodile-boots>
<Id>3556</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</Crocodile-boots>
<Bunch-of-ripe-rice>
<Id>10328</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</Bunch-of-ripe-rice>
<Gold-coin>
<Id>3031</Id>
<Destination>03</Destination>
<AlarmOn>No Alarm</AlarmOn>
</Gold-coin>
</List>
<Condition>Corpses with listed items</Condition>
<Style>After melee kill</Style>
<OpenBodyTime>300</OpenBodyTime>
<Range>10</Range>
<EatFood>yes</EatFood>
<Enabled>yes</Enabled>
</Looting>
<Targeting>
<Monsters>
<Killer-caiman>
<Categories>-</Categories>
<Danger>5</Danger>
<ListSettings>
<Exori-hur-setting>
<Count>Any</Count>
<HpRange>0 to 100 %</HpRange>
<Stance>Reach</Stance>
<Avoid>None</Avoid>
<Distance>0</Distance>
<Attack>Attack</Attack>
<ListSpell>
<Spell0>Whirlwind Throw</Spell0>
</ListSpell>
<SpellRate>500 to 1000</SpellRate>
<AttackMode>No Change</AttackMode>
</Exori-hur-setting>
<Exori-gran-setting>
<Count>3+</Count>
<HpRange>0 to 100 %</HpRange>
<Stance>Reach</Stance>
<Avoid>None</Avoid>
<Distance>0</Distance>
<Attack>Attack</Attack>
<ListSpell>
<Spell0>Fierce Berserk</Spell0>
<Spell1>Berserk</Spell1>
</ListSpell>
<SpellRate>500 to 1000</SpellRate>
<AttackMode>No Change</AttackMode>
</Exori-gran-setting>
</ListSettings>
<Looting>yes</Looting>
<MustAttackMe>no</MustAttackMe>
<OnlyIfTrapped>no</OnlyIfTrapped>
</Killer-caiman>
<Orc-spearman>
<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>
</Orc-spearman>
<Gnarlhound>
<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>
</Gnarlhound>
<Sandcrawler>
<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>
</Sandcrawler>
</Monsters>
<Settings>
<ListOrder>7</ListOrder>
<Health>9</Health>
<Proximity>3</Proximity>
<Danger>5</Danger>
<PlayerOnScreenSecurity>Do nothing</PlayerOnScreenSecurity>
<CooldownControl>yes</CooldownControl>
<CheckItem>no</CheckItem>
<MustBeReachable>yes</MustBeReachable>
<MustBeShootable>no</MustBeShootable>
</Settings>
<Enabled>yes</Enabled>
</Targeting>
<Hud>
<List>
<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>
<Monitor-my-hunt>
<Script>-- [[ INIT START ]] --
-- Monitor My Hunting!
--
-- Version: 1.0
-- Created: 7.09.2012
-- Last update: 18.09.2012
--
MONITOR_MY_HUNTING = MONITOR_MY_HUNTING or {
SCRIPT_NAME = "[EK] Killer caimans",
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 = "Piece of Crocodile Leather", VALUE = 15},
{NAME = "Small Emerald", VALUE = 250},
{NAME = "Obsidian Lance", VALUE = 500},
{NAME = "Crocodile Boots", VALUE = 1000},
{NAME = "Bunch of Ripe rice", VALUE = 75},
{NAME = "Giant Shimmering Pearl", VALUE = 3000},
}
MONITOR_MY_HUNTING.SHOW_ALL_SUPPLIES = false
MONITOR_MY_HUNTING.SUPPLIES_LIST = {
{NAME = "Mana Potion", PRICE = 50},
{NAME = "Greath Health Potion", PRICE = 190},
}
-- [[ 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>
</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>
?r?d?o: Games-Bot.eu