What's new

Knight [PACC] Svargrond Frost Giants

Status
Not open for further replies.

Xinum

Never Give Up!
Joined
Dec 23, 2009
Messages
578
Reaction score
66
[EK]Svargrond Frost Giants

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>
    </Player>
    <Creature />
    <Item>
      <mana>
        <Id>268</Id>
        <Count>35</Count>
        <PlaySound>yes</PlaySound>
        <FlashClient>no</FlashClient>
        <PauseBot>no</PauseBot>
        <Disconnect>no</Disconnect>
      </mana>
    </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>
    </Message>
    <Capacity>
      <Value>0</Value>
      <PlaySound>no</PlaySound>
      <FlashClient>no</FlashClient>
      <PauseBot>no</PauseBot>
      <Disconnect>no</Disconnect>
    </Capacity>
    <StandTime>
      <Value>180000</Value>
      <PlaySound>yes</PlaySound>
      <FlashClient>no</FlashClient>
      <PauseBot>no</PauseBot>
      <Disconnect>no</Disconnect>
    </StandTime>
    <Disconnect>
      <PlaySound>yes</PlaySound>
      <FlashClient>no</FlashClient>
      <PauseBot>no</PauseBot>
    </Disconnect>
    <Enabled>yes</Enabled>
  </Alerts>
  <Healer>
    <Rules>
      <HealthPotion>
        <HealRange>0 to 70 %</HealRange>
        <ManaRange>0 to 100 %</ManaRange>
        <HealMethod>Strong Health Potion</HealMethod>
        <ExtraCondition>No condition</ExtraCondition>
        <CooldownControl>no</CooldownControl>
        <CheckItem>no</CheckItem>
        <SpamRate>200 to 400</SpamRate>
        <Enabled>yes</Enabled>
      </HealthPotion>
      <ManaPotion>
        <HealRange>0 to 100 %</HealRange>
        <ManaRange>0 to 70 %</ManaRange>
        <HealMethod>Mana Potion</HealMethod>
        <ExtraCondition>No condition</ExtraCondition>
        <CooldownControl>yes</CooldownControl>
        <CheckItem>no</CheckItem>
        <SpamRate>200 to 400</SpamRate>
        <Enabled>yes</Enabled>
      </ManaPotion>
      <WoundCleansing>
        <HealRange>0 to 90 %</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>
      </WoundCleansing>
      <CureParalysis>
        <HealRange>85 to 100 %</HealRange>
        <ManaRange>40 to all</ManaRange>
        <HealMethod>Wound Cleansing</HealMethod>
        <ExtraCondition>If paralyzed</ExtraCondition>
        <CooldownControl>yes</CooldownControl>
        <CheckItem>no</CheckItem>
        <SpamRate>200 to 400</SpamRate>
        <Enabled>yes</Enabled>
      </CureParalysis>
      <Recovery>
        <HealRange>85 to 95 %</HealRange>
        <ManaRange>75 to all</ManaRange>
        <HealMethod>Recovery</HealMethod>
        <ExtraCondition>If not strengthened</ExtraCondition>
        <CooldownControl>yes</CooldownControl>
        <CheckItem>no</CheckItem>
        <SpamRate>2000 to 4000</SpamRate>
        <Enabled>no</Enabled>
      </Recovery>
    </Rules>
    <PingCompensation>10</PingCompensation>
    <Enabled>yes</Enabled>
  </Healer>
  <FriendHealer>
    <Rules />
    <Enabled>no</Enabled>
  </FriendHealer>
  <Refiller>
    <Rules>
      <Ring>
        <HealRange>0 to 100 %</HealRange>
        <ManaRange>0 to 75 %</ManaRange>
        <ItemRefiller>3093</ItemRefiller>
        <AmmoCount>0 to 0</AmmoCount>
        <ExtraCondition>No condition</ExtraCondition>
        <SpamRate>1000 to 2000</SpamRate>
        <Enabled>yes</Enabled>
      </Ring>
    </Rules>
    <Enabled>yes</Enabled>
  </Refiller>
  <HotKeys>
    <List />
    <Condition>Client focus required</Condition>
    <Enabled>no</Enabled>
  </HotKeys>
  <Actions>
    <List>
      <Loot-Changer-Do-Not-Edit>
        <Script>setsettings("Settings\\Looting\\List\\gold coin\\Destination", goldBp)
setsettings("Settings\\Looting\\List\\mana potion\\Destination", supplyBp)
setsettings("Settings\\Looting\\List\\frost giant pelt\\Destination", lootBp)
setsettings("Settings\\Looting\\List\\health potion\\Destination", lootBp)
setsettings("Settings\\Looting\\List\\ice cube\\Destination", lootBp)
setsettings("Settings\\Looting\\List\\club ring\\Destination", lootBp)
setsettings("Settings\\Looting\\List\\tusk shield\\Destination", lootBp)
setsettings("Settings\\Looting\\List\\furry club\\Destination", lootBp)
setsettings("Settings\\Looting\\List\\norse shield\\Destination", lootBp)
setsettings("Settings\\Looting\\List\\shard\\Destination", lootBp)
setsettings("Settings\\Looting\\List\\small stone\\Destination", lootBp)
setsettings("Settings\\Looting\\List\\mammoth tusk\\Destination", lootBp)
setsettings("Settings\\Looting\\List\\thick fur\\Destination", lootBp)
</Script>
        <SpamRate>800 to 1000</SpamRate>
        <Enabled>yes</Enabled>
      </Loot-Changer-Do-Not-Edit>
      <SettingsChanger-DoNotEdit>
        <Script>if useRings then
setsettings("Settings\\Refiller\\Rules\\Ring\\Enabled", "yes")
else
setsettings("Settings\\Refiller\\Rules\\Ring\\Enabled", "no")
end

setsettings("Settings\\Healer\\Rules\\HealthPotion\\HealMethod",nameHp)
setsettings("Settings\\Healer\\Rules\\ManaPotion\\HealMethod",nameMp)

setsettings("Settings\\Alerts\\Capacity\\Value",alertCap)

setsettings("Settings\\Alerts\\Item\\mana\\Id", itemid(nameMp))
setsettings("Settings\\Alerts\\Item\\mana\\Count", alertMp)

setsettings("Settings\\Healer\\Rules\\Recovery\\Enabled", healRecovery)

if useSoftboots then setsettings("Settings\\Actions\\List\\BootsChanger DoNotEdit\\Enabled", "yes") 
else setsettings("Settings\\Actions\\List\\BootsChanger DoNotEdit\\Enabled", "no") end

if pvpServer then setsettings("Settings\\CaveBot\\Pathfinding\\WalkThroughPlayers", "no") 
elseif not pvpServer and pzone then setsettings("Settings\\CaveBot\\Pathfinding\\WalkThroughPlayers", "no") 
else setsettings("Settings\\CaveBot\\Pathfinding\\WalkThroughPlayers", "yes") end</Script>
        <SpamRate>800 to 1000</SpamRate>
        <Enabled>yes</Enabled>
      </SettingsChanger-DoNotEdit>
      <AoE-DoNotEdit>
        <Script>if pvpServer and maround(1, unpack(creaturesToHit)) >= exoriCount and paround(7, true) == 0 then cast("exori")
elseif not pvpServer and maround(2, unpack(creaturesToHit)) >= exoriCount then cast("exori") end</Script>
        <SpamRate>800 to 1000</SpamRate>
        <Enabled>yes</Enabled>
      </AoE-DoNotEdit>
      <BootsChanger-DoNotEdit>
        <Script>local softBoots = "soft boots"

if mppc < minMana and pzone == false and boots ~= 3549 and itemcount(softBoots) > 0 then moveitems(softBoots, "all", "boots", 1)
elseif boots == itemid("worn soft boots") then moveitems(otherBoots, "all", "boots", 1)
elseif mppc > minMana and boots ~= itemid(otherBoots) then moveitems(otherBoots, "all", "boots", 1)
elseif pzone and boots ~= itemid(otherBoots) then moveitems(otherBoots, "all", "boots", 1)
elseif boots == 0 then moveitems(otherBoots, "all", "boots", 1) end</Script>
        <SpamRate>4000 to 6000</SpamRate>
        <Enabled>no</Enabled>
      </BootsChanger-DoNotEdit>
      <VialDropper>
        <Script>if cap < minCap+50 and (itemcount(283)+itemcount(284)+itemcount(285)) > dropVials then dropflask() end
</Script>
        <SpamRate>800 to 1000</SpamRate>
        <Enabled>yes</Enabled>
      </VialDropper>
    </List>
    <Setup>-- _____ _       _      _____            _   _               
--|  __ (_)     | |    |  __ \          | | | |              
--| |__) | _ __ | | __ | |__) |_ _ _ __ | |_| |__   ___ _ __ 
--|  ___/ | '_ \| |/ / |  ___/ _` | '_ \| __| '_ \ / _ \ '__|
--| |   | | | | |   <  | |  | (_| | | | | |_| | | |  __/ |   
--|_|   |_|_| |_|_|\_\ |_|   \__,_|_| |_|\__|_| |_|\___|_|   
--                                                           
--                                                           
--  _____           _       _       
-- / ____|         (_)     | |      
--| (___   ___ _ __ _ _ __ | |_ ___ 
-- \___ \ / __| '__| | '_ \| __/ __|
-- ____) | (__| |  | | |_) | |_\__ \
--|_____/ \___|_|  |_| .__/ \__|___/
--                   | |            
--                   |_|                    

-- Backpack Setup

mainBp = "Fur Backpack" -- Main Backpack
lootBp = "blue Backpack" -- Loot Backpack
supplyBp = "Green Backpack" -- Supplies Backpack
goldBp = "Beach Backpack" -- Gold Coin Backpack

stashBp = "camouflage Backpack" -- Backpack inside depo containing backpacks to store loot
stackableBp = "orange Backpack" -- Stackable Items Backpack
nonstackableBp = "golden Backpack" -- Non-Stackable Items Backpack

-- Supply Setup

nameMp = "Mana Potion" -- Mana potion to use
maxMp = 300 -- Number of Mana potions to buy
minMp = 100 -- Number of Mana potions to stop hunting
priceMp = 50 -- Mana potions price

nameHp = "Strong Health Potion" -- Health potion to use
maxHp = 20 -- Number of Health potions to buy
minHp = 5 -- Number of Health potions to stop hunting
priceHp = 100 -- Health potions price

useSoftboots = false -- Will use and refill softboots if true (True or False)
otherBoots = "draken boots" -- What to wear instead of Soft Boots (Only matters if useSoftboots is true)
minMana = 85 -- Minimum mana to equip Soft Boots(Only matters if useSoftboots is true)

-- General Setup

dropVials = 30 -- Minimum number of vials to drop if you're cap is less than minCap+50 (Turn off the VialDropper action to disable)
minCap = 50 -- Minimum Capacity to have to stop hunting
extraGp = 300 -- Extra gold to withdraw when resupplying (For travel, ect)
alertCap = 0 -- Alert on low Cap
alertMp = 35 -- Alert on low Mana Potions
healRecovery = "no" -- Use Recovery? ("yes" or "no")
useRings = true -- Use looted Club Rings?
stopGold = true -- Stop looting gold if your cap is less than minCap+50


pvpServer = false -- Is this a PvP server? (true or false)

exoriCount = 3 -- Use exori when there are this many monsters
creaturesToHit = {"Mammoth", "Frost Giantess", "Frost Giant"} -- List the monsters to cast exori gran on

doGroundfloor = true -- Include the ground floor in the hunt loop? -- Setting this to false will just loop around the top part of the mountain.
doMinus1 = true -- Include the minus 1 floor in the hunt loop?
doMinus2 = true -- Include the minus 2 floor in the hunt loop?
doMinus3 = true -- Include the minus 3 floors in the hunt loop?
stayUnderground = true -- Setting this to true will stay on -1/-2/-3 instead of looping the whole mountain.

nonStackable = {"frost giant pelt", "thick fur", "mammoth tusk", "mana potion", "health potion", "gold coin", "small stone"}

Stackable = {"shard", "norse shield", "furry club", "tusk shield", "club ring", "ice cube"}</Setup>
    <Library>Standard</Library>
    <Enabled>yes</Enabled>
  </Actions>
  <CaveBot>
    <Waypoints>
      <Start>Action 32824 31249 7</Start>
      <GotoBank>Node 32300 31134 7</GotoBank>
      <gtb162>Node 32235 31106 6</gtb162>
      <gtb163>Stand 32235 31108 6</gtb163>
      <gtb026>Stand 32273 31142 6</gtb026>
      <gtb046>Stand 32300 31134 7</gtb046>
      <WithdrawCash>Action 32300 31134 7 wait(700,1450);;if not islocation() then gotolabel("GotoBank") else;;closewindows();closewindows();closewindows();closewindows();while windowcount(supplyBp)+windowcount(mainBp) < 2 do;closewindows();wait(2000,3000);openitem(mainBp,"back",true);wait(700,1450);openitem(supplyBp,mainBp,true);wait(700,1450);resizewindows();wait(700,1450);end;;npcsay("hi");wait(1300,1450);npcsay("deposit all");wait(300,450);npcsay("yes");wait(300,450);;if ((maxHp-itemcount(nameHp))*priceHp) > 0 then;npcsay("withdraw "..((maxHp-itemcount(nameHp))*priceHp));wait(300,450);npcsay("yes");wait(300,450);end;;if ((maxMp-itemcount(nameMp))*priceMp) > 0 then;npcsay("withdraw "..((maxMp-itemcount(nameMp))*priceMp));wait(300,450);npcsay("yes");wait(300,450);end;;if itemcount("Worn Soft Boots") > 0 and useSoftboots then;npcsay("withdraw "..(10000*itemcount("Worn Soft Boots")));wait(300,450);npcsay("yes");wait(300,450);end;;if extraGp > 0 then;npcsay("withdraw "..extraGp);wait(300,450);npcsay("yes");wait(300,450);end;;npcsay("balance");wait(1300,1650);npcsay("bye");wait(200,450);updateworld();;end</WithdrawCash>
      <RefillSoftboots>Action 32803 31255 7 if useSoftboots and itemcount("Worn Soft Boots") > 0 then gotolabel("GotoVenore") else gotolabel("EndRefillSoftboots") end</RefillSoftboots>
      <GotoVenore>Node 32339 31116 7</GotoVenore>
      <rfsb01>Ladder 32341 31112 7</rfsb01>
      <rfsb02>Node 32344 31108 6</rfsb02>
      <rfsb03>Action 32344 31108 6 wait(700,1350);if islocation(10) then;reachcreature("Captain Breezelda");wait(700,1350);npcsay("hi");wait(300,450);npcsay("venore");wait(300,450);npcsay("yes");wait(1300,1450);end;;</rfsb03>
      <rfsb04>Node 32953 32108 6</rfsb04>
      <rfsb05>Stand 32953 32108 6</rfsb05>
      <rfsb06>Action 32953 32108 6 if not islocation() then gotolabel("GotoVenore") else;while itemcount("Worn Soft Boots") > 0 do;npcsay("Hi");wait(300,450);npcsay("Soft Boots");wait(300,450);npcsay("Yes");wait(300,450);end end</rfsb06>
      <GotoSvargrond>Node 32955 32026 6</GotoSvargrond>
      <rfsb07>Stand 32955 32022 6</rfsb07>
      <rfsb08>Action 32955 32022 6 if islocation then ;reachcreature("Captain Fearless");wait(700,1350);npcsay("hi");wait(300,450);npcsay("Svargrond");wait(300,450);npcsay("yes");wait(1300,1450);end;</rfsb08>
      <rfsb09>Node 32341 31108 6</rfsb09>
      <rfsb10>Stand 32341 31108 6</rfsb10>
      <rfsb11>Stand 32339 31108 7</rfsb11>
      <rfsb12>Node 32341 31111 6</rfsb12>
      <rfsb13>Stand 32341 31112 6</rfsb13>
      <rfsb14>Node 32301 31129 7</rfsb14>
      <rfsb15>Stand 32301 31129 7</rfsb15>
      <rfsb16>Action 32301 31129 7 if not islocation() then gotolabel("GotoSvargrond") end</rfsb16>
      <EndRefillSoftboots>Action 32803 31255 7</EndRefillSoftboots>
      <PotionShop>Node 32307 31132 7</PotionShop>
      <ps002>Stand 32307 31132 7</ps002>
      <BuyPotions>Action 32307 31132 7 if not islocation() then gotolabel("PotionShop") else;;npcsay("hi");wait(300,450);npcsay("trade");wait(900,1350);;while (itemcount(285)+itemcount(284)+itemcount(283)) > 9 do;npcsay("vials");wait(300,450);npcsay("yes");wait(300,450);end;;buyitemsupto(nameMp,maxMp,itemcount(nameMp));wait(900,1350);buyitemsupto(nameHp,maxHp,itemcount(nameHp));wait(900,1350);;end</BuyPotions>
      <w000>Node 32307 31129 7</w000>
      <SupplyCheck0>Action 32789 31238 5 if (itemcount(nameMp) < minMp or itemcount(nameHp) < minHp or cap < minCap) then gotolabel("GotoBank") end</SupplyCheck0>
      <BackpackSetup>Action 32789 31235 7 closewindows();closewindows();while windowcount() < 4 do;closewindows();closewindows();wait(2000,3000);openitem(mainBp,"back",true,0);wait(700,1450);openitem(lootBp,mainBp,true,0);wait(700,1450);resizewindows();wait(700,1450);openitem(supplyBp,mainBp,true,0);wait(700,1450);openitem(goldBp,mainBp,true,0);wait(700,1450);resizewindows();wait(700,1450);end;;while itemcount(nameMp, goldBp) > 0 and getcontainer(supplyBp).usedslots < getcontainer(supplyBp).maxslots do;moveitems(nameMp, goldBp, supplyBp, 100);wait(100,200);end;;while itemcount(nameMp, lootBp) > 0 and getcontainer(supplyBp).usedslots < getcontainer(supplyBp).maxslots do;moveitems(nameMp, lootBp, supplyBp, 100);wait(100,200);end;;while itemcount(nameMp, mainBp) > 0 and getcontainer(supplyBp).usedslots < getcontainer(supplyBp).maxslots do;moveitems(nameMp, mainBp, supplyBp, 100);wait(100,200);end;;;while itemcount(nameHp, goldBp) > 0 and getcontainer(supplyBp).usedslots < getcontainer(supplyBp).maxslots do;moveitems(nameHp, goldBp, supplyBp, 100);wait(100,200);end;;while itemcount(nameHp, lootBp) > 0 and getcontainer(supplyBp).usedslots < getcontainer(supplyBp).maxslots do;moveitems(nameHp, lootBp, supplyBp, 100);wait(100,200);end;;while itemcount(nameHp, mainBp) > 0 and getcontainer(supplyBp).usedslots < getcontainer(supplyBp).maxslots do;moveitems(nameHp, mainBp, supplyBp, 100);wait(100,200);end;;</BackpackSetup>
      <ReachHunt>Action 32241 31141 7</ReachHunt>
      <tttvb084>Node 32256 31197 7</tttvb084>
      <tttvb085>Stand 32256 31197 7</tttvb085>
      <tttvb052>Node 32462 31174 7</tttvb052>
      <tttvb077>Stand 32462 31174 7</tttvb077>
      <tttvb078>Node 32153 31376 7</tttvb078>
      <tttvb079>Stand 32153 31376 7</tttvb079>
      <tttvb080>Node 32333 31227 7</tttvb080>
      <tttvb081>Stand 32333 31227 7</tttvb081>
      <tttvb082>Node 32224 31381 7</tttvb082>
      <tttvb083>Stand 32224 31381 7</tttvb083>
      <tttvb086>Action 32256 31197 7 wait(750,1300);reachcreature("Buddel");wait(750,1300);npcsay("Hi");wait(300,450);npcsay("go");wait(300,450);npcsay("Tyrsung");wait(300,450);npcsay("yes");wait(750,1300);</tttvb086>
      <CheckReachHunt>Action 32333 31227 7 if not islocation(3) then gotolabel("ReachHunt") end</CheckReachHunt>
      <HuntStart>Action 32704 31097 7</HuntStart>
      <w001>Node 32427 31276 7</w001>
      <w002>Stand 32425 31276 7</w002>
      <fghl000>Node 32387 31308 6</fghl000>
      <fghl001>Node 32355 31277 6</fghl001>
      <fghl002>Node 32378 31276 6</fghl002>
      <StartGroundFloor>Action 32386 31286 6 if not doGroundfloor then gotolabel("EndGroundFloor") end</StartGroundFloor>
      <fghl003>Node 32386 31292 6</fghl003>
      <fghl004>Stand 32386 31293 6</fghl004>
      <fghl005>Node 32385 31288 7</fghl005>
      <fghl006>Node 32386 31272 7</fghl006>
      <fghl007>Node 32366 31273 7</fghl007>
      <fghl008>Node 32387 31261 7</fghl008>
      <fghl009>Node 32372 31248 7</fghl009>
      <fghl010>Node 32361 31246 7</fghl010>
      <fghl011>Node 32387 31258 7</fghl011>
      <fghl012>Node 32401 31271 7</fghl012>
      <StartMinus1>Action 32401 31271 7 if not doMinus1 then gotolabel("EndMinus1") end;</StartMinus1>
      <fghl017>Node 32401 31273 7</fghl017>
      <fghl018>Stand 32400 31273 7</fghl018>
      <fghl019>Node 32404 31271 8</fghl019>
      <fghl020>Node 32412 31245 8</fghl020>
      <fghl021>Node 32398 31218 8</fghl021>
      <fghl022>Node 32381 31255 8</fghl022>
      <fghl023>Node 32367 31223 8</fghl023>
      <fghl024>Node 32390 31241 8</fghl024>
      <fghl025>Node 32416 31243 8</fghl025>
      <fghl026>Node 32433 31246 8</fghl026>
      <fghl027>Node 32433 31279 8</fghl027>
      <StartMinus2>Action 32423 31280 8 if not doMinus2 then gotolabel("EndMinus2") end;;</StartMinus2>
      <fghl034>Node 32424 31277 8</fghl034>
      <fghl035>Stand 32424 31276 8</fghl035>
      <fghl037>Node 32422 31272 9</fghl037>
      <fghl038>Node 32423 31250 9</fghl038>
      <fghl039>Node 32400 31267 9</fghl039>
      <fghl040>Node 32393 31250 9</fghl040>
      <StartMinus3One>Action 32393 31250 9 if not doMinus3 then gotolabel("EndMinus3One") end;;;</StartMinus3One>
      <fghl041>Node 32393 31247 9</fghl041>
      <fghl042>Stand 32393 31246 9</fghl042>
      <fghl044>Node 32422 31264 10</fghl044>
      <fghl045>Node 32407 31250 10</fghl045>
      <fghl046>Node 32393 31248 10</fghl046>
      <fghl047>Stand 32393 31246 10</fghl047>
      <EndMinus3One>Action 32393 31250 9</EndMinus3One>
      <SupplyCheck6>Action 32388 31256 7 if itemcount(nameMp) < minMp or itemcount(nameHp) < minHp or cap < minCap then gotolabel("LeaveHunt") end;;</SupplyCheck6>
      <fghl043>Stand 32393 31246 10</fghl043>
      <fghl048>Node 32388 31273 9</fghl048>
      <fghl049>Node 32372 31252 9</fghl049>
      <fghl050>Node 32376 31290 9</fghl050>
      <fghl051>Node 32363 31276 9</fghl051>
      <fghl052>Node 32365 31308 9</fghl052>
      <StartMinus3Two>Action 32365 31308 9 if not doMinus3 then gotolabel("EndMinus3Two") end;;;;</StartMinus3Two>
      <fghl053>Node 32368 31309 9</fghl053>
      <fghl054>Stand 32369 31309 9</fghl054>
      <fghl056>Node 32375 31302 10</fghl056>
      <fghl057>Node 32419 31298 10</fghl057>
      <fghl058>Node 32371 31310 10</fghl058>
      <fghl059>Stand 32370 31309 10</fghl059>
      <EndMinus3Two>Action 32365 31308 9</EndMinus3Two>
      <SupplyCheck5>Action 32388 31266 7 if itemcount(nameMp) < minMp or itemcount(nameHp) < minHp or cap < minCap then gotolabel("LeaveHunt") end;;</SupplyCheck5>
      <fghl055>Stand 32369 31309 10</fghl055>
      <fghl060>Node 32373 31291 9</fghl060>
      <fghl061>Node 32389 31283 9</fghl061>
      <fghl062>Node 32434 31305 9</fghl062>
      <fghl063>Node 32409 31307 9</fghl063>
      <fghl064>Stand 32407 31305 9</fghl064>
      <EndMinus2>Action 32423 31280 8</EndMinus2>
      <SupplyCheck4>Action 32387 31282 7 if itemcount(nameMp) < minMp or itemcount(nameHp) < minHp or cap < minCap then gotolabel("LeaveHunt") end;;</SupplyCheck4>
      <fghl065>Stand 32407 31305 9</fghl065>
      <fghl036>Stand 32424 31276 9</fghl036>
      <fghl028>Node 32401 31303 8</fghl028>
      <fghl029>Node 32379 31298 8</fghl029>
      <fghl030>Node 32403 31299 8</fghl030>
      <fghl031>Node 32400 31275 8</fghl031>
      <fghl032>Stand 32400 31273 8</fghl032>
      <EndMinus1>Action 32401 31271 7 if stayUnderground then gotolabel("StartMinus1") end</EndMinus1>
      <SupplyCheck3>Action 32384 31293 7 if itemcount(nameMp) < minMp or itemcount(nameHp) < minHp or cap < minCap then gotolabel("LeaveHunt") end;;</SupplyCheck3>
      <fghl033>Stand 32400 31273 8</fghl033>
      <fghl013>Node 32390 31273 7</fghl013>
      <fghl014>Node 32387 31295 7</fghl014>
      <fghl015>Stand 32387 31293 7</fghl015>
      <EndGroundFloor>Action 32386 31286 6</EndGroundFloor>
      <SupplyCheck2>Action 32384 31278 6 if itemcount(nameMp) < minMp or itemcount(nameHp) < minHp or cap < minCap then gotolabel("LeaveHunt") end;;</SupplyCheck2>
      <fghl016>Stand 32387 31293 7</fghl016>
      <fghl066>Node 32400 31272 6</fghl066>
      <fghl067>Stand 32404 31267 6</fghl067>
      <fghl069>Node 32399 31287 5</fghl069>
      <fghl068>Node 32387 31292 5</fghl068>
      <fghl070>Node 32386 31277 5</fghl070>
      <fghl071>Stand 32388 31273 5</fghl071>
      <fghl072>Node 32386 31266 4</fghl072>
      <fghl073>Stand 32386 31264 4</fghl073>
      <fghl074>Node 32388 31264 3</fghl074>
      <fghl075>Stand 32387 31264 3</fghl075>
      <fghl076>Node 32388 31272 4</fghl076>
      <fghl077>Stand 32388 31273 4</fghl077>
      <fghl078>Node 32374 31268 5</fghl078>
      <fghl079>Node 32365 31251 5</fghl079>
      <fghl080>Node 32371 31246 5</fghl080>
      <fghl081>Stand 32371 31245 5</fghl081>
      <SupplyCheck1>Action 32820 31116 7 if itemcount(nameMp) < minMp or itemcount(nameHp) < minHp or cap < minCap then gotolabel("LeaveHunt") end;</SupplyCheck1>
      <HuntEnd>Action 32411 32976 9 gotolabel("HuntStart")</HuntEnd>
      <LeaveHunt>Action 32707 31103 7</LeaveHunt>
      <lhl043>Stand 32393 31246 10</lhl043>
      <lhl055>Stand 32369 31309 10</lhl055>
      <lhl065>Stand 32407 31305 9</lhl065>
      <lhl036>Stand 32424 31276 9</lhl036>
      <lhl033>Stand 32400 31273 8</lhl033>
      <lhl016>Stand 32387 31293 7</lhl016>
      <lhl073>Stand 32386 31264 4</lhl073>
      <lhl075>Stand 32387 31264 3</lhl075>
      <lhl077>Stand 32388 31273 4</lhl077>
      <lhl081>Stand 32371 31245 5</lhl081>
      <w005>Node 32385 31308 6</w005>
      <w003>Node 32424 31277 6</w003>
      <w004>Stand 32425 31277 6</w004>
      <tftvb084>Node 32256 31197 7</tftvb084>
      <tftvb085>Stand 32256 31197 7</tftvb085>
      <tftvb052>Node 32462 31174 7</tftvb052>
      <tftvb077>Stand 32462 31174 7</tftvb077>
      <tftvb078>Node 32153 31376 7</tftvb078>
      <tftvb079>Stand 32153 31376 7</tftvb079>
      <tftvb080>Node 32333 31227 7</tftvb080>
      <tftvb081>Stand 32333 31227 7</tftvb081>
      <tftvb082>Node 32224 31381 7</tftvb082>
      <tftvb083>Stand 32224 31381 7</tftvb083>
      <tftvb086>Action 32256 31197 7 wait(750,1300);reachcreature("Buddel");wait(750,1300);npcsay("Hi");wait(300,450);npcsay("go");wait(300,450);npcsay("Svargrond");wait(300,450);npcsay("yes");wait(750,1300);</tftvb086>
      <CheckLeaveHunt>Action 32256 31197 7 if not islocation(5) then gotolabel("LeaveHunt") end</CheckLeaveHunt>
      <GotoDepo>Node 32256 31141 7</GotoDepo>
      <gtdp000>Stand 32253 31143 7</gtdp000>
      <gtdp015>Stand 32254 31143 7</gtdp015>
      <gtdp016>Node 32258 31141 6</gtdp016>
      <gtdp017>Stand 32258 31141 6</gtdp017>
      <gtdp057>Action 32258 31141 6 if not islocation() then gotolabel("GotoDepo") end</gtdp057>
      <naida001>Action 32791 31244 6 setsettings("Settings\\CaveBot\\Settings\\OpenNextBp", "no")</naida001>
      <DepoBackpackSetup>Action 32271 31138 7 closewindows();closewindows();wait(700,1450);while windowcount() < 2 do;closewindows();closewindows();wait(2000,3000);openitem(mainBp,"back",true,0);wait(700,1450);openitem(lootBp,mainBp,true,0);wait(700,1450);resizewindows();wait(700,1450);end</DepoBackpackSetup>
      <naida002>Action 32792 31247 6 while windowcount("Depot Chest") == 0 do;reachgrounditem("depot");wait(900,1350);openitem("depot");wait(900,1350);openitem("Depot Chest","Locker",false);wait(900,1350);end;openitem(stashBp, "depot chest");;</naida002>
      <naida003>Action 32306 32865 7 lastonto = 0;local sitems = {unpack(Stackable)};local _nexti = true;for i,j in pairs(sitems) do;   _nexti = true;   while itemcount(sitems[i], lootBp) > 0 and _nexti do;      _nexti = moveitemsonto(sitems[i], lootBp, stackableBp, 100, lastonto);      wait(400,500);   end;end;;;;;</naida003>
      <naida004>Action 32306 32865 7 lastonto = 0;local sitems = {unpack(nonStackable)};local _nexti = true;for i,j in pairs(sitems) do;   _nexti = true;   while itemcount(sitems[i], lootBp) > 0 and _nexti do;      _nexti = moveitemsonto(sitems[i], lootBp, nonstackableBp, 100, lastonto);      wait(400,500);   end;end</naida004>
      <naida005>Action 32271 31138 7 if itemcount(lootBp, lootBp) > 0 then;openitem(lootBp, lootBp, false,0);wait(900,1350);gotolabel(wpt.id-2);end</naida005>
      <naida006>Action 32791 31244 6 setsettings("Settings\\CaveBot\\Settings\\OpenNextBp", "yes")</naida006>
      <LeaveDepo>Node 32274 31142 6</LeaveDepo>
      <ldp018>Stand 32274 31143 6</ldp018>
      <ldp025>Node 32276 31141 7</ldp025>
      <CheckLeaveDepo>Action 32799 31246 7 if posz ~= 7 then gotolabel("LeaveDepo") end</CheckLeaveDepo>
      <End>Action 32799 31246 7 gotolabel("Start")</End>
    </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>1</NodeRange>
      <Priority>Target</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;3588;3595;3607;3584</FoodToEat>
      <PauseOnDeath>yes</PauseOnDeath>
    </Settings>
    <Enabled>yes</Enabled>
  </CaveBot>
  <Looting>
    <List>
      <shard>
        <Id>7290</Id>
        <Destination>blue Backpack</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </shard>
      <norse-shield>
        <Id>7460</Id>
        <Destination>blue Backpack</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </norse-shield>
      <furry-club>
        <Id>7432</Id>
        <Destination>blue Backpack</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </furry-club>
      <tusk-shield>
        <Id>3443</Id>
        <Destination>blue Backpack</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </tusk-shield>
      <frost-giant-pelt>
        <Id>9658</Id>
        <Destination>blue Backpack</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </frost-giant-pelt>
      <thick-fur>
        <Id>10307</Id>
        <Destination>blue Backpack</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </thick-fur>
      <club-ring>
        <Id>3093</Id>
        <Destination>blue Backpack</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </club-ring>
      <mammoth-tusk>
        <Id>10321</Id>
        <Destination>blue Backpack</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </mammoth-tusk>
      <mana-potion>
        <Id>268</Id>
        <Destination>Green Backpack</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </mana-potion>
      <health-potion>
        <Id>266</Id>
        <Destination>blue Backpack</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </health-potion>
      <gold-coin>
        <Id>3031</Id>
        <Destination>Beach Backpack</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </gold-coin>
      <small-stone>
        <Id>1781</Id>
        <Destination>blue Backpack</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </small-stone>
      <ice-cube>
        <Id>7442</Id>
        <Destination>blue Backpack</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </ice-cube>
    </List>
    <Condition>Corpses with listed items</Condition>
    <Style>After melee kill</Style>
    <OpenBodyTime>300</OpenBodyTime>
    <Range>10</Range>
    <EatFood>yes</EatFood>
    <Enabled>yes</Enabled>
  </Looting>
  <Targeting>
    <Monsters>
      <Frost-Giant>
        <Categories>-</Categories>
        <Danger>0</Danger>
        <ListSettings>
          <Setting0>
            <Count>Any</Count>
            <HpRange>0 to 100 %</HpRange>
            <Stance>Reach</Stance>
            <Avoid>None</Avoid>
            <Distance>0</Distance>
            <Attack>Attack</Attack>
            <ListSpell />
            <SpellRate>500 to 1000</SpellRate>
            <AttackMode>Stand/Offensive</AttackMode>
          </Setting0>
        </ListSettings>
        <Looting>yes</Looting>
        <MustAttackMe>no</MustAttackMe>
        <OnlyIfTrapped>no</OnlyIfTrapped>
      </Frost-Giant>
      <Frost-Giantess>
        <Categories>-</Categories>
        <Danger>0</Danger>
        <ListSettings>
          <Setting0>
            <Count>Any</Count>
            <HpRange>0 to 100 %</HpRange>
            <Stance>No movement</Stance>
            <Avoid>None</Avoid>
            <Distance>0</Distance>
            <Attack>Attack</Attack>
            <ListSpell />
            <SpellRate>500 to 1000</SpellRate>
            <AttackMode>Chase/Offensive</AttackMode>
          </Setting0>
        </ListSettings>
        <Looting>yes</Looting>
        <MustAttackMe>no</MustAttackMe>
        <OnlyIfTrapped>no</OnlyIfTrapped>
      </Frost-Giantess>
      <Mammoth>
        <Categories>-</Categories>
        <Danger>0</Danger>
        <ListSettings>
          <Setting0>
            <Count>Any</Count>
            <HpRange>0 to 100 %</HpRange>
            <Stance>Reach</Stance>
            <Avoid>None</Avoid>
            <Distance>0</Distance>
            <Attack>Attack</Attack>
            <ListSpell />
            <SpellRate>500 to 1000</SpellRate>
            <AttackMode>Stand/Offensive</AttackMode>
          </Setting0>
        </ListSettings>
        <Looting>yes</Looting>
        <MustAttackMe>no</MustAttackMe>
        <OnlyIfTrapped>no</OnlyIfTrapped>
      </Mammoth>
      <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>Chase/Offensive</AttackMode>
          </Setting0>
        </ListSettings>
        <Looting>yes</Looting>
        <MustAttackMe>no</MustAttackMe>
        <OnlyIfTrapped>yes</OnlyIfTrapped>
      </All>
      <Husky>
        <Categories>-</Categories>
        <Danger>0</Danger>
        <ListSettings>
          <Setting0>
            <Count>Any</Count>
            <HpRange>0 to 1 %</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>yes</MustAttackMe>
        <OnlyIfTrapped>no</OnlyIfTrapped>
      </Husky>
    </Monsters>
    <Settings>
      <ListOrder>7</ListOrder>
      <Health>9</Health>
      <Proximity>3</Proximity>
      <Danger>5</Danger>
      <PlayerOnScreenSecurity>If cavebotting</PlayerOnScreenSecurity>
      <CooldownControl>yes</CooldownControl>
      <CheckItem>no</CheckItem>
      <MustBeReachable>yes</MustBeReachable>
      <MustBeShootable>no</MustBeShootable>
    </Settings>
    <Enabled>yes</Enabled>
  </Targeting>
  <Hud>
    <List>
      <BasicInfoHud>
        <Script>setfontcolor("pink")
setfontstyle("Comic Sans MS", 13, "pink")
addtext("Pink Panther's basic HUD ", 20, 40)

addtext("Level: ", 20, 70)
addtext("Exp per hour: ", 20, 90)
addtext("Exp gained: ", 20, 110)
addtext("Exp to Level: ", 20, 130)
addtext("Time to Level: ", 20, 150)
addtext("Stamina: ", 20, 170)
addtext("Balance: ", 20, 190)

addtext("Pos X: ", 20, 230)
addtext("Pos Y: ", 20, 250)
addtext("Pos Z: ", 20, 270)
addtext("Mouse Item ID: ", 20, 290)



setfontcolor("white")
addtext(level, 155, 70)
addtext(exphour, 155, 90)
addtext(expgained, 155, 110)
addtext(exptolevel(), 155, 130)
if (exptolevel()/exphour) < 1 then addtext("Less than 1 Hour", 155, 150) else addtext("About "..math.ceil(exptolevel()/exphour).. " Hours", 155, 150) end
addtext(math.floor(stamina/60).." Hours", 155, 170)
addtext(balance, 155, 190)

addtext(posx, 155, 230)
addtext(posy, 155, 250)
addtext(posz, 155, 270)
addtext(cursorinfo().id, 155, 290)</Script>
        <RefreshRate>1000</RefreshRate>
        <Enabled>yes</Enabled>
      </BasicInfoHud>
      <LootCounter>
        <Script>-- [ General Info HUD by ToadZ v0.4 ] --   http://www.tibiaibot.com/forum/showthread.php?8212-General-Info-HUD-by-ToadZ


local lootitems = {"frost giant pelt", "thick fur", "mammoth tusk", "mana potion", "health potion", "small stone", "shard", "norse shield", "furry club", "tusk shield", "club ring", "ice cube", "gold coin"}
local lootsvalue = {160, 150, 100, 50 , 45, 5, 2000, 1500, 1000, 850, 100, 100, 1}

local showLoots = true 
local y = 400 
local x = 5 
local totall = 0 
local total = 0 
local loots = getitems(unpack(lootitems))  
local qtdl = loots.count-1  
local function captalizeAll(first, rest) 
  return first:upper()..rest:lower() 
end 

if showLoots then  
setfontcolor("white") 
addtext('-----------------------------------------', 0, y) 
setfontcolor("yellow")  
y = y + 10  
addtext('         [ Items looted ]', 15, y) 
y = y + 10  
setfontcolor("white")  
addtext('-----------------------------------------', 0, y) 
y = y + 10  
for i=0,qtdl do  
if loots[i].loot > 0 then  
lootname = loots[i].name:gsub("(%a)([%w_']*)", captalizeAll)  
if string.len(loots[i].name) > 17 then  
addtext(string.sub(lootname, 1, sub).."..", x, y)  
else 
addtext(lootname, x, y) 
end  
addtext("- "..loots[i].loot.." ("..(math.floor(loots[i].loot*lootsvalue[i+1] / 100)/10).."k)", 150, y) totall = totall + loots[i].loot*lootsvalue[i+1] y = y + 15 end end  
y = y + 10  
addtext("Total", x, y)  
addtext("-", 120, y)  
addtext(totall.." GPs", 130, y)  
y = y + 10 end</Script>
        <RefreshRate>1000</RefreshRate>
        <Enabled>yes</Enabled>
      </LootCounter>
    </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