What's new

Knight [PACC] [Ankrahmun] Larvy North Cave 100% AFK

Status
Not open for further replies.

Xinum

Never Give Up!
Joined
Dec 23, 2009
Messages
578
Reaction score
67
[EK][Ankrahmun] Larvy North Cave 100% AFK

Code:
<Settings>
  <Alerts>
    <Player>
      <OnScreen>
        <PlaySound>no</PlaySound>
        <FlashClient>no</FlashClient>
        <PauseBot>no</PauseBot>
        <Disconnect>no</Disconnect>
        <SafeList>null</SafeList>
      </OnScreen>
      <Attacking>
        <PlaySound>no</PlaySound>
        <FlashClient>no</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>no</PlaySound>
      <FlashClient>no</FlashClient>
      <PauseBot>no</PauseBot>
    </Disconnect>
    <Enabled>yes</Enabled>
  </Alerts>
  <Healer>
    <Rules>
      <Mana-Training>
        <HealRange>0 to 100 %</HealRange>
        <ManaRange>99 to 100 %</ManaRange>
        <HealMethod>Wound Cleansing</HealMethod>
        <ExtraCondition>No condition</ExtraCondition>
        <CooldownControl>yes</CooldownControl>
        <CheckItem>no</CheckItem>
        <SpamRate>200 to 400</SpamRate>
        <Enabled>yes</Enabled>
      </Mana-Training>
      <Exura>
        <HealRange>0 to 60 %</HealRange>
        <ManaRange>30 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>
      <Healer0>
        <HealRange>0 to 33 %</HealRange>
        <ManaRange>0 to all</ManaRange>
        <HealMethod>Health Potion</HealMethod>
        <ExtraCondition>No condition</ExtraCondition>
        <CooldownControl>yes</CooldownControl>
        <CheckItem>no</CheckItem>
        <SpamRate>200 to 400</SpamRate>
        <Enabled>yes</Enabled>
      </Healer0>
    </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 />
    <Setup>-- Setup --

-- Backpacks --

mainBP = 'Blue backpack'
goldBP = 'Golden backpack'

hpbuy = 10 -- Quantity of health potion to buy
hpleave = 3 -- Quantity of health potion to go deposit
capleave = 50 -- Cap to go deposit

HPname = "Health Potion" --
HPtobuy = 10 -- 
HPprice = 45 --</Setup>
    <Library>Standard</Library>
    <Enabled>yes</Enabled>
  </Actions>
  <CaveBot>
    <Waypoints>
      <HUNT>Stand 33164 32686 8</HUNT>
      <w001>Stand 33173 32685 8</w001>
      <w022>Stand 33162 32695 8</w022>
      <w059>Stand 33174 32706 8</w059>
      <w081>Stand 33158 32699 8</w081>
      <w082>Stand 33142 32703 8</w082>
      <w083>Stand 33152 32710 8</w083>
      <w084>Stand 33165 32708 8</w084>
      <w085>Stand 33150 32699 8</w085>
      <w086>Stand 33134 32686 8</w086>
      <w087>Stand 33149 32680 8</w087>
      <w000>Action 33153 32691 8 if (itemcount("health potion") <= hpleave) or (cap < capleave) then;gotolabel("deposit")else;gotolabel("hunt");end</w000>
      <hunt>Stand 33143 32676 8</hunt>
      <w089>Stand 33142 32668 8</w089>
      <w090>Stand 33154 32664 8</w090>
      <w091>Stand 33158 32657 8</w091>
      <w092>Stand 33155 32674 8</w092>
      <w093>Stand 33165 32668 8</w093>
      <w094>Stand 33185 32675 8</w094>
      <w095>Stand 33171 32672 8</w095>
      <w003>Action 33153 32690 8 if (itemcount("health potion") <= hpleave) or (cap < capleave) then;gotolabel("deposit")else;gotolabel("HUNT");end</w003>
      <deposit>Stand 33153 32686 8</deposit>
      <w002>Rope 33153 32686 8</w002>
      <w004>Stand 33155 32709 7</w004>
      <w005>Stand 33155 32726 7</w005>
      <w006>Stand 33155 32738 7</w006>
      <w007>Stand 33155 32750 7</w007>
      <w008>Stand 33154 32760 7</w008>
      <w009>Stand 33154 32761 7</w009>
      <UP>Stand 33154 32762 7</UP>
      <w011>Stand 33154 32765 6</w011>
      <w012>Stand 33154 32766 6</w012>
      <w038>Action 33152 32768 7 if not islocation(4) then;gotolabel("UP");return;end</w038>
      <w013>Stand 33154 32781 7</w013>
      <w014>Stand 33139 32781 7</w014>
      <w015>Stand 33139 32801 7</w015>
      <w016>Stand 33140 32815 7</w016>
      <w017>Stand 33139 32815 7</w017>
      <w018>Stand 33138 32815 7</w018>
      <w019>Stand 33137 32820 6</w019>
      <w020>Action 33137 32820 6 local Health = positive(HPtobuy - itemcount(HPname)) * HPprice;local Total = Health;;say("hi");wait(1500,2500);npcsay("deposit all");wait(200,300);npcsay("yes");wait(200,300);npcsay("withdraw "..Total);wait(400,600);npcsay("yes");wait(400,600)</w020>
      <w021>Action 33137 32820 6 if countitem("health potion") > 9 then gotolabel("Gohunt");else;gotolabel("Refiller");end</w021>
      <Refiller>Stand 33134 32818 6</Refiller>
      <w010>Stand 33131 32817 6</w010>
      <w023>Stand 33131 32816 6</w023>
      <w024>Stand 33131 32813 5</w024>
      <w025>Action 33131 32813 5 wait(1500,2000);npcsay("hi");wait(1500,2500);npcsay("trade");wait(1500,2500);buyitemsupto("health potion", 10);wait (1500, 2500)</w025>
      <w026>Stand 33131 32815 5</w026>
      <w027>Stand 33131 32816 5</w027>
      <w028>Stand 33136 32816 6</w028>
      <Gohunt>Stand 33137 32818 6</Gohunt>
      <w029>Action 33136 32816 6 closewindows();wait(1000);openitem(mainBP, "back");wait(500,1000);resizewindows();wait(500,1000);openitem(goldBP, mainBP, true);wait(500,1000);resizewindows()</w029>
      <w031>Stand 33138 32813 6</w031>
      <w032>Stand 33140 32803 7</w032>
      <w033>Stand 33138 32788 7</w033>
      <w034>Stand 33139 32773 7</w034>
      <w035>Stand 33139 32767 7</w035>
      <w036>Stand 33149 32768 7</w036>
      <w037>Stand 33153 32767 7</w037>
      <DOWN>Stand 33153 32766 7</DOWN>
      <w039>Stand 33153 32763 6</w039>
      <w040>Stand 33153 32762 6</w040>
      <w052>Action 33152 32760 7 if not islocation(4) then;gotolabel("DOWN");return;end</w052>
      <w041>Stand 33154 32756 7</w041>
      <w042>Stand 33154 32743 7</w042>
      <w043>Stand 33154 32735 7</w043>
      <w044>Stand 33154 32722 7</w044>
      <w045>Stand 33154 32712 7</w045>
      <w046>Stand 33153 32701 7</w046>
      <w047>Stand 33153 32692 7</w047>
      <shovel>Stand 33153 32687 7</shovel>
      <w049>Shovel 33153 32686 7</w049>
      <w050>Stand 33153 32686 7</w050>
      <w051>Action 33153 32685 8 if not islocation(4) then;gotolabel("shovel");return;end</w051>
    </Waypoints>
    <Pathfinding>
      <SpecialAreas />
      <WalkThroughPlayers>no</WalkThroughPlayers>
      <WalkingMethod>Map Clicks</WalkingMethod>
      <MapWalkDistance>20 to 50</MapWalkDistance>
      <WalkableIds>140;404;831;832;833;834;883;2118;2119;2120;2121;2122;2123;2124;2125;2126;2127;2131;2132;2133;2134;2135;2314;2315;2316;2319;2346;2347;2348;2349;2350;2351;2352;2353;2354;2355;2356;2357;2358;2359;2360;2361;2362;2363;2364;2365;2366;2367;2368;2369;2370;2371;2372;2373;2374;2375;2376;2377;2378;2379;2380;2381;2382;2383;2384;2385;2418;2419;2420;2421;2422;2423;2424;2425;2426;2431;2432;2433;2434;2441;2442;2443;2444;2469;2471;2472;2473;2478;2480;2481;2482;2483;2484;2485;2486;2519;2523;2775;2776;2777;2778;2779;2780;2781;2782;2783;2784;2785;2786;2787;2788;2789;2790;2791;2792;2793;2794;2795;2796;2797;2798;2799;2800;2801;2802;2803;2804;2805;2806;2807;2808;2809;2810;2811;2812;2981;2983;2982;2984;2985;2987;2988;3503;3504;3514;3807;5086;5087;5088;6114;6115;6355;6356;6357;6358;6359;6360;6361;6362;6371;6372;7864;8455;8763;9061;9062;10207;10209;10216;10286;10287;10288;11009;11800;11801;11802;11803;11804;11805;11806;11807;11808;11809;11810</WalkableIds>
    </Pathfinding>
    <Settings>
      <Rope>3003</Rope>
      <Shovel>3457</Shovel>
      <Pick>3456</Pick>
      <Machete>3308</Machete>
      <NodeRange>4</NodeRange>
      <Priority>Target</Priority>
      <OpenNextBp>if cavebot enabled</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>01</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </Gold-Coin>
    </List>
    <Condition>All corpses</Condition>
    <Style>After melee kill</Style>
    <Range>10</Range>
    <EatFood>yes</EatFood>
    <Enabled>no</Enabled>
  </Looting>
  <Targeting>
    <Monsters>
      <larva>
        <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>
            </ListSpell>
            <SpellRate>500 to 1000</SpellRate>
            <AttackMode>No Change</AttackMode>
          </Setting0>
        </ListSettings>
        <Looting>yes</Looting>
        <MustAttackMe>no</MustAttackMe>
        <OnlyIfTrapped>no</OnlyIfTrapped>
      </larva>
    </Monsters>
    <Settings>
      <ListOrder>0</ListOrder>
      <Health>50</Health>
      <Proximity>30</Proximity>
      <Danger>100</Danger>
      <PlayerOnScreenSecurity>If cavebotting</PlayerOnScreenSecurity>
      <CooldownControl>yes</CooldownControl>
      <CheckItem>no</CheckItem>
      <MustBeReachable>yes</MustBeReachable>
      <MustBeShootable>no</MustBeShootable>
    </Settings>
    <Enabled>no</Enabled>
  </Targeting>
  <Hud>
    <List>
      <GeneralInfo>
        <Script>setsize(100,100)
setfontcolor("white")

addtext(name,10,30)
addtext("LvL :", 150,30)
addtext(level, 180,30)
addtext("Next LvL :", 150,45)
addtext(exptolevel(), 210,45)

addtext("Pos X : ", 10,45)
addtext(posx, 54,45)
addtext("Pos Y : ", 10,60)
addtext(posy, 54,60)
addtext("Pos Z : ", 10,75)
addtext(posz, 54,75)</Script>
        <RefreshRate>1000</RefreshRate>
        <Enabled>yes</Enabled>
      </GeneralInfo>
    </List>
    <Show>If focused</Show>
    <Enabled>no</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