What's new

Knight [PACC] [110] Port Hope Forbidden Land Giant Spiders

Status
Not open for further replies.

Xinum

Never Give Up!
Joined
Dec 23, 2009
Messages
578
Reaction score
66
[EK][110] Port Hope Forbidden Land Giant Spiders

Code:
<Settings>
  <Alerts>
    <Player>
      <OnScreen>
        <PlaySound>yes</PlaySound>
        <FlashClient>no</FlashClient>
        <PauseBot>no</PauseBot>
        <Disconnect>no</Disconnect>
        <SafeList>null</SafeList>
      </OnScreen>
      <Attacking>
        <PlaySound>yes</PlaySound>
        <FlashClient>no</FlashClient>
        <PauseBot>no</PauseBot>
        <Disconnect>no</Disconnect>
        <SafeList>null</SafeList>
      </Attacking>
    </Player>
    <Creature />
    <Item />
    <Message>
      <PrivateMessage>
        <PlaySound>yes</PlaySound>
        <FlashClient>no</FlashClient>
        <PauseBot>no</PauseBot>
        <Disconnect>no</Disconnect>
        <SafeList>null</SafeList>
      </PrivateMessage>
      <Advanced>
        <PlaySound>no</PlaySound>
        <FlashClient>no</FlashClient>
        <PauseBot>no</PauseBot>
        <Disconnect>no</Disconnect>
        <Screenshot>no</Screenshot>
      </Advanced>
      <Raid>
        <PlaySound>no</PlaySound>
        <FlashClient>no</FlashClient>
        <PauseBot>no</PauseBot>
        <Disconnect>no</Disconnect>
        <Warnings>All</Warnings>
      </Raid>
    </Message>
    <Capacity>
      <Value>100</Value>
      <PlaySound>no</PlaySound>
      <FlashClient>no</FlashClient>
      <PauseBot>no</PauseBot>
      <Disconnect>no</Disconnect>
    </Capacity>
    <StandTime>
      <Value>30000</Value>
      <PlaySound>no</PlaySound>
      <FlashClient>no</FlashClient>
      <PauseBot>no</PauseBot>
      <Disconnect>no</Disconnect>
    </StandTime>
    <Disconnect>
      <PlaySound>no</PlaySound>
      <FlashClient>no</FlashClient>
      <PauseBot>no</PauseBot>
    </Disconnect>
    <Enabled>no</Enabled>
  </Alerts>
  <Healer>
    <Rules>
      <exura-ico>
        <HealRange>40 to 75 %</HealRange>
        <ManaRange>0 to 100 %</ManaRange>
        <HealMethod>Wound Cleansing</HealMethod>
        <ExtraCondition>No condition</ExtraCondition>
        <CooldownControl>yes</CooldownControl>
        <CheckItem>no</CheckItem>
        <SpamRate>200 to 400</SpamRate>
        <Enabled>yes</Enabled>
      </exura-ico>
      <mana-potion>
        <HealRange>0 to 100 %</HealRange>
        <ManaRange>0 to 50 %</ManaRange>
        <HealMethod>Mana Potion</HealMethod>
        <ExtraCondition>No condition</ExtraCondition>
        <CooldownControl>yes</CooldownControl>
        <CheckItem>no</CheckItem>
        <SpamRate>200 to 400</SpamRate>
        <Enabled>yes</Enabled>
      </mana-potion>
      <ghp>
        <HealRange>0 to 39 %</HealRange>
        <ManaRange>0 to 100 %</ManaRange>
        <HealMethod>Great Health Potion</HealMethod>
        <ExtraCondition>No condition</ExtraCondition>
        <CooldownControl>yes</CooldownControl>
        <CheckItem>no</CheckItem>
        <SpamRate>200 to 400</SpamRate>
        <Enabled>yes</Enabled>
      </ghp>
      <utura>
        <HealRange>40 to 85 %</HealRange>
        <ManaRange>0 to 100 %</ManaRange>
        <HealMethod>Intense Recovery</HealMethod>
        <ExtraCondition>If not strengthened</ExtraCondition>
        <CooldownControl>yes</CooldownControl>
        <CheckItem>no</CheckItem>
        <SpamRate>200 to 400</SpamRate>
        <Enabled>yes</Enabled>
      </utura>
      <paralyze>
        <HealRange>0 to 100 %</HealRange>
        <ManaRange>0 to 100 %</ManaRange>
        <HealMethod>Wound Cleansing</HealMethod>
        <ExtraCondition>If paralyzed</ExtraCondition>
        <CooldownControl>yes</CooldownControl>
        <CheckItem>no</CheckItem>
        <SpamRate>200 to 400</SpamRate>
        <Enabled>yes</Enabled>
      </paralyze>
    </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-Dead>
        <Script>local printscreen = true

if hppc == 0 then
    if (printscreen == true) then 
        screenshot()
    end
    printscreen = false
else
    printscreen = true
end</Script>
        <SpamRate>800 to 1000</SpamRate>
        <Enabled>yes</Enabled>
      </Print-Dead>
      <Anti-Trap>
        <Script>if maround(7) > 0 and pzone == false and ((maround(1) == 0 and target.id > 0 and standtime >= 5000) or standtime >= 60000) 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>
      </Anti-Trap>
      <vial-drop>
        <Script>--Minimum count of vials to check:
local countDropVial = 10

if ((maround(7) == 0) and (lootbodies == false) and ((itemcount(285) + itemcount(284) + itemcount(283)) >= countDropVial)) 
then
    dropitems(285)
    wait(700, 900)
    dropitems(284)
    wait(700, 900)
    dropitems(283)
    wait(700, 900)
end</Script>
        <SpamRate>800 to 1000</SpamRate>
        <Enabled>no</Enabled>
      </vial-drop>
      <Kill-trap>
        <Script>--Server type: 
serverType = "OPT-PVP" 

if (serverType == "PVP") 
then 
   if (paround(10) == 0) 
   then 
      if (maround(1, "Spider", "Bat", "Tarantula", "Cobra", "Snake", "Kongra", "Centipede", "Tiger", "Carniphila", "Behemoth", "Massive Earth Elemental", "Elephant", "Slime", "Scorpion") >= 3)
      then 
         cast("exori") 
         wait(600, 1800) 
      end 
   end 
elseif (serverType == "OPT-PVP") 
then 
   if (maround(1, "Spider", "Bat", "Tarantula", "Cobra", "Snake", "Kongra", "Centipede", "Tiger", "Carniphila", "Behemoth", "Massive Earth Elemental", "Elephant", "Slime", "Scorpion") >= 3)
   then 
      cast("exori") 
      wait(600, 1800) 
   end 
end</Script>
        <SpamRate>800 to 1000</SpamRate>
        <Enabled>yes</Enabled>
      </Kill-trap>
      <gsexori>
        <Script>--Server type: 
serverType = "OPT-PVP" 

if (serverType == "PVP") 
then 
   if (paround(10) == 0) 
   then 
      if (maround(1, "Giant Spider") >= 3) 
      then 
         cast("exori") 
         wait(600, 1800) 
      end 
   end 
elseif (serverType == "OPT-PVP") 
then 
   if (maround(1, "Giant Spider") >= 3) 
   then 
      cast("exori") 
      wait(600, 1800) 
   end 
end</Script>
        <SpamRate>800 to 1000</SpamRate>
        <Enabled>yes</Enabled>
      </gsexori>
      <soft>
        <Script>--Name of boots to use apart from soft:
local idBootsToUse = ("Boots of Haste")

--Unequip soft boots at % health:
local hpPctUnequipSb = 99

--Unequip soft boots at % mana:
local mpPctUnequipSb = 99

--Equip soft boots at % health or less:
local hpPctEquipSb = 98

--Equip soft boots at % mana or less:
local mpPctEquipSb = 98

--Soft Boots name:
local idSoftBoots = ("Soft Boots")

--Soft Boots in use ID:
local idUseSoftBoots = 3549

--Worn Soft Boots name:
local idWornSoftBoots = ("Worn Soft Boots")


if (pzone == true)
then
	moveitems(idBootsToUse, mainBp, "boots", 1)
	wait(1000)
elseif (pzone == false)
then
	if ((hppc <= hpPctEquipSb) and (mppc <= mpPctEquipSb) and (boots ~= idUseSoftBoots))
	then
		moveitems(idSoftBoots, mainBp, "boots", 1)
		wait(1000)
	elseif ((hppc >= hpPctUnequipSb) and (mppc >= mpPctUnequipSb) and (boots == idUseSoftBoots))
	then
		moveitems(idBootsToUse, mainBp, "boots", 1)
		wait(1000)
	end
end
if (boots == itemid(idWornSoftBoots))
then
	moveitems(idBootsToUse, mainBp, "boots", 1)
	wait(1000)
end</Script>
        <SpamRate>800 to 1000</SpamRate>
        <Enabled>yes</Enabled>
      </soft>
      <safe-bank>
        <Script>-- NPC name
local npcname = 'Ferks'

local index = 0 
local msgs = getmessages("NPCs")
local qtd = msgs.count-1
for i=0,qtd do
   if msgs[qtd].sender == npcname and msgs[qtd].text:find('There is not enough gold on your account.') then
      setcavebot('off')
      wait(5000,10000)
      closetibia()
   end
end</Script>
        <SpamRate>800 to 1000</SpamRate>
        <Enabled>yes</Enabled>
      </safe-bank>
    </List>
    <Setup>-- Script By Shinare

-- Setup: 

-- Backpack Setup: 
mainbp = "Moon Backpack" -- Primary BP. 
lootbp = "blue Backpack" -- Loot BP.
goldbp = "Jewelled Backpack" -- Gold BP  
maindpbp = "Orange Backpack" -- Primary Depot BP. 
stackdpbp = "camouflage Backpack" -- Depot BP for loot stacks. 
lootdpbp= "camouflage Backpack" -- Depot BP for loot items. 

-- Potions Setup: 
MPname = "mana potion" -- Name of Mana Pot
MPprice = 50 -- Price of Mana Pot
MPtobuy = 600 -- How many Mana Pots to buy
MPtoback = 100 -- How many Mana pots to leave
HPname = "great health potion" -- Name of Health Pot
HPprice = 190 -- Price of Health Pot
HPtobuy = 50 -- How many Health Pots to buy
HPtoback = 20 -- How many Health pots to leave
--Minimun amount of Worn Soft Boots to go repair:
minWornSbCount = 1

-- Hunt: 
Captoback = 100 -- How much cap left to go refill</Setup>
    <Library>Standard</Library>
    <Enabled>yes</Enabled>
  </Actions>
  <CaveBot>
    <Waypoints>
      <START>Stand 32632 32750 7</START>
      <w113>Action 32632 32750 7 wait(500, 1000);setsettings("Settings\\Targeting\\Enabled", "no");wait(500, 1000)</w113>
      <w148>Action 32632 32750 7 wait(500, 1000);setsettings("Settings\\Looting\\Enabled", "no");wait(500, 1000)</w148>
      <buymanas>Stand 32629 32750 7</buymanas>
      <w073>Walk 32629 32749 7</w073>
      <w074>Stand 32632 32738 6</w074>
      <w075>Action 32632 32738 6 -- Bank Depositer ;closewindows() ;wait(500, 1000) ;openitem(mainbp, 'back') ;wait(500, 1000) ;resizewindows()  ;wait(500, 1000) ;openitem(potionbp, mainbp, true) ;wait(500, 1000) ;resizewindows() ;;local mana = positive(MPtobuy - itemcount(MPname)) * MPprice ;local health = positive(HPtobuy - itemcount(HPname)) * HPprice ;local Total = mana + health ;;depositall() ;wait(500,900) ;say('hi') ;;if Total > 0 then ;   npcsay("withdraw "..Total) ;   wait(200,300) ;   npcsay("yes") ;   wait(200,300) ;end</w075>
      <w076>Stand 32630 32742 6</w076>
      <w077>Ladder 32630 32742 6</w077>
      <w078>Stand 32624 32740 5</w078>
      <w079>Action 32624 32740 5 -- Potions;closewindows() ;wait(500, 1000) ;openitem(mainbp, 'back') ;wait(500, 1000) ;resizewindows()  ;wait(500, 1000) ;openitem(potionbp, mainbp, true) ;wait(500, 1000) ;resizewindows();wait(500,900) ;;sellflasks() ;wait(500,900) ;;opentrade() ;wait(500, 1000) ;if itemcount(HPname) < HPtobuy then ;buyitemsupto(HPname, HPtobuy) ;end ;wait(500,1000) ;buyitemsupto(MPname, MPtobuy) ;npcsay('Bye') ;wait(500,1000);;moveitems("mana potion", mainbp, potionbp, 100);wait(400,500);moveitems("mana potion", mainbp, potionbp, 100);wait(400,500);moveitems("mana potion", mainbp, potionbp, 100);wait(400,500);moveitems("mana potion", mainbp, potionbp, 100);wait(400,500);moveitems("mana potion", mainbp, potionbp, 100);wait(400,500);moveitems("mana potion", mainbp, potionbp, 100);wait(400,500);moveitems("mana potion", mainbp, potionbp, 100);wait(400,500);moveitems("mana potion", mainbp, potionbp, 100);wait(400,500);moveitems("mana potion", mainbp, potionbp, 100);wait(400,500);moveitems("mana potion", mainbp, potionbp, 100);wait(400,500)</w079>
      <w080>Stand 32626 32741 5</w080>
      <w081>Walk 32626 32742 5</w081>
      <w082>Stand 32625 32748 6</w082>
      <w083>Walk 32625 32749 6</w083>
      <w084>Stand 32627 32751 7</w084>
      <bpopen>Action 32627 32751 7 closewindows() ;wait(500, 1000) ;openitem(mainbp, 'back') ;wait(500, 1000) ;resizewindows()  ;wait(500, 1000) ;openitem(potionbp, mainbp, true) ;wait(500, 1000) ;resizewindows() ;wait(500, 1000) ;openitem(lootbp, mainbp, true) ;wait(500, 1000) ;resizewindows();wait(500, 1000) ;openitem(goldbp, mainbp, true) ;wait(500, 1000) ;resizewindows();;if itemcount(MPname) < MPtobuy and itemcount(HPname) < HPtobuy then ;gotolabel("buymanas") else;gotolabel("cave");end</bpopen>
      <w146>Action 32631 32750 7 if windowcount() < 3 then;    gotolabel("bpopen");end</w146>
      <softcheck>Stand 32628 32751 7</softcheck>
      <w152>Action 32628 32751 7 -- // Do not edit anything below:;;;--Worn Soft Boots Name:;local wornSbName = ("worn soft boots");;if (itemcount(wornSbName) >= minWornSbCount) ;then;	gotolabel("repairsoft");elseif (itemcount(wornSbName) < minWornSbCount);then;	gotolabel("ignorerepairsoft");end;</w152>
      <repairsoft>Stand 32628 32751 7</repairsoft>
      <w161>Stand 32629 32750 7</w161>
      <w162>Walk 32629 32749 7</w162>
      <w163>Stand 32629 32748 6</w163>
      <w164>Stand 32632 32738 6</w164>
      <w168>Action 32632 32738 6 -- // Do not edit anything below:;;;if not islocation();then;	gotolabel("repairsoft");end</w168>
      <w165>Action 32632 32738 6 -- // Do not edit anything below:;;local Total = (minWornSbCount) * 10000 + 1000;;depositall() ;wait(500,900) ;say('hi') ;;if Total > 0 then ;   npcsay("withdraw "..Total) ;   wait(200,300) ;   npcsay("yes") ;   wait(200,300) ;end</w165>
      <w166>Stand 32629 32748 6</w166>
      <check1>Walk 32629 32749 6</check1>
      <w153>Stand 32598 32763 7</w153>
      <w154>Stand 32578 32766 7</w154>
      <w155>Ladder 32578 32766 7</w155>
      <w156>Stand 32578 32767 6</w156>
      <w157>Stand 32557 32773 6</w157>
      <w158>Stand 32542 32787 6</w158>
      <w159>Stand 32530 32784 6</w159>
      <w160>Action 32530 32784 6 -- // Do not edit anything below:;;;if not islocation();then;	gotolabel("check1");end;</w160>
      <w167>Action 32530 32784 6 -- // Do not edith anything below:;;reachcreature("Charles");wait(2000);say("hi");wait(2000);npcsay("venore");wait(1000);npcsay("yes");wait(1000)</w167>
      <check2>Stand 32954 32023 6</check2>
      <w170>Stand 32954 32072 6</w170>
      <w171>Stand 32950 32106 6</w171>
      <w172>Stand 32953 32108 6</w172>
      <w173>Action 32953 32108 6 -- // Do not edit anything below:;;;if not islocation();then;	gotolabel("check2");end</w173>
      <w169>Action 32953 32108 6 -- // Do not edit anything below:;	;	;--Name of soft boots:;local wornSbName = ("worn soft boots");	;say("hi");wait(1000);;while (itemcount(wornSbName) >= 1);do;	npcsay("repair");	wait(1000);	npcsay("yes");	wait(1000);end</w169>
      <check3>Stand 32953 32108 6</check3>
      <w175>Stand 32954 32067 6</w175>
      <w176>Stand 32954 32023 6</w176>
      <w177>Action 32954 32023 6 -- // Do not edit anything below:;;;if not islocation();then;	gotolabel("check3");end</w177>
      <w174>Action 32954 32023 6 -- // Do not edith anything below:;;reachcreature("Captain Fearless");wait(2000);say("hi");wait(2000);npcsay("port hope");wait(1000);npcsay("yes");wait(1000)</w174>
      <check4>Stand 32530 32784 6</check4>
      <w179>Stand 32545 32788 6</w179>
      <w180>Stand 32565 32766 6</w180>
      <w181>Stand 32567 32766 6</w181>
      <w182>Walk 32568 32766 6</w182>
      <w183>Stand 32568 32766 7</w183>
      <w184>Stand 32608 32763 7</w184>
      <w185>Stand 32628 32751 7</w185>
      <w186>Stand 32629 32750 7</w186>
      <w187>Walk 32629 32749 7</w187>
      <w188>Stand 32629 32748 6</w188>
      <w189>Stand 32632 32738 6</w189>
      <w178>Action 32632 32738 6 -- // Do not edit anything below:;;;if not islocation();then;	gotolabel("check4");end</w178>
      <w190>Action 32632 32738 6 -- // Do not edith anything below:;;say("hi");wait(2000);npcsay("deposit all");wait(1000);npcsay("yes");wait(1000)</w190>
      <w191>Stand 32629 32748 6</w191>
      <w192>Walk 32629 32749 6</w192>
      <w193>Stand 32629 32751 7</w193>
      <ignorerepairsoft>Stand 32628 32751 7</ignorerepairsoft>
      <cave>Node 32628 32752 7</cave>
      <w147>Action 32628 32752 7 wait(500, 1000);setsettings("Settings\\Targeting\\Enabled", "no");wait(500, 1000)</w147>
      <w149>Action 32628 32752 7 wait(500, 1000);setsettings("Settings\\Looting\\Enabled", "no");wait(500, 1000)</w149>
      <w086>Node 32685 32737 7</w086>
      <w087>Node 32723 32701 7</w087>
      <w088>Node 32750 32673 7</w088>
      <w089>Node 32776 32650 7</w089>
      <w090>Node 32790 32618 7</w090>
      <w091>Node 32821 32610 7</w091>
      <w092>Node 32873 32610 7</w092>
      <w093>Node 32918 32628 7</w093>
      <w094>Node 32947 32608 7</w094>
      <w095>Node 32948 32616 7</w095>
      <w096>Node 32951 32622 7</w096>
      <w097>Node 32972 32614 7</w097>
      <w098>Node 33000 32605 7</w098>
      <w099>Node 33022 32605 7</w099>
      <w101>Action 33022 32605 7 -- // Do not edit anything below:;;;if not islocation();then;	gotolabel("cave");end</w101>
      <NPC>Stand 33022 32604 7</NPC>
      <w100>Action 33022 32605 7 npcsay("hi");wait(1500,2500);npcsay("transport");wait(1500,2500);npcsay("yes");wait (1500, 2500)</w100>
      <w102>Stand 33021 32580 6</w102>
      <w103>Walk 33020 32580 6</w103>
      <w104>Node 33002 32575 7</w104>
      <w105>Node 32989 32571 7</w105>
      <w106>Node 32967 32556 7</w106>
      <w107>Node 32961 32545 7</w107>
      <w108>Stand 32961 32545 7</w108>
      <w109>Walk 32961 32545 7</w109>
      <w111>Stand 32955 32546 8</w111>
      <w000>Action 32955 32546 8 -- // Do not edit anything below:;;;if not islocation();then;	gotolabel("NPC");end</w000>
      <w112>Action 32955 32546 8 wait(500, 1000);setsettings("Settings\\Targeting\\Enabled", "yes");wait(500, 1000)</w112>
      <w150>Action 32955 32546 8 wait(500, 1000);setsettings("Settings\\Looting\\Enabled", "yes");wait(500, 1000)</w150>
      <HUNT>Stand 32956 32545 8</HUNT>
      <w001>Stand 32939 32536 8</w001>
      <w002>Stand 32937 32536 8</w002>
      <w003>Action 32937 32536 8 if (toptileitem(32936, 32536, 8) == 183);then;    useitemon("machete", 32936, 32536, 8);end</w003>
      <w057>Action 32937 32536 8 if (toptileitem(32936, 32536, 8) == 183);then;    useitemon("machete", 32936, 32536, 8);end</w057>
      <w004>Stand 32933 32536 8</w004>
      <w005>Stand 32935 32536 8</w005>
      <w006>Action 32935 32536 8 if (toptileitem(32936, 32536, 8) == 183);then;    useitemon("machete", 32936, 32536, 8);end</w006>
      <w058>Action 32935 32536 8 if (toptileitem(32936, 32536, 8) == 183);then;    useitemon("machete", 32936, 32536, 8);end</w058>
      <w007>Stand 32947 32517 8</w007>
      <w008>Stand 32923 32527 8</w008>
      <w009>Stand 32920 32525 8</w009>
      <w010>Action 32920 32525 8 if (toptileitem(32919, 32525, 8) == 183);then;    useitemon("machete", 32919, 32525, 8);end</w010>
      <w059>Action 32920 32525 8 if (toptileitem(32919, 32525, 8) == 183);then;    useitemon("machete", 32919, 32525, 8);end</w059>
      <w011>Stand 32916 32525 8</w011>
      <w012>Stand 32918 32525 8</w012>
      <w013>Action 32918 32525 8 if (toptileitem(32919, 32525, 8) == 183);then;    useitemon("machete", 32919, 32525, 8);end</w013>
      <w060>Action 32918 32525 8 if (toptileitem(32919, 32525, 8) == 183);then;    useitemon("machete", 32919, 32525, 8);end</w060>
      <w014>Stand 32922 32538 8</w014>
      <w015>Stand 32920 32538 8</w015>
      <w016>Action 32920 32538 8 if (toptileitem(32919, 32538, 8) == 183);then;    useitemon("machete", 32919, 32538, 8);end</w016>
      <w061>Action 32920 32538 8 if (toptileitem(32919, 32538, 8) == 183);then;    useitemon("machete", 32919, 32538, 8);end</w061>
      <w017>Stand 32917 32538 8</w017>
      <w018>Stand 32918 32538 8</w018>
      <w019>Action 32918 32538 8 if (toptileitem(32919, 32538, 8) == 183);then;    useitemon("machete", 32919, 32538, 8);end</w019>
      <w062>Action 32918 32538 8 if (toptileitem(32919, 32538, 8) == 183);then;    useitemon("machete", 32919, 32538, 8);end</w062>
      <w020>Stand 32926 32550 8</w020>
      <w021>Stand 32922 32551 8</w021>
      <w022>Action 32922 32551 8 if (toptileitem(32921, 32551, 8) == 183);then;    useitemon("machete", 32921, 32551, 8);end</w022>
      <w063>Action 32922 32551 8 if (toptileitem(32921, 32551, 8) == 183);then;    useitemon("machete", 32921, 32551, 8);end</w063>
      <w023>Stand 32919 32551 8</w023>
      <w024>Stand 32920 32551 8</w024>
      <w025>Action 32920 32551 8 if (toptileitem(32921, 32551, 8) == 183);then;    useitemon("machete", 32921, 32551, 8);end</w025>
      <w064>Action 32920 32551 8 if (toptileitem(32921, 32551, 8) == 183);then;    useitemon("machete", 32921, 32551, 8);end</w064>
      <w026>Stand 32942 32555 8</w026>
      <w027>Stand 32970 32551 8</w027>
      <w028>Stand 32957 32534 8</w028>
      <w125>Action 32958 32534 8 local countDropVial = 10;;if ((maround(7) == 0) and (lootbodies == false) and ((itemcount(285) + itemcount(284) + itemcount(283)) >= countDropVial)) ;then;    dropitems(285);    wait(700, 900);    dropitems(284);    wait(700, 900);    dropitems(283);    wait(700, 900);end</w125>
      <w029>Stand 32965 32558 8</w029>
      <w030>Stand 32933 32552 8</w030>
      <w031>Stand 32925 32551 8</w031>
      <w032>Stand 32922 32551 8</w032>
      <w033>Action 32922 32551 8 if (toptileitem(32921, 32551, 8) == 183);then;    useitemon("machete", 32921, 32551, 8);end</w033>
      <w065>Action 32922 32551 8 if (toptileitem(32921, 32551, 8) == 183);then;    useitemon("machete", 32921, 32551, 8);end</w065>
      <w034>Stand 32919 32551 8</w034>
      <w035>Stand 32920 32551 8</w035>
      <w036>Action 32920 32551 8 if (toptileitem(32921, 32551, 8) == 183);then;    useitemon("machete", 32921, 32551, 8);end</w036>
      <w066>Action 32920 32551 8 if (toptileitem(32921, 32551, 8) == 183);then;    useitemon("machete", 32921, 32551, 8);end</w066>
      <w037>Stand 32922 32537 8</w037>
      <w038>Stand 32920 32537 8</w038>
      <w039>Action 32920 32537 8 if (toptileitem(32919, 32538, 8) == 183);then;    useitemon("machete", 32919, 32538, 8);end</w039>
      <w067>Action 32920 32537 8 if (toptileitem(32919, 32538, 8) == 183);then;    useitemon("machete", 32919, 32538, 8);end</w067>
      <w040>Stand 32917 32538 8</w040>
      <w041>Action 32918 32538 8 if (toptileitem(32919, 32538, 8) == 183);then;    useitemon("machete", 32919, 32538, 8);end</w041>
      <w068>Action 32918 32538 8 if (toptileitem(32919, 32538, 8) == 183);then;    useitemon("machete", 32919, 32538, 8);end</w068>
      <w042>Stand 32923 32526 8</w042>
      <w043>Stand 32920 32525 8</w043>
      <w044>Action 32920 32525 8 if (toptileitem(32919, 32525, 8) == 183);then;    useitemon("machete", 32919, 32525, 8);end</w044>
      <w069>Action 32920 32525 8 if (toptileitem(32919, 32525, 8) == 183);then;    useitemon("machete", 32919, 32525, 8);end</w069>
      <w045>Stand 32917 32525 8</w045>
      <w046>Stand 32918 32525 8</w046>
      <w047>Action 32918 32525 8 if (toptileitem(32919, 32525, 8) == 183);then;    useitemon("machete", 32919, 32525, 8);end</w047>
      <w070>Action 32918 32525 8 if (toptileitem(32919, 32525, 8) == 183);then;    useitemon("machete", 32919, 32525, 8);end</w070>
      <w048>Stand 32929 32521 8</w048>
      <w049>Stand 32939 32536 8</w049>
      <w050>Stand 32937 32536 8</w050>
      <w051>Action 32937 32536 8 if (toptileitem(32936, 32536, 8) == 183);then;    useitemon("machete", 32936, 32536, 8);end</w051>
      <w071>Action 32937 32536 8 if (toptileitem(32936, 32536, 8) == 183);then;    useitemon("machete", 32936, 32536, 8);end</w071>
      <w052>Stand 32934 32536 8</w052>
      <w053>Stand 32935 32536 8</w053>
      <w054>Action 32935 32536 8 if (toptileitem(32936, 32536, 8) == 183);then;    useitemon("machete", 32936, 32536, 8);end</w054>
      <w072>Action 32935 32536 8 if (toptileitem(32936, 32536, 8) == 183);then;    useitemon("machete", 32936, 32536, 8);end</w072>
      <w055>Stand 32942 32542 8</w055>
      <w056>Stand 32956 32545 8</w056>
      <w126>Action 32956 32545 8 local countDropVial = 10;;if ((maround(7) == 0) and (lootbodies == false) and ((itemcount(285) + itemcount(284) + itemcount(283)) >= countDropVial)) ;then;    dropitems(285);    wait(700, 900);    dropitems(284);    wait(700, 900);    dropitems(283);    wait(700, 900);end</w126>
      <w110>Action 32946 32546 8 if itemcount(MPname) < MPtoback or itemcount(HPname) < HPtoback or cap < Captoback then;gotolabel('REFILL') else;gotolabel('HUNT');end</w110>
      <REFILL>Stand 32959 32546 8</REFILL>
      <w116>Action 32959 32546 8 wait(500, 1000);setsettings("Settings\\Targeting\\Enabled", "no");wait(500, 1000)</w116>
      <w151>Action 32959 32546 8 wait(500, 1000);setsettings("Settings\\Looting\\Enabled", "no");wait(500, 1000)</w151>
      <w114>Stand 32961 32545 8</w114>
      <w115>Rope 32961 32545 8</w115>
      <w117>Stand 32961 32546 7</w117>
      <w118>Node 32975 32561 7</w118>
      <w119>Node 32995 32573 7</w119>
      <w120>Node 33018 32580 7</w120>
      <w121>Stand 33019 32580 7</w121>
      <w122>Walk 33020 32580 7</w122>
      <w123>Stand 33026 32580 6</w123>
      <w124>Walk 33027 32580 6</w124>
      <w127>Node 33006 32607 7</w127>
      <w128>Node 32965 32617 7</w128>
      <w129>Node 32948 32618 7</w129>
      <w130>Node 32946 32607 7</w130>
      <w131>Node 32896 32599 7</w131>
      <w132>Node 32859 32588 7</w132>
      <w133>Node 32811 32620 7</w133>
      <w134>Node 32787 32657 7</w134>
      <w135>Node 32772 32689 7</w135>
      <w136>Node 32749 32717 7</w136>
      <w137>Node 32717 32733 7</w137>
      <w138>Node 32674 32745 7</w138>
      <w139>Node 32632 32749 7</w139>
      <w140>Stand 32631 32739 7</w140>
      <w141>Stand 32629 32739 7</w141>
      <w085>Action 32629 32739 7 -- // Do not edit anything below:;;;if not islocation();then;	gotolabel("REFILL");end</w085>
      <w142>Action 32629 32739 7 -- Dp Depositer. ;closewindows() ;wait(500, 1000) ;openitem(mainbp, 'back') ;wait(1000, 2000) ;resizewindows()  ;wait(1000, 2000) ;openitem(potionbp, mainbp, true) ;wait(1000, 2000) ;resizewindows()  ;wait(1000, 2000) ;openitem(lootbp, mainbp, true) ;wait(1000, 2000) ;resizewindows()  ;reachgrounditem("depot") ;wait(1000,2000) ;openitem("depot") ;wait(700,900) ;openitem("depot chest", "locker");wait(700,900) ;openitem(maindpbp, "depot chest") ;wait(700,900) ;depotdeposit(stackdpbp,"Spider Silk","Strong Health Potion", "Tarantula Egg") ;wait(700,900) ;depotdeposit(lootdpbp,"Knight Legs","Knight Armor","Platinum Amulet","Lightning Headband","Time Ring")</w142>
      <w143>Stand 32631 32739 7</w143>
      <w144>Stand 32631 32749 7</w144>
      <w145>Action 32631 32749 7 gotolabel('START');end</w145>
    </Waypoints>
    <Pathfinding>
      <SpecialAreas />
      <WalkThroughPlayers>yes</WalkThroughPlayers>
      <WalkingMethod>Map Clicks</WalkingMethod>
      <MapWalkDistance>20 to 50</MapWalkDistance>
      <WalkableIds>140;404;831;832;833;834;883;2118;2119;2120;2121;2122;2123;2124;2125;2126;2127;2131;2132;2133;2134;2135;2314;2315;2316;2319;2346;2347;2348;2349;2350;2351;2352;2353;2354;2355;2356;2357;2358;2359;2360;2361;2362;2363;2364;2365;2366;2367;2368;2369;2370;2371;2372;2373;2374;2375;2376;2377;2378;2379;2380;2381;2382;2383;2384;2385;2418;2419;2420;2421;2422;2423;2424;2425;2426;2431;2432;2433;2434;2441;2442;2443;2444;2469;2471;2472;2473;2478;2480;2481;2482;2483;2484;2485;2486;2519;2523;2775;2776;2777;2778;2779;2780;2781;2782;2783;2784;2785;2786;2787;2788;2789;2790;2791;2792;2793;2794;2795;2796;2797;2798;2799;2800;2801;2802;2803;2804;2805;2806;2807;2808;2809;2810;2811;2812;2981;2983;2982;2984;2985;2987;2988;3503;3504;3514;3807;5086;5087;5088;6114;6115;6355;6356;6357;6358;6359;6360;6361;6362;6371;6372;7864;8455;8763;9061;9062;10207;10209;10216;10286;10287;10288;11009;11800;11801;11802;11803;11804;11805;11806;11807;11808;11809;11810</WalkableIds>
    </Pathfinding>
    <Settings>
      <Rope>3003</Rope>
      <Shovel>3457</Shovel>
      <Pick>3456</Pick>
      <Machete>3308</Machete>
      <NodeRange>4</NodeRange>
      <OpenNextBp>yes</OpenNextBp>
      <AutoMount>yes</AutoMount>
      <Anti-idle>no</Anti-idle>
      <EatFood>yes</EatFood>
      <FoodToEat>3725;3587;3600;3595;3589;3598;8014;3583;3606;3578;3592;3582;3577;3593;3586;3585;3581;3723</FoodToEat>
      <PauseOnDeath>yes</PauseOnDeath>
    </Settings>
    <Enabled>no</Enabled>
  </CaveBot>
  <Looting>
    <List>
      <Gold-Coin>
        <Id>3031</Id>
        <Destination>02</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </Gold-Coin>
      <Knight-Legs>
        <Id>3371</Id>
        <Destination>01</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </Knight-Legs>
      <Spider-Silk>
        <Id>5879</Id>
        <Destination>01</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </Spider-Silk>
      <Knight-Armor>
        <Id>3370</Id>
        <Destination>01</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </Knight-Armor>
      <Lightning-Headband>
        <Id>828</Id>
        <Destination>01</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </Lightning-Headband>
      <Platinum-Amulet>
        <Id>3055</Id>
        <Destination>01</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </Platinum-Amulet>
      <Strong-Health-Potion>
        <Id>236</Id>
        <Destination>01</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </Strong-Health-Potion>
      <Tarantula-Egg>
        <Id>10281</Id>
        <Destination>01</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </Tarantula-Egg>
      <Time-Ring>
        <Id>3053</Id>
        <Destination>01</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </Time-Ring>
    </List>
    <Condition>Corpses with listed items</Condition>
    <Style>After melee kill</Style>
    <Range>10</Range>
    <EatFood>yes</EatFood>
    <Enabled>no</Enabled>
  </Looting>
  <Targeting>
    <Monsters>
      <Mutated-bat>
        <Categories>-</Categories>
        <Danger>5</Danger>
        <ListSettings>
          <Setting0>
            <Count>Any</Count>
            <HpRange>0 to 100 %</HpRange>
            <Stance>Circle</Stance>
            <Avoid>Wave</Avoid>
            <Distance>0</Distance>
            <Attack>Attack</Attack>
            <ListSpell />
            <SpellRate>500 to 1000</SpellRate>
            <AttackMode>Chase/Offensive</AttackMode>
          </Setting0>
        </ListSettings>
        <Looting>yes</Looting>
        <MustAttackMe>no</MustAttackMe>
        <OnlyIfTrapped>no</OnlyIfTrapped>
      </Mutated-bat>
      <Giant-Spider>
        <Categories>-</Categories>
        <Danger>0</Danger>
        <ListSettings>
          <Setting0>
            <Count>1</Count>
            <HpRange>0 to 100 %</HpRange>
            <Stance>No movement</Stance>
            <Avoid>None</Avoid>
            <Distance>0</Distance>
            <Attack>Attack</Attack>
            <ListSpell>
              <Spell1>Brutal Strike</Spell1>
            </ListSpell>
            <SpellRate>500 to 1000</SpellRate>
            <AttackMode>Chase/Offensive</AttackMode>
          </Setting0>
          <Setting1>
            <Count>2+</Count>
            <HpRange>0 to 100 %</HpRange>
            <Stance>No movement</Stance>
            <Avoid>None</Avoid>
            <Distance>0</Distance>
            <Attack>Attack</Attack>
            <ListSpell>
              <Spell0>Whirlwind Throw</Spell0>
              <Spell1>Brutal Strike</Spell1>
            </ListSpell>
            <SpellRate>500 to 1000</SpellRate>
            <AttackMode>Chase/Offensive</AttackMode>
          </Setting1>
        </ListSettings>
        <Looting>yes</Looting>
        <MustAttackMe>no</MustAttackMe>
        <OnlyIfTrapped>no</OnlyIfTrapped>
      </Giant-Spider>
      <Tarantula>
        <Categories>-</Categories>
        <Danger>0</Danger>
        <ListSettings>
          <Setting0>
            <Count>Any</Count>
            <HpRange>0 to 100 %</HpRange>
            <Stance>No movement</Stance>
            <Avoid>None</Avoid>
            <Distance>0</Distance>
            <Attack>Attack</Attack>
            <ListSpell />
            <SpellRate>500 to 1000</SpellRate>
            <AttackMode>Chase/Offensive</AttackMode>
          </Setting0>
        </ListSettings>
        <Looting>yes</Looting>
        <MustAttackMe>no</MustAttackMe>
        <OnlyIfTrapped>no</OnlyIfTrapped>
      </Tarantula>
    </Monsters>
    <Settings>
      <ListOrder>6</ListOrder>
      <Health>9</Health>
      <Proximity>3</Proximity>
      <Danger>5</Danger>
      <PlayerOnScreenSecurity>If cavebotting</PlayerOnScreenSecurity>
      <CooldownControl>yes</CooldownControl>
      <CheckItem>no</CheckItem>
      <MustBeReachable>yes</MustBeReachable>
      <MustBeShootable>yes</MustBeShootable>
    </Settings>
    <Enabled>no</Enabled>
  </Targeting>
  <Hud>
    <List>
      <GeneralInfo>
        <Script>-- [[ General Info HUD by RevoltZ v0.3 ]]

-- [[ Settings ]]
local RaphaelLibrary = false

-- [[ General and Botting Status by PV! ]]
local showGeneral = false
local showBotting = true

-- [[ Position ]]
local showPosition = false

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

-- [[ Supplies Wasted ]]
local showSuppliesWasted = true
local suppliesitems = {'Mana Potion', 'Ultimate Health Potion', 'Great Health Potion'}
local suppsvalue = {50, 310, 190}

-- [[ Items looted ]]
local showLoots = true
local lootitems = {"Gold Coin", "Knight Legs", "Spider Silk", "Knight Armor", "Lightning Headband", "Platinum Amulet", "Tarantula Egg", "Time Ring"}
local lootsvalue = {1, 5000, 6000, 5000, 2500, 2500, 80, 200}

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

local fontsize = 10
local fontspacing = fontsize+2

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

local cont = 0
local x = 5
local y = 0
local z = 0
local totals = 0
local totall = 0
local total = 0
local sub = 17

-- [[ General ]]

if clientwin.x == nil or clientwin.y == nil then
   setposition(clientwin.x+5, clientwin.y+20)
else
   setposition(5, 20)
end
setfontstyle("Tahoma", fontsize, "white")
if showGeneral then
   setfontcolor("white")
   addtext('-----------------------------------------', 0, y)
   setfontcolor("yellow")
   y = y + 10
   addtext('               [ General ]', 5, y) 
   setfontcolor("white")
   y = y + 10
   addtext('-----------------------------------------', 0, y) 
   setfontcolor("white")
   y = y + 10
   addtext('Level', x, y)
   addtext('- '..level, 120, 30)
   y = y + 15
   addtext('Experience', x, y)
   addtext('- '..exp, 120, y)
   y = y + 15
   addtext('Health', x, y)
   if hppc < 25 then
      setfontcolor("red")
   else if hppc < 50 then
         setfontcolor("yellow")
      else
         setfontcolor("white")
      end
   end
   addtext('- '..hp..' ('..hppc..'%)', 120, y)
   y = y + 15
   setfontcolor("white")
   addtext('Mana', x, y)
   if mppc < 25 then
      setfontcolor("red")
   else if mppc < 50 then
         setfontcolor("yellow")
      else
         setfontcolor("white")
      end
   end
   addtext('- '..mp..' ('..mppc..'%)', 120, y)
   y = y + 15
   setfontcolor("white")
   addtext('Magic Level', x, y) 
   addtext('- '..mlevel..' ('..100-mlevelpc.. '%)', 120, y)
   y = y + 10     
end

-- [[ Botting ]]

if showBotting then
   setfontcolor("white") 
   addtext('-----------------------------------------', 0, y) 
   setfontcolor("yellow")
   y = y + 10
   addtext('             [ Botting ]', 15, y) 
   setfontcolor("white") 
   y = y + 10
   addtext('-----------------------------------------', 0, y) 
   setfontcolor("white") 
   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)
   setfontcolor("white")
   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

-- [[ 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)
   setfontcolor("white")
   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)
   setfontcolor("yellow")
   y = y + 10
   addtext('       [ Supplies wasted ]', 15, y)
   y = y + 10
   setfontcolor("white")
   addtext('-----------------------------------------', 0, y)
   setfontcolor("white")
   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)
   setfontcolor("white")
   y = y + 10
   local loots = getitems(unpack(lootitems))
   local qtdl = loots.count-1
   for i=0,qtdl do
      if loots[i].loot > 0 then
         if string.len(loots[i].name) > 17 then
            addtext(string.sub((loots[i].name), 1, sub).."...", x, y)
         else
            addtext(loots[i].name, 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('          [ HUD by RevoltZ ]', 5, y)
   setfontcolor("white")
   y = y + 10
   addtext('-----------------------------------------', 0, y)
end</Script>
        <RefreshRate>200</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