What's new

Druid [PACC] [Ankrahmun]Ancient Scarab

Status
Not open for further replies.

Xinum

Never Give Up!
Joined
Dec 23, 2009
Messages
578
Reaction score
67
[ED][Ankrahmun]Ancient Scarab

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 />
    <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>100</Value>
      <PlaySound>no</PlaySound>
      <FlashClient>no</FlashClient>
      <PauseBot>no</PauseBot>
      <Disconnect>no</Disconnect>
    </Capacity>
    <StandTime>
      <Value>30000</Value>
      <PlaySound>no</PlaySound>
      <FlashClient>no</FlashClient>
      <PauseBot>no</PauseBot>
      <Disconnect>no</Disconnect>
    </StandTime>
    <Disconnect>
      <PlaySound>yes</PlaySound>
      <FlashClient>no</FlashClient>
      <PauseBot>no</PauseBot>
    </Disconnect>
    <Enabled>yes</Enabled>
  </Alerts>
  <Healer>
    <Rules>
      <Exura>
        <HealRange>65 to 85 %</HealRange>
        <ManaRange>20 to all</ManaRange>
        <HealMethod>Light Healing</HealMethod>
        <ExtraCondition>No condition</ExtraCondition>
        <CooldownControl>yes</CooldownControl>
        <CheckItem>no</CheckItem>
        <SpamRate>200 to 400</SpamRate>
        <Enabled>yes</Enabled>
      </Exura>
      <Exura-Gran>
        <HealRange>30 to 65 %</HealRange>
        <ManaRange>70 to all</ManaRange>
        <HealMethod>Intense Healing</HealMethod>
        <ExtraCondition>No condition</ExtraCondition>
        <CooldownControl>yes</CooldownControl>
        <CheckItem>no</CheckItem>
        <SpamRate>200 to 400</SpamRate>
        <Enabled>yes</Enabled>
      </Exura-Gran>
      <Exura-vita>
        <HealRange>0 to 30 %</HealRange>
        <ManaRange>160 to all</ManaRange>
        <HealMethod>Ultimate Healing</HealMethod>
        <ExtraCondition>No condition</ExtraCondition>
        <CooldownControl>yes</CooldownControl>
        <CheckItem>no</CheckItem>
        <SpamRate>200 to 400</SpamRate>
        <Enabled>yes</Enabled>
      </Exura-vita>
      <Strong-Mana-Potion>
        <HealRange>0 to 100 %</HealRange>
        <ManaRange>0 to 50 %</ManaRange>
        <HealMethod>Strong Mana Potion</HealMethod>
        <ExtraCondition>No condition</ExtraCondition>
        <CooldownControl>yes</CooldownControl>
        <CheckItem>yes</CheckItem>
        <SpamRate>200 to 400</SpamRate>
        <Enabled>yes</Enabled>
      </Strong-Mana-Potion>
      <Heal-Para-Low>
        <HealRange>65 to 100 %</HealRange>
        <ManaRange>20 to all</ManaRange>
        <HealMethod>Light Healing</HealMethod>
        <ExtraCondition>If paralyzed</ExtraCondition>
        <CooldownControl>yes</CooldownControl>
        <CheckItem>no</CheckItem>
        <SpamRate>200 to 400</SpamRate>
        <Enabled>yes</Enabled>
      </Heal-Para-Low>
      <Heal-Para-Medium>
        <HealRange>30 to 65 %</HealRange>
        <ManaRange>70 to all</ManaRange>
        <HealMethod>Intense Healing</HealMethod>
        <ExtraCondition>If paralyzed</ExtraCondition>
        <CooldownControl>yes</CooldownControl>
        <CheckItem>no</CheckItem>
        <SpamRate>200 to 400</SpamRate>
        <Enabled>yes</Enabled>
      </Heal-Para-Medium>
      <Heal-Para-High>
        <HealRange>0 to 30 %</HealRange>
        <ManaRange>160 to all</ManaRange>
        <HealMethod>Ultimate Healing</HealMethod>
        <ExtraCondition>If paralyzed</ExtraCondition>
        <CooldownControl>yes</CooldownControl>
        <CheckItem>no</CheckItem>
        <SpamRate>200 to 400</SpamRate>
        <Enabled>yes</Enabled>
      </Heal-Para-High>
    </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>
      <Vial-Drop>
        <Script>if itemcount(283) >= 5 then
    dropitems(283)
end</Script>
        <SpamRate>800 to 1000</SpamRate>
        <Enabled>yes</Enabled>
      </Vial-Drop>
      <Anti-PK>
        <Script>if paround(1) > 0 and target.hppc < 20 then
if iscreatureontile(posx+1, posy, posz) == false then
turn('e')
elseif 
iscreatureontile(posx-1, posy, posz) == false then
turn('w')
elseif 
iscreatureontile(posx, posy+1, posz) == false then
turn('s')
elseif 
iscreatureontile(posx, posy-1, posz) == false then
turn('n')
end
end</Script>
        <SpamRate>800 to 1000</SpamRate>
        <Enabled>yes</Enabled>
      </Anti-PK>
      <Safe-Bank>
        <Script>-- NPC name
local npcname = 'Tesha'

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

-- Potions

MPtype = "Strong Mana Potion"
MPprice = 80
MPmax = 120
MPmin = 30

-- Cap

CapToLeave = 30

-- Backpacks Setup

MainBP = "Orange Backpack"
LootBP = "Blue Backpack"
GoldBP = "Brocade Backpack"
MainDPBP = "Backpack"
StackDPBP = "Golden Backpack"
LootDPBP = "Red Backpack"</Setup>
    <Enabled>yes</Enabled>
  </Actions>
  <CaveBot>
    <Waypoints>
      <Start>Action 33126 32841 7 --Wellcome to Henkz Scripts;;--Start Ankrahmun Depot</Start>
      <ResetBp>Stand 33126 32841 7</ResetBp>
      <openBP>Action 33126 32841 7 closewindows();wait(1000);openitem(MainBP, "back");wait(1000);resizewindows();wait(1000);openitem(LootBP, MainBP, true);wait(1000);resizewindows();wait(1000);openitem(GoldBP, MainBP, true);wait(1000);resizewindows();wait(1000)</openBP>
      <w000>Stand 33126 32841 7</w000>
      <w001>Action 33126 32841 7 closewindows();wait(500, 1000);openitem(MainBP, 'back');wait(500, 1000);resizewindows() ;wait(500, 1000);openitem(LootBP, MainBP, true);wait(500, 1000);resizewindows() ;reachgrounditem("depot");wait(1000,2000);openitem("depot");wait(700,900);openitem(3502, "locker");wait(700,900);openitem(MainDPBP, "depot chest");wait(700,900);depotdeposit(StackDPBP, "Scarab Coin", "Scarab Pincers", "Small Amethyst", "Small Emerald", "Piece of Scarab Shell");wait(700,900);depotdeposit(LootDPBP, "Ancient Amulet", "Scarab Amulet", "Daramanian Waraxe", "Scarab Shield", "Terra Hood")</w001>
      <w002>Stand 33125 32837 7</w002>
      <w003>Action 33125 32837 7 setsettings("Settings\\CaveBot\\Pathfinding\\WalkThroughPlayers", "no");wait(1000)</w003>
      <w004>Stand 33125 32831 7</w004>
      <w005>Stand 33127 32827 7</w005>
      <w006>Stand 33127 32826 7</w006>
      <w007>Action 33127 32825 6 setsettings("Settings\\CaveBot\\Pathfinding\\WalkThroughPlayers", "yes");wait(1000)</w007>
      <w008>Stand 33132 32821 6</w008>
      <w009>Action 33132 32821 6 local ManaMoney = positive(MPmax - itemcount(MPtype)) * MPprice;local All = ManaMoney;;depositall();npcsay("withdraw "..All) wait(1000);npcsay("yes") wait(1000)</w009>
      <w010>Stand 33130 32817 6</w010>
      <w011>Stand 33130 32816 6</w011>
      <w012>Stand 33130 32813 5</w012>
      <w013>Action 33130 32813 5 say('hi');wait(1000);sellflasks();wait(500,900);opentrade();wait(500, 1000);buyitemsupto(MPtype, MPmax);npcsay('Bye');wait(500,1000)</w013>
      <w014>Stand 33130 32816 5</w014>
      <w015>Stand 33129 32811 6</w015>
      <w016>Stand 33126 32806 6</w016>
      <w017>Action 33126 32806 6 setsettings("Settings\\CaveBot\\Pathfinding\\WalkThroughPlayers", "yes");wait(1000)</w017>
      <w018>Stand 33126 32805 6</w018>
      <w019>Stand 33120 32802 7</w019>
      <w020>Stand 33118 32794 7</w020>
      <w021>Stand 33114 32788 7</w021>
      <w022>Stand 33108 32788 7</w022>
      <w023>Stand 33100 32786 7</w023>
      <w024>Stand 33087 32788 7</w024>
      <w025>Stand 33087 32787 7</w025>
      <w026>Action 33087 32786 6 closewindows();wait(1000);openitem(MainBP, "back", true);wait(1000);resizewindows();wait(1000);openitem(LootBP, MainBP, true);wait(1000);resizewindows();wait(1000);openitem(GoldBP, MainBP, true);wait(1000);resizewindows();wait(1000)</w026>
      <w027>Stand 33087 32784 6</w027>
      <w028>Stand 33086 32772 7</w028>
      <w029>Stand 33085 32764 7</w029>
      <w030>Stand 33077 32762 7</w030>
      <w031>Stand 33072 32761 7</w031>
      <w032>Shovel 33072 32760 7</w032>
      <w100>Stand 33072 32760 7</w100>
      <w033>Stand 33076 32756 8</w033>
      <w034>Stand 33076 32755 8</w034>
      <w035>Stand 33082 32759 9</w035>
      <w036>Stand 33086 32754 9</w036>
      <w037>Stand 33093 32749 9</w037>
      <w038>Stand 33095 32749 9</w038>
      <w039>Stand 33096 32749 9</w039>
      <w040>Stand 33095 32761 10</w040>
      <w041>Stand 33078 32770 10</w041>
      <w042>Stand 33067 32769 10</w042>
      <w043>Stand 33058 32775 10</w043>
      <w044>Stand 33053 32776 10</w044>
      <w045>Stand 33052 32776 10</w045>
      <Hunt>Stand 33054 32776 11</Hunt>
      <w046>Stand 33044 32776 11</w046>
      <w047>Stand 33035 32780 11</w047>
      <w048>Stand 33034 32789 11</w048>
      <w049>Stand 33034 32777 11</w049>
      <w050>Stand 33038 32763 11</w050>
      <w051>Stand 33049 32761 11</w051>
      <w052>Stand 33060 32761 11</w052>
      <w053>Stand 33076 32762 11</w053>
      <w054>Stand 33079 32779 11</w054>
      <w055>Stand 33067 32778 11</w055>
      <w056>Stand 33079 32782 11</w056>
      <w057>Stand 33079 32793 11</w057>
      <w058>Stand 33071 32793 11</w058>
      <w059>Stand 33057 32794 11</w059>
      <w060>Stand 33049 32794 11</w060>
      <w061>Stand 33063 32793 11</w061>
      <w062>Stand 33079 32777 11</w062>
      <w063>Stand 33074 32761 11</w063>
      <w064>Stand 33057 32758 11</w064>
      <w065>Stand 33057 32756 11</w065>
      <DropItems>Action 33057 32756 11 dropitems(3357);wait(100);dropitems(3357);wait(100);dropitems(3357);wait(100);dropitems(3357);wait(100);dropitems(3357);wait(100)</DropItems>
      <w066>Stand 33057 32766 11</w066>
      <w067>Stand 33056 32774 11</w067>
      <Check>Action 33056 32774 11 if itemcount(MPtype) <= MPmin or cap <= CapToLeave then;gotolabel("Leave");else;gotolabel("Hunt");end</Check>
      <Leave>Stand 33055 32776 11</Leave>
      <w068>Stand 33052 32776 11</w068>
      <w069>Stand 33057 32775 10</w069>
      <w070>Stand 33063 32770 10</w070>
      <w071>Stand 33071 32769 10</w071>
      <w072>Stand 33079 32770 10</w072>
      <w073>Stand 33086 32768 10</w073>
      <w074>Stand 33092 32765 10</w074>
      <w075>Stand 33095 32760 10</w075>
      <w076>Stand 33096 32751 10</w076>
      <w077>Stand 33096 32749 10</w077>
      <w078>Rope 33096 32749 10</w078>
      <w079>Stand 33080 32758 9</w079>
      <w080>Stand 33076 32755 9</w080>
      <w081>Rope 33076 32755 9</w081>
      <w082>Stand 33072 32760 8</w082>
      <w083>Rope 33072 32760 8</w083>
      <w084>Stand 33072 32769 7</w084>
      <w085>Stand 33083 32779 7</w085>
      <w086>Stand 33085 32783 7</w086>
      <w087>Stand 33085 32784 7</w087>
      <w088>Stand 33085 32787 6</w088>
      <w089>Stand 33091 32792 7</w089>
      <w090>Stand 33098 32795 7</w090>
      <w091>Stand 33098 32803 7</w091>
      <w092>Stand 33102 32808 7</w092>
      <w093>Stand 33115 32808 7</w093>
      <w094>Stand 33119 32814 7</w094>
      <w095>Stand 33119 32826 7</w095>
      <w096>Stand 33125 32834 7</w096>
      <w097>Stand 33125 32836 7</w097>
      <w098>Action 33125 32836 7 setsettings("Settings\\CaveBot\\Pathfinding\\WalkThroughPlayers", "yes");wait(1000)</w098>
      <w099>Stand 33125 32840 7</w099>
    </Waypoints>
    <Pathfinding>
      <SpecialAreas>
        <NewArea0>
          <Coordinates>33046 32774 11</Coordinates>
          <Dimensions>1 3</Dimensions>
          <ConsideredBy>Target</ConsideredBy>
        </NewArea0>
        <NewArea1>
          <Coordinates>33033 32783 11</Coordinates>
          <Dimensions>4 1</Dimensions>
          <ConsideredBy>Target</ConsideredBy>
        </NewArea1>
        <NewArea2>
          <Coordinates>33036 32769 11</Coordinates>
          <Dimensions>4 1</Dimensions>
          <ConsideredBy>Target</ConsideredBy>
        </NewArea2>
        <NewArea3>
          <Coordinates>33047 32760 11</Coordinates>
          <Dimensions>1 4</Dimensions>
          <ConsideredBy>Target</ConsideredBy>
        </NewArea3>
        <NewArea4>
          <Coordinates>33055 32767 11</Coordinates>
          <Dimensions>5 1</Dimensions>
          <ConsideredBy>Target</ConsideredBy>
        </NewArea4>
        <NewArea5>
          <Coordinates>33065 32761 11</Coordinates>
          <Dimensions>1 4</Dimensions>
          <ConsideredBy>Target</ConsideredBy>
        </NewArea5>
        <NewArea6>
          <Coordinates>33076 32769 11</Coordinates>
          <Dimensions>6 1</Dimensions>
          <ConsideredBy>Target</ConsideredBy>
        </NewArea6>
        <NewArea7>
          <Coordinates>33072 32777 11</Coordinates>
          <Dimensions>1 3</Dimensions>
          <ConsideredBy>Target</ConsideredBy>
        </NewArea7>
        <NewArea8>
          <Coordinates>33075 32783 11</Coordinates>
          <Dimensions>8 1</Dimensions>
          <ConsideredBy>Target</ConsideredBy>
        </NewArea8>
        <NewArea9>
          <Coordinates>33073 32791 11</Coordinates>
          <Dimensions>1 5</Dimensions>
          <ConsideredBy>Target</ConsideredBy>
        </NewArea9>
        <NewArea10>
          <Coordinates>33058 32793 11</Coordinates>
          <Dimensions>1 4</Dimensions>
          <ConsideredBy>Target</ConsideredBy>
        </NewArea10>
      </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</Priority>
      <OpenNextBp>if cavebot enabled</OpenNextBp>
      <AutoMount>yes</AutoMount>
      <Anti-idle>no</Anti-idle>
      <EatFood>yes</EatFood>
      <FoodToEat>3725;3587;3600;3595;3589;3598;8014;3583;3606;3578;3592;3582;3577;3593;3586;3585;3581;3723</FoodToEat>
      <PauseOnDeath>yes</PauseOnDeath>
    </Settings>
    <Enabled>no</Enabled>
  </CaveBot>
  <Looting>
    <List>
      <Scarab-Coin>
        <Id>3042</Id>
        <Destination>1</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </Scarab-Coin>
      <Plate-Armor>
        <Id>3357</Id>
        <Destination>1</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </Plate-Armor>
      <Scarab-Pincers>
        <Id>9631</Id>
        <Destination>1</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </Scarab-Pincers>
      <Small-Amethyst>
        <Id>3033</Id>
        <Destination>1</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </Small-Amethyst>
      <Ancient-Amulet>
        <Id>3025</Id>
        <Destination>1</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </Ancient-Amulet>
      <Scarab-Amulet>
        <Id>3018</Id>
        <Destination>1</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </Scarab-Amulet>
      <Small-Emerald>
        <Id>3032</Id>
        <Destination>1</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </Small-Emerald>
      <Strong-Health-Potion>
        <Id>236</Id>
        <Destination>Ground</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </Strong-Health-Potion>
      <Daramanian-Waraxe>
        <Id>3328</Id>
        <Destination>1</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </Daramanian-Waraxe>
      <Scarab-Shield>
        <Id>3440</Id>
        <Destination>1</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </Scarab-Shield>
      <Terra-Hood>
        <Id>830</Id>
        <Destination>1</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </Terra-Hood>
      <Piece-of-Scarab-Shell>
        <Id>9641</Id>
        <Destination>1</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </Piece-of-Scarab-Shell>
      <Gold-Coin>
        <Id>3031</Id>
        <Destination>2</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </Gold-Coin>
    </List>
    <Condition>Corpses with listed items</Condition>
    <Style>After all dead</Style>
    <Range>30</Range>
    <EatFood>yes</EatFood>
    <Enabled>yes</Enabled>
  </Looting>
  <Targeting>
    <Monsters>
      <Ancient-Scarab>
        <Categories>-</Categories>
        <Danger>5</Danger>
        <ListSettings>
          <Setting0>
            <Count>Any</Count>
            <HpRange>0 to 100 %</HpRange>
            <Stance>Keep Away</Stance>
            <Avoid>None</Avoid>
            <Distance>3</Distance>
            <Attack>Attack</Attack>
            <ListSpell>
              <Spell1>Flame Strike</Spell1>
            </ListSpell>
            <SpellRate>200 to 200</SpellRate>
            <AttackMode>Stand/Defensive</AttackMode>
          </Setting0>
        </ListSettings>
        <Looting>yes</Looting>
        <MustAttackMe>no</MustAttackMe>
        <OnlyIfTrapped>no</OnlyIfTrapped>
      </Ancient-Scarab>
      <Scarab>
        <Categories>-</Categories>
        <Danger>2</Danger>
        <ListSettings>
          <Setting0>
            <Count>Any</Count>
            <HpRange>50 to 100 %</HpRange>
            <Stance>No movement</Stance>
            <Avoid>None</Avoid>
            <Distance>0</Distance>
            <Attack>Attack</Attack>
            <ListSpell>
              <Spell0>Flame Strike</Spell0>
            </ListSpell>
            <SpellRate>200 to 200</SpellRate>
            <AttackMode>No Change</AttackMode>
          </Setting0>
          <Setting1>
            <Count>Any</Count>
            <HpRange>0 to 50 %</HpRange>
            <Stance>No movement</Stance>
            <Avoid>None</Avoid>
            <Distance>0</Distance>
            <Attack>Attack</Attack>
            <ListSpell />
            <SpellRate>500 to 1000</SpellRate>
            <AttackMode>No Change</AttackMode>
          </Setting1>
        </ListSettings>
        <Looting>yes</Looting>
        <MustAttackMe>yes</MustAttackMe>
        <OnlyIfTrapped>yes</OnlyIfTrapped>
      </Scarab>
      <Larva>
        <Categories>-</Categories>
        <Danger>1</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>yes</MustAttackMe>
        <OnlyIfTrapped>yes</OnlyIfTrapped>
      </Larva>
      <Others>
        <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>yes</MustAttackMe>
        <OnlyIfTrapped>yes</OnlyIfTrapped>
      </Others>
    </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>
      <Recent-Loot>
        <Script>-- you can add more items here
local warnitems = {"Scarab Coin", "Scarab Pincers", "Small Amethyst", "Small Emerald", "Terra Hood", "Piece of Scarab Shell"}

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

-- spacing between lines
local spacing = 15


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

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

      index=index+1
      if index == maxindex then
        break
      end
   end
end</Script>
        <RefreshRate>1000</RefreshRate>
        <Enabled>yes</Enabled>
      </Recent-Loot>
    </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