What's new

Knight [PACC] [10] Edron Rotworms

Status
Not open for further replies.

Xinum

Never Give Up!
Joined
Dec 23, 2009
Messages
578
Reaction score
66
[EK][10] Edron Rotworms

Code:
<Settings>
  <Alerts>
    <Player>
      <OnScreen>
        <PlaySound>no</PlaySound>
        <FlashClient>no</FlashClient>
        <PauseBot>no</PauseBot>
        <Disconnect>no</Disconnect>
        <SafeList>null</SafeList>
      </OnScreen>
      <Attacking>
        <PlaySound>yes</PlaySound>
        <FlashClient>yes</FlashClient>
        <PauseBot>no</PauseBot>
        <Disconnect>no</Disconnect>
        <SafeList>null</SafeList>
      </Attacking>
      <GMOnScreen>
        <PlaySound>yes</PlaySound>
        <FlashClient>yes</FlashClient>
        <PauseBot>yes</PauseBot>
        <Disconnect>no</Disconnect>
      </GMOnScreen>
    </Player>
    <Creature />
    <Item />
    <Message>
      <PrivateMessage>
        <PlaySound>no</PlaySound>
        <FlashClient>no</FlashClient>
        <PauseBot>no</PauseBot>
        <Disconnect>no</Disconnect>
        <SafeList>null</SafeList>
      </PrivateMessage>
      <Advanced>
        <PlaySound>no</PlaySound>
        <FlashClient>no</FlashClient>
        <PauseBot>no</PauseBot>
        <Disconnect>no</Disconnect>
        <Screenshot>yes</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>yes</Enabled>
  </Alerts>
  <Healer>
    <Rules>
      <HealthPotion>
        <HealRange>0 to 55 %</HealRange>
        <ManaRange>0 to 100 %</ManaRange>
        <HealMethod>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 40</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 80 %</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>
      <Train>
        <HealRange>90 to 100 %</HealRange>
        <ManaRange>95 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>
      </Train>
    </Rules>
    <PingCompensation>10</PingCompensation>
    <Enabled>yes</Enabled>
  </Healer>
  <FriendHealer>
    <Rules />
    <Enabled>yes</Enabled>
  </FriendHealer>
  <Refiller>
    <Rules />
    <Enabled>yes</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>
      <Reconnect>
        <Script>--[[
    Name: Auto Safe Reconnect by BlakW 
    Version: v4.0.0
]]--
    
   
--Reopen backpacks:
local reopenBps = ("yes")

--Main Backpack Name:
local mainbp = ("Jewelled Backpack")

--Loot Backpack Name:
local lootbp = ("Pirate Backpack")

--Gold Backpack Name:
local goldbp = ("Beach Backpack")

--Temple NPCs:
local templeNpcNames = {"Alia", "Tyrias", "Brewster", "Rahkem", "Kasmir", "Amanda", "Isimov", "Yberius", "Maealil", "Quentin", "Lynda", "Lorietta", "Prezil", "Kjesse", "Asralius"}

--Temple Position Range (sqm):
local templePositionRange = 7

if (connected == false)
then
        reconnect()
        wait(600, 1800)
        pausewalking(10000)

        if ((pzone == true) and (maround(10, false, unpack(templeNpcNames)) >= 1) 
or (pzone == true) and (islocationxyz(32787, 31276, 7, templePositionRange)) 
or (pzone == true) and (islocationxyz(32595, 32744, 6, templePositionRange)) 
or (pzone == true) and (islocationxyz(33213, 32454, 1, templePositionRange)) 
or (pzone == true) and (islocationxyz(32213, 31133, 7, templePositionRange)) 
or (pzone == true) and (islocationxyz(33004, 31490, 11, templePositionRange)) 
or (pzone == true) and (islocationxyz(32649, 31925, 11, templePositionRange)) 
or (pzone == true) and (islocationxyz(33217, 31814, 8, templePositionRange)) 
or (pzone == true) and (islocationxyz(32317, 32826, 7, templePositionRange)) 
or (pzone == true) and (islocationxyz(33194, 32853, 8, templePositionRange)) 
or  (pzone == true) and (islocationxyz(32369, 32241, 7, templePositionRange)) 
or  (pzone == true) and (islocationxyz(32360, 31782, 7, templePositionRange)) 
or  (pzone == true) and (islocationxyz(32957, 32076, 7, templePositionRange)) 
or  (pzone == true) and (islocationxyz(32732, 31634, 7, templePositionRange))  
or (pzone == true) and (islocationxyz(33447, 31323, 9,  templePositionRange)))
        then
        wait(1500)
        closetibia()
        wait(1500)
        message("Reconnect Message: Tibia client has been closed because character was inside a temple. This is to protect your character from being killed by other players.")
    end  

    wait(2500)
    if ((reopenBps == ("yes")) and (windowcount() == 0) )
    then

    setcavebot("no")
    wait(1000, 2500)
    setlooting("no")
    wait(1000, 2500)
    settargeting("no")
    wait(2000, 3500)
        closewindows()
        wait(2000, 3500)

openitem(mainbp, "back", true)
wait(2000)
resizewindows()
wait(2000)
openitem(lootbp, mainbp, true)
wait(2000)
resizewindows()
openitem(goldbp, mainbp, true)
wait(2000)
resizewindows()
    end
    setcavebot("yes")
    wait(1000, 2500)
    setlooting("yes")
    wait(1000, 2500)
    settargeting("yes")
    wait(2000, 3500)
end</Script>
        <SpamRate>800 to 1000</SpamRate>
        <Enabled>yes</Enabled>
      </Reconnect>
      <AlertCureMob>
        <Script>local msgs = getmessages("Local Chat") 
local qtd = msgs.count-1 

for i=0,qtd do 
    if msgs[qtd].text:find("exura gran mas res") then 
      playsound("alert.wav")    
    end 
end</Script>
        <SpamRate>800 to 1000</SpamRate>
        <Enabled>yes</Enabled>
      </AlertCureMob>
      <WalkingMethodChanger-DoNotEdit>
        <Script>if posz == 7 then
setsettings("Settings\\Cavebot\\Pathfinding\\WalkingMethod", "Map Clicks")
else
setsettings("Settings\\Cavebot\\Pathfinding\\WalkingMethod", "Arrows Keys")
end  </Script>
        <SpamRate>800 to 1000</SpamRate>
        <Enabled>yes</Enabled>
      </WalkingMethodChanger-DoNotEdit>
    </List>
    <Setup>-- Setup -- Edron Full Rotworms Cave by Tomix

-- Backpack Setup:

mainbp = "Jewelled Backpack" -- Main BP
lootbp = "Pirate Backpack" -- BP for looted items
goldbp = "Beach Backpack" -- BP for looted gold
dpbp = "Yellow Backpack" -- Depo BP

-- Items Setup:

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


nameHp = "Health Potion" -- Health potion to use
maxHp = 10 -- Number of Health potions to buy
minHp = 1 -- Number of Health potions to stop hunting
priceHp = 45 -- Health potions price

minCap = 50 -- Minimum Capacity to have to stop hunting

-- Hunt Setup:

HardHunt = true -- false for hunt without big cw cave / true for with</Setup>
    <Enabled>yes</Enabled>
    <Library>Standard</Library>
  </Actions>
  <CaveBot>
    <Waypoints>
      <start>Stand 33171 31810 7</start>
      <w000>Stand 33168 31811 7</w000>
      <w001>Walk 33168 31812 7</w001>
      <w002>Stand 33168 31813 8</w002>
      <w003>Stand 33170 31805 8</w003>
      <w004>Stand 33169 31800 8</w004>
      <w005>Stand 33168 31798 8</w005>
      <closebps>Action 33168 31798 8 closewindows();wait(1000,2000);openitem(mainbp, "back", true);wait(2000);resizewindows();wait(2000);openitem(lootbp, mainbp, true);wait(2000);resizewindows()</closebps>
      <depositer>Action 33168 31798 8 reachgrounditem("depot");wait(1000,2000);openitem("depot");wait(700,900);openitem(3502, "locker");wait(700,900);depotdeposit(dpbp, "coal", "lump of dirt", "carrion worm fang");wait(5000,6000);closewindows();wait(1700,2000);openitem(mainbp, "back", true);wait(2000);resizewindows()</depositer>
      <w006>Stand 33168 31798 8</w006>
      <w007>Stand 33169 31801 8</w007>
      <w008>Stand 33173 31806 8</w008>
      <w009>Stand 33170 31812 8</w009>
      <w010>Walk 33169 31812 8</w010>
      <w011>Stand 33168 31811 7</w011>
      <w012>Stand 33168 31807 7</w012>
      <w013>Stand 33173 31803 7</w013>
      <w014>Action 33173 31803 7 local mana = positive(maxMp - itemcount(nameMp)) * priceMp;local hp = positive(maxHp - itemcount(nameHp)) * priceHp;local Total = mana + hp;;say("hi");wait(1500,2500);npcsay("deposit all");wait(200,300);npcsay("yes");wait(200,300);;if Total > 0 then;   npcsay("withdraw "..Total);   wait(200,300);   npcsay("yes");   wait(200,300);end</w014>
      <w015>Stand 33173 31803 7</w015>
      <w016>Stand 33172 31807 7</w016>
      <w017>Stand 33171 31815 7</w017>
      <w018>Stand 33173 31816 7</w018>
      <w019>Stand 33181 31821 7</w019>
      <w020>Stand 33192 31821 7</w020>
      <w021>Stand 33193 31837 7</w021>
      <w022>Stand 33194 31843 7</w022>
      <w023>Stand 33203 31845 7</w023>
      <w024>Stand 33217 31844 7</w024>
      <w025>Action 33217 31844 7 if itemcount(nameMp) < maxMp or itemcount(nameHp) < maxHp then gotolabel("supply") else gotolabel("gohunt") end</w025>
      <supply>Stand 33217 31844 7</supply>
      <w026>Stand 33227 31840 7</w026>
      <w027>Stand 33242 31841 7</w027>
      <w028>Stand 33247 31842 7</w028>
      <w029>Walk 33247 31841 7</w029>
      <w030>Stand 33247 31840 6</w030>
      <w031>Stand 33255 31840 6</w031>
      <w032>Stand 33255 31839 6</w032>
      <w033>Walk 33255 31838 6</w033>
      <w034>Stand 33255 31839 7</w034>
      <potions>Action 33255 31839 7 if itemcount(nameMp) < maxMp or itemcount(nameHp) < maxHp then;;npcsay('hi');wait(500,1000);npcsay('trade');wait(500,1000);sellflasks();wait(500,1000);;;local manacount = itemcount(mananame);;buyitemsupto(nameMp, maxMp);wait(200,300);buyitemsupto(nameHp, maxHp);wait(200,300);npcsay('bye');wait(500,1000);end</potions>
      <w035>Action 33255 31839 7 closewindows();wait(2000, 3500);openitem(mainbp, "back", true);wait(2000);resizewindows();wait(2000);openitem(lootbp, mainbp, true);wait(2000);resizewindows();openitem(goldbp, mainbp, true);wait(2000);resizewindows()</w035>
      <w036>Stand 33255 31839 7</w036>
      <w037>Walk 33255 31838 7</w037>
      <w038>Stand 33255 31837 6</w038>
      <w039>Stand 33253 31840 6</w039>
      <w040>Stand 33247 31840 6</w040>
      <w041>Walk 33247 31841 6</w041>
      <w042>Stand 33247 31842 7</w042>
      <w043>Stand 33217 31844 7</w043>
      <gohunt>Stand 33217 31844 7</gohunt>
      <w044>Stand 33218 31852 7</w044>
      <w045>Stand 33218 31864 7</w045>
      <w046>Stand 33222 31869 7</w046>
      <w047>Stand 33218 31888 7</w047>
      <w048>Stand 33213 31888 7</w048>
      <w049>Shovel 33212 31888 7</w049>
      <gohole>Walk 33212 31888 7</gohole>
      <w050>Stand 33212 31888 8</w050>
      <hunt1>Stand 33212 31888 8</hunt1>
      <w051>Stand 33219 31894 8</w051>
      <w052>Stand 33221 31892 8</w052>
      <w053>Walk 33221 31891 8</w053>
      <w054>Stand 33221 31891 9</w054>
      <w055>Stand 33219 31883 9</w055>
      <w056>Stand 33217 31876 9</w056>
      <w057>Stand 33214 31871 9</w057>
      <w058>Stand 33217 31868 9</w058>
      <w059>Stand 33208 31864 9</w059>
      <w060>Stand 33208 31852 9</w060>
      <w061>Stand 33199 31854 9</w061>
      <w062>Stand 33205 31859 9</w062>
      <w063>Stand 33215 31874 9</w063>
      <w064>Stand 33219 31881 9</w064>
      <w065>Stand 33221 31891 9</w065>
      <w066>Rope 33221 31891 9</w066>
      <w067>Stand 33221 31892 8</w067>
      <w068>Stand 33223 31904 8</w068>
      <w069>Stand 33218 31911 8</w069>
      <w070>Stand 33225 31912 8</w070>
      <w071>Stand 33224 31921 8</w071>
      <w072>Stand 33219 31932 8</w072>
      <w073>Stand 33218 31937 8</w073>
      <w074>Stand 33224 31924 8</w074>
      <w075>Stand 33229 31917 8</w075>
      <w076>Stand 33234 31921 8</w076>
      <w077>Walk 33235 31921 8</w077>
      <w078>Stand 33235 31921 9</w078>
      <w079>Stand 33232 31922 9</w079>
      <w080>Stand 33230 31917 9</w080>
      <w081>Stand 33229 31899 9</w081>
      <w082>Stand 33228 31896 9</w082>
      <w083>Stand 33229 31903 9</w083>
      <w084>Stand 33231 31921 9</w084>
      <w085>Stand 33235 31921 9</w085>
      <w086>Rope 33235 31921 9</w086>
      <w087>Stand 33235 31922 8</w087>
      <w088>Stand 33239 31931 8</w088>
      <w089>Stand 33243 31932 8</w089>
      <w090>Walk 33244 31932 8</w090>
      <w091>Stand 33244 31932 9</w091>
      <w092>Stand 33253 31929 9</w092>
      <w093>Stand 33251 31919 9</w093>
      <w094>Stand 33248 31929 9</w094>
      <w095>Stand 33244 31932 9</w095>
      <w096>Rope 33244 31932 9</w096>
      <w097>Stand 33244 31933 8</w097>
      <w098>Stand 33226 31916 8</w098>
      <w099>Stand 33223 31905 8</w099>
      <w100>Stand 33225 31902 8</w100>
      <check1>Action 33225 31902 8 if (itemcount(nameMp) < minMp or itemcount(nameHp) < minHp or cap < minCap) then gotolabel("LeaveHunt1") else gotolabel("hunt2") end</check1>
      <LeaveHunt1>Stand 33225 31902 8</LeaveHunt1>
      <w101>Stand 33221 31898 8</w101>
      <w102>Stand 33217 31894 8</w102>
      <w103>Stand 33213 31889 8</w103>
      <w104>Stand 33212 31888 8</w104>
      <w105>Rope 33212 31888 8</w105>
      <w255>Stand 33212 31889 7</w255>
      <w256>Stand 33223 31886 7</w256>
      <w257>Stand 33223 31866 7</w257>
      <w258>Stand 33209 31866 7</w258>
      <w259>Stand 33194 31866 7</w259>
      <w260>Stand 33192 31853 7</w260>
      <w261>Stand 33194 31842 7</w261>
      <w262>Stand 33191 31821 7</w262>
      <w263>Stand 33182 31820 7</w263>
      <w264>Stand 33173 31816 7</w264>
      <w265>Stand 33171 31810 7</w265>
      <StartRefill>Action 33171 31810 7 gotolabel("start")</StartRefill>
      <hunt2>Stand 33225 31902 8</hunt2>
      <w106>Stand 33232 31901 8</w106>
      <w107>Stand 33242 31890 8</w107>
      <w108>Walk 33242 31889 8</w108>
      <w109>Stand 33242 31889 9</w109>
      <w110>Stand 33244 31880 9</w110>
      <w111>Stand 33250 31879 9</w111>
      <w112>Stand 33241 31875 9</w112>
      <w113>Stand 33236 31872 9</w113>
      <w114>Stand 33242 31884 9</w114>
      <w115>Stand 33242 31889 9</w115>
      <w116>Rope 33242 31889 9</w116>
      <w117>Stand 33242 31890 8</w117>
      <w118>Stand 33236 31902 8</w118>
      <w119>Stand 33242 31908 8</w119>
      <w120>Stand 33243 31908 8</w120>
      <w121>Walk 33244 31908 8</w121>
      <w122>Stand 33244 31908 9</w122>
      <w123>Stand 33240 31902 9</w123>
      <w124>Stand 33243 31906 9</w124>
      <w125>Stand 33244 31908 9</w125>
      <w126>Rope 33244 31908 9</w126>
      <w127>Stand 33244 31909 8</w127>
      <w128>Stand 33251 31910 8</w128>
      <w129>Stand 33258 31903 8</w129>
      <w130>Stand 33259 31897 8</w130>
      <w131>Stand 33258 31901 8</w131>
      <w132>Stand 33259 31910 8</w132>
      <w133>Stand 33269 31910 8</w133>
      <w134>Stand 33262 31917 8</w134>
      <w135>Walk 33263 31917 8</w135>
      <w136>Stand 33263 31917 9</w136>
      <w137>Stand 33264 31922 9</w137>
      <w138>Stand 33266 31924 9</w138>
      <w139>Stand 33267 31908 9</w139>
      <w140>Stand 33279 31910 9</w140>
      <w141>Stand 33265 31900 9</w141>
      <w142>Stand 33267 31894 9</w142>
      <w143>Stand 33256 31893 9</w143>
      <w144>Stand 33261 31897 9</w144>
      <w145>Walk 33261 31896 9</w145>
      <w146>Stand 33261 31896 10</w146>
      <w147>Stand 33259 31899 10</w147>
      <w148>Stand 33265 31889 10</w148>
      <w149>Stand 33261 31880 10</w149>
      <w150>Stand 33248 31886 10</w150>
      <w151>Stand 33262 31879 10</w151>
      <w152>Stand 33269 31873 10</w152>
      <w153>Stand 33276 31870 10</w153>
      <w154>Stand 33281 31873 10</w154>
      <w155>Stand 33268 31872 10</w155>
      <w156>Stand 33260 31870 10</w156>
      <w157>Stand 33254 31871 10</w157>
      <w158>Stand 33262 31872 10</w158>
      <w159>Stand 33263 31877 10</w159>
      <check2>Action 33263 31877 10 if (itemcount(nameMp) < minMp or itemcount(nameHp) < minHp or cap < minCap) then gotolabel("LeaveHunt2") else gotolabel("checkhunt") end</check2>
      <checkhunt>Action 33263 31877 10 ----[CheckHuntType]----;if HardHunt then;gotolabel("hardhunt");else;gotolabel("LeaveHunt2");end;</checkhunt>
      <hardhunt>Stand 33263 31877 10</hardhunt>
      <w160>Walk 33262 31877 10</w160>
      <w161>Stand 33262 31877 11</w161>
      <w162>Stand 33266 31874 11</w162>
      <w163>Stand 33269 31868 11</w163>
      <w164>Stand 33268 31866 11</w164>
      <w165>Stand 33266 31864 11</w165>
      <w166>Rope 33266 31864 11</w166>
      <w167>Stand 33266 31865 10</w167>
      <w168>Stand 33271 31866 10</w168>
      <w169>Stand 33280 31862 10</w169>
      <w170>Stand 33285 31865 10</w170>
      <w171>Stand 33273 31864 10</w171>
      <w172>Stand 33271 31864 10</w172>
      <w173>Rope 33271 31864 10</w173>
      <w174>Stand 33271 31865 9</w174>
      <w175>Stand 33270 31871 9</w175>
      <w176>Stand 33269 31878 9</w176>
      <w177>Stand 33269 31873 9</w177>
      <w178>Stand 33271 31865 9</w178>
      <w179>Walk 33271 31864 9</w179>
      <w180>Stand 33271 31864 10</w180>
      <w181>Stand 33267 31866 10</w181>
      <w182>Stand 33268 31856 10</w182>
      <w183>Stand 33264 31862 10</w183>
      <w184>Stand 33255 31859 10</w184>
      <w185>Stand 33246 31862 10</w185>
      <w186>Stand 33254 31857 10</w186>
      <w187>Stand 33254 31851 10</w187>
      <w188>Rope 33254 31851 10</w188>
      <w189>Stand 33254 31852 9</w189>
      <w190>Stand 33261 31857 9</w190>
      <w191>Stand 33244 31863 9</w191>
      <w192>Stand 33254 31852 9</w192>
      <w193>Walk 33254 31851 9</w193>
      <w194>Stand 33254 31851 10</w194>
      <w195>Stand 33244 31851 10</w195>
      <w196>Stand 33241 31855 10</w196>
      <w197>Stand 33241 31847 10</w197>
      <w198>Stand 33234 31840 10</w198>
      <w199>Stand 33231 31847 10</w199>
      <w200>Stand 33234 31843 10</w200>
      <w201>Rope 33234 31843 10</w201>
      <w202>Stand 33234 31844 9</w202>
      <w203>Stand 33241 31841 9</w203>
      <w204>Stand 33235 31831 9</w204>
      <w205>Stand 33234 31829 9</w205>
      <w206>Stand 33237 31842 9</w206>
      <w207>Stand 33234 31846 9</w207>
      <w208>Stand 33227 31849 9</w208>
      <w209>Stand 33238 31853 9</w209>
      <w210>Stand 33234 31844 9</w210>
      <w211>Walk 33234 31843 9</w211>
      <w212>Stand 33234 31843 10</w212>
      <w213>Stand 33242 31851 10</w213>
      <w214>Stand 33253 31849 10</w214>
      <w215>Stand 33257 31860 10</w215>
      <w216>Stand 33263 31863 10</w216>
      <w217>Stand 33265 31864 10</w217>
      <w218>Walk 33266 31864 10</w218>
      <w219>Stand 33266 31864 11</w219>
      <w220>Stand 33268 31872 11</w220>
      <w221>Stand 33264 31875 11</w221>
      <w222>Stand 33262 31877 11</w222>
      <w223>Rope 33262 31877 11</w223>
      <w224>Stand 33262 31878 10</w224>
      <LeaveHunt2>Stand 33263 31877 10</LeaveHunt2>
      <w225>Stand 33265 31890 10</w225>
      <w226>Stand 33262 31895 10</w226>
      <w227>Stand 33261 31896 10</w227>
      <w228>Rope 33261 31896 10</w228>
      <w229>Stand 33261 31897 9</w229>
      <w230>Stand 33265 31901 9</w230>
      <w231>Stand 33268 31906 9</w231>
      <w232>Stand 33264 31915 9</w232>
      <w233>Stand 33263 31917 9</w233>
      <w234>Rope 33263 31917 9</w234>
      <w235>Stand 33263 31918 8</w235>
      <check3>Action 33263 31918 8 if (itemcount(nameMp) < minMp or itemcount(nameHp) < minHp or cap < minCap) then gotolabel("LeaveHunt3") else gotolabel("hunt3") end</check3>
      <hunt3>Stand 33263 31918 8</hunt3>
      <w236>Stand 33267 31922 8</w236>
      <w237>Stand 33272 31927 8</w237>
      <w238>Stand 33278 31928 8</w238>
      <w239>Stand 33270 31937 8</w239>
      <w240>Stand 33262 31943 8</w240>
      <w241>Stand 33261 31947 8</w241>
      <w242>Stand 33268 31938 8</w242>
      <w243>Stand 33276 31942 8</w243>
      <w244>Stand 33279 31950 8</w244>
      <w245>Stand 33271 31937 8</w245>
      <w246>Stand 33269 31924 8</w246>
      <w247>Stand 33262 31919 8</w247>
      <LeaveHunt3>Stand 33263 31918 8</LeaveHunt3>
      <w248>Stand 33260 31911 8</w248>
      <w249>Stand 33256 31908 8</w249>
      <w250>Stand 33251 31911 8</w250>
      <w251>Stand 33244 31910 8</w251>
      <w252>Stand 33238 31905 8</w252>
      <w253>Stand 33229 31902 8</w253>
      <w254>Stand 33225 31902 8</w254>
      <finallcheck>Action 33225 31902 8 if (itemcount(nameMp) < minMp or itemcount(nameHp) < minHp or cap < minCap) then gotolabel("LeaveHunt1") else gotolabel("hunt1") end</finallcheck>
    </Waypoints>
    <Pathfinding>
      <SpecialAreas />
      <WalkThroughPlayers>no</WalkThroughPlayers>
      <WalkingMethod>Arrows Keys</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>02</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </gold-coin>
      <lump-of-dirt>
        <Id>9692</Id>
        <Destination>01</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </lump-of-dirt>
      <carrion-worm-fang>
        <Id>10275</Id>
        <Destination>01</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </carrion-worm-fang>
      <coal>
        <Id>12600</Id>
        <Destination>01</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </coal>
      <meat>
        <Id>3577</Id>
        <Destination>none</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </meat>
      <ham>
        <Id>3582</Id>
        <Destination>none</Destination>
        <AlarmOn>No Alarm</AlarmOn>
      </ham>
    </List>
    <Condition>All corpses</Condition>
    <Style>After melee kill</Style>
    <OpenBodyTime>300</OpenBodyTime>
    <Range>10</Range>
    <EatFood>yes</EatFood>
    <Enabled>yes</Enabled>
  </Looting>
  <Targeting>
    <Monsters>
      <Rotworm>
        <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>
      </Rotworm>
      <Carrion-Worm>
        <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>
      </Carrion-Worm>
      <Dog>
        <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>yes</OnlyIfTrapped>
      </Dog>
    </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>
      <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>
      <Counter>
        <Script>-- [ General Info HUD by ToadZ v0.4 v 1 by Tomix] --   http://www.tibiaibot.com/forum/showthread.php?8212-General-Info-HUD-by-ToadZ




local lootitems = {"gold coin", "coal", "lump of dirt", "carrion worm fang"}
local lootsvalue = {1,50,10,35}
local showLoots = true 
local y = 320 
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>
      </Counter>
    </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