What's new

Sorcerer [PACC] [160] Edron Demons

Status
Not open for further replies.

Xinum

Never Give Up!
Joined
Dec 23, 2009
Messages
578
Reaction score
66
[MS][160] Edron Demons

Code:
<Settings>
  <Alerts>
    <Player>
      <OnScreen>
        <PlaySound>no</PlaySound>
        <FlashClient>no</FlashClient>
        <PauseBot>no</PauseBot>
        <Disconnect>no</Disconnect>
        <SafeList>null</SafeList>
      </OnScreen>
      <Attacking>
        <PlaySound>yes</PlaySound>
        <FlashClient>yes</FlashClient>
        <PauseBot>no</PauseBot>
        <Disconnect>no</Disconnect>
        <SafeList>null</SafeList>
      </Attacking>
      <GMOnScreen>
        <PlaySound>yes</PlaySound>
        <FlashClient>yes</FlashClient>
        <PauseBot>yes</PauseBot>
        <Disconnect>no</Disconnect>
      </GMOnScreen>
    </Player>
    <Creature />
    <Item />
    <Message>
      <PrivateMessage>
        <PlaySound>no</PlaySound>
        <FlashClient>no</FlashClient>
        <PauseBot>no</PauseBot>
        <Disconnect>no</Disconnect>
        <SafeList>null</SafeList>
      </PrivateMessage>
      <Advanced>
        <PlaySound>no</PlaySound>
        <FlashClient>no</FlashClient>
        <PauseBot>no</PauseBot>
        <Disconnect>no</Disconnect>
        <Screenshot>no</Screenshot>
      </Advanced>
      <Raid>
        <PlaySound>no</PlaySound>
        <FlashClient>no</FlashClient>
        <PauseBot>no</PauseBot>
        <Disconnect>no</Disconnect>
        <Warnings>All</Warnings>
      </Raid>
      <SafeBank>
        <PlaySound>yes</PlaySound>
        <FlashClient>yes</FlashClient>
        <PauseBot>yes</PauseBot>
        <CloseTibia>no</CloseTibia>
        <Disconnect>yes</Disconnect>
      </SafeBank>
      <HealCreature>
        <PlaySound>yes</PlaySound>
        <FlashClient>yes</FlashClient>
        <PauseBot>yes</PauseBot>
        <CloseTibia>no</CloseTibia>
        <Disconnect>yes</Disconnect>
        <Screenshot>no</Screenshot>
      </HealCreature>
      <YourAttack>
        <PlaySound>yes</PlaySound>
        <FlashClient>yes</FlashClient>
        <PauseBot>yes</PauseBot>
        <CloseTibia>no</CloseTibia>
        <Disconnect>yes</Disconnect>
        <Screenshot>no</Screenshot>
        <SafeList>null</SafeList>
      </YourAttack>
      <Unjust>
        <PlaySound>yes</PlaySound>
        <FlashClient>yes</FlashClient>
        <PauseBot>yes</PauseBot>
        <CloseTibia>no</CloseTibia>
        <Disconnect>yes</Disconnect>
      </Unjust>
    </Message>
    <Capacity>
      <Value>100</Value>
      <PlaySound>no</PlaySound>
      <FlashClient>no</FlashClient>
      <PauseBot>no</PauseBot>
      <Disconnect>no</Disconnect>
    </Capacity>
    <StandTime>
      <Value>300000</Value>
      <PlaySound>yes</PlaySound>
      <FlashClient>yes</FlashClient>
      <PauseBot>no</PauseBot>
      <Disconnect>no</Disconnect>
    </StandTime>
    <Stamina>
      <Value>841</Value>
      <PlaySound>no</PlaySound>
      <FlashClient>no</FlashClient>
      <PauseBot>no</PauseBot>
      <CloseTibia>no</CloseTibia>
      <Disconnect>no</Disconnect>
    </Stamina>
    <Disconnect>
      <PlaySound>yes</PlaySound>
      <FlashClient>yes</FlashClient>
      <PauseBot>no</PauseBot>
    </Disconnect>
    <Enabled>yes</Enabled>
  </Alerts>
  <Healer>
    <Rules>
      <Strong-Mana-Potion>
        <HealRange>0 to 100 %</HealRange>
        <ManaRange>0 to 80 %</ManaRange>
        <HealMethod>Strong Mana Potion</HealMethod>
        <ExtraCondition>No condition</ExtraCondition>
        <CooldownControl>yes</CooldownControl>
        <CheckItem>yes</CheckItem>
        <SpamRate>200 to 400</SpamRate>
        <Enabled>yes</Enabled>
      </Strong-Mana-Potion>
      <Great-Mana-Potion>
        <HealRange>0 to 100 %</HealRange>
        <ManaRange>0 to 80 %</ManaRange>
        <HealMethod>Great Mana Potion</HealMethod>
        <ExtraCondition>No condition</ExtraCondition>
        <CooldownControl>yes</CooldownControl>
        <CheckItem>yes</CheckItem>
        <SpamRate>200 to 400</SpamRate>
        <Enabled>yes</Enabled>
      </Great-Mana-Potion>
      <Exura-Vita>
        <HealRange>0 to 50 %</HealRange>
        <ManaRange>160 to all</ManaRange>
        <HealMethod>Ultimate Healing</HealMethod>
        <ExtraCondition>No condition</ExtraCondition>
        <CooldownControl>yes</CooldownControl>
        <CheckItem>no</CheckItem>
        <SpamRate>50 to 100</SpamRate>
        <Enabled>yes</Enabled>
      </Exura-Vita>
      <Exura-Gran>
        <HealRange>50 to 80 %</HealRange>
        <ManaRange>70 to all</ManaRange>
        <HealMethod>Intense Healing</HealMethod>
        <ExtraCondition>No condition</ExtraCondition>
        <CooldownControl>yes</CooldownControl>
        <CheckItem>no</CheckItem>
        <SpamRate>50 to 100</SpamRate>
        <Enabled>yes</Enabled>
      </Exura-Gran>
      <Exura>
        <HealRange>80 to 94 %</HealRange>
        <ManaRange>20 to all</ManaRange>
        <HealMethod>Light Healing</HealMethod>
        <ExtraCondition>No condition</ExtraCondition>
        <CooldownControl>yes</CooldownControl>
        <CheckItem>no</CheckItem>
        <SpamRate>50 to 100</SpamRate>
        <Enabled>yes</Enabled>
      </Exura>
      <Anti-Para>
        <HealRange>90 to 100 %</HealRange>
        <ManaRange>20 to all</ManaRange>
        <HealMethod>Light Healing</HealMethod>
        <ExtraCondition>If paralyzed</ExtraCondition>
        <CooldownControl>yes</CooldownControl>
        <CheckItem>no</CheckItem>
        <SpamRate>200 to 400</SpamRate>
        <Enabled>yes</Enabled>
      </Anti-Para>
    </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>
      <Special-Area-Commands>
        <Script>if posx < 33097 then
setsettings("Settings\\CaveBot\\Pathfinding\\SpecialAreas\\BigRoomNWEast7SQMAllowW\\ConsideredBy", "None")
else 
setsettings("Settings\\CaveBot\\Pathfinding\\SpecialAreas\\BigRoomNWEast7SQMAllowW\\ConsideredBy", "Target")
end

if posy < 31710 then
setsettings("Settings\\CaveBot\\Pathfinding\\SpecialAreas\\FirstBlock3 SQMAllowNorth\\ConsideredBy", "None")
else 
setsettings("Settings\\CaveBot\\Pathfinding\\SpecialAreas\\FirstBlock3SQMAllowNorth\\ConsideredBy", "Target")
end

if posy < 31703 then
setsettings("Settings\\CaveBot\\Pathfinding\\SpecialAreas\\StairBlockAllowNorth\\ConsideredBy", "None")
else 
setsettings("Settings\\CaveBot\\Pathfinding\\SpecialAreas\\StairBlockAllowNorth\\ConsideredBy", "Target")
end

if (maround(10, "Demon")+maround(10, "Massive Fire Elemental")) >= 2 then
setsettings("Settings\\CaveBot\\Pathfinding\\SpecialAreas\\MassiveBlockallowif2\\ConsideredBy", "None")
setsettings("Settings\\CaveBot\\Pathfinding\\SpecialAreas\\BlockMassiveandDemon\\ConsideredBy", "None")
else 
setsettings("Settings\\CaveBot\\Pathfinding\\SpecialAreas\\MassiveBlockallowif2\\ConsideredBy", "Target")
setsettings("Settings\\CaveBot\\Pathfinding\\SpecialAreas\\BlockMassiveandDemon\\ConsideredBy", "Target")
end</Script>
        <SpamRate>800 to 1000</SpamRate>
        <Enabled>yes</Enabled>
      </Special-Area-Commands>
      <UE-Clear>
        <Script>if maround(7) >= 6 and standtime > 4000 and (paround(15, true) == 0 or Player_Safe == false) and cancast(UE_Spell) then
cast(UE_Spell)
end</Script>
        <SpamRate>800 to 1000</SpamRate>
        <Enabled>yes</Enabled>
      </UE-Clear>
      <Drop_Flasks>
        <Script>local currentflask = itemcount(285) + itemcount(284) + itemcount(283)

if (maround(7) == 0) and (lootbodies == false) and (cap < capCheck) and (currentflask > 10)
then
    pausewalking(1000)
    moveitems(283,supplyBp,'ground',100)
    pausewalking(1000)
    moveitems(284,supplyBp,'ground',100)
    pausewalking(1000)
    moveitems(285,supplyBp,'ground',100)
    wait(5000)
end
</Script>
        <SpamRate>800 to 1000</SpamRate>
        <Enabled>yes</Enabled>
      </Drop_Flasks>
      <Mas-Res-Alarm>
        <Script>local msgs = getmessages("Local Chat") 
local qtd = msgs.count-1 

for i=0,qtd 
do 
    if msgs[qtd].text:find("exura gran mas res") 
    then 
    playsound("alert.wav")    
    end 
end
</Script>
        <SpamRate>800 to 1000</SpamRate>
        <Enabled>yes</Enabled>
      </Mas-Res-Alarm>
      <Player-on-Screen>
        <Script>if PlayerOnScreen and posz > 7 then 
setsettings("Settings\\Alerts\\Player\\OnScreen\\PlaySound","Yes")
setsettings("Settings\\Alerts\\Player\\OnScreen\\FlashClient","Yes")
else
setsettings("Settings\\Alerts\\Player\\OnScreen\\PlaySound","no")
setsettings("Settings\\Alerts\\Player\\OnScreen\\FlashClient","no")
end</Script>
        <SpamRate>800 to 1000</SpamRate>
        <Enabled>yes</Enabled>
      </Player-on-Screen>
      <Safe-Bank>
        <Script>local msgs = getmessages("NPCs") 
local qtd = msgs.count-1 
for i=0,qtd do 
   if msgs[qtd].text:find('There is not enough gold on your account.') then 
      setcavebot('off') 
      wait(5000,10000) 
      closetibia() 
   end 
end
</Script>
        <SpamRate>800 to 1000</SpamRate>
        <Enabled>yes</Enabled>
      </Safe-Bank>
      <Use-Mount>
        <Script>if Mount then
	setsettings("Settings\\CaveBot\\Settings\\AutoMount", "yes")
else
	setsettings("Settings\\CaveBot\\Settings\\AutoMount", "no")
end</Script>
        <SpamRate>800 to 1000</SpamRate>
        <Enabled>yes</Enabled>
      </Use-Mount>
      <Auto-Haste>
        <Script>if posz <= 13 and hasted == false and pzone == false and standtime < 10000 then
cast("utani gran hur")
end</Script>
        <SpamRate>800 to 1000</SpamRate>
        <Enabled>yes</Enabled>
      </Auto-Haste>
      <Soft-Boots>
        <Script>local DEFAULT_BOOTS = 'boots of haste' --Name of normal boots
local CONSIDER_TYPE = 1 --[[ 1 = mp pc, 2 = hp pc, 3 = mp exact, 4 = hp exact ]]
local CONSIDER_EQUIP = {40, 90} -- Value to equip soft boots
local CONSIDER_UNEQUIP = {99, 100} -- Value to unequip soft boots
 
--[[ ENGINE ]]
local SCRIPT_INFO = "Name: Soft Boots Changer/nVersion: 1.2.0 beta/nAuthor: sirmate"
local NORMAL_BOOTS_ID = itemid(DEFAULT_BOOTS)
local RANDOM_EQUIP = math.random(CONSIDER_EQUIP[1], CONSIDER_EQUIP[2])
local RANDOM_UNEQUIP = math.random(CONSIDER_UNEQUIP[1], CONSIDER_UNEQUIP[2])
local HP_MP_VALUES = {mppc, hppc, mp, hp}
 
if (boots == 3549) and (pzone == true or HP_MP_VALUES[CONSIDER_TYPE] >= RANDOM_UNEQUIP) then
        if (itemcount(DEFAULT_BOOTS) > 0) then
                moveitems(NORMAL_BOOTS_ID, "all", "Boots", 1)
                wait(1100, 1200)
        else
                moveitems(boots, "Boots", "all", 1)
                wait(1000, 1200)
        end
elseif (boots == 6530 or boots == 0) then
        if (HP_MP_VALUES[CONSIDER_TYPE] <= RANDOM_EQUIP) and (pzone == false) and (itemcount(6529) > 0) then
                moveitems(6529, "all", "Boots", 1)
                wait(1000, 1200)
        elseif (itemcount(NORMAL_BOOTS_ID) > 0) then
                moveitems(NORMAL_BOOTS_ID, "all", "Boots", 1)
                wait(1000, 1200)
        elseif (boots > 0) then
                moveitems(boots, "Boots", "all", 1)
                wait(1000, 1200)
        end
elseif (boots == NORMAL_BOOTS_ID) and (HP_MP_VALUES[CONSIDER_TYPE] <= RANDOM_EQUIP) and (pzone == false) and (itemcount(6529) > 0) then
        moveitems(6529, "all", "Boots", 1)
        wait(1000, 1200)
end
</Script>
        <SpamRate>800 to 1000</SpamRate>
        <Enabled>yes</Enabled>
      </Soft-Boots>
      <Open-Next-Bp>
        <Script>if posz >= 14 or ((maround(5) == 0 or target.name == "Demon") and posz == 13) and cavebot then
setsettings("Settings\\Cavebot\\Settings\\OpenNextBp","yes")
setlooting("on")
else
setsettings("Settings\\Cavebot\\Settings\\OpenNextBp","no")
setlooting("off")
end</Script>
        <SpamRate>800 to 1000</SpamRate>
        <Enabled>yes</Enabled>
      </Open-Next-Bp>
      <Gold-Looting>
        <Script>if cap < 200 then
setsettings("Settings\\Looting\\List\\gold coin\\Destination", "10")
else
setsettings("Settings\\Looting\\List\\gold coin\\Destination", "3")
end</Script>
        <SpamRate>800 to 1000</SpamRate>
        <Enabled>yes</Enabled>
      </Gold-Looting>
    </List>
    <Setup>-- Edron Demons by Delking v1.0



     -- Hunting Options
     UE_Name = "exevo gran mas vis"
     Player_Safe = true
     SE_Tower = false
     West_Tower = false
     Far_North_East_Single = true
     Second_Massive = true 


     --No backpack ideas?: http://tibia.wikia.com/wiki/Backpacks
     --Backpacks
     mainBp = "fur backpack" -- Main Backpack name
     lootBp = "camouflage backpack" -- Loot Backpack name
     supplyBp = "yellow backpack" -- Supply Backpack name
     goldBp = "golden backpack" -- Gold Backpack name


     --Depot Backpacks
     DpBpAmount = 1 -- Amount of DpBps you will use (1-5)
     DpBp = "brown backpack" -- First Depot Backpack name
     iDpBp = "brown backpack" -- Item Depot Backpack name
     sDpBp = "blue backpack" -- Stack Depot Backpack name

     --Optional Depot Backpacks
     DpBp2 = "red backpack" -- Second Depot Backpack name
     iDpBp2 = "red backpack" -- Item Depot Backpack name
     sDpBp2 = "purple backpack" -- Stack Depot Backpack name

     DpBp3 = "blue backpack" -- Third Depot Backpack name
     iDpBp3 = "blue backpack" -- Item Depot Backpack name
     sDpBp3 = "golden backpack" -- Stack Depot Backpack name

     DpBp4 = "orange backpack" -- Fourth Depot Backpack name
     iDpBp4 = "orange backpack" -- Item Depot Backpack name
     sDpBp4 = "green backpack" -- Stack Depot Backpack name

     DpBp5 = "camouflage backpack" -- Fifth Depot Backpack name
     iDpBp5 = "beach backpack" -- Item Depot Backpack name
     sDpBp5 = "camouflage backpack" -- Stack Depot Backpack name


     --Supplies
     mpID = "Strong Mana potion"
     mpPrice = 50
     mpBuy = 520
     mpCheck = 150


     foodID = "brown mushroom"
     foodPrice = 10
     foodBuy = 100 --How many mushrooms to buy?
     foodRefill = 30 --How many mushrooms left before buying new ones?
     foodCheck = 10 --Checker inside spawn, put -1 if it shouldnt use


     --Miscellaneous
     PlayerOnScreen = true -- Player on Screen alarm in spawn?
     Mount = true -- Auto Mount?
     capCheck = 250 -- For vial dropper
     staminaCheck = 14 -- How much stamina to logout?
     Skill = "Axe" -- Sword, Club, Axe, Distance or Magic
                   -- (Need to be with capital letter like this)</Setup>
    <Enabled>yes</Enabled>
  </Actions>
  <CaveBot>
    <Waypoints>
      <Edron_Demons_by_Delking>Action 33170 31812 7 if posz >= 9 then gotolabel("Start") end</Edron_Demons_by_Delking>
      <Depot>Stand 33170 31812 7</Depot>
      <w000>Action 33170 31812 7 closewindows();wait(1000,2000);openitem(mainBp, "back", true);wait(1000,2000);resizewindows();wait(1000,2000);openitem(lootBp, mainBp);wait(1000,2000);resizewindows();wait(1000,1200);;gotolabel("OpenDP")</w000>
      <OpenDP>Stand 33169 31812 7</OpenDP>
      <w002>Stand 33168 31800 8</w002>
      <w001>Action 33168 31800 8 if posz ~= 8 then gotolabel("Depot") else;reachgrounditem("depot");wait(1000, 1500);openitem("depot");wait(900, 1400);openitem(3502, "locker");wait(900, 1400);if DpBpAmount == 1 then;openitem(DpBp, "Depot Chest");wait(1000,2000);resizewindows();wait(900, 1400);elseif DpBpAmount == 2 then;openitem(DpBp, "Depot Chest", true);wait(1000,2000);resizewindows();wait(900, 1400);openitem(DpBp2, "Depot Chest");wait(1000,2000);resizewindows();wait(900, 1400);elseif DpBpAmount == 3 then;openitem(DpBp, "Depot Chest", true);wait(1000,2000);resizewindows();wait(900, 1400);openitem(DpBp2, "Depot Chest", true);wait(1000,2000);resizewindows();wait(900, 1400);openitem(DpBp3, "Depot Chest");wait(1000,2000);resizewindows();wait(900, 1400);elseif DpBpAmount == 4 then;openitem(DpBp, "Depot Chest", true);wait(1000,2000);resizewindows();wait(900, 1400);openitem(DpBp2, "Depot Chest", true);wait(1000,2000);resizewindows();wait(900, 1400);openitem(DpBp3, "Depot Chest", true);wait(1000,2000);resizewindows();wait(900, 1400);openitem(DpBp4, "Depot Chest");wait(1000,2000);resizewindows();wait(900, 1400);elseif DpBpAmount >= 5 then;openitem(DpBp, "Depot Chest", true);wait(1000,2000);resizewindows();wait(900, 1400);openitem(DpBp2, "Depot Chest", true);wait(1000,2000);resizewindows();wait(900, 1400);openitem(DpBp3, "Depot Chest", true);wait(1000,2000);resizewindows();wait(900, 1400);openitem(DpBp4, "Depot Chest", true);wait(1000,2000);resizewindows();wait(900, 1400);openitem(DpBp5, "Depot Chest");wait(1000,2000);resizewindows();wait(900, 1400);end;;if windowcount() < 1+DpBpAmount then ;gotolabel("Depot");end;end</w001>
      <w003>Action 33168 31800 8 local stacks = {platinum coin", "fire mushroom", "ultimate health potion", "great mana potion", "small emerald", "assassin star", "talon","small ruby"};local items = {"fire axe", "orb", "giant sword", "golden sickle", "stealth ring", "devil helmet", "purple tome", "gold ring", "platinum amulet", "ice rapier", "demon shield", "golden legs", "ring of healing", "demon horn", "mastermind shield", "might ring", "magic plate armor", "demon trophy", "demonrage sword", "wand of inferno", "magma amulet", "fire sword", "magma boots", "magma legs"};;;;depotdeposit(sDpBp, unpack(stacks));depotdeposit(iDpBp, unpack(items));depotdeposit(sDpBp2, unpack(stacks));depotdeposit(iDpBp2, unpack(items));depotdeposit(sDpBp3, unpack(stacks));depotdeposit(iDpBp3, unpack(items));depotdeposit(sDpBp4, unpack(stacks));depotdeposit(iDpBp4, unpack(items));depotdeposit(sDpBp5, unpack(stacks));depotdeposit(iDpBp5, unpack(items));if itemcount(lootBp, lootBp) >= 1 then;openitem(lootBp, lootBp);wait(900, 1400);;;depotdeposit(sDpBp, unpack(stacks));depotdeposit(iDpBp, unpack(items));depotdeposit(sDpBp2, unpack(stacks));depotdeposit(iDpBp2, unpack(items));depotdeposit(sDpBp3, unpack(stacks));depotdeposit(iDpBp3, unpack(items));depotdeposit(sDpBp4, unpack(stacks));depotdeposit(iDpBp4, unpack(items));depotdeposit(sDpBp5, unpack(stacks));depotdeposit(iDpBp5, unpack(items));if itemcount(lootBp, lootBp) >= 1 then;openitem(lootBp, lootBp);wait(900, 1400);;;depotdeposit(sDpBp, unpack(stacks));depotdeposit(iDpBp, unpack(items));depotdeposit(sDpBp2, unpack(stacks));depotdeposit(iDpBp2, unpack(items));depotdeposit(sDpBp3, unpack(stacks));depotdeposit(iDpBp3, unpack(items));depotdeposit(sDpBp4, unpack(stacks));depotdeposit(iDpBp4, unpack(items));depotdeposit(sDpBp5, unpack(stacks));depotdeposit(iDpBp5, unpack(items));if itemcount(lootBp, lootBp) >= 1 then;openitem(lootBp, lootBp);wait(900, 1400);;;depotdeposit(sDpBp, unpack(stacks));depotdeposit(iDpBp, unpack(items));depotdeposit(sDpBp2, unpack(stacks));depotdeposit(iDpBp2, unpack(items));depotdeposit(sDpBp3, unpack(stacks));depotdeposit(iDpBp3, unpack(items));depotdeposit(sDpBp4, unpack(stacks));depotdeposit(iDpBp4, unpack(items));depotdeposit(sDpBp5, unpack(stacks));depotdeposit(iDpBp5, unpack(items));if itemcount(lootBp, lootBp) >= 1 then;openitem(lootBp, lootBp);wait(900, 1400);;;depotdeposit(sDpBp, unpack(stacks));depotdeposit(iDpBp, unpack(items));depotdeposit(sDpBp2, unpack(stacks));depotdeposit(iDpBp2, unpack(items));depotdeposit(sDpBp3, unpack(stacks));depotdeposit(iDpBp3, unpack(items));depotdeposit(sDpBp4, unpack(stacks));depotdeposit(iDpBp4, unpack(items));depotdeposit(sDpBp5, unpack(stacks));depotdeposit(iDpBp5, unpack(items));if itemcount(lootBp, lootBp) >= 1 then;openitem(lootBp, lootBp);wait(900, 1400);;;depotdeposit(sDpBp, unpack(stacks));depotdeposit(iDpBp, unpack(items));depotdeposit(sDpBp2, unpack(stacks));depotdeposit(iDpBp2, unpack(items));depotdeposit(sDpBp3, unpack(stacks));depotdeposit(iDpBp3, unpack(items));depotdeposit(sDpBp4, unpack(stacks));depotdeposit(iDpBp4, unpack(items));depotdeposit(sDpBp5, unpack(stacks));depotdeposit(iDpBp5, unpack(items));if itemcount(lootBp, lootBp) >= 1 then;openitem(lootBp, lootBp);wait(900, 1400);;;depotdeposit(sDpBp, unpack(stacks));depotdeposit(iDpBp, unpack(items));depotdeposit(sDpBp2, unpack(stacks));depotdeposit(iDpBp2, unpack(items));depotdeposit(sDpBp3, unpack(stacks));depotdeposit(iDpBp3, unpack(items));depotdeposit(sDpBp4, unpack(stacks));depotdeposit(iDpBp4, unpack(items));depotdeposit(sDpBp5, unpack(stacks));depotdeposit(iDpBp5, unpack(items));if itemcount(lootBp, lootBp) >= 1 then;openitem(lootBp, lootBp);wait(900, 1400);;;depotdeposit(sDpBp, unpack(stacks));depotdeposit(iDpBp, unpack(items));depotdeposit(sDpBp2, unpack(stacks));depotdeposit(iDpBp2, unpack(items));depotdeposit(sDpBp3, unpack(stacks));depotdeposit(iDpBp3, unpack(items));depotdeposit(sDpBp4, unpack(stacks));depotdeposit(iDpBp4, unpack(items));depotdeposit(sDpBp5, unpack(stacks));depotdeposit(iDpBp5, unpack(items));end;end;end;end;end;end;end</w003>
      <Up_Depot>Stand 33169 31812 8</Up_Depot>
      <BPs1>Action 33168 31811 7 if posz ~= 7 then gotolabel("Up_Depot") elseif stamina < staminaCheck*60 then gotolabel("Stamina") else;;closewindows();wait(1000,2000);openitem(mainBp, "back", true);wait(800,1200);resizewindows();wait(1000,2000);openitem(supplyBp, mainBp, true);wait(1000,2000);resizewindows();wait(1000,2000);;if windowcount() < 2 then;gotolabel("BPs1");end;end;</BPs1>
      <Bank>Stand 33172 31803 7</Bank>
      <w005>Action 33172 31803 7 if maround(3, "Ebenizer") == 0 then gotolabel("Bank") end;;;</w005>
      <w004>Action 33172 31803 7 local mpDraw = (mpBuy-itemcount(mpID))*mpPrice;if mpDraw < 0 then;mpDraw = 0;end;local foodDraw = (foodBuy-itemcount(foodID))*foodPrice;if foodDraw < 0 then;foodDraw = 0;end;;local softDraw = itemcount(6530)*10000;;x = mpDraw+softDraw+5000+foodDraw;;say("hi");wait(1500,1700);npcsay("deposit all");wait(1000,1200);npcsay("yes");wait(1200,1300);;if x > 0 then;   npcsay("withdraw "..x);   wait(500,800);   npcsay("yes");   wait(1000,1200);   npcsay("balance");end;;;</w004>
      <Shops>Stand 33172 31816 7</Shops>
      <Shops4>Stand 33190 31821 7</Shops4>
      <w225>Action 33190 31824 7 if itemcount(6530) > 0 then gotolabel("Softs")</w225>
      <w008>Stand 33203 31842 7</w008>
      <w009>Stand 33223 31841 7</w009>
      <w010>Stand 33246 31841 7</w010>
      <w011>Stand 33247 31841 7</w011>
      <w012>Action 33248 31840 6 if posz ~= 6 then gotolabel("Shops") end</w012>
      <Shops2>Stand 33255 31838 6</Shops2>
      <w014>Stand 33255 31839 7</w014>
      <w015>Stand 33263 31835 5</w015>
      <w013>Action 33255 31839 7 if maround(3, "Sandra") == 0 then gotolabel("Shops2") end;;;</w013>
      <w006>Action 33255 31840 7 ;sellflasks();wait(500);;local mpCount = itemcount(mpID);;x = mpBuy - itemcount(mpID);while x > 0 do ;buyitems(mpID, x);wait(500,1000) ;moveitems(mpID,supplyBp, 1000) ;wait(300,400) ;x = mpBuy - itemcount(mpID);end;;;</w006>
      <Up_Manas>Stand 33255 31838 7</Up_Manas>
      <w017>Action 33255 31836 6 if posz ~= 6 then gotolabel("Up_Manas") elseif itemcount(foodID) > foodRefill then gotolabel("Leave_Shops") end</w017>
      <Shops3>Stand 33258 31840 6</Shops3>
      <w018>Stand 33256 31840 5</w018>
      <w019>Action 33256 31840 5 if maround(3, "Luna") == 0 then gotolabel("Shops3") end;;;;</w019>
      <w020>Action 33256 31840 5 local foodCount = itemcount(foodID);;x = foodBuy - itemcount(foodID);say("hi");wait(1000,2000);npcsay("trade");wait(1000,2000);while x > 0 do ;buyitems(foodID, x);wait(500,1000) ;moveitems(foodID,supplyBp, 1000) ;wait(300,400) ;x = foodBuy - itemcount(foodID);end;;;;</w020>
      <Leave_Shops>Stand 33258 31840 5</Leave_Shops>
      <w016>Stand 33248 31841 6</w016>
      <w021>Stand 33247 31841 6</w021>
      <w022>Action 33247 31841 7 if posz ~= 7 then gotolabel("Leave_Shops") elseif itemcount(mpID) < mpBuy-50 or itemcount(foodID) < foodRefill-20 then gotolabel("Depot2") end</w022>
      <ToHunt>Stand 33237 31829 7</ToHunt>
      <BPs3>Action 32348 32224 5 closewindows();wait(1000,2000);openitem(mainBp, "back", true);wait(1000,2000);resizewindows();wait(1000,2000);openitem(supplyBp, mainBp);wait(1000,2000);resizewindows();wait(1000,1200);openitem(lootBp, mainBp);wait(1000,2000);resizewindows();wait(1000,1200);openitem(goldBp, mainBp);wait(1000,2000);resizewindows();wait(1000,1200);;if windowcount() < 4 then ;gotolabel("BPs3");end</BPs3>
      <w023>Stand 33243 31820 7</w023>
      <w024>Stand 33244 31803 7</w024>
      <w025>Stand 33250 31781 7</w025>
      <w026>Stand 33249 31769 7</w026>
      <w027>Stand 33242 31767 7</w027>
      <w028>Stand 33241 31767 7</w028>
      <w029>Action 33239 31767 6 if posz ~= 6 then gotolabel("ToHunt") end</w029>
      <ToHunt2>Stand 33228 31768 6</ToHunt2>
      <w031>Stand 33216 31758 6</w031>
      <w032>Stand 33216 31757 6</w032>
      <w033>Action 33214 31757 7 if posz ~= 7 then gotolabel("ToHunt2") end;</w033>
      <ToHunt3>Stand 33215 31746 7</ToHunt3>
      <w034>Stand 33205 31728 7</w034>
      <w035>Stand 33195 31716 7</w035>
      <w036>Stand 33186 31703 7</w036>
      <w037>Stand 33181 31685 7</w037>
      <w038>Stand 33173 31655 7</w038>
      <w039>Stand 33162 31644 7</w039>
      <w040>Stand 33163 31637 7</w040>
      <w041>Stand 33163 31636 7</w041>
      <w042>Stand 33163 31630 8</w042>
      <w043>Stand 33162 31625 8</w043>
      <w044>Stand 33161 31624 8</w044>
      <w045>Action 33161 31623 9 if posz ~= 9 then gotolabel("ToHunt3") end;;</w045>
      <ToHunt4>Stand 33150 31624 9</ToHunt4>
      <w046>Stand 33141 31615 9</w046>
      <w047>Stand 33141 31607 9</w047>
      <w048>Stand 33148 31604 9</w048>
      <w049>Stand 33149 31596 9</w049>
      <w050>Stand 33140 31596 9</w050>
      <w051>Stand 33137 31594 9</w051>
      <w052>Stand 33136 31593 9</w052>
      <w053>Action 33136 31592 10 if posz ~= 10 then gotolabel("ToHunt4") end;;</w053>
      <ToHunt5>Stand 33143 31595 10</ToHunt5>
      <w054>Stand 33158 31595 10</w054>
      <w055>Stand 33168 31596 10</w055>
      <w056>Stand 33169 31589 10</w056>
      <w057>Stand 33169 31588 10</w057>
      <w058>Action 33169 31587 11 if posz ~= 11 then gotolabel("ToHunt5") end;;;</w058>
      <ToHunt6>Stand 33163 31593 11</ToHunt6>
      <w030>Stand 33158 31595 11</w030>
      <w059>Stand 33151 31594 11</w059>
      <w060>Stand 33150 31595 11</w060>
      <w061>Action 33150 31596 12 if posz ~= 12 then gotolabel("ToHunt6") end;;;</w061>
      <ToHunt7>Stand 33149 31601 12</ToHunt7>
      <w063>Stand 33139 31601 12</w063>
      <w064>Stand 33139 31593 12</w064>
      <w065>Stand 33143 31590 12</w065>
      <w066>Stand 33144 31589 12</w066>
      <w062>Action 33144 31590 13 if posz ~= 13 then gotolabel("ToHunt7") end;;;</w062>
      <ToHunt8>Stand 33146 31594 13</ToHunt8>
      <w068>Stand 33146 31600 13</w068>
      <w069>Stand 33146 31605 13</w069>
      <w070>Stand 33146 31611 13</w070>
      <w071>Stand 33146 31616 13</w071>
      <w072>Stand 33146 31621 13</w072>
      <w073>Stand 33146 31626 13</w073>
      <w074>Stand 33146 31632 13</w074>
      <w075>Stand 33146 31637 13</w075>
      <w076>Stand 33153 31641 13</w076>
      <w077>Stand 33159 31641 13</w077>
      <w078>Stand 33166 31641 13</w078>
      <w079>Stand 33172 31641 13</w079>
      <w080>Stand 33179 31641 13</w080>
      <w081>Stand 33185 31641 13</w081>
      <w082>Stand 33200 31642 13</w082>
      <w083>Stand 33207 31642 13</w083>
      <ToHunt9>Stand 33210 31647 13</ToHunt9>
      <w085>Stand 33210 31652 13</w085>
      <w084>Stand 33210 31655 13</w084>
      <w086>Stand 33210 31660 13</w086>
      <w087>Stand 33206 31666 13</w087>
      <w088>Stand 33200 31671 13</w088>
      <w089>Stand 33192 31678 13</w089>
      <w090>Stand 33186 31685 13</w090>
      <w091>Stand 33176 31697 13</w091>
      <w092>Stand 33155 31698 13</w092>
      <w093>Stand 33144 31698 13</w093>
      <Start>Stand 33143 31698 13</Start>
      <w094>Action 33141 31699 14 if posz == 13 then gotolabel("ToHunt8") end;;;</w094>
      <w096>Stand 33143 31700 14</w096>
      <w095>Stand 33143 31702 14</w095>
      <w067>Action 33143 31702 14 if posz ~= 15 then gotolabel("Start") end;;;</w067>
      <w097>Stand 33143 31708 15</w097>
      <w098>Stand 33120 31712 15</w098>
      <w099>Stand 33120 31722 15</w099>
      <w100>Action 33120 31722 15 if SE_Tower == false then gotolabel("Skip_SE_Tower") end</w100>
      <w101>Stand 33121 31723 15</w101>
      <w102>Action 33120 31724 15 wait(1000,2000)</w102>
      <Skip_SE_Tower>Stand 33121 31723 14</Skip_SE_Tower>
      <w103>Stand 33110 31724 15</w103>
      <w104>Stand 33093 31724 15</w104>
      <w105>Stand 33085 31724 15</w105>
      <w106>Stand 33085 31720 15</w106>
      <w107>Action 33085 31720 15 if West_Tower == false then gotolabel("Skip_West_Tower") end</w107>
      <West_Tower>Stand 33069 31720 15</West_Tower>
      <w109>Stand 33066 31721 15</w109>
      <w110>Stand 33067 31719 14</w110>
      <w111>Stand 33066 31719 14</w111>
      <w112>Stand 33068 31719 13</w112>
      <w113>Action 33068 31719 13 if posz ~= 13 then gotolabel("West_Tower") end</w113>
      <Skip_West_Tower>Stand 33066 31721 12</Skip_West_Tower>
      <w108>Stand 33066 31719 13</w108>
      <w114>Stand 33066 31721 14</w114>
      <w115>Action 33065 31722 15 of posz ~= 15 then gotolabel("Skip_West_Tower") end</w115>
      <w116>Stand 33085 31716 15</w116>
      <w117>Stand 33089 31699 15</w117>
      <w118>Stand 33120 31712 15</w118>
      <w119>Stand 33134 31712 15</w119>
      <w120>Stand 33143 31712 15</w120>
      <w121>Action 33143 31708 15 if Far_North_East_Single == false and itemcount(mpID) > mpCheck and itemcount(foodID) > foodCheck and Second_Massive == false then gotolabel("Start") end</w121>
      <w122>Stand 33143 31703 15</w122>
      <Going_Up>Stand 33143 31702 15</Going_Up>
      <w124>Stand 33143 31699 14</w124>
      <w145>Stand 33227 31643 15</w145>
      <w125>Action 33143 31699 14 if Far_North_East_Single == false and itemcount(mpID) > mpCheck and itemcount(foodID) > foodCheck then gotolabel("Start") end;</w125>
      <w126>Stand 33143 31698 14</w126>
      <w127>Action 33143 31696 13 if posz ~= 13 then gotolabel("Going_Up") end</w127>
      <Refill2>Stand 33150 31697 13</Refill2>
      <w128>Stand 33163 31697 13</w128>
      <w129>Stand 33171 31697 13</w129>
      <w130>Stand 33179 31691 13</w130>
      <w131>Stand 33183 31686 13</w131>
      <w132>Stand 33187 31682 13</w132>
      <w133>Stand 33198 31673 13</w133>
      <w134>Stand 33208 31666 13</w134>
      <w135>Stand 33210 31660 13</w135>
      <w136>Stand 33210 31655 13</w136>
      <w137>Stand 33210 31650 13</w137>
      <w138>Stand 33210 31645 13</w138>
      <w139>Action 33210 31645 13 if (itemcount(mpID) < mpCheck or itemcount(foodID) < foodCheck) and posz == 13 then gotolabel("Refill") end;;</w139>
      <w140>Stand 33217 31642 13</w140>
      <w141>Stand 33225 31642 13</w141>
      <w142>Stand 33233 31642 13</w142>
      <w143>Stand 33234 31642 13</w143>
      <w144>Action 33234 31642 13 if posz ~= 14 then gotolabel("Going_Up") end</w144>
      <w146>Stand 33228 31640 14</w146>
      <w147>Action 33228 31640 14 if posz ~= 13 then gotolabel("Going_Up") end</w147>
      <w148>Stand 33224 31642 13</w148>
      <w149>Stand 33216 31642 13</w149>
      <w150>Stand 33211 31642 13</w150>
      <w151>Action 33211 31642 13 if itemcount(mpID) > mpCheck and itemcount(foodID) > foodCheck then gotolabel("ToHunt9") end;;;</w151>
      <Refill>Stand 33204 31642 13</Refill>
      <w123>Stand 33197 31642 13</w123>
      <w152>Stand 33190 31642 13</w152>
      <w153>Stand 33183 31642 13</w153>
      <w154>Stand 33178 31642 13</w154>
      <w155>Stand 33171 31642 13</w155>
      <w156>Stand 33164 31642 13</w156>
      <w157>Stand 33157 31642 13</w157>
      <w158>Stand 33150 31642 13</w158>
      <w159>Stand 33147 31637 13</w159>
      <w160>Stand 33147 31632 13</w160>
      <w161>Stand 33147 31622 13</w161>
      <w162>Stand 33147 31617 13</w162>
      <w163>Stand 33147 31612 13</w163>
      <w164>Stand 33147 31607 13</w164>
      <w165>Stand 33147 31602 13</w165>
      <w166>Stand 33147 31596 13</w166>
      <w167>Stand 33144 31589 13</w167>
      <w168>Ladder 33144 31589 13</w168>
      <w169>Action 33144 31590 12 if posz ~= 12 then gotolabel("Refill2") end</w169>
      <Refill3>Stand 33140 31591 12</Refill3>
      <w170>Stand 33139 31596 12</w170>
      <w171>Stand 33146 31601 12</w171>
      <w172>Stand 33150 31595 12</w172>
      <w173>Rope 33150 31595 12</w173>
      <w174>Action 33150 31596 11 if posz ~= 11 then gotolabel("Refill3") end;</w174>
      <Refill4>Stand 33149 31594 11</Refill4>
      <w175>Stand 33156 31594 11</w175>
      <w176>Stand 33163 31593 11</w176>
      <w177>Stand 33169 31588 11</w177>
      <w178>Rope 33169 31588 11</w178>
      <w179>Action 33169 31589 10 if posz ~= 10 then gotolabel("Refill4") end;</w179>
      <Refill5>Stand 33165 31595 10</Refill5>
      <w181>Stand 33154 31595 10</w181>
      <w182>Stand 33147 31595 10</w182>
      <w183>Stand 33140 31594 10</w183>
      <w184>Stand 33136 31593 10</w184>
      <w185>Rope 33136 31593 10</w185>
      <w180>Action 33136 31594 9 if posz ~= 9 then gotolabel("Refill5") end;;</w180>
      <Refill6>Stand 33143 31595 9</Refill6>
      <w186>Stand 33148 31601 9</w186>
      <w187>Stand 33141 31608 9</w187>
      <w188>Stand 33141 31613 9</w188>
      <w189>Stand 33141 31618 9</w189>
      <w190>Stand 33148 31623 9</w190>
      <w191>Stand 33158 31624 9</w191>
      <w192>Stand 33161 31624 9</w192>
      <w193>Rope 33161 31624 9</w193>
      <w194>Action 33161 31625 8 if posz ~= 8 then gotolabel("Refill6") end;;;</w194>
      <Refill7>Stand 33162 31630 8</Refill7>
      <w196>Stand 33163 31636 8</w196>
      <w197>Rope 33163 31636 8</w197>
      <w198>Action 33163 31637 7 if posz ~= 7 then gotolabel("Refill7") end;;;;</w198>
      <Refill8>Stand 33162 31642 7</Refill8>
      <w199>Stand 33164 31647 7</w199>
      <w195>Stand 33180 31669 7</w195>
      <w200>Stand 33182 31683 7</w200>
      <w201>Stand 33188 31699 7</w201>
      <w202>Stand 33195 31715 7</w202>
      <w203>Stand 33205 31729 7</w203>
      <w204>Stand 33204 31747 7</w204>
      <w205>Stand 33215 31755 7</w205>
      <w206>Stand 33216 31756 7</w206>
      <w207>Action 33217 31757 6 if posz ~= 6 then gotolabel("Refill8") end;;;;;</w207>
      <Refill9>Stand 33216 31763 6</Refill9>
      <w209>Stand 33223 31768 6</w209>
      <w210>Stand 33231 31768 6</w210>
      <w211>Stand 33240 31767 6</w211>
      <w212>Stand 33241 31767 6</w212>
      <w213>Action 33243 31767 7 if posz ~= 7 then gotolabel("Refill9") end;;;;;;</w213>
      <Refill10>Stand 33250 31775 7</Refill10>
      <w208>Stand 33244 31798 7</w208>
      <w214>Stand 33242 31823 7</w214>
      <w215>Stand 33226 31840 7</w215>
      <w216>Stand 33204 31843 7</w216>
      <w217>Stand 33190 31833 7</w217>
      <w218>Stand 33190 31824 7</w218>
      <w219>Stand 33172 31815 7</w219>
      <w220>Action 33172 31815 7 if pzone == false then gotolabel("Refill10") else gotolabel("Depot") end</w220>
      <Stamina>Stand 33191 31819 7</Stamina>
      <w221>Stand 33200 31813 7</w221>
      <w222>Stand 33200 31792 7</w222>
      <w223>Stand 33179 31790 7</w223>
      <w224>Action 33179 31790 7 if not islocation(4) then gotolabel("Stamina") end</w224>
      <Magic>Use 33181 31793 7</Magic>
      <Distance>Use 33178 31793 7</Distance>
      <Club>Use 33176 31790 7</Club>
      <Sword>Use 33178 31787 7</Sword>
      <Axe>Use 33181 31787 7</Axe>
      <Softs>Stand 33200 31816 7</Softs>
      <w226>Stand 33200 31794 7</w226>
      <w227>Stand 33188 31778 7</w227>
      <w228>Stand 33175 31775 7</w228>
      <w229>Ladder 33175 31775 7</w229>
      <w230>Stand 33176 31764 6</w230>
      <w231>Action 33176 31764 6 if maround(5, "Captain Seahorse") == 0 then gotolabel("Softs") else ;reachcreature("Captain Seahorse");wait(1000,2000);say("hi");wait(1000,2000);npcsay("venore");wait(1000,2000);npcsay("yes");wait(1000,2000)</w231>
      <w232>Stand 32954 32023 6</w232>
      <w233>Action 32954 32023 6 if maround(5, "Captain Fearless") == 0 then gotolabel("Softs") end</w233>
      <Softs2>Stand 32954 32041 6</Softs2>
      <w235>Stand 32954 32052 6</w235>
      <w236>Stand 32954 32062 6</w236>
      <w237>Stand 32954 32079 6</w237>
      <w238>Stand 32949 32097 6</w238>
      <w239>Stand 32953 32108 6</w239>
      <w240>Action 32953 32108 6 if maround(3, "Aldo") == 0 then gotolabel("Softs2") else;say("hi");wait(1000,2000);while maround(3, "Aldo") >= 1 and itemcount(6530) >= 1 d0;npcsay("repair");wait(1000,2000);npcsay("yes");wait(1000,2000);end;end</w240>
      <Softs3>Stand 32949 32101 6</Softs3>
      <w234>Stand 32954 32089 6</w234>
      <w241>Stand 32954 32068 6</w241>
      <w242>Stand 32954 32042 6</w242>
      <w243>Stand 32954 32023 6</w243>
      <w244>Action 32954 32023 6 if maround(5, "Captain Fearless") == 0 then gotolabel("Softs3") else ;reachcreature("Captain Fearless");wait(1000,2000);say("hi");wait(1000,2000);npcsay("edron");wait(1000,2000);npcsay("yes");wait(1000,2000);</w244>
      <w246>Stand 33175 31765 6</w246>
      <w245>Action 33175 31764 6 if maround(5, "Captain Seahorse") == 0 then gotolabel("Softs3") end;</w245>
      <w247>Stand 33175 31774 6</w247>
      <w248>Stand 33175 31775 6</w248>
      <w249>Stand 33190 31782 7</w249>
      <w250>Stand 33200 31793 7</w250>
      <w251>Stand 33198 31818 7</w251>
      <w252>Action 33198 31818 7 gotolabel("Shops4")</w252>
    </Waypoints>
    <Pathfinding>
      <SpecialAreas>
        <TowerFirstFloor>
          <Coordinates>33066 31717 14</Coordinates>
          <Dimensions>1 7</Dimensions>
          <ConsideredBy>Target</ConsideredBy>
        </TowerFirstFloor>
        <TowerSecondFloor>
          <Coordinates>33066 31717 13</Coordinates>
          <Dimensions>1 7</Dimensions>
          <ConsideredBy>Target</ConsideredBy>
        </TowerSecondFloor>
        <TowerBottomFloor>
          <Coordinates>33066 31717 15</Coordinates>
          <Dimensions>1 7</Dimensions>
          <ConsideredBy>Target</ConsideredBy>
        </TowerBottomFloor>
        <EastofTowerBlockPathSouth>
          <Coordinates>33084 31722 15</Coordinates>
          <Dimensions>3 1</Dimensions>
          <ConsideredBy>Target</ConsideredBy>
        </EastofTowerBlockPathSouth>
        <BigRoomNWBlockEast>
          <Coordinates>33090 31696 15</Coordinates>
          <Dimensions>1 3</Dimensions>
          <ConsideredBy>Target</ConsideredBy>
        </BigRoomNWBlockEast>
        <BigRoomNWEast7SQMAllowW>
          <Coordinates>33097 31696 15</Coordinates>
          <Dimensions>3 3</Dimensions>
          <ConsideredBy>None</ConsideredBy>
        </BigRoomNWEast7SQMAllowW>
        <NorthEast2SQMBlock>
          <Coordinates>33121 31697 15</Coordinates>
          <Dimensions>1 2</Dimensions>
          <ConsideredBy>Target</ConsideredBy>
        </NorthEast2SQMBlock>
        <NorthEast3SQMBlock>
          <Coordinates>33119 31699 15</Coordinates>
          <Dimensions>3 1</Dimensions>
          <ConsideredBy>Target</ConsideredBy>
        </NorthEast3SQMBlock>
        <FirstBlock3SQMAllowNorth>
          <Coordinates>33119 31710 15</Coordinates>
          <Dimensions>3 1</Dimensions>
          <ConsideredBy>Target</ConsideredBy>
        </FirstBlock3SQMAllowNorth>
        <SETower3SQM>
          <Coordinates>33118 31722 15</Coordinates>
          <Dimensions>3 1</Dimensions>
          <ConsideredBy>Target</ConsideredBy>
        </SETower3SQM>
        <SETowerStairBlock>
          <Coordinates>33121 31722 15</Coordinates>
          <Dimensions>1 5</Dimensions>
          <ConsideredBy>Target</ConsideredBy>
        </SETowerStairBlock>
        <SouthMiddlePath>
          <Coordinates>33096 31723 15</Coordinates>
          <Dimensions>1 3</Dimensions>
          <ConsideredBy>Target</ConsideredBy>
        </SouthMiddlePath>
        <MassiveBlockallowif2>
          <Coordinates>33133 31711 15</Coordinates>
          <Dimensions>1 3</Dimensions>
          <ConsideredBy>Target</ConsideredBy>
        </MassiveBlockallowif2>
        <StairBlockAllowNorth>
          <Coordinates>33142 31703 15</Coordinates>
          <Dimensions>3 1</Dimensions>
          <ConsideredBy>Target</ConsideredBy>
        </StairBlockAllowNorth>
        <BlockMassiveandDemon>
          <Coordinates>33141 31711 15</Coordinates>
          <Dimensions>1 3</Dimensions>
          <ConsideredBy>Target</ConsideredBy>
        </BlockMassiveandDemon>
      </SpecialAreas>
      <WalkThroughPlayers>no</WalkThroughPlayers>
      <WalkingMethod>Map Clicks</WalkingMethod>
      <MapWalkDistance>20 to 50</MapWalkDistance>
      <WalkableIds>140;404;831;832;833;834;883;2118;2119;2120;2121;2122;2123;2124;2125;2126;2127;2131;2132;2133;2134;2135;2314;2315;2316;2319;2346;2347;2348;2349;2350;2351;2352;2353;2354;2355;2356;2357;2358;2359;2360;2361;2362;2363;2364;2365;2366;2367;2368;2369;2370;2371;2372;2373;2374;2375;2376;2377;2378;2379;2380;2381;2382;2383;2384;2385;2418;2419;2420;2421;2422;2423;2424;2425;2426;2431;2432;2433;2434;2441;2442;2443;2444;2469;2471;2472;2473;2478;2480;2481;2482;2483;2484;2485;2486;2519;2523;2775;2776;2777;2778;2779;2780;2781;2782;2783;2784;2785;2786;2787;2788;2789;2790;2791;2792;2793;2794;2795;2796;2797;2798;2799;2800;2801;2802;2803;2804;2805;2806;2807;2808;2809;2810;2811;2812;2981;2983;2982;2984;2985;2987;2988;3503;3504;3514;3807;5086;5087;5088;6114;6115;6355;6356;6357;6358;6359;6360;6361;6362;6371;6372;7864;8455;8763;9061;9062;10207;10209;10216;10286;10287;10288;11009;11800;11801;11802;11803;11804;11805;11806;11807;11808;11809;11810</WalkableIds>
    </Pathfinding>
    <Settings>
      <Rope>9596</Rope>
      <Shovel>3457</Shovel>
      <Pick>3456</Pick>
      <Machete>3308</Machete>
      <NodeRange>4</NodeRange>
      <Priority>Target</Priority>
      <OpenNextBp>no</OpenNextBp>
      <AutoMount>yes</AutoMount>
      <Anti-idle>no</Anti-idle>
      <EatFood>yes</EatFood>
      <FoodToEat>3725;3587;3600;3595;3589;3598;8014;3583;3606;3578;3592;3582;3577;3593;3586;3585;3581;3723</FoodToEat>
      <PauseOnDeath>yes</PauseOnDeath>
    </Settings>
    <Enabled>no</Enabled>
  </CaveBot>
  <Looting>
    <List>
      <gold-coin>
        <Id>3031</Id>
        <Destination>3</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </gold-coin>
      <platinum-coin>
        <Id>3035</Id>
        <Destination>0</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </platinum-coin>
      <fire-mushroom>
        <Id>3731</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </fire-mushroom>
      <ultimate-health-potion>
        <Id>7643</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </ultimate-health-potion>
      <great-mana-potion>
        <Id>238</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </great-mana-potion>
      <small-emerald>
        <Id>3032</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </small-emerald>
      <assassin-star>
        <Id>7368</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </assassin-star>
      <fire-axe>
        <Id>3320</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </fire-axe>
      <talon>
        <Id>3034</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </talon>
      <orb>
        <Id>3060</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </orb>
      <giant-sword>
        <Id>3281</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </giant-sword>
      <golden-sickle>
        <Id>3306</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </golden-sickle>
      <stealth-ring>
        <Id>3049</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </stealth-ring>
      <devil-helmet>
        <Id>3356</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </devil-helmet>
      <purple-tome>
        <Id>2848</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </purple-tome>
      <gold-ring>
        <Id>3063</Id>
        <Destination>2</Destination>
        <AlarmOn>No alarm</AlarmOn>
      </gold-ring>
      <platinum-amulet>
        <Id>3055</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </platinum-amulet>
      <ice-rapier>
        <Id>3284</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </ice-rapier>
      <demon-shield>
        <Id>3420</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </demon-shield>
      <ring-of-healing>
        <Id>3098</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </ring-of-healing>
      <demon-horn>
        <Id>5954</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </demon-horn>
      <golden-legs>
        <Id>3364</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </golden-legs>
      <mastermind-shield>
        <Id>3414</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </mastermind-shield>
      <might-ring>
        <Id>3048</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </might-ring>
      <magic-plate-armor>
        <Id>3366</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </magic-plate-armor>
      <demon-trophy>
        <Id>7393</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </demon-trophy>
      <demonrage-sword>
        <Id>7382</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </demonrage-sword>
      <small-ruby>
        <Id>3030</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </small-ruby>
      <wand-of-inferno>
        <Id>3071</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </wand-of-inferno>
      <magma-amulet>
        <Id>817</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </magma-amulet>
      <fire-sword>
        <Id>3280</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </fire-sword>
      <magma-boots>
        <Id>818</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </magma-boots>
      <magma-legs>
        <Id>821</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </magma-legs>
    </List>
    <Condition>Corpses with listed items</Condition>
    <Style>After all dead</Style>
    <OpenBodyTime>300</OpenBodyTime>
    <Range>20</Range>
    <EatFood>yes</EatFood>
    <Enabled>no</Enabled>
  </Looting>
  <Targeting>
    <Monsters>
      <Demon>
        <Categories>-</Categories>
        <Danger>0</Danger>
        <ListSettings>
          <Setting0>
            <Count>Any</Count>
            <HpRange>0 to 100 %</HpRange>
            <Stance>Keep Away</Stance>
            <Avoid>Beam</Avoid>
            <Distance>3</Distance>
            <Attack>Attack</Attack>
            <ListSpell>
              <Spell1>Ice Strike</Spell1>
            </ListSpell>
            <SpellRate>300 to 600</SpellRate>
            <AttackMode>No Change</AttackMode>
          </Setting0>
        </ListSettings>
        <Looting>yes</Looting>
        <MustAttackMe>no</MustAttackMe>
        <OnlyIfTrapped>no</OnlyIfTrapped>
      </Demon>
      <Massive-Fire-Elemental>
        <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>
              <Spell1>Ice Strike</Spell1>
            </ListSpell>
            <SpellRate>300 to 700</SpellRate>
            <AttackMode>No Change</AttackMode>
          </Setting0>
        </ListSettings>
        <Looting>yes</Looting>
        <MustAttackMe>no</MustAttackMe>
        <OnlyIfTrapped>no</OnlyIfTrapped>
      </Massive-Fire-Elemental>
      <All>
        <Categories>-</Categories>
        <Danger>0</Danger>
        <ListSettings>
          <Setting0>
            <Count>Any</Count>
            <HpRange>0 to 100 %</HpRange>
            <Stance>Reach</Stance>
            <Avoid>None</Avoid>
            <Distance>0</Distance>
            <Attack>Attack</Attack>
            <ListSpell>
              <Spell0>Ice Strike</Spell0>
            </ListSpell>
            <SpellRate>500 to 1000</SpellRate>
            <AttackMode>No Change</AttackMode>
          </Setting0>
        </ListSettings>
        <Looting>no</Looting>
        <MustAttackMe>no</MustAttackMe>
        <OnlyIfTrapped>yes</OnlyIfTrapped>
      </All>
    </Monsters>
    <Settings>
      <ListOrder>7</ListOrder>
      <Health>9</Health>
      <Proximity>3</Proximity>
      <Danger>5</Danger>
      <PlayerOnScreenSecurity>Do nothing</PlayerOnScreenSecurity>
      <CooldownControl>yes</CooldownControl>
      <CheckItem>no</CheckItem>
      <MustBeReachable>yes</MustBeReachable>
      <MustBeShootable>no</MustBeShootable>
    </Settings>
    <Enabled>yes</Enabled>
  </Targeting>
  <Hud>
    <List>
      <Monitor-my-Hunting>
        <Script>-- [[ INIT START ]] --
	--
	--                       88                                                                
	--                       ""                                                ,d              
	--                                                                         88              
	--            ,adPPYba,  88  8b,dPPYba,  88,dPYba,,adPYba,   ,adPPYYba,  MM88MMM  ,adPPYba,
	--            I8[    ""  88  88P'   "Y8  88P'   "88"    "8a  ""     `Y8    88    a8P_____88
	--             `"Y8ba,   88  88          88      88      88  ,adPPPPP88    88    8PP"""""""
	--            aa    ]8I  88  88          88      88      88  88,    ,88    88,   "8b,   ,aa
	--   Author:  `"YbbdP"'  88  88          88      88      88  `"8bbdP"Y8    "Y888  `"Ybbd8"'
	--   
	--   Monitor My Hunting!
	--
	--   Version: 1.0
	--   Created: 7.09.2012
	--   Last update: 18.09.2012
	--
	
	MONITOR_MY_HUNTING = MONITOR_MY_HUNTING or {
		SCRIPT_NAME = "Monitor My Hunting",
		SCRIPT_VERSION = "1.0",
		
		CLEARED_STATS = false,
		INITIALIZED = false,
	}

	MONITOR_MY_HUNTING.SHOW_ALL_ITEMS = false
	MONITOR_MY_HUNTING.ITEMS_LIST = {
		{NAME = "gold coin", VALUE = 1},
		{NAME = "platinum coin", VALUE = 100},
		{NAME = "fire mushroom", VALUE = 200},
		{NAME = "ultimate health potion", VALUE = 310},
		{NAME = "great mana potion", VALUE = 120},
		{NAME = "small emerald", VALUE = 250},
		{NAME = "assassin star", VALUE = 100},
		{NAME = "fire axe", VALUE = 8000},
		{NAME = "talon", VALUE = 320},
		{NAME = "orb", VALUE = 750},
		{NAME = "giant sword", VALUE = 17000},
		{NAME = "golden sickle", VALUE = 1000},
		{NAME = "stealth ring", VALUE = 200},
		{NAME = "devil helmet", VALUE = 1000},
		{NAME = "purple tome", VALUE = 2000},
		{NAME = "gold ring", VALUE = 8000},
		{NAME = "platinum amulet", VALUE = 2500},
		{NAME = "ice rapier", VALUE = 1000},
		{NAME = "demon shield", VALUE = 30000},
		{NAME = "golden legs", VALUE = 30000},
		{NAME = "ring of healing", VALUE = 100},
		{NAME = "demon horn", VALUE = 1000},
		{NAME = "mastermind shield", VALUE = 50000},
		{NAME = "might ring", VALUE = 1000},
		{NAME = "magic plate armor", VALUE = 90000},
		{NAME = "demon trophy", VALUE = 40000},
		{NAME = "demonrage sword", VALUE = 36000},
		{NAME = "small ruby", VALUE = 250},
		{NAME = "wand of inferno", VALUE = 3000},
		{NAME = "magma amulet", VALUE = 1500},
		{NAME = "fire sword", VALUE = 4000},
		{NAME = "magma boots", VALUE = 2500},
		{NAME = "magma legs", VALUE = 11000},
	}
 
	MONITOR_MY_HUNTING.SHOW_ALL_SUPPLIES = false
	MONITOR_MY_HUNTING.SUPPLIES_LIST = {
		{NAME = "strong mana potion", PRICE = 80},
		{NAME = "great mana potion", PRICE = 120},
		{NAME = "ultimate health potion", PRICE = 310},
	}
	
	-- [[ DO NOT CHANGE ANYTHING BELOW THIS LINE. ]] --
	
	MONITOR_MY_HUNTING.TEMP_ITEMS_LIST = MONITOR_MY_HUNTING.TEMP_ITEMS_LIST or {}
	MONITOR_MY_HUNTING.TEMP_SUPPLIES_LIST = MONITOR_MY_HUNTING.TEMP_SUPPLIES_LIST or {}
	MONITOR_MY_HUNTING.COLORS = MONITOR_MY_HUNTING.COLORS or {
		BLACK = rgbcolor(1, 1, 1),
		ORANGE = rgbcolor(255, 165, 0),
		BLUE = rgbcolor(30, 144, 255),
		CORNSILK = rgbcolor(205, 200, 177),
		WHITE = rgbcolor(255, 255, 255),
		GREEN = rgbcolor(107, 142, 35),
		RED = rgbcolor(178, 34, 34),
	}
	
	local function CreateMessageObject(MESSAGE_DATA)
		if (type(MESSAGE_DATA) ~= "userdata") then
			return setmetatable({__data = {TYPE = -1, TIME_STAMP = -1, SENDER_NAME = "", SENDER_LEVEL = -1, CONTENT = ""}}, MessageMetaTable)
		else
			return setmetatable({__data = {TYPE = MESSAGE_DATA.type, TIME_STAMP = Misc.ConvertToSeconds(string.sub(MESSAGE_DATA.text, 1, 5)), SENDER_NAME = MESSAGE_DATA.sender, SENDER_LEVEL = tonumber((tostring(string.match(MESSAGE_DATA.text, ".+ (%b[]): .+")):gsub("[^%d]", ""))) or 0, CONTENT = string.sub(MESSAGE_DATA.text, 7)}}, MessageMetaTable)
		end
	end
	
	local function addtextshadow(DISPLAY_TEXT, X_OFFSET, Y_OFFSET, FONT_COLOR)
		setfontcolor(MONITOR_MY_HUNTING.COLORS.BLACK)
		addtext(DISPLAY_TEXT, X_OFFSET + 1, Y_OFFSET + 1)
		setfontcolor(FONT_COLOR)
		addtext(DISPLAY_TEXT, X_OFFSET, Y_OFFSET)
	end
-- [[ INIT END ]] --

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

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

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

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

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

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

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

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

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

Y_POSITION = Y_POSITION + 20

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

Y_POSITION = Y_POSITION + 20

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

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

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

Y_POSITION = Y_POSITION + 20

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

Y_POSITION = Y_POSITION + 20

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

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

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

Y_POSITION = Y_POSITION + 20

addtextshadow(sprintf("%s: %s GPs (%s K/H)", ((ITEMS_LOOTED_WORTH >= SUPPLIES_USED_WORTH and ("PROFIT")) or ("WASTE")), Misc.FormatNumber(ITEMS_LOOTED_WORTH - SUPPLIES_USED_WORTH), tostring(math.floor(((ITEMS_LOOTED_WORTH - SUPPLIES_USED_WORTH) * 3600) / (System.HuntingTime() / 1000) / 100) / 10)), 10, Y_POSITION + (INDEX * 16), ITEMS_LOOTED_WORTH >= SUPPLIES_USED_WORTH and MONITOR_MY_HUNTING.COLORS.GREEN or MONITOR_MY_HUNTING.COLORS.RED)</Script>
        <RefreshRate>1000</RefreshRate>
        <Enabled>yes</Enabled>
      </Monitor-my-Hunting>
      <Recent-Loot>
        <Script>-- you can add more items here
local warnitems = {"golden legs", "butcher's axe", "vile axe", "gold ingot", "cat's paw", "steel boots", "assassin dagger", "noble axe", "terra rod", "leather whip", "sweet smelling bait", "boots of haste", "relic sword", "vampire shield", "dreaded cleaver", "mercenary sword", "terra mantle", "bonebreaker", "blue robe", "shadow sceptre", "chaos mace", "war axe", "batwing hat", "haunted blade", "epee", "focus cape", "bonebeast trophy", "knight legs", "mysterious voodoo skull", "diamond sceptre", "hibiscus dress", "skeleton decoration", "hailstorm rod", "crown helmet", "platinum amulet", "crystal of focus", "ice rapier", "crystal of balance", "death ring", "spike sword", "demonic essence","stone skin amulet", "blood goblet", "bar of chocolate", "knight legs", "warrior helmet", "spiked squelcher", "black skull", "dracoyle statue", "onyx flail"}

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

-- spacing between lines
local spacing = 15


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

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

      index=index+1
      if index == maxindex then
        break
      end
   end
end
</Script>
        <RefreshRate>1000</RefreshRate>
        <Enabled>yes</Enabled>
      </Recent-Loot>
      <Info-HUD>
        <Script>good_exp = 200000
bad_exp = 150000

setfontcolor("Red")
addtext("BOTTING STATS:", 5, 30)
setfontcolor("Silver")
addtext("Experience Per Hour", 5, 50)
addtext("Experience Today", 5, 65)
addtext("Experience Left", 5, 80)
addtext("Time to Next Level", 5, 95)
addtext("Onlinetime", 5, 110)
addtext("Stamina", 5, 125)

setfontcolor("Red")
addtext("BOTTING STATUS:", 5, 165)
setfontcolor("Silver")
addtext("Cavebotting", 5, 185)
addtext("Targeting", 5, 200)
addtext("Looting", 5, 215)
addtext("Bank Balance", 5, 230)
addtext("ID", 5, 245)

setfontcolor("white")
if exphour > good_exp then 
setfontcolor("green") 
elseif exphour < bad_exp then 
setfontcolor("red") 
else setfontcolor("orange") 
end


addtext(': ' ..exphour, 140, 50)
setfontcolor("white")
addtext(': ' ..exptolevel(), 140, 80)
addtext(': ' ..expgained, 140, 65)
addtext(': ' ..timetolevel, 140, 95)
addtext(': ' ..timehunt, 140, 110)

if stamina >= 2400 then
      setfontcolor("green")
elseif stamina < 2400 and (stamina >= 840) then
      setfontcolor("orange")
elseif stamina <= 840 then
      setfontcolor("red")
end
staminaH1 = stamina/60
staminaH2 = 0

if staminaH1 >= 0 and staminaH1 < 1 then staminaH2 = 00
elseif staminaH1 >= 1 and staminaH1 < 2 then staminaH2 = 01
elseif staminaH1 >= 2 and staminaH1 < 3 then staminaH2 = 02
elseif staminaH1 >= 3 and staminaH1 < 4 then staminaH2 = 03
elseif staminaH1 >= 4 and staminaH1 < 5 then staminaH2 = 04
elseif staminaH1 >= 5 and staminaH1 < 6 then staminaH2 = 05
elseif staminaH1 >= 6 and staminaH1 < 7 then staminaH2 = 06
elseif staminaH1 >= 7 and staminaH1 < 8 then staminaH2 = 07
elseif staminaH1 >= 8 and staminaH1 < 9 then staminaH2 = 08
elseif staminaH1 >= 9 and staminaH1 < 10 then staminaH2 = 09
elseif staminaH1 >= 10 and staminaH1 < 11 then staminaH2 = 10
elseif staminaH1 >= 11 and staminaH1 < 12 then staminaH2 = 11
elseif staminaH1 >= 12 and staminaH1 < 13 then staminaH2 = 12
elseif staminaH1 >= 13 and staminaH1 < 14 then staminaH2 = 13
elseif staminaH1 >= 14 and staminaH1 < 15 then staminaH2 = 14
elseif staminaH1 >= 15 and staminaH1 < 16 then staminaH2 = 15
elseif staminaH1 >= 16 and staminaH1 < 17 then staminaH2 = 16
elseif staminaH1 >= 17 and staminaH1 < 18 then staminaH2 = 17
elseif staminaH1 >= 18 and staminaH1 < 19 then staminaH2 = 18
elseif staminaH1 >= 19 and staminaH1 < 20 then staminaH2 = 19
elseif staminaH1 >= 20 and staminaH1 < 21 then staminaH2 = 20
elseif staminaH1 >= 21 and staminaH1 < 22 then staminaH2 = 21
elseif staminaH1 >= 22 and staminaH1 < 23 then staminaH2 = 22
elseif staminaH1 >= 23 and staminaH1 < 24 then staminaH2 = 23
elseif staminaH1 >= 24 and staminaH1 < 25 then staminaH2 = 24
elseif staminaH1 >= 25 and staminaH1 < 26 then staminaH2 = 25
elseif staminaH1 >= 26 and staminaH1 < 27 then staminaH2 = 26
elseif staminaH1 >= 27 and staminaH1 < 28 then staminaH2 = 27
elseif staminaH1 >= 28 and staminaH1 < 29 then staminaH2 = 28
elseif staminaH1 >= 29 and staminaH1 < 30 then staminaH2 = 29
elseif staminaH1 >= 30 and staminaH1 < 31 then staminaH2 = 30
elseif staminaH1 >= 31 and staminaH1 < 32 then staminaH2 = 31
elseif staminaH1 >= 32 and staminaH1 < 33 then staminaH2 = 32
elseif staminaH1 >= 33 and staminaH1 < 34 then staminaH2 = 33
elseif staminaH1 >= 34 and staminaH1 < 35 then staminaH2 = 34
elseif staminaH1 >= 35 and staminaH1 < 36 then staminaH2 = 35
elseif staminaH1 >= 36 and staminaH1 < 37 then staminaH2 = 36
elseif staminaH1 >= 37 and staminaH1 < 38 then staminaH2 = 37
elseif staminaH1 >= 38 and staminaH1 < 39 then staminaH2 = 38
elseif staminaH1 >= 39 and staminaH1 < 40 then staminaH2 = 39
elseif staminaH1 >= 40 and staminaH1 < 41 then staminaH2 = 40
elseif staminaH1 >= 41 and staminaH1 < 42 then staminaH2 = 41
elseif staminaH1 >= 42 and staminaH1 < 43 then staminaH2 = 42
end

staminaM = stamina-(staminaH2*60)

addtext(": "..staminaH2, 140, 125)
addtext(":"..staminaM, 160, 125)


if cavebot then
    setfontcolor("green")
addtext(': ' ..'ON', 140, 185)
else
    setfontcolor("red")
addtext(': ' ..'OFF', 140, 185)
end

if targeting then
    setfontcolor("green")
    addtext(': ' ..'ON', 140, 200)
else
    setfontcolor("red")
    addtext(': ' ..'OFF', 140, 200)
end

if looting then
    setfontcolor("green")
    addtext(': ' ..'ON', 140, 215)
else
    setfontcolor("red")
    addtext(': ' ..'OFF', 140, 215)
end

if balance >= 10000000 then setfontcolor("green") 
elseif balance >= 1000000 then setfontcolor("yellow") 
elseif balance >= 100000 then setfontcolor("orange")
else setfontcolor("red")
end

addtext(': ' ..balance, 140, 230)
setfontcolor("white")
addtext(': ' ..cursorinfo().id, 140, 245)</Script>
        <RefreshRate>1000</RefreshRate>
        <Enabled>yes</Enabled>
      </Info-HUD>
    </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