What's new

Knight [FACC] [80] Ab'Dendriel Orc Fortress

Status
Not open for further replies.

Xinum

Never Give Up!
Joined
Dec 23, 2009
Messages
578
Reaction score
66
[EK][80] Ab'Dendriel Orc Fortress

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>30000</Value>
      <PlaySound>no</PlaySound>
      <FlashClient>no</FlashClient>
      <PauseBot>no</PauseBot>
      <Disconnect>no</Disconnect>
    </StandTime>
    <Stamina>
      <Value>841</Value>
      <PlaySound>yes</PlaySound>
      <FlashClient>yes</FlashClient>
      <PauseBot>yes</PauseBot>
      <CloseTibia>no</CloseTibia>
      <Disconnect>yes</Disconnect>
    </Stamina>
    <Disconnect>
      <PlaySound>no</PlaySound>
      <FlashClient>no</FlashClient>
      <PauseBot>no</PauseBot>
    </Disconnect>
    <Enabled>yes</Enabled>
  </Alerts>
  <Healer>
    <Rules>
      <exura-ico>
        <HealRange>30 to 85 %</HealRange>
        <ManaRange>40 to all</ManaRange>
        <HealMethod>Wound Cleansing</HealMethod>
        <ExtraCondition>No condition</ExtraCondition>
        <CooldownControl>yes</CooldownControl>
        <CheckItem>no</CheckItem>
        <SpamRate>500 to 500</SpamRate>
        <Enabled>yes</Enabled>
      </exura-ico>
      <great-health-potion>
        <HealRange>0 to 30 %</HealRange>
        <ManaRange>0 to 100 %</ManaRange>
        <HealMethod>Great Health Potion</HealMethod>
        <ExtraCondition>No condition</ExtraCondition>
        <CooldownControl>yes</CooldownControl>
        <CheckItem>no</CheckItem>
        <SpamRate>25 to 35</SpamRate>
        <Enabled>yes</Enabled>
      </great-health-potion>
      <mana-potion>
        <HealRange>0 to 100 %</HealRange>
        <ManaRange>0 to 35 %</ManaRange>
        <HealMethod>Mana Potion</HealMethod>
        <ExtraCondition>No condition</ExtraCondition>
        <CooldownControl>yes</CooldownControl>
        <CheckItem>yes</CheckItem>
        <SpamRate>500 to 500</SpamRate>
        <Enabled>yes</Enabled>
      </mana-potion>
      <mana-training>
        <HealRange>0 to 100 %</HealRange>
        <ManaRange>98 to 100 %</ManaRange>
        <HealMethod>Wound Cleansing</HealMethod>
        <ExtraCondition>No condition</ExtraCondition>
        <CooldownControl>yes</CooldownControl>
        <CheckItem>no</CheckItem>
        <SpamRate>500 to 500</SpamRate>
        <Enabled>yes</Enabled>
      </mana-training>
      <utura>
        <HealRange>35 to 95 %</HealRange>
        <ManaRange>100 to all</ManaRange>
        <HealMethod>Recovery</HealMethod>
        <ExtraCondition>No condition</ExtraCondition>
        <CooldownControl>yes</CooldownControl>
        <CheckItem>no</CheckItem>
        <SpamRate>200 to 400</SpamRate>
        <Enabled>no</Enabled>
      </utura>
    </Rules>
    <PingCompensation>10</PingCompensation>
    <Enabled>yes</Enabled>
  </Healer>
  <FriendHealer>
    <Rules />
    <Enabled>no</Enabled>
  </FriendHealer>
  <Refiller>
    <Rules />
    <Enabled>no</Enabled>
  </Refiller>
  <HotKeys>
    <List>
      <ShowBot>
        <Script>showbot()</Script>
        <MainKey>66</MainKey>
        <ComboKey>Alt</ComboKey>
        <Enabled>yes</Enabled>
      </ShowBot>
      <PauseBot>
        <Script>local cavebot = getsettings("Settings/CaveBot/Enabled")
local targeting = getsettings("Settings/Targeting/Enabled")

if cavebot == 'no' or targeting == 'no' then
   setcavebot('on')
   settargeting('on')
   setlooting('on')
else
   setcavebot('off')
   settargeting('off')
   setlooting('off')
end
wait(500)</Script>
        <MainKey>19</MainKey>
        <ComboKey>None</ComboKey>
        <Enabled>yes</Enabled>
      </PauseBot>
      <ShowClient>
        <Script>focusclient()</Script>
        <MainKey>84</MainKey>
        <ComboKey>Alt</ComboKey>
        <Enabled>yes</Enabled>
      </ShowClient>
      <ShowSettings>
        <Script>showsettings()</Script>
        <MainKey>83</MainKey>
        <ComboKey>Alt</ComboKey>
        <Enabled>yes</Enabled>
      </ShowSettings>
    </List>
    <Condition>Client focus required</Condition>
    <Enabled>yes</Enabled>
  </HotKeys>
  <Actions>
    <List>
      <moneycheck>
        <Script>local npcname = 'Finarfin'  -- Change NpcName 

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>
      </moneycheck>
      <mount>
        <Script>--[ Use Mount ]--
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>
      </mount>
      <drop-vials>
        <Script>local backpackName = MainBP 
local amountToDrop = itemcount(283)+itemcount(284)+itemcount(285) 
local capToDrop = 5000 

--DO NOT EDIT BELOW! 

if (itemcount(283)+itemcount(284)+itemcount(285)) >= math.random(3, 100) and cap <= capToDrop and maround(4) == 0 and lootbodies == false 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>
      </drop-vials>
      <AntiFurniureTrap>
        <Script>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>
      </AntiFurniureTrap>
    </List>
    <Setup>--##################################################################--
-- Script was creater by Ronnblad ##################################--
--##################################################################-- 
--Script Requierments --
-- Money on your balance.

-- CHARACTER REQ: --
-- A knight in level 80+ -- skills over 80/80 (if you want profit) --
-- A good wepon, and a good shield --

-- HOTKEYS --
-- HEALING: Exura Ico -- Great Health Potion -- Mana Potion --
-- ATTACK: ---------------------------
-- SUPPORT: --------------------------
-- TOOLS: Machete --

--##################################################################--
--Some Special Fetuers: --
usemount = false -- true/false use mount yes or no. --

--BP Setup: --
MainBP = "Brocade Backpack" --The Main BP.
LootBP = "Beach Backpack" -- Looting BP
StackBP = "Orange Backpack" -- Stack items BP
GoldBP = "Golden Backpack" -- gold BP

--DP Setup: -- 
MainDPBP = "Backpack" --Main backpack on DP.
StackableDPBP = "Red Backpack" --BP to deposit stackable loot on dp.
LootDPBP = "Green Backpack" --BP to deposit loot on dp.

-- Potions Setup:
MPname = "mana potion" -- Name of mana potion.
MPprice = 50 -- Price of manas to buy
MPtobuy = 200 -- How many manas buy?
MPtoLeave = 50 -- How many manas to back reffil?

HPname = "great health potion" -- Name of strong health potion.
HPprice = 190 -- Price of healths to buy
HPtobuy = 50 -- How many healths buy?
HPtoLeave = 25 -- How many healths to back reffil?

-- Hunt: --
Capleave = 300 -- How much cap to back reffil?</Setup>
    <Enabled>yes</Enabled>
  </Actions>
  <CaveBot>
    <Waypoints>
      <AbDendrielDepot>Stand 32682 31686 7</AbDendrielDepot>
      <open_backpack>Action 32682 31686 7 closewindows();wait(4000, 5500);openitem(MainBP, 'back');wait(2000, 2500);resizewindows() ;;if windowcount() < 1 then;gotolabel("DepositItems");end;</open_backpack>
      <w002>Stand 32682 31686 7</w002>
      <w003>Walk 32682 31685 7</w003>
      <w004>Stand 32682 31685 8</w004>
      <w005>Stand 32684 31687 8</w005>
      <bank>Action 32684 31687 8 local mps = positive(MPtobuy - itemcount(MPname)) * MPprice;local hps = positive(HPtobuy - itemcount(HPname)) * HPprice;local Total = mps + hps;;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)</bank>
      <w007>Stand 32684 31687 8</w007>
      <w008>Stand 32682 31685 8</w008>
      <w009>Ladder 32682 31685 8</w009>
      <w001>Stand 32682 31686 7</w001>
      <w006>Stand 32682 31687 7</w006>
      <w010>Ladder 32682 31687 7</w010>
      <w011>Stand 32682 31688 6</w011>
      <w012>Stand 32682 31684 6</w012>
      <w013>Ladder 32682 31684 6</w013>
      <w014>Stand 32682 31685 5</w014>
      <w015>Stand 32682 31687 5</w015>
      <w016>Ladder 32682 31687 5</w016>
      <w017>Stand 32682 31688 4</w017>
      <GoOpenLootBps>Stand 32681 31686 4</GoOpenLootBps>
      <OpenLootBps>Action 32681 31686 4 setsettings("Settings\\CaveBot\\Settings\\OpenNextBp", "no");closewindows();wait(4000, 5500);openitem(MainBP, 'back');wait(2000, 2500);resizewindows() ;wait(2000, 2500);openitem(StackBP, MainBP, true);wait(2000, 2500);openitem(LootBP, MainBP, true);wait(2000, 2500);resizewindows();;if windowcount() < 3 then;gotolabel("GoOpenLootBps");end;</OpenLootBps>
      <w021>Stand 32681 31686 4</w021>
      <deposit>Action 32681 31686 4 function depositloot() --this function can be placed at the bottom of setup aswell.;depotdeposit(StackableDPBP,"orc leather", "orc tooth", "bear paw", "skull belt", "shamanic hood", "broken shamanic staff", "wolf tooth chain", "orcish gear", "broken helmet", "honeycomb", "brown mushroom");wait(2000, 2500);depotdeposit(LootDPBP,"wand of decay", "halberd", "plate armor", "cyclops trophy", "orc trophy", "warrior helmet", "crusader helmet", "stealth ring", "gold ring", "sword ring", "dragon hammer");wait(2000, 2500);openitem(LootBP,LootBP);end -- close function;;setsettings("Settings\\CaveBot\\Settings\\OpenNextBp", "no");wait(3000, 5000);reachgrounditem("depot");wait(1000,2000);openitem("depot");wait(2000, 2500);openitem(3502, "locker");wait(2000, 2500);openitem(MainDPBP, "depot chest");wait(2000, 2500);depositloot();wait(2000, 2500);depositloot();wait(2000, 2500);depositloot();wait(2000, 2500);setsettings("Settings\\CaveBot\\Settings\\OpenNextBp", "yes")</deposit>
      <w019>Stand 32681 31686 4</w019>
      <w020>Stand 32682 31688 4</w020>
      <w022>Walk 32682 31687 4</w022>
      <w023>Stand 32682 31687 5</w023>
      <w024>Stand 32682 31685 5</w024>
      <w025>Walk 32682 31684 5</w025>
      <w026>Stand 32682 31684 6</w026>
      <w027>Node 32681 31675 6</w027>
      <w028>Node 32681 31664 6</w028>
      <w029>Node 32670 31663 6</w029>
      <TryBuyPots>Stand 32670 31659 6</TryBuyPots>
      <CheckLocationForPot>Action 32670 31659 6 if not islocation() then gotolabel('TryBuyPots') end</CheckLocationForPot>
      <supplise>Action 32670 31659 6 say("hi");wait(3000);npcsay("vials");wait(3000);npcsay("yes");wait(3000);npcsay("trade");wait(2500);buyitemsupto(MPname, MPtobuy);wait(2500);buyitemsupto(HPname, HPtobuy);wait(2500)</supplise>
      <w032>Stand 32670 31659 6</w032>
      <checksupplise>Action 32670 31659 6 if cap < Capleave or itemcount(MPname) < MPtoLeave or itemcount(HPname) < HPtoLeave then  ;   gotolabel('supplise') ;else ;   gotolabel('RunToSpawn') ;end</checksupplise>
      <RunToSpawn>Stand 32670 31659 6</RunToSpawn>
      <w033>Node 32665 31664 6</w033>
      <w034>Node 32656 31669 6</w034>
      <w035>Stand 32656 31673 6</w035>
      <w036>Walk 32656 31674 6</w036>
      <w037>Node 32654 31686 7</w037>
      <w038>Node 32647 31697 7</w038>
      <w039>Node 32641 31702 7</w039>
      <w040>Node 32641 31710 7</w040>
      <w000>Stand 32641 31708 7</w000>
      <CheckLocationTown>Action 32641 31708 7 if not islocation() then gotolabel('RunToSpawn') end</CheckLocationTown>
      <OpenAgain>Stand 32641 31712 7</OpenAgain>
      <fix_bps>Action 32641 31712 7 closewindows();wait(4000, 5500);openitem(MainBP, 'back');wait(2000, 2500);resizewindows() ;wait(2000, 2500);openitem(StackBP, MainBP, true);wait(2000, 2500);openitem(LootBP, MainBP, true);wait(2000, 2500);openitem(GoldBP, MainBP, true);wait(3000, 3500);resizewindows();;if windowcount() < 4 then;gotolabel("OpenAgain");end</fix_bps>
      <LeaveTown>Stand 32641 31712 7</LeaveTown>
      <w044>Stand 32641 31712 7</w044>
      <w041>Node 32640 31724 7</w041>
      <w042>Node 32640 31737 7</w042>
      <w045>Node 32640 31745 7</w045>
      <w046>Node 32640 31756 7</w046>
      <w047>Node 32641 31766 7</w047>
      <w048>Node 32641 31781 7</w048>
      <w049>Node 32641 31792 7</w049>
      <w050>Node 32642 31807 7</w050>
      <w051>Node 32643 31818 7</w051>
      <w052>Node 32651 31816 7</w052>
      <w053>Node 32656 31807 7</w053>
      <w054>Node 32663 31797 7</w054>
      <w030>Stand 32670 31796 7</w030>
      <LocationCheck3>Action 32670 31796 7 if not islocation() then gotolabel('LeaveTown') end</LocationCheck3>
      <EnteringMountin>Stand 32670 31796 7</EnteringMountin>
      <w056>Walk 32671 31796 7</w056>
      <w057>Stand 32672 31796 6</w057>
      <w055>Node 32671 31799 6</w055>
      <w058>Node 32671 31803 6</w058>
      <w059>Node 32678 31804 6</w059>
      <w060>Stand 32682 31807 6</w060>
      <w061>Walk 32683 31807 6</w061>
      <w062>Stand 32684 31807 7</w062>
      <LocationCheck>Action 32684 31807 7 if not islocation() then gotolabel('EnteringMountin') end</LocationCheck>
      <SafeSpot4>Stand 32684 31807 7</SafeSpot4>
      <w063>Node 32683 31817 7</w063>
      <w065>Node 32675 31832 7</w065>
      <w066>Node 32677 31842 7</w066>
      <w067>Node 32689 31850 7</w067>
      <w068>Node 32696 31859 7</w068>
      <w069>Node 32695 31872 7</w069>
      <w070>Node 32696 31884 7</w070>
      <w071>Node 32708 31884 7</w071>
      <w043>Stand 32704 31890 7</w043>
      <LocationCheck4>Action 32704 31890 7 if not islocation() then gotolabel('SafeSpot4') end</LocationCheck4>
      <SafeSpot5>Stand 32711 31868 7</SafeSpot5>
      <w073>Node 32722 31865 7</w073>
      <w074>Node 32735 31861 7</w074>
      <w075>Node 32750 31860 7</w075>
      <w076>Node 32764 31858 7</w076>
      <w077>Node 32766 31844 7</w077>
      <w078>Node 32771 31834 7</w078>
      <w079>Node 32784 31827 7</w079>
      <w080>Node 32793 31811 7</w080>
      <w064>Stand 32793 31811 7</w064>
      <LocationCheck5>Action 32793 31811 7 if not islocation() then gotolabel('SafeSpot5') end</LocationCheck5>
      <SafeSpot6>Stand 32793 31811 7</SafeSpot6>
      <w081>Node 32797 31796 7</w081>
      <w082>Node 32809 31790 7</w082>
      <w083>Node 32814 31788 7</w083>
      <w084>Node 32819 31777 7</w084>
      <w085>Node 32834 31767 7</w085>
      <w086>Node 32855 31768 7</w086>
      <w087>Stand 32873 31771 7</w087>
      <LocationCheck6>Action 32873 31771 7 if not islocation() then gotolabel('SafeSpot6') end</LocationCheck6>
      <SafeSpot7>Stand 32873 31771 7</SafeSpot7>
      <w088>Walk 32874 31771 7</w088>
      <w089>Stand 32875 31771 6</w089>
      <w090>Node 32881 31772 6</w090>
      <w091>Node 32889 31772 6</w091>
      <w092>Stand 32894 31772 6</w092>
      <w093>Walk 32895 31772 6</w093>
      <w094>Stand 32896 31772 7</w094>
      <EnableAntiFurniureTrap>Action 32950 32022 6 setsettings('Settings\\Actions\\List\\AntiFurniureTrap\\Enabled', 'yes')</EnableAntiFurniureTrap>
      <w242>Stand 32896 31772 7</w242>
      <LocationCheck7>Action 32896 31772 7 if not islocation() then gotolabel('SafeSpot7') end</LocationCheck7>
      <w235>Stand 32896 31772 7</w235>
      <hunt>Stand 32898 31772 7</hunt>
      <w095>Node 32898 31776 7</w095>
      <w096>Node 32895 31790 7</w096>
      <w097>Node 32910 31792 7</w097>
      <w098>Node 32919 31790 7</w098>
      <w099>Node 32931 31786 7</w099>
      <w100>Stand 32935 31794 7</w100>
      <w101>Walk 32936 31794 7</w101>
      <w102>Stand 32936 31793 6</w102>
      <w103>Node 32940 31793 6</w103>
      <w104>Stand 32947 31796 6</w104>
      <w018>Action 32947 31796 6 wait(500)</w018>
      <w105>Walk 32948 31796 6</w105>
      <w106>Stand 32948 31797 7</w106>
      <w107>Node 32951 31795 7</w107>
      <w108>Node 32973 31792 7</w108>
      <w109>Node 32977 31784 7</w109>
      <w110>Stand 32980 31782 7</w110>
      <w111>Walk 32980 31781 7</w111>
      <w112>Stand 32980 31782 8</w112>
      <w113>Action 32980 31782 8 wait(2500)</w113>
      <w114>Stand 32980 31782 8</w114>
      <w115>Walk 32980 31781 8</w115>
      <w116>Stand 32980 31780 7</w116>
      <w117>Node 32977 31781 7</w117>
      <w118>Node 32972 31762 7</w118>
      <w119>Node 32974 31751 7</w119>
      <w120>Node 32979 31754 7</w120>
      <w121>Node 32981 31749 7</w121>
      <w122>Node 32977 31743 7</w122>
      <w123>Node 32970 31735 7</w123>
      <w124>Node 32962 31727 7</w124>
      <w125>Node 32970 31721 7</w125>
      <w126>Node 32978 31723 7</w126>
      <w127>Node 32975 31730 7</w127>
      <w128>Node 32967 31739 7</w128>
      <w129>Node 32963 31739 7</w129>
      <w130>Node 32959 31739 7</w130>
      <w131>Stand 32956 31739 7</w131>
      <w031>Action 32956 31739 7 wait(500)</w031>
      <w132>Ladder 32956 31739 7</w132>
      <w133>Stand 32956 31740 6</w133>
      <w134>Node 32961 31739 6</w134>
      <w135>Node 32971 31739 6</w135>
      <w136>Node 32982 31743 6</w136>
      <w137>Node 32972 31750 6</w137>
      <w138>Node 32965 31751 6</w138>
      <w139>Node 32961 31752 6</w139>
      <w140>Node 32961 31756 6</w140>
      <w141>Node 32959 31762 6</w141>
      <w142>Node 32951 31763 6</w142>
      <w143>Node 32940 31762 6</w143>
      <w144>Node 32938 31774 6</w144>
      <w145>Node 32925 31775 6</w145>
      <w146>Stand 32923 31770 6</w146>
      <w240>Action 32923 31770 6 wait(500)</w240>
      <w147>Ladder 32923 31770 6</w147>
      <w148>Stand 32923 31771 5</w148>
      <w149>Node 32925 31772 5</w149>
      <w150>Stand 32923 31771 5</w150>
      <w243>Action 32923 31771 5 wait(500)</w243>
      <w151>Walk 32923 31770 5</w151>
      <w152>Stand 32923 31770 6</w152>
      <w153>Node 32921 31779 6</w153>
      <w154>Node 32918 31767 6</w154>
      <w155>Node 32928 31758 6</w155>
      <w156>Node 32931 31753 6</w156>
      <w157>Node 32931 31753 6</w157>
      <w158>Stand 32931 31750 6</w158>
      <w244>Action 32931 31750 6 wait(500)</w244>
      <w159>Walk 32931 31749 6</w159>
      <w160>Stand 32931 31749 7</w160>
      <w161>Stand 32931 31750 7</w161>
      <w245>Action 32931 31750 7 wait(500)</w245>
      <w162>Walk 32931 31751 7</w162>
      <w163>Stand 32931 31751 8</w163>
      <w164>Node 32925 31751 8</w164>
      <w165>Node 32912 31751 8</w165>
      <w166>Node 32898 31751 8</w166>
      <w167>Node 32891 31751 8</w167>
      <w168>Node 32891 31760 8</w168>
      <w169>Stand 32889 31770 8</w169>
      <w246>Action 32889 31770 8 wait(500)</w246>
      <w170>Ladder 32889 31770 8</w170>
      <w171>Stand 32889 31771 7</w171>
      <w172>Stand 32899 31772 7</w172>
      <CheckSupplise>Action 32899 31772 7 if cap < Capleave or itemcount(MPname) < MPtoLeave or itemcount(HPname) < HPtoLeave or stamina < (15 * 60) then  ;   gotolabel('refill') ;else ;   gotolabel('hunt') ;end</CheckSupplise>
      <refill>Stand 32899 31772 7</refill>
      <DisableAntiFurniureTrap>Action 32950 32022 6 setsettings('Settings\\Actions\\List\\AntiFurniureTrap\\Enabled', 'no')</DisableAntiFurniureTrap>
      <w174>Stand 32896 31772 7</w174>
      <w247>Action 32896 31772 7 wait(500)</w247>
      <w173>Walk 32895 31772 7</w173>
      <w175>Stand 32894 31772 6</w175>
      <CheckLocationBack>Action 32894 31772 6 if not islocation() then gotolabel('hunt') end</CheckLocationBack>
      <w176>Node 32889 31772 6</w176>
      <w177>Node 32881 31772 6</w177>
      <w178>Stand 32875 31772 6</w178>
      <w179>Walk 32874 31772 6</w179>
      <w180>Stand 32873 31772 7</w180>
      <LocationCheck8>Action 32873 31772 7 if not islocation() then gotolabel('refill') end</LocationCheck8>
      <SafeSpot8>Stand 32873 31772 7</SafeSpot8>
      <w181>Node 32863 31770 7</w181>
      <w182>Node 32853 31766 7</w182>
      <w183>Node 32843 31766 7</w183>
      <w184>Node 32830 31768 7</w184>
      <w185>Node 32819 31774 7</w185>
      <w186>Node 32816 31785 7</w186>
      <w187>Node 32807 31791 7</w187>
      <w188>Node 32796 31796 7</w188>
      <w189>Node 32793 31807 7</w189>
      <w190>Node 32793 31819 7</w190>
      <w191>Node 32787 31825 7</w191>
      <w192>Node 32772 31834 7</w192>
      <w072>Stand 32772 31834 7</w072>
      <LocationCheck9>Action 32772 31834 7 if not islocation() then gotolabel('SafeSpot8') end</LocationCheck9>
      <SafeSpot9>Stand 32772 31834 7</SafeSpot9>
      <w193>Node 32767 31843 7</w193>
      <w194>Node 32764 31854 7</w194>
      <w195>Node 32760 31866 7</w195>
      <w196>Node 32743 31870 7</w196>
      <w197>Node 32726 31870 7</w197>
      <w198>Node 32707 31874 7</w198>
      <w199>Node 32702 31890 7</w199>
      <w200>Node 32696 31884 7</w200>
      <w201>Node 32695 31869 7</w201>
      <w202>Node 32695 31867 7</w202>
      <w203>Node 32694 31862 7</w203>
      <w236>Stand 32694 31862 7</w236>
      <LocationCheck10>Action 32694 31862 7 if not islocation() then gotolabel('SafeSpot9') end</LocationCheck10>
      <w238>Stand 32694 31862 7</w238>
      <w204>Node 32689 31847 7</w204>
      <w205>Node 32677 31841 7</w205>
      <w206>Node 32675 31831 7</w206>
      <w207>Node 32676 31820 7</w207>
      <w208>Node 32680 31814 7</w208>
      <EnteringMountin2>Stand 32683 31808 7</EnteringMountin2>
      <w210>Walk 32683 31807 7</w210>
      <w211>Stand 32682 31807 6</w211>
      <w209>Node 32679 31805 6</w209>
      <w212>Node 32671 31803 6</w212>
      <w213>Node 32671 31799 6</w213>
      <w214>Stand 32672 31796 6</w214>
      <w215>Walk 32671 31796 6</w215>
      <w216>Stand 32670 31796 7</w216>
      <LocationCheck2>Action 32670 31796 7 if not islocation() then gotolabel('EnteringMountin2') end</LocationCheck2>
      <SafeSpot11>Stand 32670 31796 7</SafeSpot11>
      <w217>Node 32661 31799 7</w217>
      <w218>Node 32654 31809 7</w218>
      <w219>Node 32650 31816 7</w219>
      <w220>Node 32642 31809 7</w220>
      <w221>Node 32642 31800 7</w221>
      <w222>Node 32641 31792 7</w222>
      <w223>Node 32641 31783 7</w223>
      <w224>Node 32641 31774 7</w224>
      <w225>Node 32640 31764 7</w225>
      <w226>Node 32640 31753 7</w226>
      <w237>Stand 32640 31753 7</w237>
      <LocationCheck11>Action 32640 31753 7 if not islocation() then gotolabel('SafeSpot11') end</LocationCheck11>
      <SafeSpot12>Stand 32640 31753 7</SafeSpot12>
      <w227>Node 32640 31742 7</w227>
      <w228>Node 32640 31730 7</w228>
      <w229>Node 32640 31718 7</w229>
      <w230>Node 32641 31710 7</w230>
      <w231>Node 32649 31702 7</w231>
      <w232>Node 32665 31701 7</w232>
      <w233>Node 32673 31694 7</w233>
      <w234>Node 32681 31691 7</w234>
      <w239>Stand 32681 31691 7</w239>
      <LocationCheck12>Action 32681 31691 7 if not islocation() then gotolabel('SafeSpot12') end</LocationCheck12>
      <w241>Stand 32681 31691 7</w241>
    </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>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>
      <orc-leather>
        <Id>11479</Id>
        <Destination>1</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </orc-leather>
      <orc-tooth>
        <Id>10196</Id>
        <Destination>1</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </orc-tooth>
      <bear-paw>
        <Id>5896</Id>
        <Destination>1</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </bear-paw>
      <skull-belt>
        <Id>11480</Id>
        <Destination>1</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </skull-belt>
      <wand-of-decay>
        <Id>3072</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </wand-of-decay>
      <shamanic-hood>
        <Id>11478</Id>
        <Destination>1</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </shamanic-hood>
      <broken-shamanic-staff>
        <Id>11452</Id>
        <Destination>1</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </broken-shamanic-staff>
      <halberd>
        <Id>3269</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </halberd>
      <plate-armor>
        <Id>3357</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </plate-armor>
      <cyclops-trophy>
        <Id>7398</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </cyclops-trophy>
      <orc-trophy>
        <Id>7395</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </orc-trophy>
      <wolf-tooth-chain>
        <Id>3012</Id>
        <Destination>1</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </wolf-tooth-chain>
      <orcish-gear>
        <Id>11477</Id>
        <Destination>1</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </orcish-gear>
      <warrior-helmet>
        <Id>3369</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </warrior-helmet>
      <crusader-helmet>
        <Id>3391</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </crusader-helmet>
      <dragon-hammer>
        <Id>3322</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </dragon-hammer>
      <Gold-ring>
        <Id>3063</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </Gold-ring>
      <stealth-ring>
        <Id>3049</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </stealth-ring>
      <sword-ring>
        <Id>3091</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </sword-ring>
      <gold-coin>
        <Id>3031</Id>
        <Destination>3</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </gold-coin>
      <broken-helmet>
        <Id>11453</Id>
        <Destination>1</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </broken-helmet>
      <ham>
        <Id>3582</Id>
        <Destination>eat</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </ham>
      <meat>
        <Id>3577</Id>
        <Destination>eat</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </meat>
      <brown-mushroom>
        <Id>3725</Id>
        <Destination>0</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </brown-mushroom>
      <honeycomb>
        <Id>5902</Id>
        <Destination>1</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </honeycomb>
      <Old-and-Used-Backpack>
        <Id>3244</Id>
        <Destination>All</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </Old-and-Used-Backpack>
    </List>
    <Condition>Corpses with listed items</Condition>
    <Style>After melee kill</Style>
    <OpenBodyTime>300</OpenBodyTime>
    <Range>25</Range>
    <EatFood>yes</EatFood>
    <Enabled>no</Enabled>
  </Looting>
  <Targeting>
    <Monsters>
      <orc>
        <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>no</OnlyIfTrapped>
      </orc>
      <bear>
        <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>no</OnlyIfTrapped>
      </bear>
      <wolf>
        <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>
      </wolf>
      <orc-shaman>
        <Categories>-</Categories>
        <Danger>9</Danger>
        <ListSettings>
          <Setting0>
            <Count>Any</Count>
            <HpRange>0 to 100 %</HpRange>
            <Stance>Reach</Stance>
            <Avoid>None</Avoid>
            <Distance>0</Distance>
            <Attack>Attack</Attack>
            <ListSpell />
            <SpellRate>500 to 1000</SpellRate>
            <AttackMode>No Change</AttackMode>
          </Setting0>
        </ListSettings>
        <Looting>yes</Looting>
        <MustAttackMe>no</MustAttackMe>
        <OnlyIfTrapped>no</OnlyIfTrapped>
      </orc-shaman>
      <orc-leader>
        <Categories>-</Categories>
        <Danger>5</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>
      </orc-leader>
      <orc-berserker>
        <Categories>-</Categories>
        <Danger>7</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>
      </orc-berserker>
      <orc-spearman>
        <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>no</OnlyIfTrapped>
      </orc-spearman>
      <cyclops>
        <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>
      </cyclops>
      <snake>
        <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>
      </snake>
      <orc-warlord>
        <Categories>-</Categories>
        <Danger>9</Danger>
        <ListSettings>
          <Setting0>
            <Count>Any</Count>
            <HpRange>0 to 100 %</HpRange>
            <Stance>Reach</Stance>
            <Avoid>None</Avoid>
            <Distance>0</Distance>
            <Attack>Attack</Attack>
            <ListSpell />
            <SpellRate>500 to 1000</SpellRate>
            <AttackMode>No Change</AttackMode>
          </Setting0>
        </ListSettings>
        <Looting>yes</Looting>
        <MustAttackMe>no</MustAttackMe>
        <OnlyIfTrapped>no</OnlyIfTrapped>
      </orc-warlord>
      <orc-warrior>
        <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>
      </orc-warrior>
    </Monsters>
    <Settings>
      <ListOrder>5</ListOrder>
      <Health>8</Health>
      <Proximity>3</Proximity>
      <Danger>9</Danger>
      <PlayerOnScreenSecurity>If cavebotting</PlayerOnScreenSecurity>
      <CooldownControl>yes</CooldownControl>
      <CheckItem>no</CheckItem>
      <MustBeReachable>yes</MustBeReachable>
      <MustBeShootable>no</MustBeShootable>
    </Settings>
    <Enabled>no</Enabled>
  </Targeting>
  <Hud>
    <List>
      <GeneralInfo>
        <Script>-- [ Orc Fortress by Ronnblad ] --                               

-- [ Settings ] --
local RaphaelLibrary = false

-- [ Botting Status by PV! ] --
local showBotting = true

-- [ Position ] --
local showPosition = false

-- [ Kills to Level UP ] --
local showKillToUp = false
local monsterswillkill = {}
local monstersexp = {}

-- [ Supplies Counter ] --
local showSupplies = false
local item1 = {name = "Strong Mana Potion", buy = 1200, min = 100}
local item2 = {name = "Crystalline Arrow", buy = 1400, min = 100}
local item3 = {name = "Assassin Star", buy = 50, min = 0}
local items = {item1, item2, item3}

-- [[ Supplies Wasted ]]
local showSuppliesWasted = true
local suppliesitems = {'Strong Health Potion','Mana Potion'}
local suppsvalue = {100,50}

-- [[ Items looted ]]
local showLoots = true
local lootitems = {'gold coin','orc leather','orc tooth','bear paw','skull belt','wand of decay','shamanic hood','broken shamanic staff','halberd','plate armor','cyclops trophy','wolf tooth chain','orcish gear','warrior helmet','crusader helmet','dragon hammer','gold ring','stealth ring','sword ring','broken helmet','honeycomb'}
local lootsvalue = {1,30,150,100,80,1000,45,35,400,400,500,100,85,5000,6000,2000,8000,1,1,20,100}

local myname = true -- DO NOT DISABLE, make your char stop healing :P

-- [ ENGINE ] --
-- do not change it below

local fontsize = 10
local fontspacing = fontsize+2

local cont = 0
local x = 5
local y = 0
local z = 0
local totals = 0
local totall = 0
local total = 0
local sub = 17
local function captalizeAll(first, rest)
  return first:upper()..rest:lower()
end

if clientwin.x ~= nil or clientwin.y ~= nil then
   setposition(clientwin.x+13, clientwin.y+45)
else
   setposition(5, 45)
end

setfontstyle("Tahoma", fontsize, "white")
-- [[ Botting ]]
if showBotting then
   setfontcolor("white")
   addtext('-----------------------------------------', 0, y)
   setfontcolor("yellow")
   y = y + 10
   addtext('             [ Botting ]', 15, y)
   y = y + 10
   setfontcolor("white")
   addtext('-----------------------------------------', 0, y)
   y = y + 10
   addtext('Exp Per Hour', x, y)
   addtext('- ' .. exphour, 120, y)
   y = y + 15
   addtext('Exp Left', x, y)
   addtext('- ' .. exptolevel(), 120, y)
   y = y + 15
   addtext('Exp Gained', x, y)
   addtext('- ' .. expgained, 120, y)
   y = y + 15
   addtext('Time To Next Level', x, y)
   addtext('- ' .. timetolevel, 120, y)
   y = y + 15
   addtext('Stamina', x, y)
   addtext('- ', 120, y)
   if stamina >= 2400 then
      setfontcolor("green")
   else if stamina < 2400 and (stamina > 840) then
         setfontcolor("orange")
      else if stamina <= 840 then
         setfontcolor("red")
         end
      end
   end
   if RaphaelLibrary then
      addtext(time(stamina), 130, y)
   else
      addtext(stamina, 130, y)
   end
   y = y + 15
   setfontcolor("white")
   addtext('Time Played', x, y)
   addtext('- ' .. timehunt, 120, y)
   y = y + 15
   addtext('Cavebot', x, y)
   addtext('- ', 120, y)
   if cavebot then
      setfontcolor("green")
      addtext('ON', 130, y)
   else
      setfontcolor("red")
      addtext('OFF', 130, y)
   end
   y = y + 15
   setfontcolor("white")
   addtext('- ', 120, y)
   addtext('Targeting', x, y)
   if targeting then
      setfontcolor("green")
      addtext('ON', 130, y)
   else
      setfontcolor("red")
      addtext('OFF', 130, y)
   end
   y = y + 15
   setfontcolor("white")
   addtext('Looting', x, y)
   addtext('- ', 120, y)
   if looting then
      setfontcolor("green")
      addtext('ON', 130, y)
   else
      setfontcolor("red")
      addtext('OFF', 130, y)
   end
   y = y + 15
   setfontcolor("white")
   addtext('Walk Through', x, y)
   addtext('- ', 120, y)
   if getsettings("Settings/CaveBot/Pathfinding/WalkThroughPlayers") == 'yes' then
      setfontcolor("green")
      addtext('ON', 130, y)
   elseif getsettings("Settings/CaveBot/Pathfinding/WalkThroughPlayers") == 'no' then
      setfontcolor("red")
      addtext('OFF', 130, y)
   else
      setfontcolor("yellow")
      addtext('???', 130, y)
   end
   y = y + 15
   setfontcolor("white")
   addtext('Balance', x, y)
   addtext('- ', 120, y)
   if balance == -1 then
      addtext('?', 130, y)
   else
      addtext(balance, 130, y)
   end
   y = y + 10
end

-- [[ Position ]]

if showPosition then
   setfontcolor("white")
   addtext('-----------------------------------------', 0, y)
   setfontcolor("yellow")
   y = y + 10
   addtext('            [ Position ]', 15, y)
   y = y + 10
   setfontcolor("white")
   addtext('-----------------------------------------', 0, y)
   y = y + 10
   addtext("Position X ", x, y)
   addtext("- "..posx, 120, y)
   y = y + 15
   addtext("Position Y ", x, y)
   addtext("- "..posy, 120, y)
   y = y + 15
   addtext("Position Z ", x, y)
   addtext("- "..posz, 120, y)
   y = y + 15
   addtext("Cursor ID", x, y)
   addtext('- '..cursorinfo().id, 120, y)
   y = y + 10
end

-- [[ Kills to Level UP ]]

if showKillToUp then
   setfontcolor("white")
   addtext('-----------------------------------------', 0, y)
   setfontcolor("yellow")
   y = y + 10
   addtext('       [ Kills to Level UP ]', 15, y)
   y = y + 10
   setfontcolor("white")
   addtext('-----------------------------------------', 0, y)
   y = y + 10
   for i, j in pairs(monsterswillkill) do
      addtext(j, x, y)
      addtext(math.floor(exptolevel()/monstersexp[i]), 130, y)
      y = y + 15
   end
end

-- [[ Supplies ]]

if showSupplies then
   setfontcolor("white") 
   addtext('-----------------------------------------', 0, y)
   setfontcolor("yellow")
   y = y + 10
   addtext('            [ Supplies ]', 15, y)
   y = y + 10
   setfontcolor("white")
   addtext('-----------------------------------------', 0, y)
   y = y + 10
   for i, j in pairs(items) do
      if itemid(items[i].name) == ammo then
         cont = itemcount(items[i].name) + ammoamount
      elseif itemid(items[i].name) == weapon then
         cont = itemcount(items[i].name) + weaponamount
      else
         cont = itemcount(items[i].name)
      end
      addtext(items[i].name, x, y)
      addtext('-', 120, y)
      if cont <= items[i].min then
         setfontcolor("red")
      elseif cont <= (items[i].buy/2) then
         setfontcolor("yellow")
      elseif cont < items[i].buy then
         setfontcolor("white")
      else
         setfontcolor("green")
      end
      if itemid(items[i].name) == ammo then
         addtext(cont, 130, y)
      elseif itemid(items[i].name) == weapon then
         addtext(cont, 130, y)
      else
         addtext(cont, 130, y)
      end
      setfontcolor("white")
      y = y + 15
   end
   y = y - 5
end

-- [[ Supplies Wasted ]]

if showSuppliesWasted then
   setfontcolor("white")
   addtext('-----------------------------------------', 0, y)
   y = y + 10
   setfontcolor("yellow")
   addtext('       [ Supplies wasted ]', 15, y)
   y = y + 10
   setfontcolor("white")
   addtext('-----------------------------------------', 0, y)
   y = y + 10
   local supps = getitems(unpack(suppliesitems))
   local qtds = supps.count-1
   for i=0,qtds do
      if string.len(supps[i].name) > 17 then
         addtext(string.sub((supps[i].name), 1, sub).."...", x, y)
      else
         addtext(supps[i].name, x, y)
      end
      addtext("- "..supps[i].usage.." ("..(math.floor(supps[i].usage*suppsvalue[i+1] / 100)/10).."k)", 120, y)
      totals = totals + supps[i].usage*suppsvalue[i+1]
      y = y + 15
   end
   addtext("Total", x, y)
   addtext("-", 120, y)
   addtext(totals.." GPs", 130, y)
   y = y + 10
end

-- [[ Loots ]]

if showLoots then
   setfontcolor("white")
   addtext('-----------------------------------------', 0, y)
   setfontcolor("yellow")
   y = y + 10
   addtext('         [ Items looted ]', 15, y)
   y = y + 10
   setfontcolor("white")
   addtext('-----------------------------------------', 0, y)
   y = y + 10
   local loots = getitems(unpack(lootitems))
   local qtdl = loots.count-1
   for i=0,qtdl do
      if loots[i].loot > 0 then
         lootname = loots[i].name:gsub("(%a)([%w_']*)", captalizeAll)
         if string.len(loots[i].name) > 17 then
            addtext(string.sub(lootname, 1, sub).."..", x, y)
         else
            addtext(lootname, x, y)
         end
         addtext("- "..loots[i].loot.." ("..(math.floor(loots[i].loot*lootsvalue[i+1] / 100)/10).."k)", 120, y)
         totall = totall + loots[i].loot*lootsvalue[i+1]
         y = y + 15
      end
   end
   addtext("Total", x, y)
   addtext("-", 120, y)
   addtext(totall.." GPs", 130, y)
   y = y + 10
end

if showSuppliesWasted and showLoots then
   setfontcolor("white")
   addtext('-----------------------------------------', 0, y)
   y = y + 10
   total = totall - totals
   if totall-totals > 0 then
      setfontcolor("green")
      addtext("PROFIT:", x, y)
   else
      setfontcolor("red")
      addtext("WASTE:", x, y)
   end
   setfontcolor("white")
   addtext(total.." GPs ("..(math.floor((total/(tosec(timehunt)/3600))/100)/10).."k/h)", x + 50, y)
   y = y + 10
end

setfontcolor("white")
addtext('-----------------------------------------', 0, y)
if myname then
   setfontcolor("yellow")
   y = y + 10
   addtext('  [ Orc Fortress by Ronnblad ]', 5, y)
   y = y + 10
   setfontcolor("white")
   addtext('-----------------------------------------', 0, y)
end</Script>
        <RefreshRate>1000</RefreshRate>
        <Enabled>yes</Enabled>
      </GeneralInfo>
    </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>
 
Status
Not open for further replies.
Top