Knight [PACC] Wailing Widow ~ Full Afk

Status
Zamknięty.

Xinum

Never Give Up!
Przyjaciel forum
Dołączył
Grudzień 23, 2009
Posty
578
Liczba reakcji
64
[EK] Wailing Widow ~ Full Afk

Kod:
<Settings>
  <Alerts>
    <Player>
      <OnScreen>
        <PlaySound>no</PlaySound>
        <FlashClient>no</FlashClient>
        <PauseBot>no</PauseBot>
        <Disconnect>no</Disconnect>
        <SafeList>null</SafeList>
      </OnScreen>
      <Attacking>
        <PlaySound>yes</PlaySound>
        <FlashClient>yes</FlashClient>
        <PauseBot>no</PauseBot>
        <Disconnect>no</Disconnect>
        <SafeList>null</SafeList>
      </Attacking>
      <GMOnScreen>
        <PlaySound>yes</PlaySound>
        <FlashClient>yes</FlashClient>
        <PauseBot>yes</PauseBot>
        <Disconnect>no</Disconnect>
      </GMOnScreen>
    </Player>
    <Creature />
    <Item />
    <Message>
      <PrivateMessage>
        <PlaySound>no</PlaySound>
        <FlashClient>no</FlashClient>
        <PauseBot>no</PauseBot>
        <Disconnect>no</Disconnect>
        <SafeList>null</SafeList>
      </PrivateMessage>
      <Advanced>
        <PlaySound>no</PlaySound>
        <FlashClient>no</FlashClient>
        <PauseBot>no</PauseBot>
        <Disconnect>no</Disconnect>
        <Screenshot>no</Screenshot>
      </Advanced>
      <Raid>
        <PlaySound>no</PlaySound>
        <FlashClient>no</FlashClient>
        <PauseBot>no</PauseBot>
        <Disconnect>no</Disconnect>
        <Warnings>All</Warnings>
      </Raid>
      <SafeBank>
        <PlaySound>yes</PlaySound>
        <FlashClient>yes</FlashClient>
        <PauseBot>yes</PauseBot>
        <CloseTibia>no</CloseTibia>
        <Disconnect>yes</Disconnect>
      </SafeBank>
      <HealCreature>
        <PlaySound>yes</PlaySound>
        <FlashClient>yes</FlashClient>
        <PauseBot>yes</PauseBot>
        <CloseTibia>no</CloseTibia>
        <Disconnect>yes</Disconnect>
        <Screenshot>no</Screenshot>
      </HealCreature>
      <YourAttack>
        <PlaySound>yes</PlaySound>
        <FlashClient>yes</FlashClient>
        <PauseBot>yes</PauseBot>
        <CloseTibia>no</CloseTibia>
        <Disconnect>yes</Disconnect>
        <Screenshot>no</Screenshot>
        <SafeList>null</SafeList>
      </YourAttack>
      <Unjust>
        <PlaySound>yes</PlaySound>
        <FlashClient>yes</FlashClient>
        <PauseBot>yes</PauseBot>
        <CloseTibia>no</CloseTibia>
        <Disconnect>yes</Disconnect>
      </Unjust>
    </Message>
    <Capacity>
      <Value>100</Value>
      <PlaySound>no</PlaySound>
      <FlashClient>no</FlashClient>
      <PauseBot>no</PauseBot>
      <Disconnect>no</Disconnect>
    </Capacity>
    <StandTime>
      <Value>30000</Value>
      <PlaySound>no</PlaySound>
      <FlashClient>no</FlashClient>
      <PauseBot>no</PauseBot>
      <Disconnect>no</Disconnect>
    </StandTime>
    <Stamina>
      <Value>841</Value>
      <PlaySound>yes</PlaySound>
      <FlashClient>yes</FlashClient>
      <PauseBot>yes</PauseBot>
      <CloseTibia>no</CloseTibia>
      <Disconnect>yes</Disconnect>
    </Stamina>
    <Disconnect>
      <PlaySound>no</PlaySound>
      <FlashClient>no</FlashClient>
      <PauseBot>no</PauseBot>
    </Disconnect>
    <Enabled>no</Enabled>
  </Alerts>
  <Healer>
    <Rules>
      <exura-ico>
        <HealRange>40 to 73 %</HealRange>
        <ManaRange>40 to all</ManaRange>
        <HealMethod>Wound Cleansing</HealMethod>
        <ExtraCondition>No condition</ExtraCondition>
        <CooldownControl>yes</CooldownControl>
        <CheckItem>no</CheckItem>
        <SpamRate>200 to 400</SpamRate>
        <Enabled>yes</Enabled>
      </exura-ico>
      <HP>
        <HealRange>0 to 50 %</HealRange>
        <ManaRange>0 to 100 %</ManaRange>
        <HealMethod>Great Health Potion</HealMethod>
        <ExtraCondition>No condition</ExtraCondition>
        <CooldownControl>yes</CooldownControl>
        <CheckItem>no</CheckItem>
        <SpamRate>200 to 400</SpamRate>
        <Enabled>yes</Enabled>
      </HP>
      <MP>
        <HealRange>0 to 100 %</HealRange>
        <ManaRange>0 to 115</ManaRange>
        <HealMethod>Mana Potion</HealMethod>
        <ExtraCondition>No condition</ExtraCondition>
        <CooldownControl>yes</CooldownControl>
        <CheckItem>no</CheckItem>
        <SpamRate>700 to 1000</SpamRate>
        <Enabled>yes</Enabled>
      </MP>
      <Utura>
        <HealRange>60 to 85 %</HealRange>
        <ManaRange>75 to all</ManaRange>
        <HealMethod>Recovery</HealMethod>
        <ExtraCondition>If not strengthened</ExtraCondition>
        <CooldownControl>yes</CooldownControl>
        <CheckItem>no</CheckItem>
        <SpamRate>200 to 400</SpamRate>
        <Enabled>no</Enabled>
      </Utura>
    </Rules>
    <PingCompensation>10</PingCompensation>
    <Enabled>yes</Enabled>
  </Healer>
  <FriendHealer>
    <Rules />
    <Enabled>no</Enabled>
  </FriendHealer>
  <Refiller>
    <Rules />
    <Enabled>no</Enabled>
  </Refiller>
  <HotKeys>
    <List>
      <ShowBot>
        <Script>showbot()</Script>
        <MainKey>66</MainKey>
        <ComboKey>Alt</ComboKey>
        <Enabled>yes</Enabled>
      </ShowBot>
      <PauseBot>
        <Script>local cavebot = getsettings("Settings/CaveBot/Enabled")
local targeting = getsettings("Settings/Targeting/Enabled")

if cavebot == 'no' or targeting == 'no' then
   setcavebot('on')
   settargeting('on')
   setlooting('on')
else
   setcavebot('off')
   settargeting('off')
   setlooting('off')
end
wait(500)</Script>
        <MainKey>19</MainKey>
        <ComboKey>None</ComboKey>
        <Enabled>yes</Enabled>
      </PauseBot>
      <ShowClient>
        <Script>focusclient()</Script>
        <MainKey>84</MainKey>
        <ComboKey>Alt</ComboKey>
        <Enabled>yes</Enabled>
      </ShowClient>
      <ShowSettings>
        <Script>showsettings()</Script>
        <MainKey>83</MainKey>
        <ComboKey>Alt</ComboKey>
        <Enabled>yes</Enabled>
      </ShowSettings>
    </List>
    <Condition>Client focus required</Condition>
    <Enabled>yes</Enabled>
  </HotKeys>
  <Actions>
    <List>
      <Print-On-Death>
        <Script>--############[SS on Death]############--
--#####################################--
local printscreen = true

if hppc == 0 then
if (printscreen == true) then
focusclient()
screenshot()
end
printscreen = false
else
printscreen = true
end</Script>
        <SpamRate>800 to 1000</SpamRate>
        <Enabled>yes</Enabled>
      </Print-On-Death>
      <Reconect>
        <Script>--############Set true or false for reopen Backpacks############--
ReopenBackpack = false

--############Configure here the name of Backpacks--############
--############Configure aki o nome das Backpacks--############
local Mainbp = 'Backpack'
local Lootbp = 'Brocade Backpack'
local Goldbp = 'Red Backpack'

--Configure here account, password and name of the character
--Configura aki o seuaccount, senha e nome do char
ACCname = "Login"
PASSWORD = "Senha"
CHARACTERNAME = "Nick"

--############dont change below############--

local accounts = 
    {
        {acc = ACCname, pass = PASSWORD, name = CHARACTERNAME}
    }
local serversavetime = {from = '5:00', to = '5:20'}
serversavetime = {from = tosec(serversavetime.from), to = tosec(serversavetime.to)}
local randdelay = {min = 0, max = 300}
local startlabel = ''
local curchar = 1

--dont change things below

local randomdelay = math.random(randdelay.min, randdelay.max)
if not connected then
    setcavebot('off')
    local curtime = tosec(time())
    if curtime < serversavetime.from or curtime > serversavetime.to+randomdelay then
        connect(accounts[curchar].acc, accounts[curchar].pass, accounts[curchar].name)
        wait(3000,4000)
        updateworld()
        if connected then
            if startlabel ~= '' then
                gotolabel(startlabel)
                  if ReopenBackpack == true then
                     wait(2000) openitem(MainBP, "back") wait(1000) openitem(LootBP, MainBP, true) wait(1000) resizewindows() wait(1000) openitem(GoldBP, MainBP, true) wait(1000) resizewindows() wait(1000) setcavebot("on") wait(300) settargeting("on") wait(300) setlooting("on")
                  end
            end
            setcavebot('on')        
        end
    end
end</Script>
        <SpamRate>800 to 1000</SpamRate>
        <Enabled>no</Enabled>
      </Reconect>
      <Alertlife>
        <Script>--###########[Life Alert]###########--
--##################################--
if hp <= 250 then playsound("alert.wav") end</Script>
        <SpamRate>800 to 1000</SpamRate>
        <Enabled>no</Enabled>
      </Alertlife>
      <AntiFurniureTrap>
        <Script>--#########[Anti Furniture]#########--
--##################################--
weapontouse = weapontouse or 3308 -- machete
local blockwalkids = {2025, 2029, 2030, 2043, 2044, 2045, 2046, 2047, 2048, 2059, 2060, 2061, 2445, 2446, 2447, 2448, 2449, 2450, 2451, 2452, 2453, 2454, 2465, 2466, 2467, 2468, 2524, 2904, 2959, 2960, 2961, 2962, 2963, 2964, 2975, 2976, 2979, 2982, 2986, 2997, 2998, 2999, 3000, 3484, 3485, 3486, 3487, 3510, 3511, 3512, 3513, 5046, 5055, 5056, 6109, 6110, 6111, 6112, 6367, 6368, 6369, 6370, 7860, 7861, 7862, 7863, 9132, 9141, 10208, 10210, 10211, 10212, 10213, 10214, 10215}

for i=-7,7 do 
	for j=-5,5 do 
		local x,y,z = posx+i,posy+j,posz 
		if table.binaryfind(blockwalkids,toptileitem(x,y,z)) then 
			if tilereachable(x,y,z) then
				pausewalking(10000) 
				local topid = toptileitem(x,y,z)
				while tilereachable(x,y,z) and (math.abs(posx-x) > 1 or math.abs(posy-y) > 1) do 
					reachlocation(x,y,z)
					wait(100,200)
					updateworld()
				end			
				while toptileitem(x,y,z) == topid and posz == z and (math.abs(posx-x) <= 1 and math.abs(posy-y) <= 1) do 
					useitemon(weapontouse,toptileitem(x,y,z),ground(x,y,z))
					pausewalking(5000)
					wait(400,500)
					updateworld()
				end 
				pausewalking(0)
			end
		end
	end
end</Script>
        <SpamRate>800 to 1000</SpamRate>
        <Enabled>yes</Enabled>
      </AntiFurniureTrap>
      <Antitrap>
        <Script>--############[Safe Trap]###########--
--##################################--
if maround(7) > 0 and pzone == false and ((maround(1) == 0 and target.id > 0 and standtime >= 10000) or standtime >= 120000) then
    local rand = math.random(1,8)
        if (rand == 1) then move('w')
            elseif (rand == 2) then move('e')
            elseif (rand == 3) then move('n')
            elseif (rand == 4) then move('s')
            elseif (rand == 5) then move('nw')
            elseif (rand == 6) then move('ne')
            elseif (rand == 7) then move('sw')
            elseif (rand == 8) then move('se')
        end
    wait(1000)
end</Script>
        <SpamRate>800 to 1000</SpamRate>
        <Enabled>yes</Enabled>
      </Antitrap>
      <Exori>
        <Script>--############[Exori]############--
--###############################--
local count = 4  -- How many monster need to around you to cast spell
local spell = 'exori' -- Spell to cast 

if maround(1, 'Wailing Widow', 'Lancer Beetle') >= count and paround(7, true) == 0
then 
 cast(spell)
 wait(2000)
end</Script>
        <SpamRate>800 to 1000</SpamRate>
        <Enabled>yes</Enabled>
      </Exori>
      <DropFlask>
        <Script>--###########[Drop Flask]###########--
--##################################--
local config = {
itemID = 285, 284, 283,
flaskCOUNT = 1
                }

if (itemcount(config.itemID) >= config.flaskCOUNT) then
    pausewalking(1500)
	dropitems(config.itemID)
	wait(500,900)
end</Script>
        <SpamRate>800 to 1000</SpamRate>
        <Enabled>yes</Enabled>
      </DropFlask>
      <Safe-Bank>
        <Script>--############[Safe Bank]###########--
--##################################--
NpcName
local NpcName = 'Znozel'

local index = 0 
local msgs = getmessages("NPCs")
local qtd = msgs.count-1
for i=0,qtd do
   if msgs[qtd].sender == NpcName and msgs[qtd].text:find('There is not enough gold on your account.') then
      setcavebot('off')
      wait(7000,12000)
      closetibia()
   end
end</Script>
        <SpamRate>800 to 1000</SpamRate>
        <Enabled>yes</Enabled>
      </Safe-Bank>
      <CheckWorld>
        <Script>--############[World Info]############--
--####################################--
if PvP then
	setsettings("Settings\\CaveBot\\Pathfinding\\WalkThroughPlayers", "no")
	wait(5000) 
       setsettings("Settings\\Actions\\List\\Exori\\Enabled", "no")
	wait(5000)
else
       setsettings("Settings\\CaveBot\\Pathfinding\\WalkThroughPlayers", "yes")
	wait(5000) 
       setsettings("Settings\\Actions\\List\\Exori\\Enabled", "yes")
	wait(5000)
end</Script>
        <SpamRate>1 to 3</SpamRate>
        <Enabled>yes</Enabled>
      </CheckWorld>
      <Checks>
        <Script>--############[Check]############--
--###############################--

if AutoMount then
	setsettings("Settings\\CaveBot\\Settings\\AutoMount", "yes")
	wait(5000)
else
	setsettings("Settings\\CaveBot\\Settings\\AutoMount", "no")
	wait(5000)
end
</Script>
        <SpamRate>800 to 1000</SpamRate>
        <Enabled>yes</Enabled>
      </Checks>
      <Loot-Changer>
        <Script>--############[Loot Check]############--
--####################################--

setsettings("Settings\\Looting\\List\\Lancer Beetle Shell\\Destination", LootBP)
setsettings("Settings\\Looting\\List\\Mana Potion\\Destination", MainBP)  
      setsettings("Settings\\Looting\\List\\Poisonous Slime\\Destination", LootBP) 
      setsettings("Settings\\Looting\\List\\Lump Of Dirt\\Destination", LootBP) 
      setsettings("Settings\\Looting\\List\\Beetle Necklace\\Destination", LootBP) 
      setsettings("Settings\\Looting\\List\\Small Amethyst\\Destination", LootBP) 
      setsettings("Settings\\Looting\\List\\Green Mushroom\\Destination", LootBP) 
      setsettings("Settings\\Looting\\List\\Widows Mandibles\\Destination", LootBP) 
      setsettings("Settings\\Looting\\List\\Wailing Widow Necklace\\Destination", LootBP) 
      setsettings("Settings\\Looting\\List\\Gold Coin\\Destination", GoldBP)
setsettings("Settings\\Looting\\List\\health Potion\\Destination", MainBP)</Script>
        <SpamRate>10 to 50</SpamRate>
        <Enabled>yes</Enabled>
      </Loot-Changer>
      <CheckBP>
        <Script>if windowcount() < 3 then
pausewalking(10000)
closewindows()
if windowcount(MainBP) < 1 and maround(2) == 0 and not lootbodies
then
wait(500)
openitem(MainBP, "back")
wait(1000)
resizewindows()
wait(1000)
end

if windowcount(LootBP) < 1 and maround(2) == 0 and not lootbodies
then
wait(500)
openitem(LootBP, MainBP, true)
wait(1000)
resizewindows()
end

if windowcount(GoldBP) < 1 and maround(2) == 0 and not lootbodies
then
wait(500)
openitem(GoldBP, MainBP, true)
wait(1000)
resizewindows()
wait(1000)
resizewindows()
end

if MinimizeEquips then
minimizewindows("equip")
end

wait(500)
pausewalking(0)
end</Script>
        <SpamRate>800 to 1000</SpamRate>
        <Enabled>yes</Enabled>
      </CheckBP>
      <Checksoft>
        <Script>if Softrefill then 
setsettings("Settings\\Actions\\List\\SoftChanger\\Enabled", "yes") 
else 
setsettings("Settings\\Actions\\List\\SoftChanger\\Enabled", "no") 
end</Script>
        <SpamRate>800 to 1000</SpamRate>
        <Enabled>yes</Enabled>
      </Checksoft>
      <SoftChanger>
        <Script>local softBoots = "soft boots"

if mppc <= ManaToSoft and pzone == false and boots ~= 3549 and itemcount(softBoots) > 0 then
 setlooting("no")
    pausewalking(2000)
      moveitems(softBoots, "all", "boots", 1) wait(800)
    pausewalking(0)
  setlooting("yes")

elseif mppc > ManaToSoft and boots ~= itemid(Basicboots) then
  setlooting("yes")
    pausewalking(2000)
      moveitems(Basicboots, "all", "boots", 1) wait(800)
    pausewalking(0)
  setlooting("yes")

elseif pzone == true and boots ~= itemid(Basicboots) then
  pausewalking(2000)
    moveitems(Basicboots, "MainBP", "boots", 1) wait(800)
  pausewalking(0)

elseif boots == itemid("worn soft boots") then
  setlooting("no")
    pausewalking(2000)
      moveitems(Basicboots, "MainBP", "boots", 1) wait(800)
    pausewalking(0)
  setlooting("yes")
end</Script>
        <SpamRate>800 to 1000</SpamRate>
        <Enabled>yes</Enabled>
      </SoftChanger>
      <CheckCap>
        <Script>if cap < 90 then 
setsettings("Settings\\Looting\\List\\Halberd\\Destination", "Blur Backpack")
setsettings("Settings\\Looting\\List\\Zaoan Halberd\\Destination", "Blur Backpack") 
end 
if cap > 90 then 
setsettings("Settings\\Looting\\List\\Halberd\\Destination", "01")
setsettings("Settings\\Looting\\List\\Zaoan Halberd\\Destination", "01") 
end</Script>
        <SpamRate>800 to 1000</SpamRate>
        <Enabled>yes</Enabled>
      </CheckCap>
      <Print-On-Up>
        <Script>local serverlog_lines = getnewmessages("Server Log") 
local serverlog_q = serverlog_lines.count - 1 

for i = 0, serverlog_q do 
    if (serverlog_lines[serverlog_q - i].text:find("You advanced")) then 
         screenshot("[..Wailling Widows..] "..name.." "..string.gsub(date(), "/", "_").." "..string.gsub(time(), ":", "."))
wait(30000)
    end 
end</Script>
        <SpamRate>800 to 1000</SpamRate>
        <Enabled>yes</Enabled>
      </Print-On-Up>
    </List>
    <Setup>--~~(Right-Click)~~--

--   _____  __  _____  _____   __   ____   _  _   
--   |___ //  ||___  ||___ /  / /_ | ___| | || |  
--     |_ \ | |   / /   |_ \ | '_ \|___ \ | || |_ 
--    ___) || |  / /   ___) || (_) |___) ||__   _|
--   |____/ |_| /_/   |____/  \___/|____/    |_|  

Captoback = 100 -- Min Cap for refill
PvP = false -- false for NoN-PvP world
AutoMount = false -- true for use mount

-- | Backpacks |

MainBP = "Minotaur Backpack" -- The Main BP.
LootBP = "Camouflage Backpack" -- Looting BP 
GoldBP = "Red Backpack" -- BP to gold.  
MainDPBP = "Brocade Backpack" -- Main backpack on DP.
StackableDPBP = "Expedition Backpack" -- Stackable BP 
LootDPBP = "Backpack" -- BP to deposit loot on dp.

-- | Potions |

MPname = "Mana Potion" -- Name of mana potion.
MPprice = 50 -- Price of mana potion to buy.
MPtobuy = 200 -- How many mana potions to buy?
MPtoback = 40 -- How many potions to back reffil?
HPname = "Great Health Potion" -- Name of health potion.
HPprice = 190 -- Price of health potion to buy
HPtobuy = 30 -- How many potions buy?
HPtoback = 10 -- How many potions to back reffil?

-- | Soft |

Softrefill = true -- Usar SoftBoots?
Basicboots = "boots of haste" -- Sua Bota Padrão.
ManaToSoft = 75 -- % de Mana Para Equipar a Soft.

--########################################################
--##################--Configure Healer--##################
--########################################################</Setup>
    <Enabled>yes</Enabled>
  </Actions>
  <CaveBot>
    <Waypoints>
      <Start>Action 32787 31247 7 --#######Script By 3173654#######--;--###############################--;--###############################--;--###############################--;--###############################--;--###############################--;--###############################--;--###############################--</Start>
      <w002>Stand 33024 31453 11</w002>
      <w234>Action 33020 31453 11 ----[CheckAction]----;setsettings("Settings\\Actions\\list\\CheckBP\\Enable", "no") ;setsettings("Settings\\Actions\\list\\AntiFurniureTrap\\Enable", "no");setsettings("Settings\\Actions\\list\\CheckBP\\Enable", "no") ;setsettings("Settings\\Actions\\list\\AntiFurniureTrap\\Enable", "no");setsettings("Settings\\Actions\\list\\CheckBP\\Enable", "no") ;setsettings("Settings\\Actions\\list\\AntiFurniureTrap\\Enable", "no");setsettings("Settings\\Cavebot\\Settings\\OpenNextBp", "no");setsettings("Settings\\Cavebot\\Settings\\OpenNextBp", "no");setsettings("Settings\\Cavebot\\Settings\\OpenNextBp", "no");</w234>
      <w001>Stand 33026 31453 11</w001>
      <OpenBPs>Action 33025 31455 11 closewindows();wait(500, 1000);openitem(MainBP, 'back');wait(500, 1000);resizewindows();openitem(LootBP, MainBP, true);wait(500, 1000);resizewindows()</OpenBPs>
      <w000>Action 33025 31455 11 if windowcount() < 2 then; gotolabel("OpenBPs");end;</w000>
      <w003>Action 33026 31453 11 ----[Deposit]----;reachgrounditem("depot");wait(1500, 2000);openitem("depot");wait(1500, 2000);openitem(3502, "locker");wait(1500, 2000);openitem(MainDPBP, "depot chest");wait(1500, 2000);depotdeposit(StackableDPBP ,"Lump Of Dirt","Small Amethyst"," Poisonous Slime","Lancer Beetle Shell","Green Mushroom","Widow's Mandibles");wait(1500, 2000);depotdeposit(LootDPBP ,"Beetle Necklace","Wailing Widow's Necklace","Zaoan Halberd","Halberd");wait(1500, 2000);</w003>
      <w004>Node 33023 31458 11</w004>
      <w005>Stand 33020 31459 11</w005>
      <w006>Stand 33019 31459 11</w006>
      <w007>Stand 33012 31487 10</w007>
      <Door1>Action 33012 31487 10 ----[CheckDoor]----;if toptileitem(33012,31488,10) == 6252 then;     useitem(6252,33012,31488,10);end</Door1>
      <w008>Stand 33012 31492 10</w008>
      <w235>Action 33020 31453 11 ----[OpenBPs]----;closewindows();wait(1500, 2000);openitem(MainBP, 'back');wait(1500, 2000);resizewindows() ;</w235>
      <w053>Action 33008 31516 10 ----[CheckSoft]----;if SoftRefill and itemcount("Worn Soft Boots") > 0;then;gotolabel("Soft_Now");else gotolabel("BankNow");end</w053>
      <Soft_Now>Stand 33013 31492 10</Soft_Now>
      <w052>Action 33013 31492 10 ----[SoftWithdraw]----;local slipknot = positive(itemcount(6530)) * 12000;local Total =  slipknot;;depositall() ;wait(500,900) ;say('hi') ;;if Total > 0 then ;   npcsay("withdraw "..Total) ;   wait(200,300) ;   npcsay("yes") ;   wait(200,300) ;end;</w052>
      <w01230>Stand 33009 31491 10</w01230>
      <Door8>Action 33009 31491 10 ----[CheckDoor]----;if toptileitem(33008,31491,10) == 6249 then;     useitem(6249,33008,31491,10);end</Door8>
      <w046>Node 33011 31519 10</w046>
      <Go_Cormaya_1>Stand 33025 31553 10</Go_Cormaya_1>
      <w051>Action 33025 31553 10 reachcreature('Thorgrin');wait(1000);say('hi') ;wait(1000);npcsay('cormaya') ;wait(1000);npcsay("yes");</w051>
      <Go_Cormaya_2>Stand 33309 31992 15</Go_Cormaya_2>
      <w055>Stand 33311 31997 15</w055>
      <w056>Stand 33309 31996 14</w056>
      <w057>Stand 33311 31997 13</w057>
      <w058>Stand 33309 31996 12</w058>
      <w059>Stand 33311 31997 11</w059>
      <w060>Stand 33309 31996 10</w060>
      <w061>Stand 33311 31997 9</w061>
      <w062>Stand 33309 31996 8</w062>
      <w063>Stand 33310 32002 7</w063>
      <w064>Action 33310 32002 7 ----[CheckLocation]----;if not islocation();then;	gotolabel("Go_Cormaya_1");end</w064>
      <w050>Node 33291 31985 7</w050>
      <w054>Node 33296 31963 7</w054>
      <w065>Ladder 33293 31960 7</w065>
      <w066>Stand 33288 31957 6</w066>
      <Travel>Action 33288 31957 6 reachcreature('Pemaret');wait(1000);say('hi') ;wait(1000);npcsay('edron') ;wait(1000);npcsay("yes")</Travel>
      <w048>Action 33019 31466 10 reachcreature('Captain Seahorse');wait(1000);say('hi') ;wait(1000);npcsay('venore') ;wait(1000);npcsay("yes");</w048>
      <w252>Stand 32954 32023 6</w252>
      <w253>Action 32954 32023 6 if not islocation();then;	gotolabel("Travel");end</w253>
      <w254>Stand 32954 32023 6</w254>
      <w255>Node 32954 32031 6</w255>
      <w256>Node 32954 32045 6</w256>
      <w257>Node 32956 32078 6</w257>
      <w258>Node 32953 32081 6</w258>
      <w259>Node 32953 32089 6</w259>
      <w260>Node 32949 32096 6</w260>
      <w261>Stand 32953 32108 6</w261>
      <w262>Stand 32953 32108 6</w262>
      <w263>Action 32953 32108 6 say('hi') ;wait(200,300);npcsay('repair') ;wait(200,300) ;npcsay("yes") ;wait(200,300);npcsay('repair') ;wait(200,300) ;npcsay("yes") ;wait(200,300);npcsay('repair') ;wait(200,300) ;npcsay("yes") ;wait(200,300);npcsay('repair') ;wait(200,300) ;npcsay("yes");</w263>
      <w264>Stand 32953 32108 6</w264>
      <w265>Node 32954 32085 6</w265>
      <w266>Node 32954 32071 6</w266>
      <w267>Node 32954 32063 6</w267>
      <w268>Walk 32954 32059 6</w268>
      <w269>Walk 32954 32059 6</w269>
      <w270>Node 32954 32039 6</w270>
      <w271>Node 32954 32031 6</w271>
      <BackCorm>Stand 32955 32022 6</BackCorm>
      <w043>Action 33019 31466 10 reachcreature('Captain Fearless');wait(1000);say('hi') ;wait(1000);npcsay('edron') ;wait(1000);npcsay("yes");</w043>
      <w047>Action 33019 31466 10 reachcreature('Captain Seahorse');wait(1000);say('hi') ;wait(1000);npcsay('cormaya') ;wait(1000);npcsay("yes");</w047>
      <w067>Stand 33292 31956 6</w067>
      <w068>Action 33292 31956 6 if not islocation();then;	gotolabel("BackCorm");end</w068>
      <w069>Stand 33293 31960 6</w069>
      <w070>Node 33288 31996 7</w070>
      <w071>Node 33307 32003 7</w071>
      <w072>Stand 33309 31996 7</w072>
      <w073>Stand 33311 31997 8</w073>
      <w074>Stand 33309 31996 9</w074>
      <w075>Stand 33311 31997 10</w075>
      <w076>Stand 33309 31996 11</w076>
      <w077>Stand 33311 31997 12</w077>
      <w078>Stand 33309 31996 13</w078>
      <w079>Stand 33311 31997 14</w079>
      <w080>Stand 33310 31996 15</w080>
      <w081>Action 33310 31996 15 if not islocation();then;	gotolabel("w069");end</w081>
      <w082>Stand 33310 31988 15</w082>
      <w083>Action 33310 31988 15 reachcreature('Gurbasch');wait(1000);say('hi') ;wait(1000);npcsay('farmine') ;wait(1000);npcsay("yes");</w083>
      <w084>Stand 33024 31552 10</w084>
      <w085>Action 33024 31552 10 if not islocation();then;	gotolabel("w082");end</w085>
      <w086>Stand 33024 31540 10</w086>
      <BankNow>Action 33012 31492 10 ----[Withdraw]----;closewindows();wait(1000, 2000);openitem(MainBP, 'back');wait(1000, 2000);resizewindows();wait(1000, 2000);resizewindows() ;;local mana = positive(MPtobuy - itemcount(MPname)) * MPprice;local health = positive(HPtobuy - itemcount(HPname)) * HPprice;local Total = mana + health + 100;;depositall();wait(1000, 2000);say('hi');;if Total > 0 then;   npcsay("withdraw "..Total);   wait(1000, 2000);   npcsay("yes");   wait(1000, 2000);end;;</BankNow>
      <w010>Stand 33009 31491 10</w010>
      <Door2>Action 33009 31491 10 ----[CheckDoor]----;if toptileitem(33008,31491,10) == 6249 then;     useitem(6249,33008,31491,10);end</Door2>
      <w009>Node 33002 31500 10</w009>
      <w011>Node 33004 31509 10</w011>
      <w012>Stand 33010 31538 10</w012>
      <Door3>Action 33010 31538 10 ----[CheckDoor]----;if toptileitem(33010,31537,10) == 7715 then;     useitem(7715,33010,31537,10);end</Door3>
      <w013>Stand 33009 31534 10</w013>
      <BPsPot>Action 33020 31453 11 ----[OpenBPs]----;closewindows();wait(1500, 2000);openitem(MainBP, 'back');wait(1500, 2000);resizewindows() ;</BPsPot>
      <w019>Action 33058 31531 10 if windowcount() < 1 then; gotolabel("BPsPot");end;</w019>
      <Pots>Action 33009 31534 10 sellflasks();wait(1500, 2000);opentrade();wait(1500, 2000);if itemcount(HPname) < HPtobuy then;buyitemsupto(HPname, HPtobuy);end;wait(1500, 2000);buyitemsupto(MPname, MPtobuy);npcsay('Bye');wait(1500, 2000);</Pots>
      <w014>Stand 33010 31536 10</w014>
      <Door3_2>Action 33010 31536 10 ----[CheckDoor]----;if toptileitem(33010,31537,10) == 7715 then;     useitem(7715,33010,31537,10);end</Door3_2>
      <w015>Stand 33010 31539 10</w015>
      <w016>Action 33010 31539 10 ----[CheckSupplies]----;if itemcount("mana potion") < Mptobuy or itemcount("health potion") < Hptobuy then gotolabel("BankNow");else;gotolabel("LeaveFarmine");end;;</w016>
      <LeaveFarmine>Stand 33014 31539 10</LeaveFarmine>
      <w017>Node 33027 31537 10</w017>
      <w018>Node 33038 31534 10</w018>
      <w020>Stand 33060 31530 10</w020>
      <w021>Use 33060 31529 10</w021>
      <Teleport>Stand 33061 31527 10</Teleport>
      <w023>Use 33062 31527 10</w023>
      <w024>Stand 32993 31547 4</w024>
      <w025>Action 32993 31547 4 ----[CheckLocation]----;if not islocation();then;	gotolabel("Teleport");end</w025>
      <Stair1>Stand 33003 31557 4</Stair1>
      <w026>Stand 33004 31557 4</w026>
      <w027>Stand 33005 31557 5</w027>
      <w028>Action 33005 31557 5 ----[CheckLocation]----;if not islocation();then;	gotolabel("Stair1");end</w028>
      <Up1>Stand 33008 31555 5</Up1>
      <w029>Action 33008 31555 5 ----[Hur Up]----;wait(1000);cast("exani hur up")</w029>
      <w022>Stand 33008 31554 4</w022>
      <w030>Action 33008 31554 4 ----[CheckLocation]----;if not islocation();then;	gotolabel("Up1");end</w030>
      <Stair2>Stand 33013 31554 4</Stair2>
      <w032>Stand 33013 31555 4</w032>
      <w033>Stand 33013 31556 5</w033>
      <w034>Action 33013 31556 5 ----[CheckLocation]----;if not islocation();then;	gotolabel("Stair2");end</w034>
      <Down1>Stand 33024 31549 5</Down1>
      <w035>Stand 33026 31549 5</w035>
      <w031>Action 33026 31549 5 ----[Hur Down]----;wait (1000);cast("exani hur down")</w031>
      <w036>Stand 33027 31549 6</w036>
      <w037>Action 33027 31549 6 ----[CheckLocation]----;if not islocation();then;	gotolabel("Down2");end</w037>
      <w038>Node 33034 31547 6</w038>
      <w039>Node 33042 31552 6</w039>
      <w040>Node 33054 31551 6</w040>
      <w041>Node 33066 31543 6</w041>
      <w042>Node 33075 31536 6</w042>
      <Stair3>Stand 33080 31532 6</Stair3>
      <w044>Stand 33081 31532 6</w044>
      <w045>Stand 33082 31532 7</w045>
      <w046>Action 33082 31532 7 ----[CheckLocation]----;if not islocation();then;	gotolabel("Stair3");end</w046>
      <GoWidow>Node 33084 31532 7</GoWidow>
      <w043>Action 33222 31398 7 ----[Go To Hunt]----;setsettings("Settings\\Actions\\list\\CheckBP\\Enable", "yes") ;setsettings("Settings\\Targeting\\Enable", "yes") ;setsettings("Settings\\Looting\\Enable", "yes") ;setsettings("Settings\\Input\\Enable", "yes") ;setsettings("Settings\\Actions\\list\\AntiFurniureTrap\\Enable", "yes");setsettings("Settings\\Cavebot\\Settings\\OpenNextBp", "yes");setsettings("Settings\\Cavebot\\Settings\\OpenNextBp", "yes");setsettings("Settings\\Cavebot\\Settings\\OpenNextBp", "yes")</w043>
      <w047>Node 33094 31518 7</w047>
      <w048>Node 33105 31507 7</w048>
      <w049>Node 33110 31491 7</w049>
      <w050>Node 33124 31489 7</w050>
      <w051>Node 33153 31485 7</w051>
      <w052>Node 33220 31441 7</w052>
      <w053>Node 33218 31424 7</w053>
      <w0543>Node 33217 31400 7</w0543>
      <w106>Action 33202 31440 7 wait(6000)</w106>
      <Widows>Stand 33222 31398 7</Widows>
      <w056>Stand 33222 31397 7</w056>
      <w057>Stand 33221 31397 8</w057>
      <w055>Stand 33221 31397 8</w055>
      <First>Stand 33219 31397 8</First>
      <w060>Node 33210 31389 8</w060>
      <w061>Node 33198 31378 8</w061>
      <w062>Node 33192 31382 8</w062>
      <w063>Node 33190 31389 8</w063>
      <w064>Node 33209 31379 8</w064>
      <w065>Node 33221 31368 8</w065>
      <w066>Node 33230 31369 8</w066>
      <w067>Node 33235 31371 8</w067>
      <w068>Node 33222 31379 8</w068>
      <w069>Node 33221 31384 8</w069>
      <w070>Node 33238 31386 8</w070>
      <silk1>Stand 33242 31384 8</silk1>
      <w072>Action 33242 31384 8 ----[Cut Spider Silk]----;local X,Y,Z = 33243,31384,8 --change the coordenate here dont use space ;local weaponTOuse = "machete" ;;--dont change below ;local Break = { 183, 2295, 2296, 7538, 7539 } ;while toptileitem(X,Y,Z) ~= 183 and toptileitem(X,Y,Z) ~= 189 do ;moveitems(toptileitem(X,Y,Z), ground(X,Y,Z), ground(posx,posy,posz), 100) ;wait(500) ;toptileitem(X,Y,Z) ;end ;;for i,j in pairs(Break) do ;   while toptileitem(X,Y,Z) == Break[i] do ;      useitemon(weaponTOuse,X,Y,Z) ;      wait(400,500) ;   end ;end;</w072>
      <w073>Stand 33243 31384 8</w073>
      <w074>Node 33250 31383 8</w074>
      <w075>Node 33250 31376 8</w075>
      <w076>Node 33253 31364 8</w076>
      <w077>Node 33261 31343 8</w077>
      <w079>Node 33243 31335 8</w079>
      <w080>Node 33254 31326 8</w080>
      <w081>Node 33247 31384 8</w081>
      <silk2>Stand 33244 31384 8</silk2>
      <w083>Action 33244 31384 8 ----[Cut Spider Silk]----;local X,Y,Z = 33243,31384,8 --change the coordenate here dont use space ;local weaponTOuse = "machete" ;;--dont change below ;local Break = { 183, 2295, 2296, 7538, 7539 } ;while toptileitem(X,Y,Z) ~= 183 and toptileitem(X,Y,Z) ~= 189 do ;moveitems(toptileitem(X,Y,Z), ground(X,Y,Z), ground(posx,posy,posz), 100) ;wait(500) ;toptileitem(X,Y,Z) ;end ;;for i,j in pairs(Break) do ;   while toptileitem(X,Y,Z) == Break[i] do ;      useitemon(weaponTOuse,X,Y,Z) ;      wait(400,500) ;   end ;end</w083>
      <w084>Node 33239 31384 8</w084>
      <w085>Stand 33238 31390 8</w085>
      <w092>Node 33232 31416 8</w092>
      <w090>Node 33231 31417 8</w090>
      <w093>Node 33218 31411 8</w093>
      <w094>Stand 33219 31395 8</w094>
      <silk3>Stand 33209 31404 8</silk3>
      <w08232>Action 33208 31403 8 ----[Cut Spider Silk]----;local X,Y,Z = 33208,31403,8 --change the coordenate here dont use space ;local weaponTOuse = "machete" ;;--dont change below ;local Break = { 183, 2295, 2296, 7538, 7539 } ;while toptileitem(X,Y,Z) ~= 183 and toptileitem(X,Y,Z) ~= 189 do ;moveitems(toptileitem(X,Y,Z), ground(X,Y,Z), ground(posx,posy,posz), 100) ;wait(500) ;toptileitem(X,Y,Z) ;end ;;for i,j in pairs(Break) do ;   while toptileitem(X,Y,Z) == Break[i] do ;      useitemon(weaponTOuse,X,Y,Z) ;      wait(400,500) ;   end ;end;</w08232>
      <w097>Node 33207 31404 8</w097>
      <w099>Node 33201 31408 8</w099>
      <GoSecond>Stand 33193 31412 8</GoSecond>
      <w101>Stand 33193 31413 8</w101>
      <w102>Stand 33192 31413 9</w102>
      <w100>Node 33191 31415 9</w100>
      <w104>Node 33166 31417 9</w104>
      <w054>Stand 33222 31397 7</w054>
      <w105>Node 33163 31432 9</w105>
      <w108>Stand 33168 31438 9</w108>
      <w112>Node 33166 31438 9</w112>
      <silk4>Stand 33199 31438 9</silk4>
      <w118>Action 33200 31438 9 ----[Cut Spider Silk]----;local X,Y,Z = 33200,31438,9 --change the coordenate here dont use space ;local weaponTOuse = "machete" ;;--dont change below ;local Break = { 183, 2295, 2296, 7538, 7539 } ;while toptileitem(X,Y,Z) ~= 183 and toptileitem(X,Y,Z) ~= 189 do ;moveitems(toptileitem(X,Y,Z), ground(X,Y,Z), ground(posx,posy,posz), 100) ;wait(500) ;toptileitem(X,Y,Z) ;end ;;for i,j in pairs(Break) do ;   while toptileitem(X,Y,Z) == Break[i] do ;      useitemon(weaponTOuse,X,Y,Z) ;      wait(400,500) ;   end ;end;;;;</w118>
      <w117>Stand 33200 31438 9</w117>
      <w119>Node 33216 31428 9</w119>
      <w174>Node 33201 31438 9</w174>
      <silk17>Stand 33201 31438 9</silk17>
      <w176>Action 33201 31438 9 ----[Cut Spider Silk]----;local X,Y,Z = 33200,31438,9 --change the coordenate here dont use space ;local weaponTOuse = "machete" ;;--dont change below ;local Break = { 183, 2295, 2296, 7538, 7539 } ;while toptileitem(X,Y,Z) ~= 183 and toptileitem(X,Y,Z) ~= 189 do ;moveitems(toptileitem(X,Y,Z), ground(X,Y,Z), ground(posx,posy,posz), 100) ;wait(500) ;toptileitem(X,Y,Z) ;end ;;for i,j in pairs(Break) do ;   while toptileitem(X,Y,Z) == Break[i] do ;      useitemon(weaponTOuse,X,Y,Z) ;      wait(400,500) ;   end ;end;;;;;</w176>
      <w086>Stand 33200 31438 9</w086>
      <w178>Node 33181 31426 9</w178>
      <w179>Node 33188 31414 9</w179>
      <BackToFirst>Stand 33192 31413 9</BackToFirst>
      <w181>Stand 33193 31413 9</w181>
      <w182>Stand 33194 31413 8</w182>
      <w183>Action 33194 31413 8 ----[CheckLocation]----;if not islocation();then;	gotolabel("widows");end</w183>
      <w180>Node 33199 31410 8</w180>
      <w184>Action 33199 31410 8 ----[Check Supplies]----;if itemcount(MPname) > MPtoback and itemcount(HPname) > HPtoback and cap > Captoback then;gotolabel('BackToHunt');else;gotolabel('Refillx');end;</w184>
      <Refillx>Stand 33199 31410 8</Refillx>
      <w186>Node 33199 31410 8</w186>
      <w185>Node 33207 31403 8</w185>
      <w187>Stand 33207 31403 8</w187>
      <w188>Action 33207 31403 8 ----[Cut Spider Silk]----;local X,Y,Z = 33208,31403,8 --change the coordenate here dont use space ;local weaponTOuse = "machete" ;;--dont change below ;local Break = { 183, 2295, 2296, 7538, 7539 } ;while toptileitem(X,Y,Z) ~= 183 and toptileitem(X,Y,Z) ~= 189 do ;moveitems(toptileitem(X,Y,Z), ground(X,Y,Z), ground(posx,posy,posz), 100) ;wait(500) ;toptileitem(X,Y,Z) ;end ;;for i,j in pairs(Break) do ;   while toptileitem(X,Y,Z) == Break[i] do ;      useitemon(weaponTOuse,X,Y,Z) ;      wait(400,500) ;   end ;end;;</w188>
      <w078>Stand 33213 31401 8</w078>
      <w089>Action 33221 31397 8 if itemcount(MPname) > MPtoback and itemcount(HPname) > HPtoback and cap > Captoback then gotolabel("First") end</w089>
      <w190>Stand 33209 31403 8</w190>
      <Refill>Stand 33220 31397 8</Refill>
      <w191>Stand 33221 31397 8</w191>
      <w192>Stand 33222 31397 8</w192>
      <w193>Stand 33223 31397 7</w193>
      <w194>Action 33223 31397 7 ----[CheckLocation]----;if not islocation();then;	gotolabel("Refill");end;</w194>
      <w195>Node 33216 31400 7</w195>
      <w196>Node 33199 31402 7</w196>
      <w197>Node 33155 31432 7</w197>
      <w198>Node 33141 31454 7</w198>
      <w199>Node 33129 31481 7</w199>
      <w200>Node 33083 31536 7</w200>
      <Stairx>Stand 33082 31533 7</Stairx>
      <w202>Stand 33081 31533 7</w202>
      <w203>Stand 33080 31533 6</w203>
      <w204>Action 33080 31533 6 ----[CheckLocation]----;if not islocation();then;	gotolabel("Stairx");end;;</w204>
      <w201>Node 33073 31538 6</w201>
      <upx>Stand 33028 31550 6</upx>
      <w206>Stand 33027 31550 6</w206>
      <w207>Action 33027 31550 6 ----[Hur Up]----;wait (1000);cast("exani hur up")</w207>
      <w208>Stand 33026 31550 5</w208>
      <w209>Action 33026 31550 5 ----[CheckLocation]----;if not islocation();then;	gotolabel("upx");end;;;</w209>
      <stairy>Stand 33013 31556 5</stairy>
      <w210>Stand 33013 31555 5</w210>
      <w211>Stand 33013 31554 4</w211>
      <w212>Action 33013 31554 4 ----[CheckLocation]----;if not islocation();then;	gotolabel("stairy");end;;;;</w212>
      <downx>Stand 33008 31553 4</downx>
      <w213>Stand 33008 31554 4</w213>
      <w214>Action 33008 31554 4 ----[Hur Down]----;wait (1000);cast("exani hur down")</w214>
      <w215>Stand 33008 31555 5</w215>
      <w216>Action 33008 31555 5 ----[CheckLocation]----;if not islocation();then;	gotolabel("downx");end;;;;;</w216>
      <stairn>Stand 33005 31557 5</stairn>
      <w217>Stand 33004 31557 5</w217>
      <w218>Stand 33003 31557 4</w218>
      <w219>Action 33003 31557 4 ----[CheckLocation]----;if not islocation();then;	gotolabel("stairn");end;;;;;;</w219>
      <usex>Stand 32993 31547 4</usex>
      <w205>Use 32994 31547 4</w205>
      <w220>Stand 33061 31527 10</w220>
      <w221>Action 33061 31527 10 ----[CheckLocation]----;if not islocation();then;	gotolabel("usex");end;;;;;;;</w221>
      <w222>Stand 33060 31528 10</w222>
      <w223>Use 33060 31529 10</w223>
      <w224>Node 33052 31531 10</w224>
      <w225>Node 33039 31534 10</w225>
      <w226>Node 33016 31527 10</w226>
      <w227>Node 33002 31503 10</w227>
      <w228>Node 33017 31466 10</w228>
      <gotodp>Stand 33018 31459 10</gotodp>
      <w091>Stand 33019 31459 10</w091>
      <w230>Stand 33021 31459 11</w230>
      <w231>Stand 33020 31459 11</w231>
      <w232>Action 33020 31459 11 ----[CheckLocation]----;if not islocation();then;	gotolabel("gotodp");end;;;;;;;;</w232>
      <w229>Stand 33021 31458 11</w229>
      <w233>Action 33021 31458 11 --#####(Again)#####--;--#################--;--#################--;--#################--;--#################--;--#################--</w233>
    </Waypoints>
    <Pathfinding>
      <SpecialAreas />
      <WalkThroughPlayers>yes</WalkThroughPlayers>
      <WalkingMethod>Map Clicks</WalkingMethod>
      <MapWalkDistance>20 to 50</MapWalkDistance>
      <WalkableIds>140;404;831;832;833;834;883;2118;2119;2120;2121;2122;2123;2124;2125;2126;2127;2131;2132;2133;2134;2135;2314;2315;2316;2319;2346;2347;2348;2349;2350;2351;2352;2353;2354;2355;2356;2357;2358;2359;2360;2361;2362;2363;2364;2365;2366;2367;2368;2369;2370;2371;2372;2373;2374;2375;2376;2377;2378;2379;2380;2381;2382;2383;2384;2385;2418;2419;2420;2421;2422;2423;2424;2425;2426;2431;2432;2433;2434;2441;2442;2443;2444;2469;2471;2472;2473;2478;2480;2481;2482;2483;2484;2485;2486;2519;2523;2775;2776;2777;2778;2779;2780;2781;2782;2783;2784;2785;2786;2787;2788;2789;2790;2791;2792;2793;2794;2795;2796;2797;2798;2799;2800;2801;2802;2803;2804;2805;2806;2807;2808;2809;2810;2811;2812;2981;2983;2982;2984;2985;2987;2988;3503;3504;3514;3807;5086;5087;5088;6114;6115;6355;6356;6357;6358;6359;6360;6361;6362;6371;6372;7864;8455;8763;9061;9062;10207;10209;10216;10286;10287;10288;11009;11800;11801;11802;11803;11804;11805;11806;11807;11808;11809;11810</WalkableIds>
    </Pathfinding>
    <Settings>
      <Rope>3003</Rope>
      <Shovel>3457</Shovel>
      <Pick>3456</Pick>
      <Machete>3308</Machete>
      <NodeRange>4</NodeRange>
      <Priority>Target and Looting</Priority>
      <OpenNextBp>yes</OpenNextBp>
      <AutoMount>no</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>Red Backpack</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </Gold-Coin>
      <Lancer-Beetle-Shell>
        <Id>10455</Id>
        <Destination>Camouflage Backpack</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </Lancer-Beetle-Shell>
      <Poisonous-Slime>
        <Id>9640</Id>
        <Destination>Camouflage Backpack</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </Poisonous-Slime>
      <Lump-of-Dirt>
        <Id>9692</Id>
        <Destination>Camouflage Backpack</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </Lump-of-Dirt>
      <Beetle-Necklace>
        <Id>10457</Id>
        <Destination>Camouflage Backpack</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </Beetle-Necklace>
      <Small-Amethyst>
        <Id>3033</Id>
        <Destination>Camouflage Backpack</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </Small-Amethyst>
      <Green-Mushroom>
        <Id>3732</Id>
        <Destination>Camouflage Backpack</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </Green-Mushroom>
      <Halberd>
        <Id>3269</Id>
        <Destination>Blur Backpack</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </Halberd>
      <Widows-Mandibles>
        <Id>10411</Id>
        <Destination>Camouflage Backpack</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </Widows-Mandibles>
      <Zaoan-Halberd>
        <Id>10406</Id>
        <Destination>Blur Backpack</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </Zaoan-Halberd>
      <Wailing-Widows-Necklace>
        <Id>10412</Id>
        <Destination>Brocade Backpack</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </Wailing-Widows-Necklace>
      <health-potion>
        <Id>266</Id>
        <Destination>Minotaur Backpack</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </health-potion>
      <Mana-Potion>
        <Id>268</Id>
        <Destination>Minotaur Backpack</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </Mana-Potion>
    </List>
    <Condition>Corpses with listed items</Condition>
    <Style>After melee kill</Style>
    <OpenBodyTime>900</OpenBodyTime>
    <Range>10</Range>
    <EatFood>yes</EatFood>
    <Enabled>no</Enabled>
  </Looting>
  <Targeting>
    <Monsters>
      <Wailing-Widow>
        <Categories>-</Categories>
        <Danger>5</Danger>
        <ListSettings>
          <Setting0>
            <Count>Any</Count>
            <HpRange>0 to 100 %</HpRange>
            <Stance>Reach</Stance>
            <Avoid>None</Avoid>
            <Distance>0</Distance>
            <Attack>Attack</Attack>
            <ListSpell />
            <SpellRate>500 to 1000</SpellRate>
            <AttackMode>Stand/Offensive</AttackMode>
          </Setting0>
          <Setting1>
            <Count>2+</Count>
            <HpRange>0 to 100 %</HpRange>
            <Stance>Reach</Stance>
            <Avoid>None</Avoid>
            <Distance>0</Distance>
            <Attack>Attack</Attack>
            <ListSpell>
              <Spell0>Brutal Strike</Spell0>
            </ListSpell>
            <SpellRate>500 to 1000</SpellRate>
            <AttackMode>Stand/Offensive</AttackMode>
          </Setting1>
        </ListSettings>
        <Looting>yes</Looting>
        <MustAttackMe>no</MustAttackMe>
        <OnlyIfTrapped>no</OnlyIfTrapped>
      </Wailing-Widow>
      <Lancer-Beetle>
        <Categories>-</Categories>
        <Danger>2</Danger>
        <ListSettings>
          <Setting0>
            <Count>Any</Count>
            <HpRange>0 to 100 %</HpRange>
            <Stance>Reach</Stance>
            <Avoid>None</Avoid>
            <Distance>0</Distance>
            <Attack>Attack</Attack>
            <ListSpell />
            <SpellRate>500 to 1000</SpellRate>
            <AttackMode>Stand/Offensive</AttackMode>
          </Setting0>
          <Setting1>
            <Count>Any</Count>
            <HpRange>0 to 10 %</HpRange>
            <Stance>Reach</Stance>
            <Avoid>None</Avoid>
            <Distance>0</Distance>
            <Attack>Attack</Attack>
            <ListSpell>
              <Spell0>Whirlwind Throw</Spell0>
            </ListSpell>
            <SpellRate>500 to 1000</SpellRate>
            <AttackMode>Stand/Offensive</AttackMode>
          </Setting1>
        </ListSettings>
        <Looting>yes</Looting>
        <MustAttackMe>no</MustAttackMe>
        <OnlyIfTrapped>no</OnlyIfTrapped>
      </Lancer-Beetle>
      <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>yes</Looting>
        <MustAttackMe>no</MustAttackMe>
        <OnlyIfTrapped>yes</OnlyIfTrapped>
      </all>
    </Monsters>
    <Settings>
      <ListOrder>6</ListOrder>
      <Health>5</Health>
      <Proximity>9</Proximity>
      <Danger>7</Danger>
      <PlayerOnScreenSecurity>If cavebotting</PlayerOnScreenSecurity>
      <CooldownControl>yes</CooldownControl>
      <CheckItem>no</CheckItem>
      <MustBeReachable>yes</MustBeReachable>
      <MustBeShootable>no</MustBeShootable>
    </Settings>
    <Enabled>no</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 = "small amethyst", VALUE = 200},
		{NAME = "lancer beetle shell", VALUE = 80},
		{NAME = "poisonous slime", VALUE = 50},
		{NAME = "lump of dirt", VALUE = 10},
		{NAME = "beetle necklace", VALUE = 2500},
		{NAME = "Halberd", VALUE = 400},
		{NAME = "zaoan halberd", VALUE = 500},
		{NAME = "mana potion", VALUE = 50},
                {NAME = "wailing widows necklace", VALUE = 3000},
                {NAME = "widows mandibles", VALUE = 110},
		
	}
 
	MONITOR_MY_HUNTING.SHOW_ALL_SUPPLIES = false
	MONITOR_MY_HUNTING.SUPPLIES_LIST = {
		{NAME = "mana potion", PRICE = 50},
		{NAME = "great health potion", PRICE = 190},
		{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>
    </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>no</Enabled>
  </Input>
  <By_3173654 />
</Settings>
 
Status
Zamknięty.
Back
Do góry