What's new

Knight [FACC] Venore Coryms by PQlse

Status
Not open for further replies.

Faklop

Towarzysz Stalin
Joined
Mar 9, 2013
Messages
170
Reaction score
2
[EK] Venore Coryms by PQlse​



Code:
- <Settings>
- <Alerts>
- <Player>
- <OnScreen>
  <PlaySound>no</PlaySound> 
  <FlashClient>no</FlashClient> 
  <PauseBot>no</PauseBot> 
  <Disconnect>no</Disconnect> 
  <SafeList>null</SafeList> 
  </OnScreen>
- <Attacking>
  <PlaySound>yes</PlaySound> 
  <FlashClient>yes</FlashClient> 
  <PauseBot>no</PauseBot> 
  <Disconnect>no</Disconnect> 
  <SafeList>null</SafeList> 
  </Attacking>
- <GMOnScreen>
  <PlaySound>yes</PlaySound> 
  <FlashClient>yes</FlashClient> 
  <PauseBot>yes</PauseBot> 
  <Disconnect>no</Disconnect> 
  </GMOnScreen>
  </Player>
  <Creature /> 
  <Item /> 
- <Message>
- <PrivateMessage>
  <PlaySound>no</PlaySound> 
  <FlashClient>no</FlashClient> 
  <PauseBot>no</PauseBot> 
  <Disconnect>no</Disconnect> 
  <SafeList>null</SafeList> 
  </PrivateMessage>
- <Advanced>
  <PlaySound>no</PlaySound> 
  <FlashClient>no</FlashClient> 
  <PauseBot>no</PauseBot> 
  <Disconnect>no</Disconnect> 
  <Screenshot>no</Screenshot> 
  </Advanced>
- <Raid>
  <PlaySound>no</PlaySound> 
  <FlashClient>no</FlashClient> 
  <PauseBot>no</PauseBot> 
  <Disconnect>no</Disconnect> 
  <Warnings>All</Warnings> 
  </Raid>
- <SafeBank>
  <PlaySound>yes</PlaySound> 
  <FlashClient>yes</FlashClient> 
  <PauseBot>yes</PauseBot> 
  <CloseTibia>no</CloseTibia> 
  <Disconnect>yes</Disconnect> 
  </SafeBank>
- <HealCreature>
  <PlaySound>yes</PlaySound> 
  <FlashClient>yes</FlashClient> 
  <PauseBot>yes</PauseBot> 
  <CloseTibia>no</CloseTibia> 
  <Disconnect>yes</Disconnect> 
  <Screenshot>no</Screenshot> 
  </HealCreature>
- <YourAttack>
  <PlaySound>yes</PlaySound> 
  <FlashClient>yes</FlashClient> 
  <PauseBot>yes</PauseBot> 
  <CloseTibia>no</CloseTibia> 
  <Disconnect>yes</Disconnect> 
  <Screenshot>no</Screenshot> 
  <SafeList>null</SafeList> 
  </YourAttack>
- <Unjust>
  <PlaySound>yes</PlaySound> 
  <FlashClient>yes</FlashClient> 
  <PauseBot>yes</PauseBot> 
  <CloseTibia>no</CloseTibia> 
  <Disconnect>yes</Disconnect> 
  </Unjust>
  </Message>
- <Capacity>
  <Value>100</Value> 
  <PlaySound>no</PlaySound> 
  <FlashClient>no</FlashClient> 
  <PauseBot>no</PauseBot> 
  <Disconnect>no</Disconnect> 
  </Capacity>
- <StandTime>
  <Value>300000</Value> 
  <PlaySound>yes</PlaySound> 
  <FlashClient>no</FlashClient> 
  <PauseBot>no</PauseBot> 
  <Disconnect>no</Disconnect> 
  </StandTime>
- <Stamina>
  <Value>841</Value> 
  <PlaySound>no</PlaySound> 
  <FlashClient>no</FlashClient> 
  <PauseBot>no</PauseBot> 
  <CloseTibia>no</CloseTibia> 
  <Disconnect>no</Disconnect> 
  </Stamina>
- <Disconnect>
  <PlaySound>yes</PlaySound> 
  <FlashClient>no</FlashClient> 
  <PauseBot>no</PauseBot> 
  </Disconnect>
  <Enabled>yes</Enabled> 
  </Alerts>
- <Healer>
- <Rules>
- <HP>
  <HealRange>0 to 39 %</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> 
  </HP>
- <MP>
  <HealRange>0 to 100 %</HealRange> 
  <ManaRange>0 to 55 %</ManaRange> 
  <HealMethod>Mana Potion</HealMethod> 
  <ExtraCondition>No condition</ExtraCondition> 
  <CooldownControl>yes</CooldownControl> 
  <CheckItem>yes</CheckItem> 
  <SpamRate>700 to 1000</SpamRate> 
  <Enabled>yes</Enabled> 
  </MP>
- <Utura>
  <HealRange>0 to 78 %</HealRange> 
  <ManaRange>75 to all</ManaRange> 
  <HealMethod>Recovery</HealMethod> 
  <ExtraCondition>If not strengthened</ExtraCondition> 
  <CooldownControl>yes</CooldownControl> 
  <CheckItem>no</CheckItem> 
  <SpamRate>200 to 400</SpamRate> 
  <Enabled>yes</Enabled> 
  </Utura>
- <Mana-trejn>
  <HealRange>0 to 100 %</HealRange> 
  <ManaRange>97 to 100 %</ManaRange> 
  <HealMethod>Haste</HealMethod> 
  <ExtraCondition>No condition</ExtraCondition> 
  <CooldownControl>yes</CooldownControl> 
  <CheckItem>no</CheckItem> 
  <SpamRate>200 to 400</SpamRate> 
  <Enabled>yes</Enabled> 
  </Mana-trejn>
- <Exura-Ico>
  <HealRange>0 to 77 %</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>
  </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>
- <Print-On-Death>
  <Script>--############[SS on Death]############-- --#####################################-- local printscreen = true if hppc == 0 then if (printscreen == true) then focusclient() screenshot() end printscreen = false else printscreen = true end</Script> 
  <SpamRate>800 to 1000</SpamRate> 
  <Enabled>yes</Enabled> 
  </Print-On-Death>
- <Antitrap>
  <Script>--############[Safe Trap]###########-- --##################################-- if maround(7) > 0 and pzone == false and ((maround(1) == 0 and target.id > 0 and standtime >= 10000) or standtime >= 120000) then local rand = math.random(1,8) if (rand == 1) then move('w') elseif (rand == 2) then move('e') elseif (rand == 3) then move('n') elseif (rand == 4) then move('s') elseif (rand == 5) then move('nw') elseif (rand == 6) then move('ne') elseif (rand == 7) then move('sw') elseif (rand == 8) then move('se') end wait(1000) end</Script> 
  <SpamRate>800 to 1000</SpamRate> 
  <Enabled>yes</Enabled> 
  </Antitrap>
- <Exori>
  <Script>--############[Exori]############-- --###############################-- local count = 4 -- How many monster need to around you to cast spell local spell = 'exori' -- Spell to cast if maround(1, "Corym Charlatan", "Corym Skirmisher", "Corym Vanguard") >= count and paround(10, true) == 0 then cast(spell) wait(2000) end</Script> 
  <SpamRate>800 to 1000</SpamRate> 
  <Enabled>yes</Enabled> 
  </Exori>
- <DropFlask>
  <Script>--###########[Drop Flask]###########-- --##################################-- local config = { itemID = 285, 284, 283, flaskCOUNT = 30 } if (itemcount(config.itemID) >= config.flaskCOUNT) then pausewalking(1500) dropitems(config.itemID) wait(500,900) end</Script> 
  <SpamRate>800 to 1000</SpamRate> 
  <Enabled>yes</Enabled> 
  </DropFlask>
- <MountCheck>
  <Script>--############[Check]############-- --###############################-- if AutoMount 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> 
  </MountCheck>
- <Print-On-Up>
  <Script>local serverlog_lines = getnewmessages("Server Log") local serverlog_q = serverlog_lines.count - 1 for i = 0, serverlog_q do if (serverlog_lines[serverlog_q - i].text:find("You advanced")) then screenshot("[..Isle Of Evil..] "..name.." "..string.gsub(date(), "/", "_").." "..string.gsub(time(), ":", ".")) wait(30000) end end</Script> 
  <SpamRate>800 to 1000</SpamRate> 
  <Enabled>yes</Enabled> 
  </Print-On-Up>
- <SafeBank>
  <Script>local msgs = getnewmessages("NPCs") local qtd = msgs.count-1 for i=0,qtd do if msgs[qtd].text:find('There is not enough gold on your account.') then setcavebot('off') wait(5000,10000) closetibia() end end</Script> 
  <SpamRate>800 to 1000</SpamRate> 
  <Enabled>yes</Enabled> 
  </SafeBank>
- <AntiFurnitureTrap>
  <Script>--#########[Anti Furniture]#########-- --##################################-- weapontouse = weapontouse or 3308 -- machete local blockwalkids = {2025, 2029, 2030, 2043, 2044, 2045, 2046, 2047, 2048, 2059, 2060, 2061, 2445, 2446, 2447, 2448, 2449, 2450, 2451, 2452, 2453, 2454, 2465, 2466, 2467, 2468, 2524, 2904, 2959, 2960, 2961, 2962, 2963, 2964, 2975, 2976, 2979, 2982, 2986, 2997, 2998, 2999, 3000, 3484, 3485, 3486, 3487, 3510, 3511, 3512, 3513, 5046, 5055, 5056, 6109, 6110, 6111, 6112, 6367, 6368, 6369, 6370, 7860, 7861, 7862, 7863, 9132, 9141, 10208, 10210, 10211, 10212, 10213, 10214, 10215} for i=-7,7 do for j=-5,5 do local x,y,z = posx+i,posy+j,posz if table.binaryfind(blockwalkids,toptileitem(x,y,z)) then if tilereachable(x,y,z) then pausewalking(10000) local topid = toptileitem(x,y,z) while tilereachable(x,y,z) and (math.abs(posx-x) > 1 or math.abs(posy-y) > 1) do reachlocation(x,y,z) wait(100,200) updateworld() end while toptileitem(x,y,z) == topid and posz == z and (math.abs(posx-x) <= 1 and math.abs(posy-y) <= 1) do useitemon(weapontouse,toptileitem(x,y,z),ground(x,y,z)) pausewalking(5000) wait(400,500) updateworld() end pausewalking(0) end end end end</Script> 
  <SpamRate>800 to 1000</SpamRate> 
  <Enabled>yes</Enabled> 
  </AntiFurnitureTrap>
- <Soft-Boots-Changer>
  <Script>local softBoots = "soft boots" local otherBoots = "boots of haste" local minMana = 85 if mppc < minMana and pzone == false and boots ~= 3549 and itemcount(softBoots) > 0 then moveitems(softBoots, "all", "boots", 1) elseif boots == itemid("worn soft boots") then moveitems(otherBoots, "all", "boots", 1) elseif mppc > minMana and boots ~= itemid(otherBoots) then moveitems(otherBoots, "all", "boots", 1) elseif pzone and boots ~= itemid(otherBoots) then moveitems(otherBoots, "all", "boots", 1) elseif boots == 0 then moveitems(otherBoots, "all", "boots", 1) end</Script> 
  <SpamRate>800 to 1000</SpamRate> 
  <Enabled>yes</Enabled> 
  </Soft-Boots-Changer>
- <PremiumCheck>
  <Script>if PremiumAccount then setsettings("Settings\\Healer\\Rules\\Utura\\Enabled", "yes") setsettings("Settings\\Actions\\List\\Exori\\Enabled", "yes") setsettings("Settings\\Targeting\\Monsters\\Corym Vanguard\\ListSettings\\Melee\\ListSpell\\Spell0", "Brutal Strike") setsettings("Settings\\Targeting\\Monsters\\Corym Vanguard\\ListSettings\\Coward-Fleeing\\ListSpell\\Spell0", "Whirlwind Throw") setsettings("Settings\\Targeting\\Monsters\\Corym Skirmisher\\ListSettings\\Setting0\\ListSpell\\Spell0", "Brutal Strike") setsettings("Settings\\Healer\\Rules\\Mana trejn\\HealMethod", "Haste") else setsettings("Settings\\Healer\\Rules\\Utura\\Enabled", "no") setsettings("Settings\\Actions\\List\\Exori\\Enabled", "no") setsettings("Settings\\Targeting\\Monsters\\Corym Vanguard\\ListSettings\\Melee\\ListSpell\\Spell0", "No Action") setsettings("Settings\\Targeting\\Monsters\\Corym Vanguard\\ListSettings\\Coward-Fleeing\\ListSpell\\Spell0", "No Action") setsettings("Settings\\Targeting\\Monsters\\Corym Skirmisher\\ListSettings\\Setting0\\ListSpell\\Spell0", "No Action") setsettings("Settings\\Healer\\Rules\\Mana trejn\\HealMethod", "Wound Cleansing") end</Script> 
  <SpamRate>800 to 1000</SpamRate> 
  <Enabled>yes</Enabled> 
  </PremiumCheck>
  </List>
  <Setup>-- [EK -=- Venore Coryms 1.1 -=- by PQlse!^] -- Setup: PremiumAccount = true SoftbootsRefill = false AutoMount = true CapToLeave = 50 StaminaTime = 870 -- Stamina go Offline Training (870 = 14h 30min) -- >>>>>>>>>> Backpacks <<<<<<<<<< MainBPname = "Demon Backpack" LootBPname = "Golden Backpack" GoldBPname = "Brocade Backpack" SupplyBPname = "Purple Backpack" -- >>>>>>>>>> Depot <<<<<<<<<< MainDepotname = "Green Backpack" AddonDepotname = "Camouflage Backpack" StackableBPAmount = 20 -- How many BPs inside MainDepotname are for stackable loot? -- >>>>>>>>>> Potions <<<<<<<<<< mananame = "mana potion" -- Name of mana potion. manaprice = 50 -- Price of mana potion to buy. manatobuy = 350 -- How many mana potions to buy? manatoback = 45 -- How many potions to back reffil? healthname = "great health potion" -- Name of health potion. healthprice = 190 -- Price of health potion to buy healthtobuy = 50 -- How many potions buy? healthtoback = 15 -- How many potions to back reffil? manatokeep = 90 -- Manas to keep going after selling? healthtokeep = 30 -- HPs to keep going after selling? CapToGo = 200 -- Cap to keep going after selling? -- >>>>>>>>>> Relog <<<<<<<<<< ServerSaveRelog = true time_before_ss = '09:20' time_ss = '10:00' time_to_login = '10:15' AccountName = "" Password = "" CharName = ""</Setup> 
  <Enabled>yes</Enabled> 
  </Actions>
- <CaveBot>
- <Waypoints>
  <Begin>Action 33016 32055 6 setsettings("Settings\\Actions\\List\\AntiFurniureTrap\\Enabled","no");;if stamina <= StaminaTime then; gotolabel("StaminaLogout");elseif SoftbootsRefill and (itemcount(6530) > 0 or boots == 6530) then; gotolabel("");else; return;end</Begin> 
  <w008>Stand 33020 32059 6</w008> 
  <w001>Stand 33018 32051 7</w001> 
  <SetupBP>Action 33018 32051 7 setsettings("Settings\\Cavebot\\Settings\\OpenNextBp","no");setsettings("Settings\\Cavebot\\Pathfinding\\WalkThroughPlayers","yes");;closewindows();while windowcount() < 2 do;closewindows();wait(1000,2000);openitem(MainBPname, "back", true);wait(1000,2000);resizewindows();wait(1000,2000);openitem(LootBPname, MainBPname, true);wait(1000,2000);end;;while windowcount('Locker') == 0;do;reachgrounditem('depot');openitem('depot') wait(500,1000);end;;while windowcount(3502) < 1;do;openitem(3502, 'Locker') wait(1000,2000);end;;while windowcount(MainDepotname) < 1;do;openitem(MainDepotname, 3502) wait(1000, 2000);end</SetupBP> 
  <Godeposit>Action 33018 32051 7 local CONFIG = {; LOOT_BACKPACK = LootBPname,; ; STACKABLE_BACKPACK = AddonDepotname,; STACKABLE_BACKPACK_AMOUNT = StackableBPAmount,; ; DEPOSIT_ITEMS = {"earflap", "cheesy figurine", "cheese cutter", "bola"},;};;local NOT_STACKABLE_LAST_ON_TO, ITEM_INDEX = 0, 1;;while (#CONFIG.DEPOSIT_ITEMS >= ITEM_INDEX) do; if (type(CONFIG.DEPOSIT_ITEMS[ITEM_INDEX]) == "string") then; local ITEM_ID = itemid(CONFIG.DEPOSIT_ITEMS[ITEM_INDEX]); ; if (ITEM_ID > 0) then; CONFIG.DEPOSIT_ITEMS[ITEM_INDEX], ITEM_INDEX = ITEM_ID, ITEM_INDEX + 1; else; table.remove(CONFIG.DEPOSIT_ITEMS, ITEM_INDEX); end; elseif (type(CONFIG.DEPOSIT_ITEMS[ITEM_INDEX]) == "number") then; if (CONFIG.DEPOSIT_ITEMS[ITEM_INDEX] > 0) then; ITEM_INDEX = ITEM_INDEX + 1; else; table.remove(CONFIG.DEPOSIT_ITEMS, ITEM_INDEX); end; else; table.remove(CONFIG.DEPOSIT_ITEMS, ITEM_INDEX); end;end;;while (true) do; for _, DEPOSIT_ITEM in ipairs(CONFIG.DEPOSIT_ITEMS) do; if (itemcount(DEPOSIT_ITEM, CONFIG.LOOT_BACKPACK) > 0) then; if (itemproperty(DEPOSIT_ITEM).isCumulative) then; local STACKABLE_LAST_ON_TO = 0; ; while (CONFIG.STACKABLE_BACKPACK_AMOUNT > STACKABLE_LAST_ON_TO) do; local ITEM_COUNT_BEFORE = itemcount(DEPOSIT_ITEM, CONFIG.LOOT_BACKPACK); ; moveitemsonto(DEPOSIT_ITEM, "all", CONFIG.STACKABLE_BACKPACK, 100, STACKABLE_LAST_ON_TO) wait(500, 1000); ; local ITEM_COUNT_AFTER = itemcount(DEPOSIT_ITEM, CONFIG.LOOT_BACKPACK); ; if (ITEM_COUNT_BEFORE == ITEM_COUNT_AFTER and ITEM_COUNT_AFTER > 0) then; STACKABLE_LAST_ON_TO = STACKABLE_LAST_ON_TO + 1; elseif (ITEM_COUNT_AFTER == 0) then; break; end; end; else; while (CONFIG.NOT_STACKABLE_BACKPACK_AMOUNT > NOT_STACKABLE_LAST_ON_TO) do; local ITEM_COUNT_BEFORE = itemcount(DEPOSIT_ITEM, CONFIG.LOOT_BACKPACK); ; moveitemsonto(DEPOSIT_ITEM, "all", CONFIG.NOT_STACKABLE_BACKPACK, 100, NOT_STACKABLE_LAST_ON_TO) wait(500, 1000); ; local ITEM_COUNT_AFTER = itemcount(DEPOSIT_ITEM, CONFIG.LOOT_BACKPACK); ; if (ITEM_COUNT_BEFORE == ITEM_COUNT_AFTER and ITEM_COUNT_AFTER > 0) then; NOT_STACKABLE_LAST_ON_TO = NOT_STACKABLE_LAST_ON_TO + 1; elseif (ITEM_COUNT_AFTER == 0) then; break; end; end; end; end; end; ; if (itemcount(CONFIG.LOOT_BACKPACK, CONFIG.LOOT_BACKPACK) > 0) then; openitem(CONFIG.LOOT_BACKPACK, CONFIG.LOOT_BACKPACK, false) wait(2000, 3000); else; break; end; ; wait(100);end;</Godeposit> 
  <Depositfailcheck>Action 33018 32051 7 if itemcount("Bola") > 1 or itemcount("Cheese Cutter") > 1 or itemcount("Cheesy Figurine") > 1 or itemcount("Earflap") > 1 then; gotolabel("Begin");else; return;end</Depositfailcheck> 
  <w002>Stand 33020 32059 7</w002> 
  <w003>Stand 33019 32053 6</w003> 
  <Bank>Action 33019 32053 6 closewindows();while windowcount() < 2 do;closewindows();wait(500, 1000);openitem(MainBPname, 'back');wait(500, 1000);resizewindows() ;wait(500, 1000);openitem(SupplyBPname, MainBPname, true);wait(500, 1000);resizewindows();end ;;local mana = positive(manatobuy - itemcount(mananame)) * manaprice;local health = positive(healthtobuy - itemcount(healthname)) * healthprice;local Total = mana + health;;wait(500,1000);say("hi");wait(1500,2000);npcsay("deposit all");wait(1000,1300);npcsay("yes");wait(1000,1300);npcsay("balance");wait(2000);npcsay("withdraw "..Total);wait(1000,1300);npcsay("yes");wait(1000,1300);;setsettings("Settings\\Cavebot\\Pathfinding\\WalkThroughPlayers","no")</Bank> 
  <w005>Walk 33007 32053 6</w005> 
  <w006>Walk 33002 32073 6</w006> 
  <w007>Walk 32976 32078 6</w007> 
  <Manas>Stand 32970 32085 6</Manas> 
  <BuyManas>Action 32970 32085 6 sellflasks();wait(500);;local CurrentManas = itemcount(mananame);local CurrentHealths = itemcount(healthname);;buyitemsupto(healthname,healthtobuy,CurrentHealths);wait(200,300);moveitems(healthname,SupplyBPname, 1000) ;wait(300,400);moveitems(healthname,SupplyBPname, 1000) ;wait(300,400);;manaamount = manatobuy - CurrentManas ;while manaamount > 0 do ;buyitems(mananame, manaamount);wait(300,400);moveitems(mananame,SupplyBPname, 100);manaamount = manaamount-100;end;;moveitems(mananame,SupplyBPname, 100)</BuyManas> 
  <BuyManasCheck>Action 32970 32085 6 if itemcount(mananame) < manatobuy then; gotolabel("Begin");else; return;end</BuyManasCheck> 
  <w009>Walk 32976 32073 6</w009> 
  <w010>Walk 32998 32073 6</w010> 
  <UseTheDoor>Walk 32998 32096 6</UseTheDoor> 
  <UseDoor>Action 32999 32096 6 useitem(17569, 32999, 32096, 6)</UseDoor> 
  <w013>Stand 33000 32096 6</w013> 
  <UseDoorCheck>Action 33000 32096 6 if not islocation() then; gotolabel("Tower");end</UseDoorCheck> 
  <w015>Stand 33004 32095 6</w015> 
  <UseTheDoor2>Walk 33004 32098 7</UseTheDoor2> 
  <UseDoor2>Action 33004 32099 7 useitem(17700, 33004, 32099, 7)</UseDoor2> 
  <w018>Stand 33004 32100 7</w018> 
  <UseDoorCheck2>Action 33004 32100 7 if not islocation() then; gotolabel("Tower2");end</UseDoorCheck2> 
  <GoToBridge>Stand 33016 32095 7</GoToBridge> 
  <w014>Walk 33024 32094 6</w014> 
  <w017>Walk 33026 32098 6</w017> 
  <w019>Stand 33032 32096 6</w019> 
  <CheckBridge>Action 33032 32096 7 if not islocation() then; gotolabel("GoToBridge");end</CheckBridge> 
  <GoToBridge2>Walk 33038 32095 7</GoToBridge2> 
  <w020>Walk 33047 32096 7</w020> 
  <CheckBridge2>Action 33047 32096 7 setsettings("Settings\\Actions\\List\\AntiFurniureTrap\\Enabled","yes");;if not islocation() then; gotolabel("GoToBridge2");end</CheckBridge2> 
  <KeepHunting>Walk 33063 32095 7</KeepHunting> 
  <UpStairs>Stand 33071 32089 7</UpStairs> 
  <w021>Stand 33073 32086 6</w021> 
  <AfterRelog>Stand 33073 32086 7</AfterRelog> 
  <w089>Action 33072 32086 7 ;wait(200,400);setsettings("Settings\\Cavebot\\Settings\\OpenNextBp","yes");;closewindows()</w089> 
  <SetupHuntBPs>Action 33073 32086 7 wait(200,400);while windowcount() < 4 do;closewindows();wait(2000,3000);openitem(MainBPname, "back", true);wait(2000,3000);resizewindows();wait(2000,3000);openitem(SupplyBPname, MainBPname, true);wait(2000,3000);resizewindows();openitem(LootBPname, MainBPname, true);wait(2000,3000);resizewindows();openitem(GoldBPname, MainBPname, true);wait(2000,3000);resizewindows();end</SetupHuntBPs> 
  <NeverMind>Stand 33072 32086 7</NeverMind> 
  <w069>Stand 33072 32086 8</w069> 
  <CheckStairs>Action 33072 32086 8 if not islocation() then; gotolabel("UpStairs");end</CheckStairs> 
  <UpStairsCheck>Action 33072 32086 8 if not islocation() then; gotolabel("UpStairs");end</UpStairsCheck> 
  <DownHunting>Stand 33078 32079 8</DownHunting> 
  <w023>Walk 33084 32071 9</w023> 
  <w025>Stand 33092 32069 9</w025> 
  <w024>Stand 33092 32074 10</w024> 
  <DownHuntingCheck>Action 33092 32074 11 if ServerSaveRelog and time() > time_before_ss and time() < time_ss or itemcount(mananame) < manatoback or itemcount(healthname) < healthtoback or cap < CapToLeave or stamina <= StaminaTime then; gotolabel("Refill");else; return;end</DownHuntingCheck> 
  <StartHunt>Node 33097 32060 11</StartHunt> 
  <CheckNE>Action 33092 32075 11 if ServerSaveRelog and time() > time_before_ss and time() < time_ss or itemcount(mananame) < manatoback or itemcount(healthname) < healthtoback or cap < CapToLeave or stamina <= StaminaTime then; gotolabel("RefillNE");else; return;end</CheckNE> 
  <w012>Node 33118 32053 11</w012> 
  <w026>Node 33121 32036 11</w026> 
  <CheckNE>Action 33092 32075 11 if ServerSaveRelog and time() > time_before_ss and time() < time_ss or itemcount(mananame) < manatoback or itemcount(healthname) < healthtoback or cap < CapToLeave or stamina <= StaminaTime then; gotolabel("RefillNE");else; return;end</CheckNE> 
  <w027>Node 33126 32010 11</w027> 
  <w028>Node 33145 32036 11</w028> 
  <CheckNE>Action 33092 32075 11 if ServerSaveRelog and time() > time_before_ss and time() < time_ss or itemcount(mananame) < manatoback or itemcount(healthname) < healthtoback or cap < CapToLeave or stamina <= StaminaTime then; gotolabel("RefillNE");else; return;end</CheckNE> 
  <w029>Node 33137 32048 11</w029> 
  <w030>Node 33142 32062 11</w030> 
  <CheckNE>Action 33092 32075 11 if ServerSaveRelog and time() > time_before_ss and time() < time_ss or itemcount(mananame) < manatoback or itemcount(healthname) < healthtoback or cap < CapToLeave or stamina <= StaminaTime then; gotolabel("RefillNE");else; return;end</CheckNE> 
  <w031>Node 33120 32068 11</w031> 
  <GoingSE>Node 33128 32083 11</GoingSE> 
  <w033>Node 33128 32098 11</w033> 
  <w034>Node 33133 32109 11</w034> 
  <w035>Node 33140 32126 11</w035> 
  <CheckSE>Action 33092 32075 11 if ServerSaveRelog and time() > time_before_ss and time() < time_ss or itemcount(mananame) < manatoback or itemcount(healthname) < healthtoback or cap < CapToLeave or stamina <= StaminaTime then; gotolabel("RefillSE");else; return;end</CheckSE> 
  <w036>Node 33140 32155 11</w036> 
  <w037>Node 33135 32171 11</w037> 
  <CheckSE>Action 33092 32075 11 if ServerSaveRelog and time() > time_before_ss and time() < time_ss or itemcount(mananame) < manatoback or itemcount(healthname) < healthtoback or cap < CapToLeave or stamina <= StaminaTime then; gotolabel("RefillSE");else; return;end</CheckSE> 
  <w032>Node 33121 32137 11</w032> 
  <w038>Node 33120 32171 11</w038> 
  <CheckSE>Action 33092 32075 11 if ServerSaveRelog and time() > time_before_ss and time() < time_ss or itemcount(mananame) < manatoback or itemcount(healthname) < healthtoback or cap < CapToLeave or stamina <= StaminaTime then; gotolabel("RefillSE");else; return;end</CheckSE> 
  <w039>Node 33096 32136 11</w039> 
  <w040>Node 33128 32104 11</w040> 
  <CheckSE>Action 33092 32075 11 if ServerSaveRelog and time() > time_before_ss and time() < time_ss or itemcount(mananame) < manatoback or itemcount(healthname) < healthtoback or cap < CapToLeave or stamina <= StaminaTime then; gotolabel("RefillSE");else; return;end</CheckSE> 
  <w041>Node 33096 32101 11</w041> 
  <w042>Walk 33095 32088 11</w042> 
  <w043>Walk 33092 32075 11</w043> 
  <LastCheck>Action 33092 32075 11 if ServerSaveRelog and time() > time_before_ss and time() < time_ss or itemcount(mananame) < manatoback or itemcount(healthname) < healthtoback or cap < CapToLeave or stamina <= StaminaTime then; gotolabel("RefillSE");else; gotolabel("StartHunt");end</LastCheck> 
  <Refill>Stand 33092 32075 11</Refill> 
  <TargetingOFF>Action 33092 32076 11 setsettings("Settings\\Targeting\\Enabled","no")</TargetingOFF> 
  <Rope>Rope 33092 32074 11</Rope> 
  <w045>Walk 33092 32070 10</w045> 
  <Rope2>Rope 33092 32069 10</Rope2> 
  <w047>Walk 33084 32071 9</w047> 
  <Rope3>Rope 33078 32079 9</Rope3> 
  <CheckRope3>Action 33078 32080 8 if not islocation(3) then; gotolabel("Refill");else; return;end</CheckRope3> 
  <GetOut>Ladder 33072 32086 8</GetOut> 
  <w050>Ladder 33073 32086 7</w050> 
  <w051>Stand 33071 32089 6</w051> 
  <CheckOut>Action 33071 32090 7 setsettings("Settings\\Targeting\\Enabled","yes");;if not islocation() then; gotolabel("GetOut");end</CheckOut> 
  <w044>Walk 33063 32095 7</w044> 
  <Lift>Stand 33051 32099 7</Lift> 
  <w048>Use 33052 32099 7</w048> 
  <w049>Use 33052 32099 7</w049> 
  <w067>Stand 33053 32095 6</w067> 
  <SellRafzan>Action 33053 32096 6 reachcreature("Rafzan");wait(200,400);say("hi");wait(2000);npcsay("trade");wait(1500);sellitems("Ratana", 100);sellitems("Spike Shield", 100);sellitems("Spiky Club", 100);sellitems("Life Preserver", 100);sellitems("Leather Harness", 100);npcsay('Bye')</SellRafzan> 
  <Lift2>Use 33052 32099 6</Lift2> 
  <w053>Stand 33051 32099 6</w053> 
  <w054>Use 33052 32099 6</w054> 
  <DoYouEvenLift>Action 33051 32099 7 if posz == 7 then; return;else; gotolabel('Lift');end</DoYouEvenLift> 
  <SellCheck_DepositOrHunt>Action 33051 32099 7 setsettings("Settings\\Actions\\List\\AntiFurniureTrap\\Enabled","no");;if itemcount("Ratana") >= 1 or itemcount("Spiky Club") >= 1 or itemcount("Spike Shield") >= 1 or itemcount("Leather Harness") >= 1 or itemcount("Life Preserver") >= 1 then; gotolabel("Lift");elseif time() > time_before_ss and time() < time_ss or itemcount(mananame) < manatokeep or itemcount(healthname) < healthtokeep or cap < CapToGo or stamina <= StaminaTime then; gotolabel("GoVenore");else; gotolabel("KeepHunting");end</SellCheck_DepositOrHunt> 
  <GoVenore>Walk 33044 32096 7</GoVenore> 
  <w055>Ladder 33032 32096 7</w055> 
  <GoVenoreCheck>Action 33032 32097 6 if not islocation() then; gotolabel("GoVenore");end</GoVenoreCheck> 
  <GoVenore2>Walk 33026 32098 6</GoVenore2> 
  <w056>Walk 33019 32094 6</w056> 
  <w057>Stand 33016 32095 6</w057> 
  <GoVenoreCheck2>Action 33015 32095 7 if not islocation() then; gotolabel("GoVenore2");end</GoVenoreCheck2> 
  <UseTheDoorBack>Walk 33004 32100 7</UseTheDoorBack> 
  <UseDoorBack>Action 33004 32099 7 useitem(17700, 33004, 32099, 7)</UseDoorBack> 
  <w058>Stand 33004 32098 7</w058> 
  <UseDoorBackCheck>Action 33004 32098 7 if not islocation() then; gotolabel("Tower3");end</UseDoorBackCheck> 
  <UseDoorBack2>Ladder 33004 32095 7</UseDoorBack2> 
  <w060>Walk 33000 32096 6</w060> 
  <lalalala>Action 32999 32096 6 useitem(17569, 32999, 32096, 6)</lalalala> 
  <lalahehegogo>Stand 32998 32096 6</lalahehegogo> 
  <UseDoorBackCheck2>Action 32998 32096 6 if not islocation() then; gotolabel("Tower4");else; return;end;;setsettings("Settings\\Targeting\\Enabled","yes")</UseDoorBackCheck2> 
  <w061>Walk 32998 32073 6</w061> 
  <w063>Walk 33007 32053 6</w063> 
  <w064>Stand 33016 32055 6</w064> 
  <GotoStartDepot>Action 33016 32055 6 if islocation(4) then; gotolabel("Begin");else; gotolabel("w061");end</GotoStartDepot> 
  <RefillNE>Stand 33092 32064 11</RefillNE> 
  <w000>Walk 33092 32073 11</w000> 
  <GoRefill1>Action 33092 32073 11 if ServerSaveRelog and time() > time_before_ss and time() < time_ss then; gotolabel("Relog");elseif itemcount(mananame) < manatoback or itemcount(healthname) < healthtoback or cap < CapToLeave or stamina <= StaminaTime then; gotolabel("Refill");end</GoRefill1> 
  <RefillSE>Stand 33098 32103 11</RefillSE> 
  <ExtendedRefillCheck>Action 33098 32103 11 if not islocation(4) then; gotolabel("ExtendedRefill");else; return;end</ExtendedRefillCheck> 
  <w065>Walk 33092 32075 11</w065> 
  <GoRefill2>Action 33092 32075 11 if ServerSaveRelog and time() > time_before_ss and time() < time_ss then; gotolabel("Relog");elseif itemcount(mananame) < manatoback or itemcount(healthname) < healthtoback or cap < CapToLeave or stamina <= StaminaTime then; gotolabel("Refill");end</GoRefill2> 
  <ExtendedRefill>Stand 33103 32159 11</ExtendedRefill> 
  <ExtendedRefill2>Stand 33101 32132 11</ExtendedRefill2> 
  <w066>Walk 33101 32111 11</w066> 
  <GoRefill3>Action 33102 32111 11 if ServerSaveRelog and time() > time_before_ss and time() < time_ss then; gotolabel("Relog");elseif islocation(4) then; gotolabel("Refill");else; gotolabel("ExtendedRefill");end</GoRefill3> 
  <Relog>Action 33144 32057 11 setsettings("Settings\\Targeting\\Enabled","no")</Relog> 
  <Relog2>Walk 33101 32107 11</Relog2> 
  <w004>Action 33144 32057 11 setsettings("Settings\\Targeting\\Enabled","no")</w004> 
  <RelogRope>Rope 33092 32074 11</RelogRope> 
  <RelogRope2>Rope 33092 32069 10</RelogRope2> 
  <w068>Walk 33084 32071 9</w068> 
  <RelogRope3>Rope 33078 32079 9</RelogRope3> 
  <w070>Action 33078 32080 8 if not islocation() then; gotolabel("Relog");end</w070> 
  <w071>Ladder 33072 32086 8</w071> 
  <w072>Stand 33071 32086 7</w072> 
  <Logout>Action 33071 32086 7 if islocation() and time() > time_before_ss and time() < time_ss then ; wait(60000) ; focusclient() ; logout() ; wait(10000) ; while time() < time_to_login do ; wait(20000) ; end ;end ;;repeat ; focusclient() ; connect(AccountName, Password, CharName) ; wait(10000) ;until connected == true ;;setcavebot('on')</Logout> 
  <GoAfterRelog>Action 33071 32086 7 wait(200,1000);if islocation() then; gotolabel("AfterRelog");else; gotolabel("AfterRelog");end</GoAfterRelog> 
  <StaminaLogout>Walk 33007 32053 6</StaminaLogout> 
  <w022>Walk 32980 32073 6</w022> 
  <w073>Walk 32951 32071 6</w073> 
  <w074>Stand 32935 32075 6</w074> 
  <StaminaLogoutCheck>Action 32935 32076 7 if not islocation() then; gotolabel("StaminaLogout");end</StaminaLogoutCheck> 
  <StaminaLogout2>Stand 32936 32080 7</StaminaLogout2> 
  <w076>Stand 32935 32081 8</w076> 
  <w077>Stand 32934 32082 9</w077> 
  <w078>Stand 32932 32077 10</w078> 
  <WalkThroughplayers>Action 32932 32077 11 setsettings("Settings\\Cavebot\\Pathfinding\\WalkThroughPlayers","yes")</WalkThroughplayers> 
  <w075>Stand 32939 32076 11</w075> 
  <StaminaLogoutCheck2>Action 32939 32076 11 if not islocation() then; gotolabel("StaminaLogout2");end;;setsettings("Settings\\Cavebot\\Pathfinding\\WalkThroughPlayers","no")</StaminaLogoutCheck2> 
  <w079>Use 32939 32075 11</w079> 
  <CloseTibia>Action 32939 32075 11 wait(200,400);closetibia()</CloseTibia> 
  <RefillSofts>Stand 33019 32053 6</RefillSofts> 
  <w111>Action 33019 32053 6 moveitems(6530, "boots", MainBPname, 1);if not islocation() then;gotolabel("RefillSofts");end;;local Currentsofts = itemcount(6530) * 10000;local SoftbootsWithdraw = 1000 + Currentsofts;;;say("hi");wait(1200,1300);;if SoftbootsWithdraw > 0 then; npcsay("withdraw "..SoftbootsWithdraw); wait(500,800); npcsay("yes"); wait(200,300);end</w111> 
  <blalbalballab>Walk 33007 32052 6</blalbalballab> 
  <w080>Walk 33007 32053 6</w080> 
  <w081>Walk 33002 32073 6</w081> 
  <w082>Walk 32976 32073 6</w082> 
  <w083>Walk 32954 32084 6</w083> 
  <w084>Stand 32953 32108 6</w084> 
  <SooftBootsRefillerCheck>Action 32953 32108 6 if not islocation() then; gotolabel("RefillSofts");end</SooftBootsRefillerCheck> 
  <SoftBoots>Action 32953 32108 6 local Softmoney = itemcount(3031) + (itemcount(3035)*100) + (itemcount(3043)*10000);;while itemcount(6530) >= 1 and islocation(1) and Softmoney > 10500 do;say("hi");wait(500,1000);npcsay("repair");wait(500,800);npcsay("yes");wait(500);end</SoftBoots> 
  <w085>Walk 32954 32092 6</w085> 
  <w086>Walk 32965 32073 6</w086> 
  <w087>Walk 33007 32073 6</w087> 
  <w088>Walk 33016 32055 6</w088> 
  <GoToBeginning>Action 33016 32055 6 if (itemcount(6530) > 0 or boots == 6530) then; gotolabel("RefillSofts");else; gotolabel("Begin");end</GoToBeginning> 
  <Tower>Stand 33004 32095 2</Tower> 
  <w059>Stand 33003 32095 3</w059> 
  <w090>Stand 33004 32095 4</w090> 
  <w091>Stand 33003 32095 5</w091> 
  <w099>Stand 33003 32095 6</w099> 
  <w096>Action 33003 32095 6 if islocation() then; gotolabel("UseTheDoor");else; gotolabel("UseTheDoor");end</w096> 
  <Tower2>Stand 33004 32095 2</Tower2> 
  <w092>Stand 33003 32095 3</w092> 
  <w093>Stand 33004 32095 4</w093> 
  <w094>Stand 33003 32095 5</w094> 
  <w095>Stand 33004 32095 6</w095> 
  <w097>Stand 33004 32095 7</w097> 
  <w098>Action 33004 32095 7 if islocation() then; gotolabel("UseTheDoor2");else; gotolabel("UseTheDoor2");end</w098> 
  <Tower3>Stand 33004 32095 2</Tower3> 
  <w101>Stand 33003 32095 3</w101> 
  <w102>Stand 33004 32095 4</w102> 
  <w103>Stand 33003 32095 5</w103> 
  <w104>Stand 33003 32095 6</w104> 
  <w110>Stand 33004 32095 6</w110> 
  <w105>Action 33003 32095 6 if islocation() then; gotolabel("UseTheDoorBack");else; gotolabel("UseTheDoorBack");end</w105> 
  <Tower4>Stand 33004 32095 2</Tower4> 
  <w100>Action 33004 32095 7</w100> 
  <w107>Stand 33003 32095 3</w107> 
  <w108>Stand 33004 32095 4</w108> 
  <w109>Stand 33003 32095 5</w109> 
  <w106>Action 33004 32095 7 if islocation() then; gotolabel("UseDoorBack2");else; gotolabel("UseDoorBack2");end</w106> 
  </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>no</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;17821;17820</FoodToEat> 
  <PauseOnDeath>yes</PauseOnDeath> 
  </Settings>
  <Enabled>no</Enabled> 
  </CaveBot>
- <Looting>
- <List>
- <Gold-Coin>
  <Id>3031</Id> 
  <Destination>03</Destination> 
  <AlarmOn>No Alarm</AlarmOn> 
  </Gold-Coin>
- <Bola>
  <Id>17809</Id> 
  <Destination>02</Destination> 
  <AlarmOn>No Alarm</AlarmOn> 
  </Bola>
- <Cheese-Cutter>
  <Id>17817</Id> 
  <Destination>02</Destination> 
  <AlarmOn>No Alarm</AlarmOn> 
  </Cheese-Cutter>
- <Cheesy-Figurine>
  <Id>17818</Id> 
  <Destination>02</Destination> 
  <AlarmOn>No Alarm</AlarmOn> 
  </Cheesy-Figurine>
- <Earflap>
  <Id>17819</Id> 
  <Destination>02</Destination> 
  <AlarmOn>No Alarm</AlarmOn> 
  </Earflap>
- <Ratana>
  <Id>17812</Id> 
  <Destination>02</Destination> 
  <AlarmOn>No Alarm</AlarmOn> 
  </Ratana>
- <Spiky-Club>
  <Id>17859</Id> 
  <Destination>02</Destination> 
  <AlarmOn>No Alarm</AlarmOn> 
  </Spiky-Club>
- <Spike-Shield>
  <Id>17810</Id> 
  <Destination>02</Destination> 
  <AlarmOn>No Alarm</AlarmOn> 
  </Spike-Shield>
- <Leather-Harness>
  <Id>17846</Id> 
  <Destination>02</Destination> 
  <AlarmOn>No Alarm</AlarmOn> 
  </Leather-Harness>
- <Life-Preserver>
  <Id>17813</Id> 
  <Destination>02</Destination> 
  <AlarmOn>No Alarm</AlarmOn> 
  </Life-Preserver>
- <Rat-God-Doll>
  <Id>17825</Id> 
  <Destination>02</Destination> 
  <AlarmOn>No Alarm</AlarmOn> 
  </Rat-God-Doll>
  </List>
  <Condition>Corpses with listed items</Condition> 
  <Style>After melee kill</Style> 
  <OpenBodyTime>75</OpenBodyTime> 
  <Range>10</Range> 
  <EatFood>yes</EatFood> 
  <Enabled>yes</Enabled> 
  </Looting>
- <Targeting>
- <Monsters>
- <Corym-Charlatan>
  <Categories>-</Categories> 
  <Danger>1</Danger> 
- <ListSettings>
- <Setting0>
  <Count>Any</Count> 
  <HpRange>0 to 100 %</HpRange> 
  <Stance>Reach</Stance> 
  <Avoid>None</Avoid> 
  <Distance>0</Distance> 
  <Attack>Attack</Attack> 
  <ListSpell /> 
  <SpellRate>500 to 1000</SpellRate> 
  <AttackMode>No Change</AttackMode> 
  </Setting0>
  </ListSettings>
  <Looting>yes</Looting> 
  <MustAttackMe>no</MustAttackMe> 
  <OnlyIfTrapped>no</OnlyIfTrapped> 
  </Corym-Charlatan>
- <Corym-Skirmisher>
  <Categories>-</Categories> 
  <Danger>2</Danger> 
- <ListSettings>
- <Setting0>
  <Count>Any</Count> 
  <HpRange>0 to 100 %</HpRange> 
  <Stance>Reach</Stance> 
  <Avoid>None</Avoid> 
  <Distance>0</Distance> 
  <Attack>Attack</Attack> 
- <ListSpell>
  <Spell0>Brutal Strike</Spell0> 
  </ListSpell>
  <SpellRate>50 to 100</SpellRate> 
  <AttackMode>No Change</AttackMode> 
  </Setting0>
  </ListSettings>
  <Looting>yes</Looting> 
  <MustAttackMe>no</MustAttackMe> 
  <OnlyIfTrapped>no</OnlyIfTrapped> 
  </Corym-Skirmisher>
- <Corym-Vanguard>
  <Categories>-</Categories> 
  <Danger>10</Danger> 
- <ListSettings>
- <Melee>
  <Count>Any</Count> 
  <HpRange>10 to 100 %</HpRange> 
  <Stance>Approach</Stance> 
  <Avoid>Beam</Avoid> 
  <Distance>0</Distance> 
  <Attack>Attack</Attack> 
- <ListSpell>
  <Spell0>Brutal Strike</Spell0> 
  </ListSpell>
  <SpellRate>50 to 100</SpellRate> 
  <AttackMode>No Change</AttackMode> 
  </Melee>
- <Coward-Fleeing>
  <Count>Any</Count> 
  <HpRange>0 to 10 %</HpRange> 
  <Stance>Reach</Stance> 
  <Avoid>None</Avoid> 
  <Distance>0</Distance> 
  <Attack>Attack</Attack> 
- <ListSpell>
  <Spell0>Whirlwind Throw</Spell0> 
  </ListSpell>
  <SpellRate>50 to 100</SpellRate> 
  <AttackMode>No Change</AttackMode> 
  </Coward-Fleeing>
  </ListSettings>
  <Looting>yes</Looting> 
  <MustAttackMe>no</MustAttackMe> 
  <OnlyIfTrapped>no</OnlyIfTrapped> 
  </Corym-Vanguard>
- <All>
  <Categories>-</Categories> 
  <Danger>0</Danger> 
- <ListSettings>
- <Setting0>
  <Count>Any</Count> 
  <HpRange>0 to 100 %</HpRange> 
  <Stance>Reach</Stance> 
  <Avoid>None</Avoid> 
  <Distance>0</Distance> 
  <Attack>Attack</Attack> 
  <ListSpell /> 
  <SpellRate>500 to 1000</SpellRate> 
  <AttackMode>No Change</AttackMode> 
  </Setting0>
  </ListSettings>
  <Looting>yes</Looting> 
  <MustAttackMe>no</MustAttackMe> 
  <OnlyIfTrapped>yes</OnlyIfTrapped> 
  </All>
  </Monsters>
- <Settings>
  <ListOrder>7</ListOrder> 
  <Health>9</Health> 
  <Proximity>3</Proximity> 
  <Danger>5</Danger> 
  <PlayerOnScreenSecurity>If cavebotting</PlayerOnScreenSecurity> 
  <CooldownControl>yes</CooldownControl> 
  <CheckItem>no</CheckItem> 
  <MustBeReachable>yes</MustBeReachable> 
  <MustBeShootable>no</MustBeShootable> 
  </Settings>
  <Enabled>yes</Enabled> 
  </Targeting>
- <Hud>
- <List>
- <MMHbySirmate>
  <Script>-- [[ INIT START ]] -- -- -- 88 -- "" ,d -- 88 -- ,adPPYba, 88 8b,dPPYba, 88,dPYba,,adPYba, ,adPPYYba, MM88MMM ,adPPYba, -- I8[ "" 88 88P' "Y8 88P' "88" "8a "" `Y8 88 a8P_____88 -- `"Y8ba, 88 88 88 88 88 ,adPPPPP88 88 8PP""""""" -- aa ]8I 88 88 88 88 88 88, ,88 88, "8b, ,aa -- Author: `"YbbdP"' 88 88 88 88 88 `"8bbdP"Y8 "Y888 `"Ybbd8"' -- -- Monitor My Hunting! -- -- Version: 1.0 -- Created: 7.09.2012 -- Last update: 18.09.2012 -- MONITOR_MY_HUNTING = MONITOR_MY_HUNTING or { SCRIPT_NAME = "Monitor My Hunting", SCRIPT_VERSION = "1.0", CLEARED_STATS = false, INITIALIZED = false, } MONITOR_MY_HUNTING.SHOW_ALL_ITEMS = false MONITOR_MY_HUNTING.ITEMS_LIST = { {NAME = "gold coin", VALUE = 1}, {NAME = "Rat God Doll", VALUE = 0}, {NAME = "Leather Harness", VALUE = 750}, {NAME = "Spiky Club", VALUE = 300}, {NAME = "Spike Shield", VALUE = 250}, {NAME = "Life Preserver", VALUE = 300}, {NAME = "Cheesy Figurine", VALUE = 150}, {NAME = "Earflap", VALUE = 40}, {NAME = "Bola", VALUE = 35}, {NAME = "Ratana", VALUE = 500}, {NAME = "Cheese Cutter", VALUE = 50}, } MONITOR_MY_HUNTING.SHOW_ALL_SUPPLIES = false MONITOR_MY_HUNTING.SUPPLIES_LIST = { {NAME = "mana potion", PRICE = 50}, {NAME = "Brown Mushroom", PRICE = 10}, {NAME = "strong health potion", PRICE = 80}, {NAME = "great 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().right - 434, Client.WorldWindow().top + 5) local Y_POSITION, INDEX, ITEMS_LOOTED_WORTH, SUPPLIES_USED_WORTH = 30, 0, 0, 0 addtextshadow(sprintf("%s v%s", MONITOR_MY_HUNTING.SCRIPT_NAME:upper(), MONITOR_MY_HUNTING.SCRIPT_VERSION), 10, Y_POSITION + (INDEX * 16), MONITOR_MY_HUNTING.COLORS.ORANGE) Y_POSITION = Y_POSITION + 20 addtextshadow("ITEMS LOOTED", 10, Y_POSITION + (INDEX * 16), MONITOR_MY_HUNTING.COLORS.BLUE) Y_POSITION = Y_POSITION + 20 for _, LOOT_ITEM in pairs(Stats.GetItemsLooted()) do if ((MONITOR_MY_HUNTING.SHOW_ALL_ITEMS or table.find(MONITOR_MY_HUNTING.TEMP_ITEMS_LIST, LOOT_ITEM.ID, "ID")) and LOOT_ITEM.QUANTITY > 0) then addtextshadow(((#LOOT_ITEM.NAME > 17 and sprintf("%s...", string.match(string.sub(LOOT_ITEM.NAME, 1, 17), "(.-)%s?$"))) or LOOT_ITEM.NAME):ucwords(), 10, Y_POSITION + (INDEX * 16), MONITOR_MY_HUNTING.COLORS.CORNSILK) addtextshadow(sprintf("%s (%sK)", Misc.FormatNumber(LOOT_ITEM.QUANTITY), tostring(math.floor(LOOT_ITEM.VALUE * LOOT_ITEM.QUANTITY / 100) / 10)), 140, Y_POSITION + (INDEX * 16), MONITOR_MY_HUNTING.COLORS.WHITE) INDEX, ITEMS_LOOTED_WORTH = INDEX + 1, ITEMS_LOOTED_WORTH + (LOOT_ITEM.VALUE * LOOT_ITEM.QUANTITY) end end addtextshadow("Total:", 10, Y_POSITION + (INDEX * 16), MONITOR_MY_HUNTING.COLORS.WHITE) addtextshadow(sprintf("%s GPs", Misc.FormatNumber(ITEMS_LOOTED_WORTH)), 10 + 35, Y_POSITION + (INDEX * 16), MONITOR_MY_HUNTING.COLORS.ORANGE) Y_POSITION = Y_POSITION + 20 addtextshadow("SUPPLIES USED", 10, Y_POSITION + (INDEX * 16), MONITOR_MY_HUNTING.COLORS.BLUE) Y_POSITION = Y_POSITION + 20 for _, SUPPLY_ITEM in pairs(Stats.GetSuppliesUsed()) do if ((MONITOR_MY_HUNTING.SHOW_ALL_SUPPLIES or table.find(MONITOR_MY_HUNTING.TEMP_SUPPLIES_LIST, SUPPLY_ITEM.ID, "ID")) and SUPPLY_ITEM.QUANTITY > 0) then addtextshadow(((#SUPPLY_ITEM.NAME > 17 and sprintf("%s...", string.match(string.sub(SUPPLY_ITEM.NAME, 1, 17), "(.-)%s?$"))) or SUPPLY_ITEM.NAME):ucwords(), 10, Y_POSITION + (INDEX * 16), MONITOR_MY_HUNTING.COLORS.CORNSILK) addtextshadow(sprintf("%s (%sK)", Misc.FormatNumber(SUPPLY_ITEM.QUANTITY), tostring(math.floor(SUPPLY_ITEM.PRICE * SUPPLY_ITEM.QUANTITY / 100) / 10)), 140, Y_POSITION + (INDEX * 16), MONITOR_MY_HUNTING.COLORS.WHITE) INDEX, SUPPLIES_USED_WORTH = INDEX + 1, SUPPLIES_USED_WORTH + (SUPPLY_ITEM.PRICE * SUPPLY_ITEM.QUANTITY) end end addtextshadow("Total:", 10, Y_POSITION + (INDEX * 16), MONITOR_MY_HUNTING.COLORS.WHITE) addtextshadow(sprintf("%s GPs", Misc.FormatNumber(SUPPLIES_USED_WORTH)), 10 + 35, Y_POSITION + (INDEX * 16), MONITOR_MY_HUNTING.COLORS.ORANGE) Y_POSITION = Y_POSITION + 20 addtextshadow(sprintf("%s: %s GPs (%s K/H)", ((ITEMS_LOOTED_WORTH >= SUPPLIES_USED_WORTH and ("PROFIT")) or ("WASTE")), Misc.FormatNumber(ITEMS_LOOTED_WORTH - SUPPLIES_USED_WORTH), tostring(math.floor(((ITEMS_LOOTED_WORTH - SUPPLIES_USED_WORTH) * 3600) / (System.HuntingTime() / 1000) / 100) / 10)), 10, Y_POSITION + (INDEX * 16), ITEMS_LOOTED_WORTH >= SUPPLIES_USED_WORTH and MONITOR_MY_HUNTING.COLORS.GREEN or MONITOR_MY_HUNTING.COLORS.RED)</Script> 
  <RefreshRate>1000</RefreshRate> 
  <Enabled>yes</Enabled> 
  </MMHbySirmate>
  </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>15 to 27</PressWaitTime> 
  </Keyboard>
- <Mouse>
  <Mode>Simulate</Mode> 
  <Scroll>Use mouse wheel</Scroll> 
  <MoveSpeed>Instantaneous</MoveSpeed> 
  <ClickWaitTime>10 to 17</ClickWaitTime> 
  </Mouse>
  <OpenMenuPolicy>Confirm if cavebotting</OpenMenuPolicy> 
  <Enabled>yes</Enabled> 
  </Input>
  </Settings>
 
Status
Not open for further replies.
Top