What's new

Paladin [PACC] [180 LVL][Zao] Parne Pola

Status
Not open for further replies.
Joined
Jul 7, 2010
Messages
2,061
Reaction score
191
Age
28
Profesja: Palladin
Poziom: 180+
Typ: PACC

Informacje dodatkowe:
-Bota startujemy na Parnych Polach

Skrypt:
PHP:
<Settings>
  <Alerts>
    <Player>
      <OnScreen>
        <PlaySound>no</PlaySound>
        <FlashClient>yes</FlashClient>
        <PauseBot>no</PauseBot>
        <Disconnect>no</Disconnect>
        <SafeList>null</SafeList>
      </OnScreen>
      <Attacking>
        <PlaySound>no</PlaySound>
        <FlashClient>yes</FlashClient>
        <PauseBot>no</PauseBot>
        <Disconnect>no</Disconnect>
        <SafeList>null</SafeList>
      </Attacking>
    </Player>
    <Creature />
    <Item />
    <Message>
      <PrivateMessage>
        <PlaySound>no</PlaySound>
        <FlashClient>yes</FlashClient>
        <PauseBot>no</PauseBot>
        <Disconnect>no</Disconnect>
        <SafeList>null</SafeList>
      </PrivateMessage>
      <Advanced>
        <PlaySound>no</PlaySound>
        <FlashClient>no</FlashClient>
        <PauseBot>no</PauseBot>
        <Disconnect>no</Disconnect>
        <Screenshot>no</Screenshot>
      </Advanced>
      <Raid>
        <PlaySound>yes</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>
        <HealRange>71 to 85 %</HealRange>
        <ManaRange>20 to all</ManaRange>
        <HealMethod>Light Healing</HealMethod>
        <ExtraCondition>No condition</ExtraCondition>
        <CooldownControl>yes</CooldownControl>
        <CheckItem>no</CheckItem>
        <SpamRate>200 to 400</SpamRate>
        <Enabled>yes</Enabled>
      </Exura>
      <Exura-San>
        <HealRange>50 to 70 %</HealRange>
        <ManaRange>160 to all</ManaRange>
        <HealMethod>Divine Healing</HealMethod>
        <ExtraCondition>No condition</ExtraCondition>
        <CooldownControl>yes</CooldownControl>
        <CheckItem>no</CheckItem>
        <SpamRate>200 to 400</SpamRate>
        <Enabled>yes</Enabled>
      </Exura-San>
      <Exura-Gran-San>
        <HealRange>0 to 49 %</HealRange>
        <ManaRange>210 to all</ManaRange>
        <HealMethod>Salvation</HealMethod>
        <ExtraCondition>No condition</ExtraCondition>
        <CooldownControl>yes</CooldownControl>
        <CheckItem>no</CheckItem>
        <SpamRate>200 to 400</SpamRate>
        <Enabled>yes</Enabled>
      </Exura-Gran-San>
      <Strong-Mana-Potion>
        <HealRange>20 to 100 %</HealRange>
        <ManaRange>0 to 75 %</ManaRange>
        <HealMethod>Strong Mana Potion</HealMethod>
        <ExtraCondition>No condition</ExtraCondition>
        <CooldownControl>yes</CooldownControl>
        <CheckItem>no</CheckItem>
        <SpamRate>200 to 400</SpamRate>
        <Enabled>yes</Enabled>
      </Strong-Mana-Potion>
      <Great-Spirit-Potion>
        <HealRange>0 to 20 %</HealRange>
        <ManaRange>0 to 100 %</ManaRange>
        <HealMethod>Great Spirit Potion</HealMethod>
        <ExtraCondition>No condition</ExtraCondition>
        <CooldownControl>yes</CooldownControl>
        <CheckItem>no</CheckItem>
        <SpamRate>200 to 400</SpamRate>
        <Enabled>yes</Enabled>
      </Great-Spirit-Potion>
      <Utura-Gran>
        <HealRange>0 to 90 %</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-Gran>
    </Rules>
    <PingCompensation>10</PingCompensation>
    <Enabled>yes</Enabled>
  </Healer>
  <FriendHealer>
    <Rules />
    <Enabled>no</Enabled>
  </FriendHealer>
  <Refiller>
    <Rules>
      <Power-Bolt>
        <HealRange>0 to 100 %</HealRange>
        <ManaRange>0 to 100 %</ManaRange>
        <ItemRefiller>3450</ItemRefiller>
        <AmmoCount>20 to 60</AmmoCount>
        <ExtraCondition>No condition</ExtraCondition>
        <SpamRate>500 to 1000</SpamRate>
        <Enabled>yes</Enabled>
      </Power-Bolt>
    </Rules>
    <Enabled>yes</Enabled>
  </Refiller>
  <HotKeys>
    <List>
      <ShowBot>
        <Script>showbot()</Script>
        <MainKey>66</MainKey>
        <ComboKey>Alt</ComboKey>
        <Enabled>yes</Enabled>
      </ShowBot>
      <PauseBot>
        <Script>local cavebot = getsettings("Settings/CaveBot/Enabled")
local targeting = getsettings("Settings/Targeting/Enabled")

if cavebot == 'no' or targeting == 'no' then
   setcavebot('on')
   settargeting('on')
   setlooting('on')
else
   setcavebot('off')
   settargeting('off')
   setlooting('off')
end
wait(500)</Script>
        <MainKey>19</MainKey>
        <ComboKey>None</ComboKey>
        <Enabled>yes</Enabled>
      </PauseBot>
      <ShowClient>
        <Script>focusclient()</Script>
        <MainKey>84</MainKey>
        <ComboKey>Alt</ComboKey>
        <Enabled>yes</Enabled>
      </ShowClient>
      <ShowSettings>
        <Script>showsettings()</Script>
        <MainKey>83</MainKey>
        <ComboKey>Alt</ComboKey>
        <Enabled>yes</Enabled>
      </ShowSettings>
    </List>
    <Condition>Client focus required</Condition>
    <Enabled>yes</Enabled>
  </HotKeys>
  <Actions>
    <List>
      <Safe-Bank>
        <Script>--[[
    Safe Bank by Soul Scripts
    Version: v1.0
    Do not edit anything here    
]]--
-- NPC Names:
local Farmine = 'Murim'
local Darashia = 'Muzir'
local Edron = 'Ebenizer'
local Ankrahmun = 'Tesha'
local PortHope = 'Ferks'
local LibertyBay = 'Jefrey'
local Svargrond = 'Jessica'
local Yalahar = 'Znozel'

local index = 0 
local msgs = getmessages("NPCs")
local qtd = msgs.count-1
local npcname = Farmine


   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')
       setsettings('Settings\\Actions\\List\\Reconnect\\Enabled','no')
       wait(5000,10000)
       closetibia()
   end
   end</Script>
        <SpamRate>800 to 1000</SpamRate>
        <Enabled>yes</Enabled>
      </Safe-Bank>
      <Soft-Boots>
        <Script>--[[
    Soft Boots Changer by Soul Scripts
    Version: v1.0
    Do not edit anything here
]]--

local toUnequip = 85
local OtherBoots = BootsEquip

local soft = { id = 6529, use = 3549, worn = 6530 }

if pzone == true and boots == soft.use
then
pausewalking(5000)
moveitems(OtherBoots, "all", "boots", 100)
pausewalking(0)

elseif pzone == false and boots ~= soft.use and mppc <= toUnequip and itemcount(soft.id) > 0 and maround(10) == 0
then
pausewalking(5000)
moveitems(soft.id, "all", "boots", 100)
pausewalking(0)

elseif pzone == false and boots ~= soft.use and itemcount(soft.id) == 0 and maround(6) == 0
then
pausewalking(5000)
moveitems(OtherBoots, "all", "boots", 100)
pausewalking(0)

elseif boots == soft.worn and itemcount(soft.id) > 0 and maround(6) == 0
then
pausewalking(5000)
moveitems(soft.id, "all", "boots", 100)
pausewalking(0)

elseif boots == soft.worn and itemcount(soft.id) == 0 and maround(6) == 0
then
pausewalking(5000)
moveitems(OtherBoots, "all", "boots", 100)
pausewalking(0)

elseif boots == soft.use and pzone == false and  maround(6) == 0 and mppc > toUnequip
then
pausewalking(5000)
moveitems(OtherBoots, "all", "boots", 100)
pausewalking(0)
end</Script>
        <SpamRate>2000 to 3500</SpamRate>
        <Enabled>yes</Enabled>
      </Soft-Boots>
      <PVPWORLD>
        <Script>--[[
    PVP Changes by Soul Scripts
    Version: v1.0
    Do not edit anything here    
]]--

if WORLD_TYPE == 1 then
setsettings("Settings\\Alerts\\Player\\OnScreen\\FlashClient","no")
setsettings("Settings\\Alerts\\Player\\OnScreen\\PlaySound","yes")
setsettings("Settings\\Alerts\\Player\\Attacking\\PlaySound","yes")
setsettings("Settings\\Alerts\\Message\\PrivateMessage\\PlaySound","yes")
setsettings("Settings\\Alerts\\Message\\PrivateMessage\\FlashClient","no")
setsettings("Settings\\Targeting\\Settings\\PlayerOnScreenSecurity","Always")
setsettings("Settings\\CaveBot\\Pathfinding\\WalkThroughPlayers","no")
elseif WORLD_TYPE == 2 then
setsettings("Settings\\Alerts\\Player\\OnScreen\\FlashClient","yes")
setsettings("Settings\\Alerts\\Player\\OnScreen\\PlaySound","no")
setsettings("Settings\\Alerts\\Player\\Attacking\\PlaySound","no")
setsettings("Settings\\Alerts\\Message\\PrivateMessage\\PlaySound","no")
setsettings("Settings\\Alerts\\Message\\PrivateMessage\\FlashClient","yes")
setsettings("Settings\\CaveBot\\Pathfinding\\WalkThroughPlayers","yes")
end</Script>
        <SpamRate>800 to 1000</SpamRate>
        <Enabled>yes</Enabled>
      </PVPWORLD>
      <Haste>
        <Script>--[[
    Auto Haste by Soul Scripts
    Version: v1.0
    Do not edit anything here
]]--

if pzone == false and  hasted == false and standtime < 3000 and mppc>65 and cancast(HasteSpell) and hppc >80 then
cast(HasteSpell)
end</Script>
        <SpamRate>800 to 1000</SpamRate>
        <Enabled>no</Enabled>
      </Haste>
      <SS-Death>
        <Script>
--[[
    Screenshot Death by Soul Scripts
    Version: v1.0
    Do not edit anything here    
]]--

local printscreen = true

if hppc ==0  then
    if (printscreen == true) then 
        screenshot(name.." "..string.gsub(date(), "/", "_").." "..string.gsub(time(), ":", "."))
npcsay('pff')
    end
    printscreen = false
else
    printscreen = true
end

wait(10000)</Script>
        <SpamRate>800 to 1000</SpamRate>
        <Enabled>yes</Enabled>
      </SS-Death>
      <Drop-Vial>
        <Script>--[[
    Drop Vials by Soul Scripts
    Version: v1.0
    Do not Edit anything here!
]]--
local amountToDrop = 50

if (itemcount(283)+itemcount(284)+itemcount(285)) >= amountToDrop and maround(4) == 0 and cap <= 150 then 
    pausewalking(3000)
    wait(3000)
    dropitems(283)
    wait(500, 700)
    dropitems(284)
    wait(500, 700)
    dropitems(285)
    wait(500, 700)
end</Script>
        <SpamRate>800 to 1000</SpamRate>
        <Enabled>yes</Enabled>
      </Drop-Vial>
      <Move-Supplies>
        <Script>--[[
    Moving Supplies by Soul Scripts
    Version: v1.0
    Do not edit anything here    
]]--

   if itemcount(Ammoname,MainBP) > 1 then 
      moveitems(Ammoname, MainBP, AmmoBP, 100)
  end

if ammoamount <= 40 and (ammo == 15793 or ammo == 16141 or ammo == 16142 or ammo == 15792 or ammo == 16143 or ammo == 14251 or ammo == 16252) then
moveitems(ammo, 'all', 'ammo', 100)
wait(500, 1000)
end</Script>
        <SpamRate>400 to 700</SpamRate>
        <Enabled>yes</Enabled>
      </Move-Supplies>
      <PK>
        <Script>--[[
    Run from PK by Soul Scripts
    Version: v1.0
    Do not edit anything here    
]]--

   if underattack("P") then 
   if hasted == false then 
      cast("utani hur") 
      settargeting("no") 
      gotolabel("LeaveHunt") 
  end 
  end</Script>
        <SpamRate>800 to 1000</SpamRate>
        <Enabled>no</Enabled>
      </PK>
      <Anti-Trap>
        <Script>--[[
    Anti Trap and Anti Stuck by Soul Scripts 
    Version: v1.0
    Do not edit anything here
]]--
local randomMove = math.random(1, 4)  
if pzone == false then  
    if standtime >= 15000 and 
       maround(1) >= 1 then   
    if randomMove == 1 then
       move("n")
       wait(1000)
elseif randomMove == 2 then
       move("e")
       wait(1000)
elseif randomMove == 3 then
       move("s")
       wait(1000)
elseif randomMove == 4 then
       move("w")
       wait(1000)
   end
   end

    if standtime >= 50000 then 
    if randomMove == 1 then
       move("n")
       wait(1000)
elseif randomMove == 2 then
       move("e")
       wait(1000)
elseif randomMove == 3 then
       move("s")
       wait(1000)
elseif randomMove == 4 then
       move("w")
       wait(1000)
   end
   end
end</Script>
        <SpamRate>800 to 1000</SpamRate>
        <Enabled>yes</Enabled>
      </Anti-Trap>
      <Safe-Trapped>
        <Script>--[[
    Safe Trap by Soul Scripts 
    Version: v1.0
    Do not edit anything here!
]]--
        
if WORLD_TYPE == 1 then
    if paround(10, true) == 0 and
       maround(1) >= 1 and 
       standtime >= 12000 and       
       cancast("exevo mas san") then
       cast("exevo mas san")
       wait(600, 1800)
elseif WORLD_TYPE == 2 then
    if maround(1) >= 1 and 
       standtime >= 12000 and       
       cancast("exevo mas san") then
       cast("exevo mas san")
       wait(600, 1800)
    end
    end
    end</Script>
        <SpamRate>800 to 1000</SpamRate>
        <Enabled>yes</Enabled>
      </Safe-Trapped>
      <RunMasRes>
        <Script>--[[ 
    Run from Mas Res by Soul Scripts
    Version: v1.0
    Do not edit anything here
]]--

local msgs = getmessages("Local Chat") 
local qtd = msgs.count-1 

for i=0,qtd do 
   if msgs[qtd].text:find("exura gran mas res") and
      RunMasRes == true then 
      setsettings("Settings\\Actions\\List\\RunMasRes\\Enabled", "no") 
      settargeting("off") 
      gotolabel("LeaveHunt") 
   end 
end</Script>
        <SpamRate>800 to 1000</SpamRate>
        <Enabled>no</Enabled>
      </RunMasRes>
      <AlertMasRes>
        <Script>--[[ 
    Alert for Mas Res by Soul Scripts
    Version: v1.0
    Do not edit anything here
]]--

local msgs = getmessages("Local Chat") 
local qtd = msgs.count-1 

   for i=0,qtd do 
   if msgs[qtd].text:find("exura gran mas res") and
      AlertMasRes == true then 
      flashclient()
      playsound('alert.wav')
      wait(1500)
      playsound('alert.wav')
      wait(1500)
      playsound('alert.wav')
      wait(1500)
   end 
   end</Script>
        <SpamRate>800 to 1000</SpamRate>
        <Enabled>no</Enabled>
      </AlertMasRes>
      <Safe-Spells>
        <Script>--[[
    Name: Auto Divine Missile
    Version: v1.0.2
    Status: Works
    TODO:
]]--


    if target.id ~= 0 and 
       mp >= 20 and 
       target.dist <= 5 and 
       target.hppc >= 10 and
       target.isshootable and cancast("exori san") and paround(2)<1 then
       cast("exori san")
   end

    if target.id ~= 0 and 
       mp >= 20 and 
       target.dist <= 5 and 
       target.hppc <= 10 and
       target.isshootable and cancast("exori con") then
       cast("exori con")

   end</Script>
        <SpamRate>100 to 200</SpamRate>
        <Enabled>yes</Enabled>
      </Safe-Spells>
      <Reconnect>
        <Script>--[[
    Name: Auto Reconnect & Bp Opener by BlakW 
    Version: v1.0
]]--
    
    
--Account:
accountNameIs = (Account)

--Password:
passwordNameIs = (Password)

--Character name:
characterNameIs = (CharName)

--Main Backpack Name:
mainBackpackName = MainBP

--Loot Backpack Name:
lootBackpackName = LootBP

--Gold Backpack Name:
goldBackpackName = GoldBP

--Mana Backpack Name:
manaBackpackName = AmmoBP

if (connected == false)
then
    connect(accountNameIs, passwordNameIs, characterNameIs)
    wait(600, 1800)
    pausewalking(10000)
    wait(1000)
    setcavebot("no")
    wait(1000)
    settargeting("no")
    wait(300)
    setlooting("no")
    wait(1000)
    openitem(mainBackpackName, "back")
    wait(2000)
    resizewindows()
    wait(200)
    openitem(manaBackpackName, mainBackpackName, true)
    wait(1000)
    resizewindows()
    wait(1000)
    openitem(lootBackpackName, mainBackpackName, true)
    wait(2000)
    resizewindows()
    openitem(goldBackpackName, mainBackpackName, true)
    wait(2000)
    resizewindows()
    wait(1000)
    setcavebot("yes")
    wait(1000)
    settargeting("yes")
    wait(1000)
    setlooting("yes")
    wait(1000)
end</Script>
        <SpamRate>800 to 1000</SpamRate>
        <Enabled>no</Enabled>
      </Reconnect>
      <Raid>
        <Script>--[[ 
    Run from Raid by Soul Scripts
    Version: v1.0
    Do not edit anything here
]]--

local msgs = getmessages("Server Log") 
local qtd = msgs.count-1 

   for i=0,qtd do 
   if msgs[qtd].text:find("The Dragons") then 
      flashclient()
      playsound('alert.wav')
      wait(1500)
      setcavebot('off')
      settargeting('off')
      stopattack()
      gotolabel('Raid')
      setsettings('Settings\\Actions\\List\\Raid\\Enabled','no')
   end 
   end</Script>
        <SpamRate>800 to 1000</SpamRate>
        <Enabled>yes</Enabled>
      </Raid>
      <Anti-Lure>
        <Script>local monsters = {'Lizard High Guard','Lizard Zaogun'}

if maround(7, unpack(monsters)) >= 3 then 
   settargeting('off')
   if not hasted then
      cast('utani hur')
      wait(200,300)
      gotolabel(wpt.id-4)
   end
else
   wait(4000)
   if getsettings("Settings\\Targeting\\Enabled") == 'no' then
      settargeting('on')
      wait(1000,2000)
   end
end

if maround(7, "Lizard Zaogun") >= 1 and 
   maround(7) >= 4 then 
   settargeting('off')
   if not hasted then
      cast('utani hur')
      wait(200,300)
      gotolabel(wpt.id-4)
   end
else
   wait(4000)
   if getsettings("Settings\\Targeting\\Enabled") == 'no' then
      settargeting('on')
      wait(1000,2000)
   end
end</Script>
        <SpamRate>800 to 1000</SpamRate>
        <Enabled>yes</Enabled>
      </Anti-Lure>
      <AntiTrap1>
        <Script>if posy>31263 and posy<31341 then
setsettings('Settings\\CaveBot\\Pathfinding\\WalkingMethod','Arrows Keys')  
else
setsettings('Settings\\CaveBot\\Pathfinding\\WalkingMethod','Map Clicks') 
end</Script>
        <SpamRate>800 to 1000</SpamRate>
        <Enabled>no</Enabled>
      </AntiTrap1>
    </List>
    <Setup>--[[ Right-click for Setup         
             

~~~~~~~~~~~~~~~~~~~~~~SpareTime Scripts~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~ ______   _________   ______   ~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~     .' ____ \ |  _   _  |.' ____ \  ~~~~~~~~~~~~~~~~~~~~~~~~~
~~~  	| (___ \_||_/ | | \_|| (___ \_| ~~~~~~~~~~~~~~~~~~~~~~
~~~ 	 _.____`.     | |     _.____`.  ~~~~~~~~~~~~~~~~~~~~~
~~~     | \____) |   _| |_   | \____) | ~~~~~~~~~~~~~~~~~~
~~~ 	 \______.'  |_____|   \______.' ~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Scripts Made By SpareTime Scripts!
Special Thanks to Phil and Rebecca!
~~~~~~~~~~~~~~~~~~Contact~~~~~~~~~~~~~~~~~~~~~~~~
GG:5445116 /  9151005
MSN:sparetimescripts@yahoo.pl
Email:sparetimescripts@yahoo.pl 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

]]--

-- AutoMount
Mount = true

-- Repair Soft Boots              
softBoots = true   
BootsEquip = "boots of haste"

-- Hunt Features       
Reconnect = false
AlertMasRes = false -- Alert if Mas Res
RunMasRes = false -- Leave Cave if Mas Res
PKrun = false

-- Reconnect(if true)
Account = "123456"
Password = "password123"
CharName = "MaximusMeridius"

-- Food Features 
DP_Food = false

-- if DP_Food = true
Foodamount = 100
Foodname = "Brown Mushroom"

-- Haste
AutoHur = true
HasteSpell = "utani hur"
ExpHaste = true -- use haste on exp.

-- [PVP] = 1 [Non-PVP] = 2
WORLD_TYPE = 2

-- Way to Hunt
Teleport = true -- False if you have less than 8 tomes(Then go walking)
Shortcut_Carpet = true -- False if you cant use carpet(Then go by steamboat)

-- Body Backpack
MainBP = "Crown Backpack" -- Main Backpack
GoldBP = "Brocade Backpack" -- Your Gold Backpack
LootBP = "Golden Backpack" -- Your Rare/Stackable Backpack
AmmoBP = "Backpack of Holding" -- Your Ammo Backpack

-- Depot Backpacks
MainDPBP = "Yellow Backpack" -- Backpack on Depot
StackableDPBP = "Fur Backpack" --Stackable items
LootDPBP = "Orange Backpack" --Nonstackable items
FoodBP = "Moon Backpack" -- Food Backpack

-- Manas, Runes & Spells
MPname = "strong mana potion"           
MPprice = 80    
GPname = "Great Spirit Potion"
GPprice = 190

-- Ammount to buy on NPC
MPtobuy = 390  -- Amount of SMP to buy
GPtobuy = 30    -- Amount of GSP to buy

-- Ammo Setup
Ammoname = "Power Bolt" 
Ammoprice = 7
Ammotobuy = 1600 -- Amount of bolts to buy
                                            
-- Supply Check
MPtoback = 60     -- Amount of manas to refil
Ammotoback = 250  -- Amount of bolts to refil
Captoback = 100 -- Amount of cap to refill/deposit</Setup>
    <Enabled>yes</Enabled>
  </Actions>
  <CaveBot>
    <Waypoints>
      <w221>Action 0 0 0 --[[~~ RP - Muggy Plains ~~]]--;;setsettings('Settings\\Actions\\List\\Haste\\Enabled','no')      setsettings('Settings\\Actions\\List\\Raid\\Enabled','yes');;;if Mount == true then;setsettings('Settings\\Cavebot\\Settings\\AutoMount','yes');else;setsettings('Settings\\Cavebot\\Settings\\AutoMount','no');end</w221>
      <w220>Action 33029 31452 11 if posz == 11 then;   gotolabel("Depot");else;   gotolabel("hunt");end</w220>
      <Depot>Stand 33029 31452 11</Depot>
      <PKcheck>Action 0 0 0 if PKrun == true then;setsettings('Settings\\Actions\\List\\PK\\Enabled', 'yes');else;setsettings('Settings\\Actions\\List\\PK\\Enabled', 'no');end;;if AlertMasRes == true then;setsettings('Settings\\Actions\\List\\AlertMasRes\\Enabled','yes');else;setsettings('Settings\\Actions\\List\\AlertMasRes\\Enabled','no');end;;if Mount == true then;setsettings('Settings\\Cavebot\\Settings\\AutoMount', 'yes');else;setsettings('Settings\\Cavebot\\Settings\\AutoMount', 'no');end;;if RunMasRes == true then;setsettings('Settings\\Actions\\List\\RunMasRes\\Enabled','yes');else;setsettings('Settings\\Actions\\List\\RunMasRes\\Enabled','no');end;;if Reconnect == true then;setsettings('Settings\\Actions\\List\\Reconnect\\Enabled','yes');else;setsettings('Settings\\Actions\\List\\Reconnect\\Enabled','no');end</PKcheck>
      <w001>Action 33029 31452 11 setsettings('Settings\\Cavebot\\Settings\\OpenNextBp', 'no');;closewindows() ;wait(500, 1000) ;openitem(MainBP, 'back') ;wait(500, 1000) ;openitem(LootBP, MainBP, true) ;wait(500, 1000) ;resizewindows();reachgrounditem("depot");wait(1000,2000) ;openitem("depot") ;wait(700,900) ;openitem(3502, "locker") ;wait(700,900) ;openitem(MainDPBP, "depot chest") ;wait(700,900); ;depotdeposit(StackableDPBP, 'spiked iron ball', 'great health potion', 'cursed shoulder spikes', 'corrupted flag', 'lizard scale', 'small diamond', 'lizard leather', 'scale of corruption', 'dragon priests wandtip', 'yellow gem', 'high guard shoulderplates', 'high guard flag', 'small emerald', 'legionnaire flags', 'great mana potion', 'strong health potion', 'broken halberd', 'small amethyst','zaogun flag','zaogun shoulderplates','bunch of ripe rice') ;wait(700,900) ;depotdeposit(LootDPBP, 'tower shield', 'zaoan shoes', 'zaoan legs', 'zaoan armor', 'zaoan helmet', 'wand of inferno', 'terra rod', 'zaoan robe', 'focus cape', 'drakinata', 'lizard trophy', 'yellow gem');;wait(2000);openitem(LootBP,LootBP);;depotdeposit(StackableDPBP, 'spiked iron ball', 'great health potion', 'cursed shoulder spikes', 'corrupted flag', 'lizard scale', 'small diamond', 'lizard leather', 'scale of corruption', 'dragon priests wandtip', 'yellow gem', 'high guard shoulderplates', 'high guard flag', 'small emerald', 'legionnaire flags', 'great mana potion', 'strong health potion', 'broken halberd', 'small amethyst','zaogun flag','zaogun shoulderplates','bunch of ripe rice')  ;wait(700,900) ;depotdeposit(LootDPBP, 'tower shield', 'zaoan shoes', 'zaoan legs', 'zaoan armor', 'zaoan helmet', 'wand of inferno', 'terra rod', 'zaoan robe', 'focus cape', 'drakinata', 'lizard trophy', 'yellow gem');wait(2000);openitem(LootBP,LootBP);;depotdeposit(StackableDPBP, 'spiked iron ball', 'great health potion', 'cursed shoulder spikes', 'corrupted flag', 'lizard scale', 'small diamond', 'lizard leather', 'scale of corruption', 'dragon priests wandtip', 'yellow gem', 'high guard shoulderplates', 'high guard flag', 'small emerald', 'legionnaire flags', 'great mana potion', 'strong health potion', 'broken halberd', 'small amethyst','zaogun flag','zaogun shoulderplates','bunch of ripe rice') ;wait(700,900) ;depotdeposit(LootDPBP, 'tower shield', 'zaoan shoes', 'zaoan legs', 'zaoan armor', 'zaoan helmet', 'wand of inferno', 'terra rod', 'zaoan robe', 'focus cape', 'drakinata', 'lizard trophy', 'yellow gem');;setsettings('Settings\\Cavebot\\Settings\\OpenNextBp', 'yes');;if DP_Food == true then;closewindows();openitem(MainBP, 'back') ;wait(500, 1000);openitem("depot") ;wait(700,900) ;openitem(3502, "locker") ;wait(700,900) ;openitem(FoodBP, "depot chest") ;wait(700,900);moveitems(Foodname, FoodBP, MainBP, Foodamount - itemcount(Foodname,MainBP));end</w001>
      <w002>Node 33028 31455 11</w002>
      <w003>Stand 33020 31458 11</w003>
      <w004>Stand 33019 31458 11</w004>
      <w005>Node 33016 31471 10</w005>
      <CheckPosZ>Action 33012 31490 10 if posz == 11 then;gotolabel('w002');end</CheckPosZ>
      <w006>Stand 33012 31487 10</w006>
      <CheckDoorBank>Action 33012 31488 10 if toptileitem(33012,31488,10) == 6252 then      ;useitem(6252,33012,31488,10) end</CheckDoorBank>
      <w007>Stand 33012 31490 10</w007>
      <Bank>Stand 33013 31492 10</Bank>
      <w008>Action 33013 31492 10 closewindows() ;while windowcount() < 2 do;closewindows();wait(500, 1000) ;openitem(MainBP, 'back') ;wait(500, 1000) ;resizewindows();wait(500, 1000) ;openitem(AmmoBP, MainBP, true) ;wait(500, 1000) ;resizewindows();end    ;;local Mana = positive(MPtobuy - itemcount(MPname)) * MPprice ;local Ammo = positive(Ammotobuy - itemcount(Ammoname)) * Ammoprice ;local GP = positive(GPtobuy - itemcount(GPname)) * GPprice;local soft = positive(itemcount(6530) - 0) * 10000;local Total = Mana + Ammo + GP + 2500 + soft;;depositall() ;wait(500,900) ;;if Total > 0 then ;   npcsay("withdraw "..Total) ;   wait(200,300) ;   npcsay("yes") ;   wait(200,300) ;end</w008>
      <w009>Stand 33009 31492 10</w009>
      <CheckDoorBankSaida>Action 33008 31492 10 if toptileitem(33008,31492,10) == 6252 then      ;useitem(6252,33008,31492,10) end</CheckDoorBankSaida>
      <w010>Stand 33004 31493 10</w010>
      <w011>Node 33001 31512 10</w011>
      <w012>Node 33015 31530 10</w012>
      <w013>Stand 33010 31538 10</w013>
      <CheckDoorPot>Action 33010 31537 10 if toptileitem(33010,31537,10) == 7715 then      ;useitem(6252,33010,31537,10) end</CheckDoorPot>
      <Pot>Stand 33009 31534 10</Pot>
      <w015>Action 33009 31534 10 opentrade()  ;wait(500,1000);sellflasks();wait(500,1000) ;buyitemsupto(MPname, MPtobuy) ;wait(500,1000);buyitemsupto(GPname, GPtobuy);wait(500,1000);;moveitems(MPname,MainBP,AmmoBP,100);wait(500,800);moveitems(MPname,MainBP,AmmoBP,100);wait(500,800);moveitems(MPname,MainBP,AmmoBP,100);wait(500,800);moveitems(MPname,MainBP,AmmoBP,100);wait(500,800);moveitems(MPname,MainBP,AmmoBP,100);wait(500,800);moveitems(MPname,MainBP,AmmoBP,100);wait(500,800);moveitems(MPname,MainBP,AmmoBP,100);wait(500,800);moveitems(GPname,MainBP,AmmoBP,100);wait(500,800)</w015>
      <w014>Stand 33010 31536 10</w014>
      <CheckDoorPotSaida>Action 33010 31537 10 if toptileitem(33010,31537,10) == 7715 then      ;useitem(6252,33010,31537,10) end</CheckDoorPotSaida>
      <w016>Node 33023 31535 10</w016>
      <w017>Stand 33037 31537 10</w017>
      <CheckDoorAmmo>Action 33037 31538 10 if toptileitem(33037,31538,10) == 7715 then      ;useitem(7715,33037,31538,10) end</CheckDoorAmmo>
      <Ammo>Stand 33037 31541 10</Ammo>
      <w019>Action 33037 31541 10 setsettings('Settings\\Cavebot\\Settings\\OpenNextBp', 'no');say('hi');wait(500,900) ;npcsay('trade');wait(500, 1000) ;buyitemsupto(Ammoname, Ammotobuy) ;wait(500,1000);;moveitems(Ammoname, MainBP, AmmoBP, 100);wait(500,1000);moveitems(Ammoname, MainBP, AmmoBP, 100);wait(500,1000);moveitems(Ammoname, MainBP, AmmoBP, 100);wait(500,1000);moveitems(Ammoname, MainBP, AmmoBP, 100);wait(500,1000);moveitems(Ammoname, MainBP, AmmoBP, 100);wait(500,1000);moveitems(Ammoname, MainBP, AmmoBP, 100);wait(500,1000);moveitems(Ammoname, MainBP, AmmoBP, 100);wait(500,1000);moveitems(Ammoname, MainBP, AmmoBP, 100);wait(500,1000);moveitems(Ammoname, MainBP, AmmoBP, 100);wait(500,1000);moveitems(Ammoname, MainBP, AmmoBP, 100);wait(500,1000);moveitems(Ammoname, MainBP, AmmoBP, 100);wait(500,1000);moveitems(Ammoname, MainBP, AmmoBP, 100);wait(500,1000);moveitems(Ammoname, MainBP, AmmoBP, 100);;;setsettings('Settings\\Cavebot\\Settings\\OpenNextBp', 'yes')</w019>
      <w018>Stand 33037 31539 10</w018>
      <CheckDoorAmmoSaida>Action 33037 31538 10 if toptileitem(33037,31538,10) == 7715 then      ;useitem(7715,33037,31538,10) end</CheckDoorAmmoSaida>
      <w227>Action 33031 31537 10 if softBoots and itemcount(6530) > 0 and Shortcut_Carpet == false then;gotolabel('SoftBootsCarpet');else;gotolabel('w020');end</w227>
      <w020>Node 33042 31535 10</w020>
      <w021>Node 33059 31531 10</w021>
      <w022>Stand 33061 31530 10</w022>
      <w023>Use 33061 31529 10</w023>
      <StayInLever>Stand 33061 31527 10</StayInLever>
      <w025>Action 33061 31527 10 if not islocation() then;gotolabel("w021");end</w025>
      <w024>Use 33062 31527 10</w024>
      <w026>Use 33062 31527 10</w026>
      <w027>Stand 32993 31550 4</w027>
      <w028>Action 32993 31550 4 if posz == 10 then;gotolabel("StayInLever");end</w028>
      <SoftBootsRefillCheck>Action 32993 31550 4 if softBoots and itemcount(6530) > 0 then;gotolabel('SoftBootsRefill');else;gotolabel('GoHunt');end</SoftBootsRefillCheck>
      <GoHunt>Stand 32993 31551 4</GoHunt>
      <CheckTPorWalking>Action 32993 31551 4 if Teleport == true then;gotolabel("Teleport");else;gotolabel("Walking");end</CheckTPorWalking>
      <Teleport>Stand 32990 31548 4</Teleport>
      <w029>Use 32990 31547 4</w029>
      <w030>Node 32990 31541 4</w030>
      <LeverTP>Stand 32991 31539 4</LeverTP>
      <w031>Use 32992 31539 4</w031>
      <w032>Use 32992 31539 4</w032>
      <w033>Stand 32991 31540 1</w033>
      <w034>Action 32991 31540 1 if posz == 4 then;gotolabel("Teleport");end</w034>
      <w035>Stand 32991 31542 1</w035>
      <w036>Stand 32991 31543 1</w036>
      <w037>Stand 32998 31544 2</w037>
      <w038>Stand 32999 31544 2</w038>
      <w039>Stand 33004 31544 1</w039>
      <w040>Stand 33004 31543 1</w040>
      <w041>Stand 33004 31541 0</w041>
      <w042>Action 33004 31541 0 if not islocation then;gotolabel("w035");end</w042>
      <TPFarmine>Stand 33004 31540 0</TPFarmine>
      <w068>Action 0 0 0 gotolabel("TpHunt")</w068>
      <Walking>Node 32997 31554 4</Walking>
      <w043>Stand 33003 31557 4</w043>
      <w044>Stand 33004 31557 4</w044>
      <w045>Stand 33008 31555 5</w045>
      <HurUpIda>Action 33008 31555 5 turn("n");wait(500,900);cast('exani hur "up')</HurUpIda>
      <w047>Stand 33013 31554 4</w047>
      <w048>Action 33013 31554 4 if not islocation() then;gotolabel("Walking");end</w048>
      <w049>Stand 33013 31555 4</w049>
      <w050>Node 33021 31550 5</w050>
      <w051>Stand 33026 31549 5</w051>
      <HurDownIda>Action 33026 31549 5 turn("e");wait(500,900);cast('exani hur "down');</HurDownIda>
      <w046>Stand 33029 31549 6</w046>
      <w052>Action 33029 31549 6 if not islocation() then;gotolabel("w049");end</w052>
      <w053>Node 33039 31547 6</w053>
      <w054>Node 33065 31546 6</w054>
      <w055>Node 33078 31534 6</w055>
      <w056>Stand 33080 31533 6</w056>
      <w057>Stand 33081 31533 6</w057>
      <w058>Stand 33085 31530 7</w058>
      <w059>Action 33085 31530 7 if posz == 6 then;gotolabel("w053");end</w059>
      <w060>Node 33092 31523 7</w060>
      <w061>Node 33120 31451 7</w061>
      <w062>Node 33143 31432 7</w062>
      <w063>Node 33186 31403 7</w063>
      <w064>Node 33198 31351 7</w064>
      <w065>Stand 33198 31349 7</w065>
      <w066>Stand 33198 31348 7</w066>
      <w067>Stand 33198 31347 6</w067>
      <FimWalking>Action 33198 31347 6 if not islocation() then;gotolabel("w060");end</FimWalking>
      <w069>Action 33198 31347 6 gotolabel("TpHunt")</w069>
      <TpHunt>Stand 33199 31346 6</TpHunt>
      <w070>Stand 33199 31345 6</w070>
      <w071>Stand 33145 31248 6</w071>
      <w072>Action 33145 31248 6 if not islocation() then;gotolabel("TpHunt");end</w072>
      <Backpacks>Action 33145 31248 6 setlooting('on');settargeting('on');setsettings('Settings\\Actions\\List\\Haste\\Enabled','no');;closewindows() ;while windowcount() < 4 do;closewindows();wait(500, 1000) ;openitem(MainBP, 'back') ;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();wait(500, 1000);openitem(AmmoBP, MainBP, true);wait(500, 1000);resizewindows();end</Backpacks>
      <w073>Stand 33145 31248 6</w073>
      <Bpsetc>Action 33145 31248 6 if PKrun == true then;setsettings('Settings\\Actions\\List\\PK\\Enabled', 'yes');else;setsettings('Settings\\Actions\\List\\PK\\Enabled', 'no');end;;if AlertMasRes == true then;setsettings('Settings\\Actions\\List\\AlertMasRes\\Enabled','yes');else;setsettings('Settings\\Actions\\List\\AlertMasRes\\Enabled','no');end;;if Mount == true then;setsettings('Settings\\Cavebot\\Settings\\AutoMount', 'yes');else;setsettings('Settings\\Cavebot\\Settings\\AutoMount', 'no');end;;if RunMasRes == true then;setsettings('Settings\\Actions\\List\\RunMasRes\\Enabled','yes');else;setsettings('Settings\\Actions\\List\\RunMasRes\\Enabled','no');end;;if Reconnect == true then;setsettings('Settings\\Actions\\List\\Reconnect\\Enabled','yes');else;setsettings('Settings\\Actions\\List\\Reconnect\\Enabled','no');end;;setlooting('on');settargeting('on');;while windowcount() < 4 do;closewindows();wait(500, 1000) ;openitem(MainBP, 'back') ;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();wait(500, 1000);openitem(AmmoBP, MainBP, true);wait(500, 1000);resizewindows();end;</Bpsetc>
      <DownHunt>Stand 33145 31249 6</DownHunt>
      <w074>Stand 33146 31251 7</w074>
      <w075>Action 33146 31251 7 if posz == 6 then;gotolabel("DownHunt");end</w075>
      <hunt>Action 33002 31512 10 if PKrun == true then;setsettings('Settings\\Actions\\List\\PK\\Enabled', 'yes');else;setsettings('Settings\\Actions\\List\\PK\\Enabled', 'no');end;;if AlertMasRes == true then;setsettings('Settings\\Actions\\List\\AlertMasRes\\Enabled','yes');else;setsettings('Settings\\Actions\\List\\AlertMasRes\\Enabled','no');end;;if Mount == true then;setsettings('Settings\\Cavebot\\Settings\\AutoMount', 'yes');else;setsettings('Settings\\Cavebot\\Settings\\AutoMount', 'no');end;;if RunMasRes == true then;setsettings('Settings\\Actions\\List\\RunMasRes\\Enabled','yes');else;setsettings('Settings\\Actions\\List\\RunMasRes\\Enabled','no');end;;if Reconnect == true then;setsettings('Settings\\Actions\\List\\Reconnect\\Enabled','yes');else;setsettings('Settings\\Actions\\List\\Reconnect\\Enabled','no');end;;setlooting('on');settargeting('on');if ExpHaste == false then;setsettings('Settings\\Actions\\List\\Haste\\Enabled','no');elseif ExpHaste == true then;setsettings('Settings\\Actions\\List\\Haste\\Enabled','yes');end;;while windowcount() < 4 do;closewindows();wait(500, 1000) ;openitem(MainBP, 'back') ;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();wait(500, 1000);openitem(AmmoBP, MainBP, true);wait(500, 1000);resizewindows();end</hunt>
      <StartHunt>Node 33164 31251 7</StartHunt>
      <w222>Action 0 0 0</w222>
      <w224>Action 0 0 0</w224>
      <w225>Action 0 0 0</w225>
      <w226>Action 0 0 0</w226>
      <w076>Node 33178 31253 7</w076>
      <w077>Node 33181 31236 7</w077>
      <w078>Node 33188 31235 7</w078>
      <w079>Node 33199 31236 7</w079>
      <CheckSupplies>Action 33199 31236 7 if itemcount(MPname) <= MPtoback or itemcount(Ammoname) <= Ammotoback or cap <= Captoback then ;gotolabel('LeaveHunt');end</CheckSupplies>
      <w080>Node 33211 31238 7</w080>
      <w081>Node 33221 31245 7</w081>
      <w082>Node 33233 31245 7</w082>
      <w083>Node 33248 31242 7</w083>
      <w084>Node 33280 31237 7</w084>
      <w085>Node 33280 31242 7</w085>
      <CheckSupplies1>Action 33280 31249 7 if itemcount(MPname) <= MPtoback or itemcount(Ammoname) <= Ammotoback or cap <= Captoback then ;gotolabel('w094');end</CheckSupplies1>
      <w086>Node 33280 31259 7</w086>
      <w087>Node 33258 31257 7</w087>
      <w088>Node 33243 31249 7</w088>
      <w089>Node 33234 31252 7</w089>
      <w090>Node 33211 31255 7</w090>
      <w091>Node 33205 31261 7</w091>
      <w092>Node 33199 31254 7</w092>
      <w093>Node 33191 31254 7</w093>
      <CheckSupplies2>Action 33191 31254 7 if itemcount(MPname) <= MPtoback or itemcount(Ammoname) <= Ammotoback or cap <= Captoback then ;gotolabel('w094');end</CheckSupplies2>
      <w094>Node 33182 31245 7</w094>
      <w095>Node 33174 31258 7</w095>
      <w096>Node 33160 31250 7</w096>
      <FinishHunt>Action 33160 31250 7 if itemcount(MPname) <= MPtoback or itemcount(Ammoname) <= Ammotoback or cap <= Captoback then ;gotolabel('LeaveHunt');else;gotolabel('StartHunt');end</FinishHunt>
      <LeaveHunt>Stand 33150 31250 7</LeaveHunt>
      <w097>Stand 33146 31250 7</w097>
      <w098>Stand 33146 31249 7</w098>
      <TpLeaveHunt>Stand 33146 31247 6</TpLeaveHunt>
      <w100>Action 33146 31247 6 if not islocation() then;gotolabel("LeaveHunt");end</w100>
      <w101>Stand 33146 31246 6</w101>
      <w102>Stand 33198 31347 6</w102>
      <w103>Action 33198 31347 6 if not islocation() then;gotolabel("TpLeaveHunt");end</w103>
      <w099>Stand 33198 31348 6</w099>
      <w104>Stand 33196 31352 7</w104>
      <w105>Action 33196 31352 7 if posz == 6 then;gotolabel("w102");end</w105>
      <w106>Node 33188 31373 7</w106>
      <w107>Node 33176 31416 7</w107>
      <w108>Node 33147 31438 7</w108>
      <w109>Node 33136 31473 7</w109>
      <w110>Node 33103 31494 7</w110>
      <w111>Node 33094 31503 7</w111>
      <w112>Node 33087 31532 7</w112>
      <w113>Stand 33082 31532 7</w113>
      <w114>Stand 33081 31532 7</w114>
      <w115>Stand 33077 31533 6</w115>
      <w116>Action 33077 31533 6 if posz == 7 then;gotolabel("w106");end</w116>
      <w117>Node 33070 31542 6</w117>
      <w118>Node 33048 31552 6</w118>
      <w119>Node 33031 31549 6</w119>
      <w120>Stand 33027 31549 6</w120>
      <UpVolta>Action 33027 31549 6 turn("w");wait(500,900);cast('exani hur "up')</UpVolta>
      <w121>Stand 33024 31549 5</w121>
      <w122>Action 33024 31549 5 if not islocation() then;gotolabel("w119");end;</w122>
      <w123>Node 33018 31555 5</w123>
      <w124>Stand 33013 31556 5</w124>
      <w125>Stand 33013 31555 5</w125>
      <w126>Stand 33008 31554 4</w126>
      <w127>Action 33008 31554 4 if posz == 5 then;gotolabel("w123");end</w127>
      <w128>Action 33008 31554 4 turn("s");wait(500,900);cast('exani hur "down')</w128>
      <w129>Stand 33007 31557 5</w129>
      <w130>Action 33007 31557 5 if not islocation() then;gotolabel("w126");end</w130>
      <w131>Stand 33005 31557 5</w131>
      <w132>Stand 33004 31557 5</w132>
      <w133>Node 32996 31552 4</w133>
      <w134>Stand 32993 31547 4</w134>
      <w135>Action 32993 31547 4 if not islocation() then;gotolabel("w131");end</w135>
      <w136>Use 32994 31547 4</w136>
      <w137>Use 32994 31547 4</w137>
      <w138>Stand 33061 31528 10</w138>
      <w139>Action 33061 31528 10 if posz == 4 then;gotolabel("w134");end</w139>
      <w140>Use 33061 31529 10</w140>
      <GoDP>Node 33050 31532 10</GoDP>
      <w141>Stand 33045 31532 10</w141>
      <w142>Action 33045 31532 10 if not islocation() then;gotolabel("w138");end</w142>
      <w143>Node 33031 31535 10</w143>
      <w144>Node 33012 31516 10</w144>
      <w145>Node 33003 31489 10</w145>
      <w146>Node 33007 31481 10</w146>
      <w147>Stand 33018 31458 10</w147>
      <w148>Stand 33019 31458 10</w148>
      <w149>Stand 33026 31457 11</w149>
      <End>Action 33026 31457 11 gotolabel("Depot")</End>
      <SoftBootsRefill>Stand 32993 31550 4</SoftBootsRefill>
      <w150>Stand 32990 31548 4</w150>
      <w151>Use 32990 31547 4</w151>
      <w152>Stand 32990 31542 4</w152>
      <w153>Stand 32991 31539 4</w153>
      <w154>Action 32991 31539 4 if not islocation() then;gotolabel("SoftBootsRefill");end</w154>
      <w155>Use 32992 31539 4</w155>
      <w156>Use 32992 31539 4</w156>
      <w157>Stand 32985 31539 1</w157>
      <w158>Action 32985 31539 1 if posz == 4 then;gotolabel("w153");end</w158>
      <w159>Stand 32983 31539 1</w159>
      <MelianToEdron>Action 32983 31539 1 reachcreature("Melian");say("hi");wait(500,900);npcsay("edron");wait(500,900);npcsay("yes")</MelianToEdron>
      <w160>Stand 33191 31785 3</w160>
      <w161>Action 33191 31785 3 if not islocation() then;gotolabel("w159");end</w161>
      <w162>Stand 33189 31784 3</w162>
      <w163>Stand 33189 31785 3</w163>
      <w164>Stand 33191 31781 4</w164>
      <w165>Node 33196 31783 5</w165>
      <w166>Stand 33215 31782 5</w166>
      <w167>Stand 33215 31783 5</w167>
      <w168>Stand 33215 31784 6</w168>
      <w169>Stand 33215 31789 7</w169>
      <w170>Action 33215 31789 7 if not islocation() then;gotolabel("w162");end</w170>
      <DoorRefillSoft>Action 33214 31789 7 if toptileitem(33214,31789,7) == 6249 then      ;useitem(6249,33214,31789,7) end</DoorRefillSoft>
      <w172>Stand 33211 31789 7</w172>
      <w173>Node 33187 31779 7</w173>
      <w174>Stand 33175 31776 7</w174>
      <w175>Ladder 33175 31775 7</w175>
      <w171>Stand 33176 31772 6</w171>
      <w176>Action 33176 31772 6 if not islocation() then;gotolabel("w172");end</w176>
      <EdronVenore>Stand 33175 31765 6</EdronVenore>
      <CaptainSeahorse>Action 33175 31765 6 reachcreature("Captain Seahorse");say("hi");wait(500,900);npcsay("venore");wait(500,900);npcsay("yes")</CaptainSeahorse>
      <w177>Stand 32955 32025 6</w177>
      <w178>Action 32955 32025 6 if not islocation() then;gotolabel("EdronVenore");end</w178>
      <w179>Node 32954 32041 6</w179>
      <w180>Node 32954 32062 6</w180>
      <w181>Node 32953 32093 6</w181>
      <w182>Node 32949 32106 6</w182>
      <AldoSoftBoots>Stand 32953 32108 6</AldoSoftBoots>
      <w184>Action 32953 32108 6 say("hi");wait(500,900);npcsay("soft boots");wait(500,900);npcsay("yes")</w184>
      <w183>Node 32949 32104 6</w183>
      <w185>Node 32954 32078 6</w185>
      <w186>Node 32953 32043 6</w186>
      <w187>Node 32955 32025 6</w187>
      <VenoreEdron>Stand 32955 32022 6</VenoreEdron>
      <w189>Action 32955 32022 6 reachcreature("Captain Fearless");say("hi");wait(500,900);npcsay("Edron");wait(500,900);npcsay("yes")</w189>
      <w188>Stand 33175 31767 6</w188>
      <w190>Action 33175 31767 6 if not islocation() then;gotolabel("VenoreEdron");end</w190>
      <w191>Stand 33175 31774 6</w191>
      <w192>Stand 33175 31775 6</w192>
      <w193>Node 33178 31777 7</w193>
      <w194>Action 33183 31777 7 if posz == 6 then;gotolabel("w191");end</w194>
      <w195>Node 33198 31790 7</w195>
      <w196>Stand 33207 31789 7</w196>
      <w197>Ladder 33208 31789 7</w197>
      <w198>Node 33215 31786 6</w198>
      <w199>Ladder 33215 31783 6</w199>
      <w200>Ladder 33215 31784 5</w200>
      <w201>Stand 33211 31783 4</w201>
      <w202>Action 33211 31783 4 if not islocation() then;gotolabel("w195");end</w202>
      <w203>Node 33206 31783 4</w203>
      <w204>Node 33195 31784 4</w204>
      <w205>Stand 33190 31785 4</w205>
      <w206>Ladder 33189 31785 4</w206>
      <w207>Stand 33192 31784 3</w207>
      <w208>Action 33192 31784 3 if posz == 4 then;gotolabel("w203");end</w208>
      <w209>Action 33193 31784 3 reachcreature("Pino");say("hi");wait(500,900);npcsay("farmine");wait(500,900);npcsay("yes")</w209>
      <w210>Stand 32986 31539 1</w210>
      <w211>Action 32986 31539 1 if posz == 3 then;gotolabel("w207");end</w211>
      <w212>Stand 32991 31539 1</w212>
      <w213>Use 32992 31539 1</w213>
      <w214>Use 32992 31539 1</w214>
      <w215>Stand 32990 31542 4</w215>
      <w216>Action 32990 31542 4 if posz == 1 then;gotolabel("w212");end</w216>
      <w217>Stand 32990 31546 4</w217>
      <w218>Use 32990 31547 4</w218>
      <w219>Stand 32991 31550 4</w219>
      <EndRefillSoft>Action 32991 31550 4 gotolabel("GoHunt")</EndRefillSoft>
      <Raid>Stand 33150 31250 7</Raid>
      <w000>Stand 33146 31250 7</w000>
      <w223>Stand 33146 31249 7</w223>
      <w223>Action 0 0 0 if posz == 6 then;closeclient() else;gotolabel('Raid');end</w223>
      <SoftBootsCarpet>Stand 33031 31537 10</SoftBootsCarpet>
      <w228>Node 33027 31538 10</w228>
      <w229>Node 33024 31542 10</w229>
      <w230>Node 33024 31547 10</w230>
      <w231>Stand 33025 31553 10</w231>
      <w232>Action 33025 31553 10 reachcreature('Thorgrin');wait(500);say('hi');wait(800,1000);npcsay('cormaya');wait(800,1000);npcsay('yes');</w232>
      <w233>Stand 33309 31989 15</w233>
      <w234>Action 33309 31989 15 if not islocation() then;gotolabel('SoftBootsCarpet');end</w234>
      <w235>Node 33310 31994 15</w235>
      <w236>Stand 33311 31997 15</w236>
      <w237>Stand 33309 31996 14</w237>
      <w238>Stand 33311 31997 13</w238>
      <w239>Stand 33309 31996 12</w239>
      <w240>Stand 33311 31997 11</w240>
      <w241>Stand 33309 31996 10</w241>
      <w242>Stand 33311 31997 9</w242>
      <w243>Stand 33309 31996 8</w243>
      <w244>Action 33310 31998 7 if posz ~= 7 then;gotolabel('w235');end</w244>
      <w245>Node 33305 32003 7</w245>
      <w246>Node 33289 32001 7</w246>
      <w247>Node 33289 31993 7</w247>
      <w248>Node 33295 31985 7</w248>
      <w249>Node 33303 31980 7</w249>
      <w250>Node 33301 31971 7</w250>
      <w251>Node 33297 31962 7</w251>
      <w252>Stand 33293 31960 7</w252>
      <w253>Ladder 33293 31960 7</w253>
      <w254>Stand 33289 31956 6</w254>
      <w255>Action 33289 31956 6 if not islocation() then;gotolabel('w251');end</w255>
      <w256>Action 33289 31956 6 reachcreature('Pemaret');wait(500);say('hi');wait(800,1000);npcsay('edron');wait(800,1000);npcsay('yes');</w256>
      <w257>Stand 33175 31764 6</w257>
      <w258>Action 33175 31764 6 if not islocation() then;gotolabel('w256');end</w258>
      <w259>Action 33175 31764 6 reachcreature('Captain Seahorse');wait(500);say('hi');wait(800,1000);npcsay('venore');wait(800,1000);npcsay('yes');</w259>
      <w260>Stand 32954 32023 6</w260>
      <w261>Action 32954 32023 6 if not islocation() then;gotolabel('w259');end</w261>
      <w262>Node 32954 32032 6</w262>
      <w263>Node 32954 32047 6</w263>
      <w264>Node 32953 32061 6</w264>
      <w265>Node 32954 32074 6</w265>
      <w266>Node 32954 32086 6</w266>
      <w267>Node 32948 32095 6</w267>
      <w268>Node 32948 32103 6</w268>
      <w269>Stand 32953 32108 6</w269>
      <w270>Action 32953 32108 6 if not islocation() then;gotolabel('w268');</w270>
      <w271>Action 32953 32108 6 say('hi');wait(500);npcsay('soft boots');wait(800,1000);npcsay('yes');;if itemcount(6530) > 0 then;npcsay('soft boots');wait(800,1000);npcsay('yes');end</w271>
      <w272>Node 32949 32102 6</w272>
      <w273>Stand 32953 32090 6</w273>
      <w274>Node 32953 32082 6</w274>
      <w275>Node 32954 32067 6</w275>
      <w276>Node 32954 32055 6</w276>
      <w277>Node 32954 32042 6</w277>
      <w278>Node 32954 32032 6</w278>
      <w279>Node 32954 32027 6</w279>
      <w280>Stand 32955 32022 6</w280>
      <w281>Action 32955 32022 6 reachcreature('Captain Fearless');wait(500);say('hi');wait(800,1000);npcsay('edron');wait(800,1000);npcsay('yes')</w281>
      <w282>Stand 33175 31764 6</w282>
      <w283>Action 33175 31764 6 if not islocation() then;gotolabel('w279');end</w283>
      <w284>Action 33175 31764 6 reachcreature('Captain Seahorse');wait(500);say('hi');wait(800,1000);npcsay('cormaya');wait(800,1000);npcsay('yes');</w284>
      <w285>Stand 33288 31956 6</w285>
      <w286>Action 33288 31956 6 if not islocation() then;gotolabel('w284');end</w286>
      <w287>Stand 33293 31960 6</w287>
      <w288>Action 33293 31963 7 if posz ~= 7 then;gotolabel('w287');end</w288>
      <w289>Node 33300 31969 7</w289>
      <w290>Node 33302 31985 7</w290>
      <w291>Node 33290 31984 7</w291>
      <w292>Node 33289 31996 7</w292>
      <w293>Node 33296 32004 7</w293>
      <w294>Node 33305 32004 7</w294>
      <w295>Node 33310 31998 7</w295>
      <w296>Stand 33309 31996 7</w296>
      <w297>Stand 33311 31997 8</w297>
      <w298>Stand 33309 31996 9</w298>
      <w299>Stand 33311 31997 10</w299>
      <w300>Stand 33309 31996 11</w300>
      <w301>Stand 33311 31997 12</w301>
      <w302>Stand 33309 31996 13</w302>
      <w303>Stand 33311 31997 14</w303>
      <w304>Stand 33310 31990 15</w304>
      <w305>Action 33310 31990 15 if not islocation() then;gotolabel('w295');end</w305>
      <w306>Action 33310 31990 15 reachcreature('Gurbasch');wait(500);say('hi');wait(800,1000);npcsay('farmine');wait(800,1000);npcsay('yes');</w306>
      <w307>Node 33025 31542 10</w307>
      <w308>Node 33032 31537 10</w308>
      <w309>Stand 33037 31536 10</w309>
      <w310>Action 33037 31536 10 if not islocation() then;gotolabel('w306');else;gotolabel('w020');end</w310>
    </Waypoints>
    <Pathfinding>
      <SpecialAreas>
        <MiniCity>
          <Coordinates>33279 31231 7</Coordinates>
          <Dimensions>2 1</Dimensions>
          <ConsideredBy>All</ConsideredBy>
        </MiniCity>
        <EastMiniCityAntiCaiman>
          <Coordinates>33286 31235 7</Coordinates>
          <Dimensions>1 26</Dimensions>
          <ConsideredBy>Target</ConsideredBy>
        </EastMiniCityAntiCaiman>
        <AntiDragon>
          <Coordinates>33283 31262 7</Coordinates>
          <Dimensions>2 1</Dimensions>
          <ConsideredBy>All</ConsideredBy>
        </AntiDragon>
        <AntiSpaco>
          <Coordinates>33259 31263 7</Coordinates>
          <Dimensions>8 1</Dimensions>
          <ConsideredBy>All</ConsideredBy>
        </AntiSpaco>
        <AntiEspaco>
          <Coordinates>33240 31262 7</Coordinates>
          <Dimensions>2 1</Dimensions>
          <ConsideredBy>All</ConsideredBy>
        </AntiEspaco>
        <Safe>
          <Coordinates>33251 31221 7</Coordinates>
          <Dimensions>9 1</Dimensions>
          <ConsideredBy>All</ConsideredBy>
        </Safe>
        <Safe2>
          <Coordinates>33261 31221 7</Coordinates>
          <Dimensions>9 1</Dimensions>
          <ConsideredBy>All</ConsideredBy>
        </Safe2>
        <Safe3>
          <Coordinates>33238 31221 7</Coordinates>
          <Dimensions>7 1</Dimensions>
          <ConsideredBy>All</ConsideredBy>
        </Safe3>
        <Safe4>
          <Coordinates>33246 31221 7</Coordinates>
          <Dimensions>2 1</Dimensions>
          <ConsideredBy>All</ConsideredBy>
        </Safe4>
        <Safe5>
          <Coordinates>33236 31223 7</Coordinates>
          <Dimensions>2 1</Dimensions>
          <ConsideredBy>All</ConsideredBy>
        </Safe5>
        <Safe6>
          <Coordinates>33175 31230 7</Coordinates>
          <Dimensions>19 1</Dimensions>
          <ConsideredBy>Target</ConsideredBy>
        </Safe6>
        <Safe7>
          <Coordinates>33196 31230 7</Coordinates>
          <Dimensions>11 1</Dimensions>
          <ConsideredBy>Target</ConsideredBy>
        </Safe7>
        <Safe8>
          <Coordinates>33208 31230 7</Coordinates>
          <Dimensions>19 1</Dimensions>
          <ConsideredBy>Target</ConsideredBy>
        </Safe8>
      </SpecialAreas>
      <WalkThroughPlayers>yes</WalkThroughPlayers>
      <WalkingMethod>Map Clicks</WalkingMethod>
      <MapWalkDistance>20 to 50</MapWalkDistance>
      <WalkableIds>140;404;831;832;833;834;883;2118;2119;2120;2121;2122;2123;2124;2125;2126;2127;2131;2132;2133;2134;2135;2314;2315;2316;2319;2346;2347;2348;2349;2350;2351;2352;2353;2354;2355;2356;2357;2358;2359;2360;2361;2362;2363;2364;2365;2366;2367;2368;2369;2370;2371;2372;2373;2374;2375;2376;2377;2378;2379;2380;2381;2382;2383;2384;2385;2418;2419;2420;2421;2422;2423;2424;2425;2426;2431;2432;2433;2434;2441;2442;2443;2444;2469;2471;2472;2473;2478;2480;2481;2482;2483;2484;2485;2486;2519;2523;2775;2776;2777;2778;2779;2780;2781;2782;2783;2784;2785;2786;2787;2788;2789;2790;2791;2792;2793;2794;2795;2796;2797;2798;2799;2800;2801;2802;2803;2804;2805;2806;2807;2808;2809;2810;2811;2812;2981;2983;2982;2984;2985;2987;2988;3503;3504;3514;3807;5086;5087;5088;6114;6115;6355;6356;6357;6358;6359;6360;6361;6362;6371;6372;7864;8455;8763;9061;9062;10207;10209;10216;10286;10287;10288;11009;11800;11801;11802;11803;11804;11805;11806;11807;11808;11809;11810</WalkableIds>
    </Pathfinding>
    <Settings>
      <Rope>3003</Rope>
      <Shovel>3457</Shovel>
      <Pick>3456</Pick>
      <Machete>3308</Machete>
      <NodeRange>4</NodeRange>
      <Priority>Target and Looting</Priority>
      <OpenNextBp>yes</OpenNextBp>
      <AutoMount>yes</AutoMount>
      <Anti-idle>no</Anti-idle>
      <EatFood>yes</EatFood>
      <FoodToEat>3725;3587;3600;3595;3589;3598;8014;3583;3606;3578;3592;3582;3577;3593;3586;3585;3581;3723</FoodToEat>
      <PauseOnDeath>yes</PauseOnDeath>
    </Settings>
    <Enabled>yes</Enabled>
  </CaveBot>
  <Looting>
    <List>
      <Gold-Coin>
        <Id>3031</Id>
        <Destination>02</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </Gold-Coin>
      <Platinum-Coin>
        <Id>3035</Id>
        <Destination>00</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </Platinum-Coin>
      <Spiked-Iron-Ball>
        <Id>10408</Id>
        <Destination>01</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </Spiked-Iron-Ball>
      <Great-Health-Potion>
        <Id>239</Id>
        <Destination>01</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </Great-Health-Potion>
      <Cursed-Shoulder-Spikes>
        <Id>10410</Id>
        <Destination>01</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </Cursed-Shoulder-Spikes>
      <Corrupted-Flag>
        <Id>10409</Id>
        <Destination>01</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </Corrupted-Flag>
      <Lizard-Scale>
        <Id>5881</Id>
        <Destination>01</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </Lizard-Scale>
      <Small-Diamond>
        <Id>3028</Id>
        <Destination>01</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </Small-Diamond>
      <Tower-Shield>
        <Id>3428</Id>
        <Destination>01</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </Tower-Shield>
      <Lizard-Leather>
        <Id>5876</Id>
        <Destination>01</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </Lizard-Leather>
      <Scale-of-Corruption>
        <Id>11673</Id>
        <Destination>01</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </Scale-of-Corruption>
      <Zaoan-Shoes>
        <Id>10386</Id>
        <Destination>01</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </Zaoan-Shoes>
      <Zaoan-Legs>
        <Id>10387</Id>
        <Destination>01</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </Zaoan-Legs>
      <Zaoan-Armor>
        <Id>10384</Id>
        <Destination>01</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </Zaoan-Armor>
      <Zaoan-Helmet>
        <Id>10385</Id>
        <Destination>01</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </Zaoan-Helmet>
      <Life-Ring>
        <Id>3052</Id>
        <Destination>01</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </Life-Ring>
      <Dragon-Priests-Wandtip>
        <Id>10444</Id>
        <Destination>01</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </Dragon-Priests-Wandtip>
      <Small-Amethyst>
        <Id>3033</Id>
        <Destination>01</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </Small-Amethyst>
      <Wand-of-Inferno>
        <Id>3071</Id>
        <Destination>01</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </Wand-of-Inferno>
      <Terra-Rod>
        <Id>3065</Id>
        <Destination>01</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </Terra-Rod>
      <Strong-Mana-Potion>
        <Id>237</Id>
        <Destination>00</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </Strong-Mana-Potion>
      <Great-Mana-Potion>
        <Id>238</Id>
        <Destination>01</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </Great-Mana-Potion>
      <Yellow-Gem>
        <Id>3037</Id>
        <Destination>01</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </Yellow-Gem>
      <Zaoan-Robe>
        <Id>10439</Id>
        <Destination>01</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </Zaoan-Robe>
      <Focus-Cape>
        <Id>8043</Id>
        <Destination>01</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </Focus-Cape>
      <High-Guard-Flag>
        <Id>10415</Id>
        <Destination>01</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </High-Guard-Flag>
      <High-Guard-Shoulderplates>
        <Id>10416</Id>
        <Destination>01</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </High-Guard-Shoulderplates>
      <Small-Emerald>
        <Id>3032</Id>
        <Destination>01</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </Small-Emerald>
      <Broken-Halberd>
        <Id>10418</Id>
        <Destination>01</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </Broken-Halberd>
      <Drakinata>
        <Id>10388</Id>
        <Destination>01</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </Drakinata>
      <Legionnaire-Flags>
        <Id>10417</Id>
        <Destination>01</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </Legionnaire-Flags>
      <Lizard-Trophy>
        <Id>10419</Id>
        <Destination>01</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </Lizard-Trophy>
      <Strong-Health-Potion>
        <Id>236</Id>
        <Destination>01</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </Strong-Health-Potion>
      <Zaogun-Shoulderplates>
        <Id>10414</Id>
        <Destination>00</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </Zaogun-Shoulderplates>
      <Zaogun-Flag>
        <Id>10413</Id>
        <Destination>00</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </Zaogun-Flag>
      <bunch-of-ripe-rice>
        <Id>10328</Id>
        <Destination>01</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </bunch-of-ripe-rice>
      <Item0>
        <Id>0</Id>
        <Destination>All</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </Item0>
    </List>
    <Condition>Corpses with listed items</Condition>
    <Style>After all dead</Style>
    <OpenBodyTime>350</OpenBodyTime>
    <Range>50</Range>
    <EatFood>yes</EatFood>
    <Enabled>yes</Enabled>
  </Looting>
  <Targeting>
    <Monsters>
      <Lizard-High-Guard>
        <Categories>-</Categories>
        <Danger>9</Danger>
        <ListSettings>
          <Setting0>
            <Count>Any</Count>
            <HpRange>0 to 100 %</HpRange>
            <Stance>Keep Away</Stance>
            <Avoid>None</Avoid>
            <Distance>4</Distance>
            <Attack>Attack</Attack>
            <ListSpell />
            <SpellRate>500 to 1000</SpellRate>
            <AttackMode>Stand/Offensive</AttackMode>
          </Setting0>
        </ListSettings>
        <Looting>yes</Looting>
        <MustAttackMe>no</MustAttackMe>
        <OnlyIfTrapped>no</OnlyIfTrapped>
      </Lizard-High-Guard>
      <Lizard-Dragon-Priest>
        <Categories>-</Categories>
        <Danger>7</Danger>
        <ListSettings>
          <Setting0>
            <Count>Any</Count>
            <HpRange>0 to 100 %</HpRange>
            <Stance>Keep Away</Stance>
            <Avoid>None</Avoid>
            <Distance>4</Distance>
            <Attack>Attack</Attack>
            <ListSpell />
            <SpellRate>500 to 1000</SpellRate>
            <AttackMode>Stand/Offensive</AttackMode>
          </Setting0>
        </ListSettings>
        <Looting>yes</Looting>
        <MustAttackMe>no</MustAttackMe>
        <OnlyIfTrapped>no</OnlyIfTrapped>
      </Lizard-Dragon-Priest>
      <Lizard-Legionnaire>
        <Categories>-</Categories>
        <Danger>6</Danger>
        <ListSettings>
          <Setting0>
            <Count>Any</Count>
            <HpRange>0 to 100 %</HpRange>
            <Stance>Keep Away</Stance>
            <Avoid>None</Avoid>
            <Distance>4</Distance>
            <Attack>Attack</Attack>
            <ListSpell />
            <SpellRate>500 to 1000</SpellRate>
            <AttackMode>Stand/Offensive</AttackMode>
          </Setting0>
        </ListSettings>
        <Looting>yes</Looting>
        <MustAttackMe>no</MustAttackMe>
        <OnlyIfTrapped>no</OnlyIfTrapped>
      </Lizard-Legionnaire>
      <Lizard-Zaogun>
        <Categories>-</Categories>
        <Danger>10</Danger>
        <ListSettings>
          <Setting0>
            <Count>Any</Count>
            <HpRange>0 to 100 %</HpRange>
            <Stance>Keep Away</Stance>
            <Avoid>None</Avoid>
            <Distance>4</Distance>
            <Attack>Attack</Attack>
            <ListSpell />
            <SpellRate>500 to 1000</SpellRate>
            <AttackMode>Stand/Offensive</AttackMode>
          </Setting0>
        </ListSettings>
        <Looting>yes</Looting>
        <MustAttackMe>no</MustAttackMe>
        <OnlyIfTrapped>no</OnlyIfTrapped>
      </Lizard-Zaogun>
      <Killer-Caiman>
        <Categories>-</Categories>
        <Danger>8</Danger>
        <ListSettings>
          <Setting0>
            <Count>Any</Count>
            <HpRange>0 to 100 %</HpRange>
            <Stance>Keep Away</Stance>
            <Avoid>None</Avoid>
            <Distance>4</Distance>
            <Attack>Attack</Attack>
            <ListSpell />
            <SpellRate>500 to 1000</SpellRate>
            <AttackMode>Stand/Offensive</AttackMode>
          </Setting0>
        </ListSettings>
        <Looting>yes</Looting>
        <MustAttackMe>no</MustAttackMe>
        <OnlyIfTrapped>no</OnlyIfTrapped>
      </Killer-Caiman>
      <All>
        <Categories>-</Categories>
        <Danger>0</Danger>
        <ListSettings>
          <Setting0>
            <Count>Any</Count>
            <HpRange>0 to 100 %</HpRange>
            <Stance>No movement</Stance>
            <Avoid>None</Avoid>
            <Distance>0</Distance>
            <Attack>Attack</Attack>
            <ListSpell />
            <SpellRate>500 to 1000</SpellRate>
            <AttackMode>No Change</AttackMode>
          </Setting0>
        </ListSettings>
        <Looting>no</Looting>
        <MustAttackMe>no</MustAttackMe>
        <OnlyIfTrapped>yes</OnlyIfTrapped>
      </All>
      <Dragon>
        <Categories>-</Categories>
        <Danger>5</Danger>
        <ListSettings>
          <Setting0>
            <Count>Any</Count>
            <HpRange>0 to 100 %</HpRange>
            <Stance>Keep Away</Stance>
            <Avoid>None</Avoid>
            <Distance>4</Distance>
            <Attack>Attack</Attack>
            <ListSpell />
            <SpellRate>500 to 1000</SpellRate>
            <AttackMode>Stand/Offensive</AttackMode>
          </Setting0>
        </ListSettings>
        <Looting>yes</Looting>
        <MustAttackMe>no</MustAttackMe>
        <OnlyIfTrapped>no</OnlyIfTrapped>
      </Dragon>
      <Dragon-Lord>
        <Categories>-</Categories>
        <Danger>0</Danger>
        <ListSettings>
          <Setting0>
            <Count>Any</Count>
            <HpRange>0 to 100 %</HpRange>
            <Stance>Keep Away</Stance>
            <Avoid>None</Avoid>
            <Distance>3</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>
      </Dragon-Lord>
      <Monster1>
        <Categories>-</Categories>
        <Danger>0</Danger>
        <ListSettings>
          <Setting0>
            <Count>Any</Count>
            <HpRange>0 to 100 %</HpRange>
            <Stance>No movement</Stance>
            <Avoid>None</Avoid>
            <Distance>0</Distance>
            <Attack>Attack</Attack>
            <ListSpell />
            <SpellRate>500 to 1000</SpellRate>
            <AttackMode>No Change</AttackMode>
          </Setting0>
        </ListSettings>
        <Looting>yes</Looting>
        <MustAttackMe>no</MustAttackMe>
        <OnlyIfTrapped>no</OnlyIfTrapped>
      </Monster1>
    </Monsters>
    <Settings>
      <ListOrder>5</ListOrder>
      <Health>8</Health>
      <Proximity>7</Proximity>
      <Danger>9</Danger>
      <PlayerOnScreenSecurity>Do nothing</PlayerOnScreenSecurity>
      <CooldownControl>yes</CooldownControl>
      <CheckItem>no</CheckItem>
      <MustBeReachable>yes</MustBeReachable>
      <MustBeShootable>no</MustBeShootable>
    </Settings>
    <Enabled>yes</Enabled>
  </Targeting>
  <Hud>
    <List>
      <Exp>
        <Script>local fontfamily = "Verdana" 
local normalfontsize = 7 
local headfontsize = 9 
local fontcolor = 0x000000 
local headfontcolor = 0x000000 
local startposx = 5 
local startposy = 40 

setfontstyle(fontfamily, headfontsize, headfontcolor) 
setfontcolor("yellow") 
addtext("_____________________", startposx, startposy) 
setfontcolor("blue") 
addtext(" ~ Botting Information ~", startposx, startposy+15) 
setfontcolor("yellow") 
addtext("_____________________", startposx, startposy+20) 


setfontstyle(fontfamily, normalfontsize, headfontcolor) 
setfontcolor("white") 
addtext("EXP to Level: ", startposx+10, startposy+40) 
addtext(exptolevel(), startposx+120, startposy+40) 
addtext("EXP gained: ", startposx+10, startposy+55) 
addtext(expgained, startposx+120, startposy+55) 
addtext("EXP/h (Bot): ", startposx+10, startposy+70) 
addtext(exphour, startposx+120, startposy+70)
addtext('Stamina', startposx+10, startposy+85)
   if stamina >= 2400 then 
      setfontcolor("white") 
   else if stamina < 2400 and (stamina > 840) then 
         setfontcolor("orange") 
      else if stamina <= 840 then 
         setfontcolor("red")  
end
end
end
addtext(stamina, startposx+120, startposy+85)
setfontcolor("white")
addtext("Time to Level: ", startposx+10, startposy+100) 
addtext(timetolevel, startposx+120, startposy+100) 
addtext("Played Time: ", startposx+10, startposy+115) 
addtext(timehunt, startposx+120, startposy+115)

 
setfontstyle(fontfamily, headfontsize, headfontcolor) 
setfontcolor("yellow") 
addtext("_____________________", startposx, startposy+120) 
setfontcolor("blue") 
addtext("      ~ Loot Counter ~", startposx, startposy+135)</Script>
        <RefreshRate>1000</RefreshRate>
        <Enabled>yes</Enabled>
      </Exp>
      <Recent-Loot>
        <Script>-- you can add more items here
local warnitems = {'tower shield', 'zaoan shoes', 'zaoan legs', 'zaoan armor', 'zaoan helmet', 'wand of inferno', 'terra rod', 'zaoan robe', 'focus cape', 'drakinata', 'lizard trophy', 'yellow gem', 'life ring'}

-- max lines to display at once 
local maxindex = 6 

-- spacing between lines
local spacing = 15


local index = 0 
local msgs = getmessages("Server Log")
local qtd = msgs.count-1
for i=0,qtd do
   if msgs[qtd-i].type == 19 and msgs[qtd-i].text:find('Loot of ') then
      
      local colorm = false
      local l = 0
      for l=1, table.getn(warnitems) do
         if msgs[qtd-i].text:find(warnitems[l]) then
            colorm = true
            break
         end
      end
      if colorm then
         setfontcolor('blue')
      else
         setfontcolor('white')
      end

      addtext(msgs[qtd-i].text, worldwin.left+5,worldwin.bottom-(maxindex*spacing)+20+(index*spacing))

      index=index+1
      if index == maxindex then
        break
      end
   end
end</Script>
        <RefreshRate>1000</RefreshRate>
        <Enabled>yes</Enabled>
      </Recent-Loot>
      <Loot-Counter>
        <Script>-- [[ General Info HUD by ToadZ (light version) v0.3 ]]                              

-- [[ Supplies Wasted ]]
local showSuppliesWasted = true
local suppliesitems = {'strong mana potion'}
local suppsvalue = {80}

-- [[ Items looted ]]
local showLoots = true
local lootitems = {'gold coin','platinum coin','strong health potion','great health potion','high guard shoulderplates','spiked iron ball','bunch of ripe rice','high guard flag', 'small emerald','lizard leather','lizard scale','legionnaire flags','small diamond','broken halberd',10444,'life ring','small amethyst','strong mana potion','great mana potion','cursed shoulder spikes','corrupted flag','scale of corruption','tower shield','zaoan legs','zaoan shoes','zaoan armor','drakinata','lizard trophy','wand of inferno','terra rod','yellow gem','focus cape','zaoan robe','zaoan helmet'}
local lootsvalue = {1,100,80,160,130,100,75,550,250,150,120,500,250,100,175,500,250,80,100,320,700,680,8000,14000,5000,14000,10000,8000,3000,2000,1000,6000,12000,50000}

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

local fontsize = 8
local fontspacing = fontsize+2

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

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

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

setfontstyle("Verdana", fontsize, "white")
if showSuppliesWasted then
   setfontcolor("yellow")
   addtext('________________________', 0, y)
   setfontcolor("orange")
   y = y + 15
   addtext("Supplies", x, y)
   addtext(":", 120, y)
   addtext(totals.." GPs", 130, y)
   y = y + 15
   end
   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

-- [[ Loots ]]

if showLoots then
   setfontcolor("yellow")
   addtext('________________________', 0, y)
   setfontcolor("white")
   y = y + 15
   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("yellow")
   addtext('___________________________', 0, y)
   y = y + 15
   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 + 7
   setfontcolor("yellow")
   addtext('___________________________', 0, y)
   y = y + 15
end
   setfontcolor("blue")
   addtext("   ~ Made by Soul Team ~", x, y)
   setfontcolor("white")
   y = y + 7
   setfontcolor("yellow")
   addtext('___________________________', 0, y)</Script>
        <RefreshRate>1000</RefreshRate>
        <Enabled>yes</Enabled>
      </Loot-Counter>
      <Monitor>
        <Script>-- [[ INIT START ]] --
	--
	--                       88                                                                
	--                       ""                                                ,d              
	--                                                                         88              
	--            ,adPPYba,  88  8b,dPPYba,  88,dPYba,,adPYba,   ,adPPYYba,  MM88MMM  ,adPPYba,
	--            I8[    ""  88  88P'   "Y8  88P'   "88"    "8a  ""     `Y8    88    a8P_____88
	--             `"Y8ba,   88  88          88      88      88  ,adPPPPP88    88    8PP"""""""
	--            aa    ]8I  88  88          88      88      88  88,    ,88    88,   "8b,   ,aa
	--   Author:  `"YbbdP"'  88  88          88      88      88  `"8bbdP"Y8    "Y888  `"Ybbd8"'
	--   
	--   Monitor My Hunting!
	--
	--   Version: 1.0
	--   Created: 7.09.2012
	--   Last update: 18.09.2012
	--
	
	MONITOR_MY_HUNTING = MONITOR_MY_HUNTING or {
		SCRIPT_NAME = "Monitor My Hunting",
		SCRIPT_VERSION = "1.0",
		
		CLEARED_STATS = false,
		INITIALIZED = false,
	}

	MONITOR_MY_HUNTING.SHOW_ALL_ITEMS = false
	MONITOR_MY_HUNTING.ITEMS_LIST = {
		{NAME = "strong mana potion", VALUE = 50},
		{NAME = "strong health potion", VALUE = 50},
		{NAME = "gold coin", VALUE = 1},
		{NAME = "elven scouting glass", VALUE = 50},
		{NAME = "elvish talisman", VALUE = 45},
		{NAME = "strange helmet", VALUE = 500},
		{NAME = "elvish bow", VALUE = 2000},
		{NAME = "elven astral observer", VALUE = 90},
		{NAME = "wand of cosmic energy", VALUE = 2000},
		{NAME = "elven amulet", VALUE = 100},
		{NAME = "holy orchid", VALUE = 2500},
		{NAME = "jewelled belt", VALUE = 180},
		{NAME = "dirty turban", VALUE = 120},
		{NAME = "noble turban", VALUE = 430},
		{NAME = "seeds", VALUE = 150},
		{NAME = "heaven blossom", VALUE = 100},
		{NAME = "platinum coin", VALUE = 100},
		{NAME = "mutated flesh", VALUE = 50},
		{NAME = "shard", VALUE = 2000},
		{NAME = "green mushroom", VALUE = 100},
		{NAME = "ice rapier", VALUE = 1000},
		{NAME = "dragon scale mail", VALUE = 40000},
		{NAME = "royal helmet", VALUE = 30000},
		{NAME = "dragon slayer", VALUE = 15000},
		{NAME = "tower shield", VALUE = 8000},
		{NAME = "frosty heart", VALUE = 250},
		{NAME = "life crystal", VALUE = 800},
		{NAME = "blue piece of cloth", VALUE = 1300},
		{NAME = "magma monocle", VALUE = 2500},
		{NAME = "hailstorm rod", VALUE = 3000},
		{NAME = "blue gem", VALUE = 5000},
		{NAME = "small sapphire", VALUE = 250},
		{NAME = "mystic turban", VALUE = 1300},
		{NAME = "spellbook of enlightenment", VALUE = 4000},
		{NAME = "mastermind potion", VALUE = 500},
		{NAME = "spitter nose", VALUE = 340},
		{NAME = "small amethyst", VALUE = 200},
		{NAME = "dung ball", VALUE = 130},
		{NAME = "emerald bangle", VALUE = 800},
		{NAME = "waspoid claw", VALUE = 320},
		{NAME = "black pearl", VALUE = 280},
		{NAME = "small emerald", VALUE = 250},
		{NAME = "small topaz", VALUE = 200},
		{NAME = "crawler head plating", VALUE = 210},
		{NAME = "great health potion", VALUE = 190},
		{NAME = "waspoid wing", VALUE = 190},
		{NAME = "compound eye", VALUE = 150},
		{NAME = "swarmer antenna", VALUE = 130},
		{NAME = "great mana potion", VALUE = 120},
		{NAME = "carapace shield", VALUE = 32000},
		{NAME = "hive scythe", VALUE = 17000},
		{NAME = "grasshopper legs", VALUE = 50000},
		{NAME = "epee", VALUE = 8000},
		{NAME = "springsprout rod", VALUE = 3600},
		{NAME = "war hammer", VALUE = 1200},
		{NAME = "yellow gem", VALUE = 1000},
		{NAME = "calopteryx cape", VALUE = 15000},
		{NAME = "crusader helmet", VALUE = 8000},
		{NAME = "platinum amulet", VALUE = 2500},
		{NAME = "green gem", VALUE = 5000},
		{NAME = "crystal sword", VALUE = 600},
		{NAME = "time ring", VALUE = 1000},
		{NAME = "wand of inferno", VALUE = 3000},
		{NAME = "life ring", VALUE = 800},
		{NAME = "terra rod", VALUE = 2000},	
		{NAME = "focus cape", VALUE = 6000},	
		{NAME = "small diamond", VALUE = 300},		
		
		{NAME = "zaoan helmet", VALUE = 45000},
		
		{NAME = "zaoan robe", VALUE = 12000},
		{NAME = "zaoan armor", VALUE = 14000},
		{NAME = "zaoan legs", VALUE = 14000},
		{NAME = "zaoan shoes", VALUE = 5000},
		{NAME = "lizard scale", VALUE = 120},
		{NAME = "high guard flag", VALUE = 550},
		{NAME = "bunch of ripe rice", VALUE = 75},
		{NAME = "high guard shoulderplates", VALUE = 130},
		{NAME = "spiked iron ball", VALUE = 100},
		{NAME = "dragon priest's wandtip", VALUE = 175},
		{NAME = "zaogun flag", VALUE = 600},
		{NAME = "zaogun shoulderplates", VALUE = 150},
		{NAME = "drakinata", VALUE = 10000},
		{NAME = "legionnaire flags", VALUE = 500},
		
	}
 
	MONITOR_MY_HUNTING.SHOW_ALL_SUPPLIES = false
	MONITOR_MY_HUNTING.SUPPLIES_LIST = {
		{NAME = "strong mana potion", PRICE = 80},
		{NAME = "mana potion", PRICE = 50},
		{NAME = "ultimate health potion", PRICE = 310},
		{NAME = "great spirit potion", PRICE = 190},
		{NAME = "prismatic bolt", PRICE = 21},
		{NAME = "power bolt", PRICE = 7},
	}
	
	-- [[ DO NOT CHANGE ANYTHING BELOW THIS LINE. ]] --
	
	MONITOR_MY_HUNTING.TEMP_ITEMS_LIST = MONITOR_MY_HUNTING.TEMP_ITEMS_LIST or {}
	MONITOR_MY_HUNTING.TEMP_SUPPLIES_LIST = MONITOR_MY_HUNTING.TEMP_SUPPLIES_LIST or {}
	MONITOR_MY_HUNTING.COLORS = MONITOR_MY_HUNTING.COLORS or {
		BLACK = rgbcolor(1, 1, 1),
		ORANGE = rgbcolor(255, 165, 0),
		BLUE = rgbcolor(30, 144, 255),
		CORNSILK = rgbcolor(205, 200, 177),
		WHITE = rgbcolor(255, 255, 255),
		GREEN = rgbcolor(107, 142, 35),
		RED = rgbcolor(178, 34, 34),
	}
	
	local function CreateMessageObject(MESSAGE_DATA)
		if (type(MESSAGE_DATA) ~= "userdata") then
			return setmetatable({__data = {TYPE = -1, TIME_STAMP = -1, SENDER_NAME = "", SENDER_LEVEL = -1, CONTENT = ""}}, MessageMetaTable)
		else
			return setmetatable({__data = {TYPE = MESSAGE_DATA.type, TIME_STAMP = Misc.ConvertToSeconds(string.sub(MESSAGE_DATA.text, 1, 5)), SENDER_NAME = MESSAGE_DATA.sender, SENDER_LEVEL = tonumber((tostring(string.match(MESSAGE_DATA.text, ".+ (%b[]): .+")):gsub("[^%d]", ""))) or 0, CONTENT = string.sub(MESSAGE_DATA.text, 7)}}, MessageMetaTable)
		end
	end
	
	local function addtextshadow(DISPLAY_TEXT, X_OFFSET, Y_OFFSET, FONT_COLOR)
		setfontcolor(MONITOR_MY_HUNTING.COLORS.BLACK)
		addtext(DISPLAY_TEXT, X_OFFSET + 1, Y_OFFSET + 1)
		setfontcolor(FONT_COLOR)
		addtext(DISPLAY_TEXT, X_OFFSET, Y_OFFSET)
	end
-- [[ INIT END ]] --

if (not Stats.Update()) then
	local SERVER_LOG_MESSAGES = getnewmessages("Server Log")
	local SERVER_LOG_MESSAGES_COUNT = SERVER_LOG_MESSAGES.count - 1
	
	for INDEX = 0, SERVER_LOG_MESSAGES_COUNT do
		local MESSAGE_OBJECT = CreateMessageObject(SERVER_LOG_MESSAGES[SERVER_LOG_MESSAGES_COUNT - INDEX])
		
		if (MESSAGE_OBJECT:Type() == 19 and MESSAGE_OBJECT:Content():lower():match("^loot of")) then
			local LOOT_INFO = Message.ParseLootMessage(MESSAGE_OBJECT, true)

			if (#LOOT_INFO.NAME > 0) then
				Stats.__data.MONSTERS_KILLED[LOOT_INFO.NAME] = (Stats.__data.MONSTERS_KILLED[LOOT_INFO.NAME] or 0) + 1
				
				for _, LOOT_ITEM in ipairs(LOOT_INFO.ITEMS) do
					if (Stats.__data.ITEMS_LOOTED[LOOT_ITEM.ID]) then
						Stats.__data.ITEMS_LOOTED[LOOT_ITEM.ID].QUANTITY = Stats.__data.ITEMS_LOOTED[LOOT_ITEM.ID].QUANTITY + LOOT_ITEM.QUANTITY
					else
						Stats.__data.ITEMS_LOOTED[LOOT_ITEM.ID] = {ID = LOOT_ITEM.ID, NAME = LOOT_ITEM.NAME, QUANTITY = LOOT_ITEM.QUANTITY, VALUE = Item.GetValue(LOOT_ITEM.ID)}
					end
				end
			end
		end
	end
end

local RESET_ITEMS_AND_SUPPLIES = #MONITOR_MY_HUNTING.ITEMS_LIST ~= #MONITOR_MY_HUNTING.TEMP_ITEMS_LIST or #MONITOR_MY_HUNTING.SUPPLIES_LIST ~= #MONITOR_MY_HUNTING.TEMP_SUPPLIES_LIST

if (not RESET_ITEMS_AND_SUPPLIES) then
	for INDEX, LOOT_ITEM in ipairs(MONITOR_MY_HUNTING.ITEMS_LIST) do
		if (LOOT_ITEM.NAME ~= MONITOR_MY_HUNTING.TEMP_ITEMS_LIST[INDEX].NAME or LOOT_ITEM.VALUE ~= MONITOR_MY_HUNTING.TEMP_ITEMS_LIST[INDEX].VALUE) then
			RESET_ITEMS_AND_SUPPLIES = true
			break
		end
	end
end

if (not RESET_ITEMS_AND_SUPPLIES) then
	for INDEX, SUPPLY_ITEM in ipairs(MONITOR_MY_HUNTING.SUPPLIES_LIST) do
		if (SUPPLY_ITEM.NAME ~= MONITOR_MY_HUNTING.TEMP_SUPPLIES_LIST[INDEX].NAME or SUPPLY_ITEM.PRICE ~= MONITOR_MY_HUNTING.TEMP_SUPPLIES_LIST[INDEX].PRICE) then
			RESET_ITEMS_AND_SUPPLIES = true
			break
		end
	end
end

if (not MONITOR_MY_HUNTING.INITIALIZED or RESET_ITEMS_AND_SUPPLIES) then
	if (not MONITOR_MY_HUNTING.CLEARED_STATS) then
		Stats.Clear(CLEAR_STATS_ALL)
		Stats.Update()
		
		MONITOR_MY_HUNTING.CLEARED_STATS = true
	end
	
	MONITOR_MY_HUNTING.TEMP_ITEMS_LIST, MONITOR_MY_HUNTING.TEMP_SUPPLIES_LIST = {}, {}
		
	for _, LOOT_ITEM in ipairs(MONITOR_MY_HUNTING.ITEMS_LIST) do
		local LOOT_ITEM_ID = Item.GetID(type(LOOT_ITEM.NAME) ~= "table" and LOOT_ITEM.NAME or unpack(LOOT_ITEM.NAME))
		
		Stats.AddItemsLooted(LOOT_ITEM_ID, 0, LOOT_ITEM.VALUE)
		table.insert(MONITOR_MY_HUNTING.TEMP_ITEMS_LIST, {ID = LOOT_ITEM_ID, NAME = LOOT_ITEM.NAME, VALUE = LOOT_ITEM.VALUE})
	end
	 
	for _, SUPPLY_ITEM in ipairs(MONITOR_MY_HUNTING.SUPPLIES_LIST) do
		local SUPPLY_ITEM_ID = Item.GetID(type(SUPPLY_ITEM.NAME) ~= "table" and SUPPLY_ITEM.NAME or unpack(SUPPLY_ITEM.NAME))
		
		Stats.AddSuppliesUsed(SUPPLY_ITEM_ID, 0, SUPPLY_ITEM.PRICE)
		table.insert(MONITOR_MY_HUNTING.TEMP_SUPPLIES_LIST, {ID = SUPPLY_ITEM_ID, NAME = SUPPLY_ITEM.NAME, PRICE = SUPPLY_ITEM.PRICE})
	end
	
	MONITOR_MY_HUNTING.INITIALIZED = true
end

setposition(Client.ClientWindow().right - 434, Client.WorldWindow().top + 5)

local Y_POSITION, INDEX, ITEMS_LOOTED_WORTH, SUPPLIES_USED_WORTH = 30, 0, 0, 0

addtextshadow(sprintf("%s v%s", MONITOR_MY_HUNTING.SCRIPT_NAME:upper(), MONITOR_MY_HUNTING.SCRIPT_VERSION), 10, Y_POSITION + (INDEX * 16), MONITOR_MY_HUNTING.COLORS.ORANGE)

Y_POSITION = Y_POSITION + 20

addtextshadow("ITEMS LOOTED", 10, Y_POSITION + (INDEX * 16), MONITOR_MY_HUNTING.COLORS.BLUE)

Y_POSITION = Y_POSITION + 20

for _, LOOT_ITEM in pairs(Stats.GetItemsLooted()) do
    if ((MONITOR_MY_HUNTING.SHOW_ALL_ITEMS or table.find(MONITOR_MY_HUNTING.TEMP_ITEMS_LIST, LOOT_ITEM.ID, "ID")) and LOOT_ITEM.QUANTITY > 0) then
	addtextshadow(((#LOOT_ITEM.NAME > 17 and sprintf("%s...", string.match(string.sub(LOOT_ITEM.NAME, 1, 17), "(.-)%s?$"))) or LOOT_ITEM.NAME):ucwords(), 10, Y_POSITION + (INDEX * 16), MONITOR_MY_HUNTING.COLORS.CORNSILK)
	addtextshadow(sprintf("%s (%sK)", Misc.FormatNumber(LOOT_ITEM.QUANTITY), tostring(math.floor(LOOT_ITEM.VALUE * LOOT_ITEM.QUANTITY / 100) / 10)), 140, Y_POSITION + (INDEX * 16), MONITOR_MY_HUNTING.COLORS.WHITE)

	INDEX, ITEMS_LOOTED_WORTH = INDEX + 1, ITEMS_LOOTED_WORTH + (LOOT_ITEM.VALUE * LOOT_ITEM.QUANTITY)
    end
end

addtextshadow("Total:", 10, Y_POSITION + (INDEX * 16), MONITOR_MY_HUNTING.COLORS.WHITE)
addtextshadow(sprintf("%s GPs", Misc.FormatNumber(ITEMS_LOOTED_WORTH)), 10 + 35, Y_POSITION + (INDEX * 16), MONITOR_MY_HUNTING.COLORS.ORANGE)

Y_POSITION = Y_POSITION + 20

addtextshadow("SUPPLIES USED", 10, Y_POSITION + (INDEX * 16), MONITOR_MY_HUNTING.COLORS.BLUE)

Y_POSITION = Y_POSITION + 20

for _, SUPPLY_ITEM in pairs(Stats.GetSuppliesUsed()) do
    if ((MONITOR_MY_HUNTING.SHOW_ALL_SUPPLIES or table.find(MONITOR_MY_HUNTING.TEMP_SUPPLIES_LIST, SUPPLY_ITEM.ID, "ID")) and SUPPLY_ITEM.QUANTITY > 0) then
        addtextshadow(((#SUPPLY_ITEM.NAME > 17 and sprintf("%s...", string.match(string.sub(SUPPLY_ITEM.NAME, 1, 17), "(.-)%s?$"))) or SUPPLY_ITEM.NAME):ucwords(), 10, Y_POSITION + (INDEX * 16), MONITOR_MY_HUNTING.COLORS.CORNSILK)
        addtextshadow(sprintf("%s (%sK)", Misc.FormatNumber(SUPPLY_ITEM.QUANTITY), tostring(math.floor(SUPPLY_ITEM.PRICE * SUPPLY_ITEM.QUANTITY / 100) / 10)), 140, Y_POSITION + (INDEX * 16), MONITOR_MY_HUNTING.COLORS.WHITE)

        INDEX, SUPPLIES_USED_WORTH = INDEX + 1, SUPPLIES_USED_WORTH + (SUPPLY_ITEM.PRICE * SUPPLY_ITEM.QUANTITY)
    end
end

addtextshadow("Total:", 10, Y_POSITION + (INDEX * 16), MONITOR_MY_HUNTING.COLORS.WHITE)
addtextshadow(sprintf("%s GPs", Misc.FormatNumber(SUPPLIES_USED_WORTH)), 10 + 35, Y_POSITION + (INDEX * 16), MONITOR_MY_HUNTING.COLORS.ORANGE)

Y_POSITION = Y_POSITION + 20

addtextshadow(sprintf("%s: %s GPs (%s K/H)", ((ITEMS_LOOTED_WORTH >= SUPPLIES_USED_WORTH and ("PROFIT")) or ("WASTE")), Misc.FormatNumber(ITEMS_LOOTED_WORTH - SUPPLIES_USED_WORTH), tostring(math.floor(((ITEMS_LOOTED_WORTH - SUPPLIES_USED_WORTH) * 3600) / (System.HuntingTime() / 1000) / 100) / 10)), 10, Y_POSITION + (INDEX * 16), ITEMS_LOOTED_WORTH >= SUPPLIES_USED_WORTH and MONITOR_MY_HUNTING.COLORS.GREEN or MONITOR_MY_HUNTING.COLORS.RED)</Script>
        <RefreshRate>450</RefreshRate>
        <Enabled>yes</Enabled>
      </Monitor>
    </List>
    <Show>If focused</Show>
    <Enabled>yes</Enabled>
  </Hud>
  <Input>
    <Keyboard>
      <Mode>Simulate</Mode>
      <StuckCtrlShift>If cavebot on, release after 1 sec</StuckCtrlShift>
      <TypingStyle>Keyboard keys</TypingStyle>
      <PressWaitTime>45 to 65</PressWaitTime>
    </Keyboard>
    <Mouse>
      <Mode>Simulate</Mode>
      <Scroll>Use mouse wheel</Scroll>
      <MoveSpeed>Instantaneous</MoveSpeed>
      <ClickWaitTime>30 to 50</ClickWaitTime>
    </Mouse>
    <OpenMenuPolicy>Confirm if cavebotting</OpenMenuPolicy>
    <Enabled>yes</Enabled>
  </Input>
  <RP_MuggyPlain_Made_by_Soul_Scripts />
</Settings>
?r?d?o: Games-Bot.eu​
 
Status
Not open for further replies.
Top