- Dołączył
- Grudzień 23, 2009
- Posty
- 578
- Liczba reakcji
- 64
[ED] Dragon Lord Zao
Kod:
<Settings>
<Alerts>
<Player>
<OnScreen>
<PlaySound>no</PlaySound>
<FlashClient>no</FlashClient>
<PauseBot>no</PauseBot>
<Disconnect>no</Disconnect>
<SafeList>null</SafeList>
</OnScreen>
<Attacking>
<PlaySound>yes</PlaySound>
<FlashClient>yes</FlashClient>
<PauseBot>no</PauseBot>
<Disconnect>no</Disconnect>
<SafeList>null</SafeList>
</Attacking>
<GMOnScreen>
<PlaySound>yes</PlaySound>
<FlashClient>yes</FlashClient>
<PauseBot>yes</PauseBot>
<Disconnect>no</Disconnect>
</GMOnScreen>
</Player>
<Creature />
<Item />
<Message>
<PrivateMessage>
<PlaySound>no</PlaySound>
<FlashClient>no</FlashClient>
<PauseBot>no</PauseBot>
<Disconnect>no</Disconnect>
<SafeList>null</SafeList>
</PrivateMessage>
<Advanced>
<PlaySound>no</PlaySound>
<FlashClient>no</FlashClient>
<PauseBot>no</PauseBot>
<Disconnect>no</Disconnect>
<Screenshot>no</Screenshot>
</Advanced>
<Raid>
<PlaySound>no</PlaySound>
<FlashClient>no</FlashClient>
<PauseBot>no</PauseBot>
<Disconnect>no</Disconnect>
<Warnings>All</Warnings>
</Raid>
<SafeBank>
<PlaySound>yes</PlaySound>
<FlashClient>yes</FlashClient>
<PauseBot>yes</PauseBot>
<CloseTibia>no</CloseTibia>
<Disconnect>yes</Disconnect>
</SafeBank>
<HealCreature>
<PlaySound>yes</PlaySound>
<FlashClient>yes</FlashClient>
<PauseBot>yes</PauseBot>
<CloseTibia>no</CloseTibia>
<Disconnect>yes</Disconnect>
<Screenshot>no</Screenshot>
</HealCreature>
<YourAttack>
<PlaySound>yes</PlaySound>
<FlashClient>yes</FlashClient>
<PauseBot>yes</PauseBot>
<CloseTibia>no</CloseTibia>
<Disconnect>yes</Disconnect>
<Screenshot>no</Screenshot>
<SafeList>null</SafeList>
</YourAttack>
<Unjust>
<PlaySound>yes</PlaySound>
<FlashClient>yes</FlashClient>
<PauseBot>yes</PauseBot>
<CloseTibia>no</CloseTibia>
<Disconnect>yes</Disconnect>
</Unjust>
</Message>
<Capacity>
<Value>100</Value>
<PlaySound>no</PlaySound>
<FlashClient>no</FlashClient>
<PauseBot>no</PauseBot>
<Disconnect>no</Disconnect>
</Capacity>
<StandTime>
<Value>30000</Value>
<PlaySound>no</PlaySound>
<FlashClient>no</FlashClient>
<PauseBot>no</PauseBot>
<Disconnect>no</Disconnect>
</StandTime>
<Stamina>
<Value>841</Value>
<PlaySound>yes</PlaySound>
<FlashClient>yes</FlashClient>
<PauseBot>yes</PauseBot>
<CloseTibia>no</CloseTibia>
<Disconnect>yes</Disconnect>
</Stamina>
<Disconnect>
<PlaySound>no</PlaySound>
<FlashClient>no</FlashClient>
<PauseBot>no</PauseBot>
</Disconnect>
<Enabled>no</Enabled>
</Alerts>
<Healer>
<Rules>
<Exura-Vita>
<HealRange>0 to 55 %</HealRange>
<ManaRange>1 to 100 %</ManaRange>
<HealMethod>Ultimate Healing</HealMethod>
<ExtraCondition>No condition</ExtraCondition>
<CooldownControl>no</CooldownControl>
<CheckItem>no</CheckItem>
<SpamRate>100 to 200</SpamRate>
<Enabled>yes</Enabled>
</Exura-Vita>
<Exura-Gran>
<HealRange>55 to 70 %</HealRange>
<ManaRange>1 to 100 %</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>
<HealRange>70 to 80 %</HealRange>
<ManaRange>1 to 100 %</ManaRange>
<HealMethod>Light Healing</HealMethod>
<ExtraCondition>No condition</ExtraCondition>
<CooldownControl>yes</CooldownControl>
<CheckItem>no</CheckItem>
<SpamRate>200 to 400</SpamRate>
<Enabled>yes</Enabled>
</Exura>
<GMP>
<HealRange>0 to 100 %</HealRange>
<ManaRange>0 to 55 %</ManaRange>
<HealMethod>Great Mana Potion</HealMethod>
<ExtraCondition>No condition</ExtraCondition>
<CooldownControl>yes</CooldownControl>
<CheckItem>no</CheckItem>
<SpamRate>200 to 400</SpamRate>
<Enabled>yes</Enabled>
</GMP>
<Low-Anti-Paralyze>
<HealRange>0 to 55 %</HealRange>
<ManaRange>1 to 100 %</ManaRange>
<HealMethod>Ultimate Healing</HealMethod>
<ExtraCondition>If paralyzed</ExtraCondition>
<CooldownControl>yes</CooldownControl>
<CheckItem>no</CheckItem>
<SpamRate>200 to 400</SpamRate>
<Enabled>yes</Enabled>
</Low-Anti-Paralyze>
<Mid-Anti-Paralyze>
<HealRange>55 to 75 %</HealRange>
<ManaRange>1 to 100 %</ManaRange>
<HealMethod>Intense Healing</HealMethod>
<ExtraCondition>If paralyzed</ExtraCondition>
<CooldownControl>yes</CooldownControl>
<CheckItem>no</CheckItem>
<SpamRate>200 to 400</SpamRate>
<Enabled>yes</Enabled>
</Mid-Anti-Paralyze>
<High-Anti-Paralyze>
<HealRange>75 to 100 %</HealRange>
<ManaRange>1 to 100 %</ManaRange>
<HealMethod>Light Healing</HealMethod>
<ExtraCondition>If paralyzed</ExtraCondition>
<CooldownControl>yes</CooldownControl>
<CheckItem>no</CheckItem>
<SpamRate>200 to 400</SpamRate>
<Enabled>yes</Enabled>
</High-Anti-Paralyze>
</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>
<Drop-Flask>
<Script>if (itemcount(285) + itemcount(284) + itemcount(283) > 15 and maround(5) == 0 and cap < 350 and not lootbodies) then
local FLASKS_THROWN = false
for FLASK_ID = 285, 283, -1 do
if (itemcount(FLASK_ID) > 0) then
pausewalking(10000) moveitems(FLASK_ID, [[all]], [[ground]], 100) wait(1000, 1500)
FLASKS_THROWN = true
end
end
if (FLASKS_THROWN) then
pausewalking(0)
end
end
if LootGold and (cap > CapForGold) then
setsettings("Settings\\Looting\\List\\gold coin\\Id", "3031")
else
setsettings("Settings\\Looting\\List\\gold coin\\Id", "0")
end
if lootbodiescount == 0 and Fishing then
fish(7, true)
end</Script>
<SpamRate>800 to 1000</SpamRate>
<Enabled>yes</Enabled>
</Drop-Flask>
<Hur>
<Script>if not hasted and not pzone and maround(8) <= 1 then
cast("utani hur")
wait(3000)
end</Script>
<SpamRate>800 to 1000</SpamRate>
<Enabled>yes</Enabled>
</Hur>
<FurnitureBreak>
<Script>if (standtime > 60000) then
antifurnituretrap()
wait(5000)
end</Script>
<SpamRate>800 to 1000</SpamRate>
<Enabled>yes</Enabled>
</FurnitureBreak>
<Mount>
<Script>if UseMount then
setsettings("Settings\\CaveBot\\Settings\\AutoMount", "yes")
else
setsettings("Settings\\CaveBot\\Settings\\AutoMount", "no")
end</Script>
<SpamRate>800 to 1000</SpamRate>
<Enabled>yes</Enabled>
</Mount>
<SafeBank>
<Script>local MESSAGES = getnewmessages("NPCs")
local MESSAGES_COUNT = MESSAGES.count - 1
for INDEX = 0, MESSAGES_COUNT do
if (MESSAGES[MESSAGES_COUNT - INDEX].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>
</SafeBank>
<Mass-Res-Alarm>
<Script>local MESSAGES = getnewmessages("Local Chat")
local MESSAGES_COUNT = MESSAGES.count - 1
for INDEX = 0, MESSAGES_COUNT do
if (MESSAGES[MESSAGES_COUNT - INDEX].text:find("exura gran mas res")) then
playsound("alert.wav") wait(1000)
end
end</Script>
<SpamRate>800 to 1000</SpamRate>
<Enabled>yes</Enabled>
</Mass-Res-Alarm>
<Unjust-Alarm>
<Script>local MESSAGES = getnewmessages("Server Log")
local MESSAGES_COUNT = MESSAGES.count - 1
for INDEX = 0, MESSAGES_COUNT do
if (MESSAGES[MESSAGES_COUNT - INDEX].text:find("Warning! The murder of .+ was not justified.")) then
updateworld()
while (connected) do
closetibia()
setcavebot("off")
settargeting("off")
wait(5000, 10000)
closetibia()
updateworld() wait(1000, 1200)
end
end
end</Script>
<SpamRate>800 to 1000</SpamRate>
<Enabled>yes</Enabled>
</Unjust-Alarm>
<PlayerAlarm>
<Script>if paround(8) > 0 or standtime > 9000 then
setsettings("Settings\\Looting\\Style","After melee kill")
setsettings("Settings\\Targeting\\Settings\\MustBeShootable","yes")
if standtime > 6000 then
setsettings("Settings\\Targeting\\Settings\\MustBeReachable","yes")
wait(5000)
setsettings("Settings\\Targeting\\Settings\\MustBeReachable","no")
end
else
setsettings("Settings\\Looting\\Style","After all dead")
setsettings("Settings\\Targeting\\Settings\\MustBeShootable","no")
--setsettings("Settings\\Targeting\\Settings\\MustBeReachable","no")
end</Script>
<SpamRate>800 to 1000</SpamRate>
<Enabled>yes</Enabled>
</PlayerAlarm>
<Softboots>
<Script>local DEFAULT_BOOTS = 'boots of haste' --Name of normal boots
local CONSIDER_TYPE = 1 --[[ 1 = mp pc, 2 = hp pc, 3 = mp exact, 4 = hp exact ]]
local CONSIDER_EQUIP = {40, 90} -- Value to equip soft boots
local CONSIDER_UNEQUIP = {99, 100} -- Value to unequip soft boots
--[[ ENGINE ]]
local SCRIPT_INFO = "Name: Soft Boots Changer/nVersion: 1.2.0 beta/nAuthor: sirmate"
local NORMAL_BOOTS_ID = itemid(DEFAULT_BOOTS)
local RANDOM_EQUIP = math.random(CONSIDER_EQUIP[1], CONSIDER_EQUIP[2])
local RANDOM_UNEQUIP = math.random(CONSIDER_UNEQUIP[1], CONSIDER_UNEQUIP[2])
local HP_MP_VALUES = {mppc, hppc, mp, hp}
if (boots == 3549) and (pzone == true or HP_MP_VALUES[CONSIDER_TYPE] >= RANDOM_UNEQUIP) then
if (itemcount(DEFAULT_BOOTS) > 0) then
moveitems(NORMAL_BOOTS_ID, "all", "Boots", 1)
wait(1100, 1200)
else
moveitems(boots, "Boots", "all", 1)
wait(1000, 1200)
end
elseif (boots == 6530 or boots == 0) then
if (HP_MP_VALUES[CONSIDER_TYPE] <= RANDOM_EQUIP) and (pzone == false) and (itemcount(6529) > 0) then
moveitems(6529, "all", "Boots", 1)
wait(1000, 1200)
elseif (itemcount(NORMAL_BOOTS_ID) > 0) then
moveitems(NORMAL_BOOTS_ID, "all", "Boots", 1)
wait(1000, 1200)
elseif (boots > 0) then
moveitems(boots, "Boots", "all", 1)
wait(1000, 1200)
end
elseif (boots == NORMAL_BOOTS_ID) and (HP_MP_VALUES[CONSIDER_TYPE] <= RANDOM_EQUIP) and (pzone == false) and (itemcount(6529) > 0) then
moveitems(6529, "all", "Boots", 1)
wait(1000, 1200)
end</Script>
<SpamRate>800 to 1000</SpamRate>
<Enabled>yes</Enabled>
</Softboots>
<ManaWalk>
<Script>if (maround(7) == 0) and (lootbodiescount == 0) then
setsettings("Settings\\Healer\\Rules\\GMP\\ManaRange", "0 to 85 %")
else
setsettings("Settings\\Healer\\Rules\\GMP\\ManaRange", "0 to 55 %")
end</Script>
<SpamRate>800 to 1000</SpamRate>
<Enabled>yes</Enabled>
</ManaWalk>
<RefillChecker>
<Script>if (itemcount(PotID) <= Mana_Check) or (cap < CapToLeave) or (itemcount(RuneID) <= Rune_Check) then
if posz == 5 then
setlooting("no")
setsettings("Settings\\Actions\\List\\Hur\\Enabled","yes")
setsettings("Settings\\Targeting\\Monsters\\Dragon Lord\\OnlyIfTrapped","yes")
setsettings("Settings\\Targeting\\Monsters\\Frost Dragon\\OnlyIfTrapped","yes")
setsettings("Settings\\Targeting\\Monsters\\Dragon\\OnlyIfTrapped","yes")
setsettings("Settings\\Targeting\\Monsters\\Frost Dragon Hatchling\\OnlyIfTrapped","yes")
gotolabel("leave_cave")
wait(1000)
setsettings("Settings\\Alerts\\Player\\OnScreen\\PlaySound", "no")
setsettings("Settings\\Alerts\\StandTime\\PlaySound", "no")
setsettings("Settings\\Alerts\\Disconnect\\PlaySound", "no")
setsettings("Settings\\Actions\\List\\RefillChecker\\Enabled", "no")
end
if posz ~= 5 then
setlooting("no")
setsettings("Settings\\Actions\\List\\Hur\\Enabled","yes")
setsettings("Settings\\Targeting\\Monsters\\Dragon Lord\\OnlyIfTrapped","yes")
setsettings("Settings\\Targeting\\Monsters\\Frost Dragon\\OnlyIfTrapped","yes")
setsettings("Settings\\Targeting\\Monsters\\Dragon\\OnlyIfTrapped","yes")
setsettings("Settings\\Targeting\\Monsters\\Frost Dragon Hatchling\\OnlyIfTrapped","yes")
gotolabel("f21")
wait(1000)
setsettings("Settings\\Alerts\\Player\\OnScreen\\PlaySound", "no")
setsettings("Settings\\Alerts\\StandTime\\PlaySound", "no")
setsettings("Settings\\Alerts\\Disconnect\\PlaySound", "no")
setsettings("Settings\\Actions\\List\\RefillChecker\\Enabled", "no")
end
end</Script>
<SpamRate>800 to 1000</SpamRate>
<Enabled>no</Enabled>
</RefillChecker>
<exoriFrigoVis>
<Script>--[[ CONFIG START ]]--
RULES = RULES or {
{
CREATURES = CREATURES or {
"Dragon Lord",
},
SPELLS = SPELLS or {
{
ATTACK = "exori frigo",
ENABLED = true,
HPPC = 0,
MIN_MOB = 1,
DIST = 3,
CONSIDER_PLAYERS = false,
},
{
ATTACK = "exori gran frigo",
ENABLED = true,
HPPC = 0,
MIN_MOB = 1,
DIST = 3,
CONSIDER_PLAYERS = false,
},
{
ATTACK = "avalanche rune",
ENABLED = true,
HPPC = 0,
MIN_MOB = 2,
DIST = 5,
CONSIDER_PLAYERS = PVP,
},
{
ATTACK = "Exevo Gran Mas Frigo",
ENABLED = true,
HPPC = 0,
MIN_MOB = 3,
DIST = 4,
CONSIDER_PLAYERS = PVP,
},
},
},
{
CREATURES = CREATURES or {
"Frost Dragon",
"Frost Dragon Hatchling"
},
SPELLS = SPELLS or {
{
ATTACK = "exori vis",
ENABLED = false,
HPPC = 0,
MIN_MOB = 1,
DIST = 3,
CONSIDER_PLAYERS = false,
},
},
},
}
--[[ CONFIG END ]]--
SCRIPT = SCRIPT or {
AUTHOR = "soder",
VERSION = "1.0",
NAME = "Spell/Rune shooter",
}
-- DO NOT TOUCH BELOW UNLESS YOU KNOW WHAT YOURE ACTUALLY DOING --
AREA_RUNES = AREA_RUNES or {"great fireball rune","stoneshower rune","avalanche rune","thunderstorm rune"}
if target.id > 0 then
for i = #RULES, 1, -1 do
for j = #RULES[i].SPELLS, 1, -1 do
if (RULES[i].SPELLS[j].ENABLED) and (table.find(RULES[i].CREATURES,target.name)) and (target.isshootable) then
if (target.dist <= RULES[i].SPELLS[j].DIST) and (itemcount(RULES[i].SPELLS[j].ATTACK) > 0) and (table.find(AREA_RUNES,RULES[i].SPELLS[j].ATTACK)) and (target.hppc >= RULES[i].SPELLS[j].HPPC) and (maround(5, false, unpack(RULES[i].CREATURES)) >= RULES[i].SPELLS[j].MIN_MOB) and (not(RULES[i].SPELLS[j].CONSIDER_PLAYERS) or ((paround(10,true) == 0) and (lasttimeplayeronscreen >= 10000))) then
while (Self.CoolDown(SPELL_GROUP_ATTACK) == 0) and (itemcount(RULES[i].SPELLS[j].ATTACK) > 0) and (shootarearune(RULES[i].SPELLS[j].ATTACK, RULES[i].SPELLS[j].MIN_MOB,unpack(RULES[i].CREATURES))) do
shootarearune(RULES[i].SPELLS[j].ATTACK, RULES[i].SPELLS[j].MIN_MOB,unpack(RULES[i].CREATURES)) System.Wait(150, 200)
updateworld()
end
break
elseif (target.dist <= RULES[i].SPELLS[j].DIST) and not (table.find(AREA_RUNES,RULES[i].SPELLS[j].ATTACK)) and (target.hppc >= RULES[i].SPELLS[j].HPPC) and (maround(5, false, unpack(RULES[i].CREATURES)) >= RULES[i].SPELLS[j].MIN_MOB) and (not(RULES[i].SPELLS[j].CONSIDER_PLAYERS) or ((paround(10,true) == 0) and (lasttimeplayeronscreen >= 10000))) and (cancast(RULES[i].SPELLS[j].ATTACK)) then
cast(RULES[i].SPELLS[j].ATTACK)
System.Wait(Self.CoolDown(SPELL_GROUP_ATTACK))
break
end
end
end
end
end</Script>
<SpamRate>800 to 1000</SpamRate>
<Enabled>yes</Enabled>
</exoriFrigoVis>
<SSonDEATH>
<Script>local printscreen = true
if hppc == 0 then
if (printscreen == true) then
screenshot()
end
printscreen = false
else
printscreen = true
end</Script>
<SpamRate>800 to 1000</SpamRate>
<Enabled>yes</Enabled>
</SSonDEATH>
<update>
<Script>updateworld()
</Script>
<SpamRate>10000 to 12000</SpamRate>
<Enabled>no</Enabled>
</update>
<settargeting>
<Script>if maround(8) >= 2 then
setsettings("Settings\\Targeting\\Monsters\\Dragon Lord\\ListSettings\\Setting0\\Distance", "5")
else
setsettings("Settings\\Targeting\\Monsters\\Dragon Lord\\ListSettings\\Setting0\\Distance", "3")
end
if (target.id ~= 0) and (target.name == "Frost Dragon Hatchling" or target.name == "Frost Dragon") and (target.isshootable) and (target.dist <= 3) then
if cancast('exori vis') then
cast('exori vis')
end
end </Script>
<SpamRate>800 to 1000</SpamRate>
<Enabled>yes</Enabled>
</settargeting>
<ToolChanger>
<Script>local items = {"dragon scale mail", "royal helmet", "dragon slayer", "dragon lord trophy", "tower shield", "spellbook of enlightenment", "fire sword", "shard"}
local MESSAGES = getnewmessages("Server Log")
local MESSAGES_COUNT = MESSAGES.count - 1
if (lootbodiescount > 0) then
for INDEX = 0, MESSAGES_COUNT do
for k = 1, #items do
if (MESSAGES[MESSAGES_COUNT - INDEX].text:find(items[k])) then
settargeting("off")
stopattack()
setsettings("Settings\\Looting\\Style", "After melee kill")
wait(3000)
end
end
end
else
settargeting("on")
setsettings("Settings\\Looting\\Style", "After all dead")
end</Script>
<SpamRate>200 to 300</SpamRate>
<Enabled>yes</Enabled>
</ToolChanger>
</List>
<Setup>--________________ Settings ___________________
SoftbootsRefill = true
PVP = false
UseMount = true
CapToLeave = 150
Frosts = true
LootGold = true
CapForGold = 150 -- [how many cap to dont loot gold]
--_____________ Backpack Setup ______________
MainBPname = "purple backpack"
LootBPname = "brocade backpack"
GoldBPname = "golden backpack"
SupplyBPname = "dragon backpack"
--______________ Depot Setup ________________
MainDepotname = "Red Backpack"
LootDepotname = "Blue Backpack"
AddonDepotname = "Purple Backpack"
OtherBPname = "Pirate backpack "
--________________ Others ___________________
ManaName = "great mana potion"
ManaBuy = 350
Mana_Check = 50
RuneName = "avalanche rune"
RuneBuy = 200
Rune_Check = 50
--___________ Extras (Don't touch) ______________
PotID = itemid(ManaName)
PotPrice = itemcost(ManaName)
RuneID = itemid(RuneName)
RunePrice = 45
function __itemcount(ITEM_ID, LOCATION)
local ITEM_ID = type(ITEM_ID) ~= "number" and itemid(ITEM_ID) or ITEM_ID
local ITEM_COUNT = itemcount(ITEM_ID, LOCATION)
if (weapon == ITEM_ID) then
ITEM_COUNT = ITEM_COUNT + weaponamount
elseif (ammo == ITEM_ID) then
ITEM_COUNT = ITEM_COUNT + ammoamount
end
return ITEM_COUNT
end</Setup>
<Enabled>yes</Enabled>
<Library>Standard;SIRMATE</Library>
</Actions>
<CaveBot>
<Waypoints>
<GPS>Action 33025 31453 11</GPS>
<set_town>Action 33025 31453 11 setsettings("Settings\\Alerts\\Player\\OnScreen\\PlaySound", "no");setsettings("Settings\\Alerts\\StandTime\\PlaySound", "no");setsettings("Settings\\Alerts\\Disconnect\\PlaySound", "no");setsettings("Settings\\Actions\\List\\Hur\\Enabled", "no");setsettings("Settings\\CaveBot\\Settings\\OpenNextBp", "no");setsettings("Settings\\CaveBot\\Pathfinding\\WalkThroughPlayers", "no");setsettings("Settings\\Actions\\List\\Mount\\Enabled", "yes");setsettings("Settings\\Actions\\List\\RefillChecker\\Enabled", "no");setlooting("off");; setsettings("Settings\\Targeting\\Monsters\\Dragon Lord\\OnlyIfTrapped","yes"); setsettings("Settings\\Targeting\\Monsters\\Frost Dragon\\OnlyIfTrapped","yes"); setsettings("Settings\\Targeting\\Monsters\\Dragon\\OnlyIfTrapped","yes"); setsettings("Settings\\Targeting\\Monsters\\Frost Dragon Hatchling\\OnlyIfTrapped","yes");;</set_town>
<depo>Stand 33025 31453 11</depo>
<w003>Action 33026 31452 11 closewindows();setsettings("Settings\\Cavebot\\Settings\\OpenNextBp","no");;while windowcount() < 2 do;closewindows();wait(1000,2000);openitem(MainBPname, "back", true);wait(1000,2000);openitem(LootBPname, MainBPname, true);wait(1000,2000);end;openitem(MainBPname, "back");;;;;;</w003>
<w004>Action 33026 31452 11 while (windowcount("Locker") ==0) do ; reachgrounditem("depot") ; openitem("depot"); wait(700,900);end;;while (windowcount("Depot Chest") == 0) do; openitem(3502, "locker"); wait(800,1000);end;; openitem(MainDepotname, "Depot Chest", false); wait(800,1000);;local DEPOSIT_ITEMS, NOT_STACKABLE_LAST_ON_TO, ITEM_INDEX = {"dragon scale mail", "royal helmet", "dragon slayer", "dragon lord trophy", "tower shield", "spellbook of enlightenment", "fire sword", "shard", "ice rapier", "strange helmet", "red dragon scale", "frosty heart", "golden mug", "small sapphire", "red dragon leather", "strong health potion", "life crystal", "health potion"}, 0, 1;;while (#DEPOSIT_ITEMS >= ITEM_INDEX) do; if (type(DEPOSIT_ITEMS[ITEM_INDEX]) == [[string]]) then; local ITEM_ID = itemid(DEPOSIT_ITEMS[ITEM_INDEX]); ; if (ITEM_ID > 0) then; DEPOSIT_ITEMS[ITEM_INDEX], ITEM_INDEX = ITEM_ID, ITEM_INDEX + 1; else; table.remove(DEPOSIT_ITEMS, ITEM_INDEX); end; elseif (type(DEPOSIT_ITEMS[ITEM_INDEX]) == [[number]]) then; if (DEPOSIT_ITEMS[ITEM_INDEX] > 0) then; ITEM_INDEX = ITEM_INDEX + 1; else; table.remove(DEPOSIT_ITEMS, ITEM_INDEX); end; else; table.remove(DEPOSIT_ITEMS, ITEM_INDEX); end;end;;while (true) do; for _, DEPOSIT_ITEM in ipairs(DEPOSIT_ITEMS) do; local NEXT_ITEM = true; ; if (itemcount(DEPOSIT_ITEM, LootBPname) > 0) then; if (itemproperty(DEPOSIT_ITEM).isCumulative) then; local STACKABLE_LAST_ON_TO = 0; ; while (5 > STACKABLE_LAST_ON_TO) do; local ITEM_COUNT_BEFORE = itemcount(DEPOSIT_ITEM, LootBPname); ; moveitemsonto(DEPOSIT_ITEM, "all", AddonDepotname, 100, STACKABLE_LAST_ON_TO) wait(500, 1000); ; local ITEM_COUNT_AFTER = itemcount(DEPOSIT_ITEM, LootBPname); ; if (ITEM_COUNT_BEFORE == ITEM_COUNT_AFTER and ITEM_COUNT_AFTER > 0) then; STACKABLE_LAST_ON_TO = STACKABLE_LAST_ON_TO + 1; elseif (ITEM_COUNT_AFTER == 0) then; break; end; end; else; while (15 > NOT_STACKABLE_LAST_ON_TO) do; local ITEM_COUNT_BEFORE = itemcount(DEPOSIT_ITEM, LootBPname); ; moveitemsonto(DEPOSIT_ITEM, "all", LootDepotname, 100, NOT_STACKABLE_LAST_ON_TO) wait(500, 1000); ; local ITEM_COUNT_AFTER = itemcount(DEPOSIT_ITEM, LootBPname); ; if (ITEM_COUNT_BEFORE == ITEM_COUNT_AFTER and ITEM_COUNT_AFTER > 0) then; NOT_STACKABLE_LAST_ON_TO = NOT_STACKABLE_LAST_ON_TO + 1; elseif (ITEM_COUNT_AFTER == 0) then; break; end; end; end; end; end; ; if (itemcount(LootBPname, LootBPname) == 0) then; break; else; openitem(LootBPname, LootBPname, false) wait(2000, 3000); end; ; wait(100);end;setsettings("Settings\\Cavebot\\Pathfinding\\WalkThroughPlayers","no");;;;;;;</w004>
<w005>Action 33026 31452 11 setsettings("Settings\\Cavebot\\Settings\\OpenNextBp","no");;setsettings("Settings\\Cavebot\\Pathfinding\\WalkThroughPlayers","yes");;while windowcount() < 4 do;closewindows();wait(1000,2000);openitem(MainBPname, "back", true);wait(1000,2000);resizewindows();wait(1000,2000);openitem(SupplyBPname, MainBPname, true);wait(1000,2000);resizewindows();openitem(LootBPname, MainBPname, true);wait(1000,2000);resizewindows();openitem(GoldBPname, MainBPname, true);wait(1000,2000);resizewindows();end;;;;;;;</w005>
<f1>Stand 33020 31459 11</f1>
<w007>Stand 33019 31459 11</w007>
<w008>Action 33018 31459 10 if islocation(2) then;return;else;gotolabel("f1");end;</w008>
<w009>Stand 33012 31481 10</w009>
<f2>Stand 33012 31487 10</f2>
<w011>Use 33012 31488 10</w011>
<w012>Stand 33012 31492 10</w012>
<w013>Action 33012 31492 10 if islocation() then;moveitems(6530, "boots", MainBPname, 1);local Currentsofts = (itemcount(6530) * 10000) + 1000;local mana = positive(ManaBuy - itemcount(ManaName)) * PotPrice;local Rune = positive(RuneBuy - itemcount(RuneName)) * RunePrice;local Others = 3000;local Total = mana + Currentsofts + Others + Rune;;say("hi");wait(1500,1700);npcsay("deposit all");wait(1000,1200);npcsay("yes");wait(1200,1300);;if Total > 0 then; npcsay("withdraw "..Total); wait(500,800); npcsay("yes"); wait(500,800); npcsay("balance");end;setsettings("Settings\\Cavebot\\Settings\\OpenNextBp","yes");;;;else;gotolabel("f2");end;;</w013>
<f3>Stand 33009 31492 10</f3>
<w015>Use 33008 31492 10</w015>
<w016>Stand 33007 31492 10</w016>
<w017>Action 33007 31492 10 if islocation() then;return;else;gotolabel("f3");end;</w017>
<w018>Node 33002 31502 10</w018>
<w019>Node 33009 31518 10</w019>
<f4>Stand 33010 31538 10</f4>
<w021>Use 33010 31537 10</w021>
<w022>Stand 33009 31534 10</w022>
<w023>Action 33009 31534 10 if islocation() then;;wait(1000);sellflasks();wait(500);;local CurrentManas = itemcount(ManaName);local CurrentRune = itemcount(RuneName);;wait(500);amountMana = ManaBuy - CurrentManas ;amountRune = RuneBuy - CurrentRune ;;;while amountMana > 0 do ;buyitems(ManaName, amountMana) ;wait(500,1000) ;moveitems(ManaName,SupplyBPname, 100) ;wait(300,400) ;amountMana = amountMana-100;end;;while amountRune > 0 do ;buyitems(RuneName, amountRune) ;wait(500,1000) ;moveitems(RuneName,SupplyBPname, 100) ;wait(300,400) ;amountRune = amountRune-100;end;;;;else;gotolabel("f4");end;</w023>
<f5>Stand 33010 31536 10</f5>
<w025>Use 33010 31537 10</w025>
<w026>Stand 33010 31538 10</w026>
<w027>Action 33010 31538 10 if islocation() then;if (itemcount(6530) > 0) or (itemcount(ManaName)+10 < ManaBuy) or (itemcount(RuneName)+10 < RuneBuy) then; gotolabel("f2");end;else;gotolabel("f5");end;</w027>
<w028>Node 33021 31535 10</w028>
<w029>Node 33041 31534 10</w029>
<w030>Node 33058 31531 10</w030>
<f6>Stand 33062 31530 10</f6>
<w032>Use 33062 31529 10</w032>
<w033>Stand 33061 31527 10</w033>
<w034>Action 33061 31527 10 if islocation() then;uselever(33062,31527,10,2773);wait(500);uselever(33062,31527,10,2772);else;gotolabel("f6");end;</w034>
<w035>Action 32993 31547 4 if islocation() then;setsettings("Settings\\Actions\\List\\Hur\\Enabled", "yes");else;gotolabel("f6");end;</w035>
<f7>Stand 32999 31555 4</f7>
<w037>Stand 33004 31558 4</w037>
<w038>Stand 33008 31555 5</w038>
<w039>Action 33008 31555 5 if islocation() then;levitate("n", "up");else;gotolabel("f7");end;;;</w039>
<f8>Stand 33013 31555 4</f8>
<w041>Action 33013 31556 5 if islocation() then;return;else;gotolabel("f8");end</w041>
<f9>Stand 33026 31548 5</f9>
<w043>Action 33026 31548 5 if islocation() then;levitate("e", "down");else;gotolabel("f9");end</w043>
<f10>Node 33034 31547 6</f10>
<w045>Node 33044 31553 6</w045>
<w046>Node 33055 31549 6</w046>
<w047>Node 33066 31543 6</w047>
<w048>Node 33074 31536 6</w048>
<w049>Stand 33080 31533 6</w049>
<w050>Action 33080 31533 6 if islocation(3) then;return;else;gotolabel("f9");end</w050>
<f11>Stand 33081 31533 6</f11>
<w052>Action 33082 31533 7 if islocation() then;return;else;gotolabel("f10");end</w052>
<w053>Node 33088 31529 7</w053>
<w054>Node 33101 31516 7</w054>
<w055>Node 33107 31501 7</w055>
<w056>Node 33109 31487 7</w056>
<w057>Node 33114 31475 7</w057>
<w058>Node 33112 31458 7</w058>
<f12>Node 33110 31439 7</f12>
<w060>Node 33105 31425 7</w060>
<w061>Node 33106 31412 7</w061>
<w062>Node 33107 31397 7</w062>
<w063>Node 33108 31384 7</w063>
<w064>Node 33107 31373 7</w064>
<w065>Node 33121 31372 7</w065>
<w066>Node 33138 31372 7</w066>
<w067>Node 33156 31372 7</w067>
<w068>Node 33169 31371 7</w068>
<w069>Node 33180 31373 7</w069>
<w070>Node 33194 31372 7</w070>
<w071>Stand 33198 31350 7</w071>
<w072>Action 33198 31350 7 if islocation(3) then;return;else;gotolabel("f12");end</w072>
<f13>Stand 33198 31348 7</f13>
<w074>Stand 33198 31345 6</w074>
<w075>Stand 33145 31249 6</w075>
<w076>Action 33145 31250 7 if islocation() then;return;else;gotolabel("f13");end</w076>
<f14>Node 33154 31255 7</f14>
<w078>Node 33170 31259 7</w078>
<w079>Node 33174 31271 7</w079>
<w080>Node 33166 31277 7</w080>
<w081>Node 33155 31282 7</w081>
<w082>Node 33142 31283 7</w082>
<w083>Stand 33136 31286 7</w083>
<w084>Action 33136 31286 7 if islocation(3) then;return;else;gotolabel("f14");end</w084>
<f15>Stand 33136 31287 7</f15>
<w086>Stand 33136 31289 6</w086>
<w087>Action 33136 31290 5 if islocation(25) then;setsettings("Settings\\Alerts\\Player\\OnScreen\\PlaySound", "yes");setsettings("Settings\\Alerts\\StandTime\\PlaySound", "yes");setsettings("Settings\\Alerts\\Disconnect\\PlaySound", "yes");setsettings("Settings\\Actions\\List\\Hur\\Enabled", "yes");setsettings("Settings\\CaveBot\\Settings\\OpenNextBp", "yes");setsettings("Settings\\CaveBot\\Pathfinding\\WalkThroughPlayers", "yes");setsettings("Settings\\Actions\\List\\Mount\\Enabled", "yes");setsettings("Settings\\Actions\\List\\RefillChecker\\Enabled", "yes");setlooting("on"); setsettings("Settings\\Targeting\\Monsters\\Dragon Lord\\OnlyIfTrapped","no"); setsettings("Settings\\Targeting\\Monsters\\Frost Dragon\\OnlyIfTrapped","no"); setsettings("Settings\\Targeting\\Monsters\\Dragon\\OnlyIfTrapped","no"); setsettings("Settings\\Targeting\\Monsters\\Frost Dragon Hatchling\\OnlyIfTrapped","no");;else;gotolabel("f15");end</w087>
<hunt>Stand 33136 31291 5</hunt>
<w089>Stand 33144 31288 5</w089>
<w090>Stand 33152 31291 5</w090>
<w091>Stand 33143 31312 5</w091>
<w092>Stand 33139 31318 5</w092>
<f16>Stand 33131 31329 5</f16>
<w094>Stand 33130 31320 5</w094>
<w095>Action 33130 31320 5 if islocation() then;return;else;gotolabel("f16");end</w095>
<w096>Action 33133 31320 4 if Frosts then;return;else;gotolabel("done_frost");end</w096>
<f17>Stand 33131 31320 5</f17>
<w098>Stand 33133 31320 4</w098>
<w099>Action 33133 31320 4 if islocation(20) then;return;else;gotolabel("f17");end</w099>
<w100>Stand 33134 31303 4</w100>
<f18>Stand 33135 31306 4</f18>
<w102>Stand 33134 31306 4</w102>
<w103>Action 33132 31306 3 if islocation(15) then;return;else;gotolabel("f18");end</w103>
<f19>Stand 33133 31302 3</f19>
<w105>Stand 33134 31302 3</w105>
<w106>Action 33136 31302 2 if islocation(15) then;return;else;gotolabel("f19");end</w106>
<f20>Stand 33137 31309 2</f20>
<w108>Stand 33136 31309 2</w108>
<w109>Action 33135 31309 1 if islocation(15) then;return;else;gotolabel("f20");end</w109>
<w110>Stand 33134 31305 1</w110>
<f21>Stand 33136 31309 1</f21>
<w112>Stand 33134 31302 2</w112>
<w113>Stand 33134 31306 3</w113>
<w114>Stand 33135 31306 4</w114>
<w115>Action 33135 31306 4 if islocation(10) then;return;else;gotolabel("f21");end;</w115>
<f22>Stand 33133 31320 4</f22>
<w117>Stand 33131 31320 4</w117>
<w118>Action 33130 31320 5 if islocation(25) then;return;else;gotolabel("f22");end;</w118>
<done_frost>Stand 33119 31312 5</done_frost>
<w120>Stand 33121 31303 5</w120>
<w121>Stand 33135 31303 5</w121>
<w122>Stand 33133 31310 5</w122>
<w123>Stand 33124 31298 5</w123>
<w124>Stand 33132 31293 5</w124>
<w125>Action 33132 31293 5 if (itemcount(PotID) <= Mana_Check) or (cap < CapToLeave) or (itemcount(RuneID) <= Rune_Check) then; setlooting("no"); setsettings("Settings\\Actions\\List\\Hur\\Enabled","yes"); setsettings("Settings\\Targeting\\Monsters\\Dragon Lord\\OnlyIfTrapped","yes"); setsettings("Settings\\Targeting\\Monsters\\Frost Dragon\\OnlyIfTrapped","yes"); setsettings("Settings\\Targeting\\Monsters\\Dragon\\OnlyIfTrapped","yes"); setsettings("Settings\\Targeting\\Monsters\\Frost Dragon Hatchling\\OnlyIfTrapped","yes"); gotolabel("leave_cave");setsettings("Settings\\Alerts\\Player\\OnScreen\\PlaySound", "no");setsettings("Settings\\Alerts\\StandTime\\PlaySound", "no");setsettings("Settings\\Alerts\\Disconnect\\PlaySound", "no");setsettings("Settings\\Actions\\List\\RefillChecker\\Enabled", "no");;else;gotolabel("hunt");end</w125>
<leave_cave>Stand 33136 31290 5</leave_cave>
<w127>Stand 33136 31289 5</w127>
<w128>Stand 33136 31287 6</w128>
<w129>Action 33136 31286 7 if islocation(15) then;return;else;gotolabel("leave_cave");end;</w129>
<w130>Node 33153 31281 7</w130>
<w131>Node 33167 31277 7</w131>
<w132>Node 33176 31269 7</w132>
<f23>Node 33168 31257 7</f23>
<w134>Node 33155 31255 7</w134>
<w135>Stand 33145 31251 7</w135>
<w136>Stand 33145 31249 7</w136>
<w137>Stand 33145 31246 6</w137>
<w138>Stand 33198 31348 6</w138>
<w139>Action 33198 31349 7 if islocation(15) then;return;else;gotolabel("f23");end;</w139>
<f25>Node 33190 31355 7</f25>
<w141>Node 33180 31372 7</w141>
<w142>Node 33168 31383 7</w142>
<w143>Node 33159 31392 7</w143>
<w144>Node 33149 31400 7</w144>
<w145>Node 33141 31411 7</w145>
<w146>Node 33135 31423 7</w146>
<w147>Node 33126 31439 7</w147>
<w148>Node 33115 31446 7</w148>
<w149>Node 33115 31458 7</w149>
<w150>Node 33112 31474 7</w150>
<w151>Node 33105 31486 7</w151>
<w152>Node 33105 31504 7</w152>
<w153>Node 33097 31513 7</w153>
<w154>Node 33088 31529 7</w154>
<w155>Stand 33082 31533 7</w155>
<w156>Action 33082 31533 7 if islocation(15) then;return;else;gotolabel("f25");end;</w156>
<f26>Stand 33081 31533 7</f26>
<w158>Node 33073 31539 6</w158>
<w159>Node 33065 31546 6</w159>
<w160>Node 33053 31553 6</w160>
<w161>Node 33039 31548 6</w161>
<f27>Stand 33027 31549 6</f27>
<w163>Action 33027 31549 6 if islocation() then;levitate("w", "up");else;gotolabel("f27");end;</w163>
<w164>Action 33026 31549 5 if islocation(5) then;return;else;gotolabel("f27");end;</w164>
<w165>Node 33018 31554 5</w165>
<f28>Stand 33013 31556 5</f28>
<w167>Stand 33008 31554 4</w167>
<w168>Stand 33013 31555 5</w168>
<w169>Action 33008 31554 4 if islocation() then;levitate("s", "down");else;gotolabel("f28");end;</w169>
<f29>Stand 33005 31557 5</f29>
<w171>Stand 33004 31557 5</w171>
<w172>Stand 32994 31552 4</w172>
<w173>Stand 32993 31547 4</w173>
<w174>Action 32993 31547 4 if islocation() then;uselever(32994,31547,4,2773);wait(500);uselever(32994,31547,4,2772);else;gotolabel("f29");end;</w174>
<w175>Action 33061 31527 10 if islocation(5) then;return;else;gotolabel("f29");end;</w175>
<f30>Stand 33062 31528 10</f30>
<w177>Use 33062 31529 10</w177>
<w178>Stand 33062 31530 10</w178>
<w179>Action 33062 31530 10 if islocation() then;return;else;gotolabel("f30");end;</w179>
<w180>Node 33052 31532 10</w180>
<w181>Node 33038 31535 10</w181>
<w182>Node 33022 31527 10</w182>
<w183>Node 33009 31523 10</w183>
<f31>Node 33002 31506 10</f31>
<w185>Node 33006 31492 10</w185>
<w186>Node 33015 31482 10</w186>
<w187>Node 33018 31469 10</w187>
<w188>Stand 33018 31459 10</w188>
<w189>Action 33018 31459 10 if islocation(5) then;return;else;gotolabel("f31");end;</w189>
<f32>Stand 33019 31459 10</f32>
<w191>Action 33020 31459 11 if islocation(5) then;return;else;gotolabel("f32");end;</w191>
</Waypoints>
<Pathfinding>
<SpecialAreas>
<NewArea0>
<Coordinates>33131 31293 5</Coordinates>
<Dimensions>1 3</Dimensions>
<ConsideredBy>Target</ConsideredBy>
</NewArea0>
<NewArea1>
<Coordinates>33150 31295 5</Coordinates>
<Dimensions>3 1</Dimensions>
<ConsideredBy>Target</ConsideredBy>
</NewArea1>
<NewArea2>
<Coordinates>33142 31311 5</Coordinates>
<Dimensions>3 1</Dimensions>
<ConsideredBy>Target</ConsideredBy>
</NewArea2>
<NewArea3>
<Coordinates>33129 31327 5</Coordinates>
<Dimensions>3 1</Dimensions>
<ConsideredBy>Target</ConsideredBy>
</NewArea3>
<NewArea4>
<Coordinates>33119 31309 5</Coordinates>
<Dimensions>3 1</Dimensions>
<ConsideredBy>Target</ConsideredBy>
</NewArea4>
<NewArea5>
<Coordinates>33126 31302 5</Coordinates>
<Dimensions>1 5</Dimensions>
<ConsideredBy>Target</ConsideredBy>
</NewArea5>
<NewArea6>
<Coordinates>33138 31307 2</Coordinates>
<Dimensions>1 1</Dimensions>
<ConsideredBy>Target</ConsideredBy>
</NewArea6>
<NewArea7>
<Coordinates>33131 31310 1</Coordinates>
<Dimensions>1 1</Dimensions>
<ConsideredBy>Target</ConsideredBy>
</NewArea7>
<NewArea8>
<Coordinates>33131 31302 1</Coordinates>
<Dimensions>1 1</Dimensions>
<ConsideredBy>Target</ConsideredBy>
</NewArea8>
<NewArea9>
<Coordinates>33134 31299 1</Coordinates>
<Dimensions>1 1</Dimensions>
<ConsideredBy>Target</ConsideredBy>
</NewArea9>
<NewArea10>
<Coordinates>33140 31298 1</Coordinates>
<Dimensions>1 1</Dimensions>
<ConsideredBy>Target</ConsideredBy>
</NewArea10>
<NewArea11>
<Coordinates>33137 31317 4</Coordinates>
<Dimensions>1 1</Dimensions>
<ConsideredBy>Target</ConsideredBy>
</NewArea11>
<NewArea12>
<Coordinates>33133 31326 4</Coordinates>
<Dimensions>1 1</Dimensions>
<ConsideredBy>Target</ConsideredBy>
</NewArea12>
</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>0</Rope>
<Shovel>0</Shovel>
<Pick>0</Pick>
<Machete>0</Machete>
<NodeRange>4</NodeRange>
<Priority>Target</Priority>
<OpenNextBp>yes</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>yes</Enabled>
</CaveBot>
<Looting>
<List>
<dragon-scale-mail>
<Id>3386</Id>
<Destination>2</Destination>
<AlarmOn>No Alarm</AlarmOn>
</dragon-scale-mail>
<royal-helmet>
<Id>3392</Id>
<Destination>2</Destination>
<AlarmOn>No Alarm</AlarmOn>
</royal-helmet>
<dragon-slayer>
<Id>7402</Id>
<Destination>2</Destination>
<AlarmOn>No Alarm</AlarmOn>
</dragon-slayer>
<dragon-lord-trophy>
<Id>7399</Id>
<Destination>2</Destination>
<AlarmOn>No Alarm</AlarmOn>
</dragon-lord-trophy>
<tower-shield>
<Id>3428</Id>
<Destination>2</Destination>
<AlarmOn>No Alarm</AlarmOn>
</tower-shield>
<spellbook-of-enlightenment>
<Id>8072</Id>
<Destination>2</Destination>
<AlarmOn>No Alarm</AlarmOn>
</spellbook-of-enlightenment>
<fire-sword>
<Id>3280</Id>
<Destination>2</Destination>
<AlarmOn>No Alarm</AlarmOn>
</fire-sword>
<shard>
<Id>7290</Id>
<Destination>2</Destination>
<AlarmOn>No Alarm</AlarmOn>
</shard>
<ice-rapier>
<Id>3284</Id>
<Destination>2</Destination>
<AlarmOn>No Alarm</AlarmOn>
</ice-rapier>
<strange-helmet>
<Id>3373</Id>
<Destination>2</Destination>
<AlarmOn>No Alarm</AlarmOn>
</strange-helmet>
<red-dragon-scale>
<Id>5882</Id>
<Destination>2</Destination>
<AlarmOn>No Alarm</AlarmOn>
</red-dragon-scale>
<frosty-heart>
<Id>9661</Id>
<Destination>2</Destination>
<AlarmOn>No Alarm</AlarmOn>
</frosty-heart>
<golden-mug>
<Id>2903</Id>
<Destination>2</Destination>
<AlarmOn>No Alarm</AlarmOn>
</golden-mug>
<small-sapphire>
<Id>3029</Id>
<Destination>2</Destination>
<AlarmOn>No Alarm</AlarmOn>
</small-sapphire>
<red-dragon-leather>
<Id>5948</Id>
<Destination>2</Destination>
<AlarmOn>No Alarm</AlarmOn>
</red-dragon-leather>
<strong-health-potion>
<Id>236</Id>
<Destination>2</Destination>
<AlarmOn>No Alarm</AlarmOn>
</strong-health-potion>
<life-crystal>
<Id>3061</Id>
<Destination>2</Destination>
<AlarmOn>No Alarm</AlarmOn>
</life-crystal>
<health-potion>
<Id>266</Id>
<Destination>2</Destination>
<AlarmOn>No Alarm</AlarmOn>
</health-potion>
<gold-coin>
<Id>3031</Id>
<Destination>3</Destination>
<AlarmOn>No Alarm</AlarmOn>
</gold-coin>
</List>
<Condition>Corpses with listed items</Condition>
<Style>After all dead</Style>
<OpenBodyTime>300</OpenBodyTime>
<Range>40</Range>
<EatFood>yes</EatFood>
<Enabled>no</Enabled>
</Looting>
<Targeting>
<Monsters>
<Dragon-Lord>
<Categories>-</Categories>
<Danger>1</Danger>
<ListSettings>
<Setting0>
<Count>Any</Count>
<HpRange>15 to 100 %</HpRange>
<Stance>Keep Away</Stance>
<Avoid>Wave</Avoid>
<Distance>3</Distance>
<Attack>Attack</Attack>
<ListSpell />
<SpellRate>500 to 1000</SpellRate>
<AttackMode>No Change</AttackMode>
</Setting0>
<Setting1>
<Count>Any</Count>
<HpRange>0 to 15 %</HpRange>
<Stance>Reach</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>no</MustAttackMe>
<OnlyIfTrapped>yes</OnlyIfTrapped>
</Dragon-Lord>
<Frost-Dragon>
<Categories>-</Categories>
<Danger>1</Danger>
<ListSettings>
<Setting0>
<Count>Any</Count>
<HpRange>15 to 100 %</HpRange>
<Stance>Keep Away</Stance>
<Avoid>Wave</Avoid>
<Distance>3</Distance>
<Attack>Attack</Attack>
<ListSpell />
<SpellRate>500 to 1000</SpellRate>
<AttackMode>No Change</AttackMode>
</Setting0>
<Setting1>
<Count>Any</Count>
<HpRange>0 to 15 %</HpRange>
<Stance>Reach</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>no</MustAttackMe>
<OnlyIfTrapped>yes</OnlyIfTrapped>
</Frost-Dragon>
<Dragon>
<Categories>-</Categories>
<Danger>0</Danger>
<ListSettings>
<Setting0>
<Count>Any</Count>
<HpRange>0 to 100 %</HpRange>
<Stance>No movement</Stance>
<Avoid>None</Avoid>
<Distance>0</Distance>
<Attack>Attack</Attack>
<ListSpell />
<SpellRate>500 to 1000</SpellRate>
<AttackMode>No Change</AttackMode>
</Setting0>
</ListSettings>
<Looting>yes</Looting>
<MustAttackMe>no</MustAttackMe>
<OnlyIfTrapped>yes</OnlyIfTrapped>
</Dragon>
<Frost-Dragon-Hatchling>
<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>No Change</AttackMode>
</Setting0>
</ListSettings>
<Looting>yes</Looting>
<MustAttackMe>no</MustAttackMe>
<OnlyIfTrapped>yes</OnlyIfTrapped>
</Frost-Dragon-Hatchling>
</Monsters>
<Settings>
<ListOrder>7</ListOrder>
<Health>9</Health>
<Proximity>3</Proximity>
<Danger>8</Danger>
<PlayerOnScreenSecurity>If cavebotting</PlayerOnScreenSecurity>
<CooldownControl>yes</CooldownControl>
<CheckItem>no</CheckItem>
<MustBeReachable>no</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>no</Enabled>
</GeneralInfo>
<monitor_my_hunt>
<Script>-- [[ INIT START ]] --
--
-- 88
-- "" ,d
-- 88
-- ,adPPYba, 88 8b,dPPYba, 88,dPYba,,adPYba, ,adPPYYba, MM88MMM ,adPPYba,
-- I8[ "" 88 88P' "Y8 88P' "88" "8a "" `Y8 88 a8P_____88
-- `"Y8ba, 88 88 88 88 88 ,adPPPPP88 88 8PP"""""""
-- aa ]8I 88 88 88 88 88 88, ,88 88, "8b, ,aa
-- Author: `"YbbdP"' 88 88 88 88 88 `"8bbdP"Y8 "Y888 `"Ybbd8"'
--
-- Monitor My Hunting!
--
-- Version: 1.0
-- Created: 7.09.2012
-- Last update: 18.09.2012
--
MONITOR_MY_HUNTING = MONITOR_MY_HUNTING or {
SCRIPT_NAME = "Monitor My Hunting",
SCRIPT_VERSION = "1.0",
CLEARED_STATS = false,
INITIALIZED = false,
}
MONITOR_MY_HUNTING.SHOW_ALL_ITEMS = false
MONITOR_MY_HUNTING.ITEMS_LIST = {
{NAME = "dragon scale mail", VALUE = 40000},
{NAME = "royal helmet", VALUE = 30000},
{NAME = "dragon slayer", VALUE = 15000},
{NAME = "dragon lord trophy", VALUE = 10000},
{NAME = "tower shield", VALUE = 8000},
{NAME = "spellbook of enlightenment", VALUE = 4000},
{NAME = "fire sword", VALUE = 4000},
{NAME = "shard", VALUE = 2000},
{NAME = "ice rapier", VALUE = 1000},
{NAME = "strange helmet", VALUE = 500},
{NAME = "red dragon scale", VALUE = 400},
{NAME = "frosty heart", VALUE = 280},
{NAME = "golden mug", VALUE = 250},
{NAME = "small sapphire", VALUE = 250},
{NAME = "red dragon leather", VALUE = 200},
{NAME = "strong health potion", VALUE = 100},
{NAME = "life crystal", VALUE = 85},
{NAME = "health potion", VALUE = 45},
{NAME = "gold coin", VALUE = 1},
}
MONITOR_MY_HUNTING.SHOW_ALL_SUPPLIES = false
MONITOR_MY_HUNTING.SUPPLIES_LIST = {
{NAME = "strong mana potion", PRICE = 80},
{NAME = "great mana potion", PRICE = 120},
{NAME = "mana potion", PRICE = 50},
{NAME = "avalanche rune", PRICE = 45},
}
-- [[ DO NOT CHANGE ANYTHING BELOW THIS LINE. ]] --
MONITOR_MY_HUNTING.TEMP_ITEMS_LIST = MONITOR_MY_HUNTING.TEMP_ITEMS_LIST or {}
MONITOR_MY_HUNTING.TEMP_SUPPLIES_LIST = MONITOR_MY_HUNTING.TEMP_SUPPLIES_LIST or {}
MONITOR_MY_HUNTING.COLORS = MONITOR_MY_HUNTING.COLORS or {
BLACK = rgbcolor(1, 1, 1),
ORANGE = rgbcolor(255, 165, 0),
BLUE = rgbcolor(30, 144, 255),
CORNSILK = rgbcolor(205, 200, 177),
WHITE = rgbcolor(255, 255, 255),
GREEN = rgbcolor(107, 142, 35),
RED = rgbcolor(178, 34, 34),
}
local function CreateMessageObject(MESSAGE_DATA)
if (type(MESSAGE_DATA) ~= "userdata") then
return setmetatable({__data = {TYPE = -1, TIME_STAMP = -1, SENDER_NAME = "", SENDER_LEVEL = -1, CONTENT = ""}}, MessageMetaTable)
else
return setmetatable({__data = {TYPE = MESSAGE_DATA.type, TIME_STAMP = Misc.ConvertToSeconds(string.sub(MESSAGE_DATA.text, 1, 5)), SENDER_NAME = MESSAGE_DATA.sender, SENDER_LEVEL = tonumber((tostring(string.match(MESSAGE_DATA.text, ".+ (%b[]): .+")):gsub("[^%d]", ""))) or 0, CONTENT = string.sub(MESSAGE_DATA.text, 7)}}, MessageMetaTable)
end
end
local function addtextshadow(DISPLAY_TEXT, X_OFFSET, Y_OFFSET, FONT_COLOR)
setfontcolor(MONITOR_MY_HUNTING.COLORS.BLACK)
addtext(DISPLAY_TEXT, X_OFFSET + 1, Y_OFFSET + 1)
setfontcolor(FONT_COLOR)
addtext(DISPLAY_TEXT, X_OFFSET, Y_OFFSET)
end
-- [[ INIT END ]] --
setfontstyle("impact", 9, "gold")
if (not Stats.Update()) then
local SERVER_LOG_MESSAGES = getnewmessages("Server Log")
local SERVER_LOG_MESSAGES_COUNT = SERVER_LOG_MESSAGES.count - 1
for INDEX = 0, SERVER_LOG_MESSAGES_COUNT do
local MESSAGE_OBJECT = CreateMessageObject(SERVER_LOG_MESSAGES[SERVER_LOG_MESSAGES_COUNT - INDEX])
if (MESSAGE_OBJECT:Type() == 19 and MESSAGE_OBJECT:Content():lower():match("^loot of")) then
local LOOT_INFO = Message.ParseLootMessage(MESSAGE_OBJECT, true)
if (#LOOT_INFO.NAME > 0) then
Stats.__data.MONSTERS_KILLED[LOOT_INFO.NAME] = (Stats.__data.MONSTERS_KILLED[LOOT_INFO.NAME] or 0) + 1
for _, LOOT_ITEM in ipairs(LOOT_INFO.ITEMS) do
if (Stats.__data.ITEMS_LOOTED[LOOT_ITEM.ID]) then
Stats.__data.ITEMS_LOOTED[LOOT_ITEM.ID].QUANTITY = Stats.__data.ITEMS_LOOTED[LOOT_ITEM.ID].QUANTITY + LOOT_ITEM.QUANTITY
else
Stats.__data.ITEMS_LOOTED[LOOT_ITEM.ID] = {ID = LOOT_ITEM.ID, NAME = LOOT_ITEM.NAME, QUANTITY = LOOT_ITEM.QUANTITY, VALUE = Item.GetValue(LOOT_ITEM.ID)}
end
end
end
end
end
end
local RESET_ITEMS_AND_SUPPLIES = #MONITOR_MY_HUNTING.ITEMS_LIST ~= MONITOR_MY_HUNTING.TEMP_ITEMS_LIST or #MONITOR_MY_HUNTING.SUPPLIES_LIST ~= MONITOR_MY_HUNTING.TEMP_SUPPLIES_LIST
if (not RESET_ITEMS_AND_SUPPLIES) then
for INDEX, LOOT_ITEM in ipairs(MONITOR_MY_HUNTING.ITEMS_LIST) do
if (LOOT_ITEM.NAME ~= MONITOR_MY_HUNTING.TEMP_ITEMS_LIST[INDEX].NAME or LOOT_ITEM.VALUE ~= MONITOR_MY_HUNTING.TEMP_ITEMS_LIST[INDEX].VALUE) then
RESET_ITEMS_AND_SUPPLIES = true
break
end
end
end
if (not RESET_ITEMS_AND_SUPPLIES) then
for INDEX, SUPPLY_ITEM in ipairs(MONITOR_MY_HUNTING.SUPPLIES_LIST) do
if (SUPPLY_ITEM.NAME ~= MONITOR_MY_HUNTING.TEMP_SUPPLIES_LIST[INDEX].NAME or SUPPLY_ITEM.PRICE ~= MONITOR_MY_HUNTING.TEMP_SUPPLIES_LIST[INDEX].PRICE) then
RESET_ITEMS_AND_SUPPLIES = true
break
end
end
end
if (not MONITOR_MY_HUNTING.INITIALIZED or RESET_ITEMS_AND_SUPPLIES) then
if (not MONITOR_MY_HUNTING.CLEARED_STATS) then
Stats.Clear(CLEAR_STATS_ALL)
Stats.Update()
MONITOR_MY_HUNTING.CLEARED_STATS = true
end
MONITOR_MY_HUNTING.TEMP_ITEMS_LIST, MONITOR_MY_HUNTING.TEMP_SUPPLIES_LIST = {}, {}
for _, LOOT_ITEM in ipairs(MONITOR_MY_HUNTING.ITEMS_LIST) do
local LOOT_ITEM_ID = Item.GetID(type(LOOT_ITEM.NAME) ~= "table" and LOOT_ITEM.NAME or unpack(LOOT_ITEM.NAME))
Stats.AddItemsLooted(LOOT_ITEM_ID, 0, LOOT_ITEM.VALUE)
table.insert(MONITOR_MY_HUNTING.TEMP_ITEMS_LIST, {ID = LOOT_ITEM_ID, NAME = LOOT_ITEM.NAME, VALUE = LOOT_ITEM.VALUE})
end
for _, SUPPLY_ITEM in ipairs(MONITOR_MY_HUNTING.SUPPLIES_LIST) do
local SUPPLY_ITEM_ID = Item.GetID(type(SUPPLY_ITEM.NAME) ~= "table" and SUPPLY_ITEM.NAME or unpack(SUPPLY_ITEM.NAME))
Stats.AddSuppliesUsed(SUPPLY_ITEM_ID, 0, SUPPLY_ITEM.PRICE)
table.insert(MONITOR_MY_HUNTING.TEMP_SUPPLIES_LIST, {ID = SUPPLY_ITEM_ID, NAME = SUPPLY_ITEM.NAME, PRICE = SUPPLY_ITEM.PRICE})
end
MONITOR_MY_HUNTING.INITIALIZED = true
end
setposition(Client.ClientWindow().right - 434, Client.WorldWindow().top + 5)
local Y_POSITION, INDEX, ITEMS_LOOTED_WORTH, SUPPLIES_USED_WORTH = 30, 0, 0, 0
addtextshadow(sprintf("%s v%s", MONITOR_MY_HUNTING.SCRIPT_NAME:upper(), MONITOR_MY_HUNTING.SCRIPT_VERSION), 10, Y_POSITION + (INDEX * 16), MONITOR_MY_HUNTING.COLORS.ORANGE)
Y_POSITION = Y_POSITION + 20
addtextshadow("ITEMS LOOTED", 10, Y_POSITION + (INDEX * 16), MONITOR_MY_HUNTING.COLORS.BLUE)
Y_POSITION = Y_POSITION + 20
for _, LOOT_ITEM in pairs(Stats.GetItemsLooted()) do
if ((MONITOR_MY_HUNTING.SHOW_ALL_ITEMS or table.find(MONITOR_MY_HUNTING.TEMP_ITEMS_LIST, LOOT_ITEM.ID, "ID")) and LOOT_ITEM.QUANTITY > 0) then
addtextshadow(((#LOOT_ITEM.NAME > 17 and sprintf("%s...", string.match(string.sub(LOOT_ITEM.NAME, 1, 17), "(.-)%s?$"))) or LOOT_ITEM.NAME):ucwords(), 10, Y_POSITION + (INDEX * 16), MONITOR_MY_HUNTING.COLORS.CORNSILK)
addtextshadow(sprintf("%s (%sK)", Misc.FormatNumber(LOOT_ITEM.QUANTITY), tostring(math.floor(LOOT_ITEM.VALUE * LOOT_ITEM.QUANTITY / 100) / 10)), 140, Y_POSITION + (INDEX * 16), MONITOR_MY_HUNTING.COLORS.WHITE)
INDEX, ITEMS_LOOTED_WORTH = INDEX + 1, ITEMS_LOOTED_WORTH + (LOOT_ITEM.VALUE * LOOT_ITEM.QUANTITY)
end
end
addtextshadow("Total:", 10, Y_POSITION + (INDEX * 16), MONITOR_MY_HUNTING.COLORS.WHITE)
addtextshadow(sprintf("%s GPs", Misc.FormatNumber(ITEMS_LOOTED_WORTH)), 10 + 35, Y_POSITION + (INDEX * 16), MONITOR_MY_HUNTING.COLORS.ORANGE)
Y_POSITION = Y_POSITION + 20
addtextshadow("SUPPLIES USED", 10, Y_POSITION + (INDEX * 16), MONITOR_MY_HUNTING.COLORS.BLUE)
Y_POSITION = Y_POSITION + 20
for _, SUPPLY_ITEM in pairs(Stats.GetSuppliesUsed()) do
if ((MONITOR_MY_HUNTING.SHOW_ALL_SUPPLIES or table.find(MONITOR_MY_HUNTING.TEMP_SUPPLIES_LIST, SUPPLY_ITEM.ID, "ID")) and SUPPLY_ITEM.QUANTITY > 0) then
addtextshadow(((#SUPPLY_ITEM.NAME > 17 and sprintf("%s...", string.match(string.sub(SUPPLY_ITEM.NAME, 1, 17), "(.-)%s?$"))) or SUPPLY_ITEM.NAME):ucwords(), 10, Y_POSITION + (INDEX * 16), MONITOR_MY_HUNTING.COLORS.CORNSILK)
addtextshadow(sprintf("%s (%sK)", Misc.FormatNumber(SUPPLY_ITEM.QUANTITY), tostring(math.floor(SUPPLY_ITEM.PRICE * SUPPLY_ITEM.QUANTITY / 100) / 10)), 140, Y_POSITION + (INDEX * 16), MONITOR_MY_HUNTING.COLORS.WHITE)
INDEX, SUPPLIES_USED_WORTH = INDEX + 1, SUPPLIES_USED_WORTH + (SUPPLY_ITEM.PRICE * SUPPLY_ITEM.QUANTITY)
end
end
addtextshadow("Total:", 10, Y_POSITION + (INDEX * 16), MONITOR_MY_HUNTING.COLORS.WHITE)
addtextshadow(sprintf("%s GPs", Misc.FormatNumber(SUPPLIES_USED_WORTH)), 10 + 35, Y_POSITION + (INDEX * 16), MONITOR_MY_HUNTING.COLORS.ORANGE)
Y_POSITION = Y_POSITION + 20
addtextshadow(sprintf("%s: %s GPs (%s K/H)", ((ITEMS_LOOTED_WORTH >= SUPPLIES_USED_WORTH and ("PROFIT")) or ("WASTE")), Misc.FormatNumber(ITEMS_LOOTED_WORTH - SUPPLIES_USED_WORTH), tostring(math.floor(((ITEMS_LOOTED_WORTH - SUPPLIES_USED_WORTH) * 3600) / (System.HuntingTime() / 1000) / 100) / 10)), 10, Y_POSITION + (INDEX * 16), ITEMS_LOOTED_WORTH >= SUPPLIES_USED_WORTH and MONITOR_MY_HUNTING.COLORS.GREEN or MONITOR_MY_HUNTING.COLORS.RED)</Script>
<RefreshRate>500</RefreshRate>
<Enabled>yes</Enabled>
</monitor_my_hunt>
<recent_loot>
<Script>-- you can add more items here
local warnitems = {"dragon scale mail", "royal helmet", "dragon slayer", "dragon lord trophy", "tower shield", "spellbook of enlightenment", "fire sword", "shard"}
-- max lines to display at once
local maxindex = 10
local GREEN = rgbcolor(18, 255, 0)
local GOLD = rgbcolor(255, 162, 0)
-- 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
local function addtextshadow(text, xpos, ypos)
setfontcolor(rgbcolor(1, 1, 1))
addtext(text, xpos+1, ypos)
addtext(text, xpos-1, ypos)
addtext(text, xpos, ypos+1)
addtext(text, xpos, ypos-1)
if colorm then
setfontcolor(GOLD)
else
setfontcolor(GREEN)
end
addtext(text, xpos, ypos)
end
if colorm then
setfontcolor(GOLD)
else
setfontcolor(GREEN)
end
setfontstyle("impact", 9, "gold")
addtextshadow(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>
<NEMIKS_HUD>
<Script>local fontfamily = "Impact"
local fontsize = 9
local headfontsize = 13
local startposx = -30
local startposy = 15
local BLACK = rgbcolor(1, 1, 1)
local ORANGE = rgbcolor(255, 165, 0)
local BLUE = rgbcolor(30, 144, 255)
local CORNSILK = rgbcolor(205, 200, 177)
local WHITE = rgbcolor(255, 255, 255)
local GREEN = rgbcolor(107, 142, 35)
local RED = rgbcolor(178, 34, 34)
local function addtextshadow(text, color, xpos, ypos)
setfontcolor(rgbcolor(1, 1, 1))
addtext(text, xpos+1, ypos)
addtext(text, xpos-1, ypos)
addtext(text, xpos, ypos+1)
addtext(text, xpos, ypos-1)
setfontcolor(color)
addtext(text, xpos, ypos)
end
setfontstyle(fontfamily, headfontsize, ORANGE)
setfontcolor(ORANGE)
addtextshadow("> GENERAL INFORMATION", ORANGE,startposx+37, startposy+30)
setfontstyle(fontfamily, fontsize, CORNSILK)
setfontcolor(GREEN)
addtextshadow(":: Script name: ", GREEN, startposx+52, startposy+50)
setfontstyle(fontfamily, fontsize, CORNSILK)
setfontcolor(WHITE)
addtextshadow("Zao DLS and Frosts [ED] v 1.0", WHITE, startposx+150, startposy+50)
setfontstyle(fontfamily, fontsize, CORNSILK)
setfontcolor(GREEN)
addtextshadow(":: Script Author: ", GREEN, startposx+52, startposy+85)
setfontstyle(fontfamily, fontsize, CORNSILK)
setfontcolor(WHITE)
addtextshadow("NEMIKS", WHITE, startposx+150, startposy+85)
setfontstyle(fontfamily, fontsize, CORNSILK)
setfontcolor(GREEN)
addtextshadow(":: Official Website: ", GREEN, startposx+52, startposy+100)
setfontstyle(fontfamily, fontsize, CORNSILK)
setfontcolor(WHITE)
addtextshadow("-", WHITE, startposx+150, startposy+100)
setfontstyle(fontfamily, headfontsize, CORNSILK)
setfontcolor(ORANGE)
addtextshadow("> CONTACT:", ORANGE, startposx+37, startposy+125)
setfontstyle(fontfamily, fontsize, CORNSILK)
setfontcolor(GREEN)
addtextshadow(":: E-MAIL:", GREEN, startposx+52, startposy+145)
setfontstyle(fontfamily, fontsize, CORNSILK)
setfontcolor(WHITE)
addtextshadow("-", WHITE, startposx+150, startposy+145)
setfontstyle(fontfamily, fontsize, CORNSILK)
setfontcolor(GREEN)
addtextshadow(":: GADU-GADU:", GREEN,startposx+52, startposy+160)
setfontstyle(fontfamily, fontsize, CORNSILK)
setfontcolor(WHITE)
addtextshadow("-", WHITE, startposx+150, startposy+160)
setfontstyle(fontfamily, headfontsize, CORNSILK)
setfontcolor(ORANGE)
addtextshadow("> HUNTINH STATISTIC:", ORANGE, startposx+37, startposy+195)
setfontstyle(fontfamily, fontsize, CORNSILK)
setfontcolor(CORNSILK)
addtextshadow(":: EXP PER HOUR:", CORNSILK, startposx+52, startposy+215)
setfontstyle(fontfamily, fontsize, CORNSILK)
setfontcolor(WHITE)
addtextshadow(exphour/1000, WHITE, startposx+150, startposy+215)
setfontstyle(fontfamily, fontsize, CORNSILK)
setfontcolor(CORNSILK)
addtextshadow(":: EXP LEFT:", CORNSILK, startposx+52, startposy+230)
setfontstyle(fontfamily, fontsize, CORNSILK)
setfontcolor(WHITE)
addtextshadow(exptolevel()/1000, WHITE, startposx+150, startposy+230)
setfontstyle(fontfamily, fontsize, CORNSILK)
setfontcolor(CORNSILK)
addtextshadow(":: EXP GAINED:", CORNSILK, startposx+52, startposy+245)
setfontstyle(fontfamily, fontsize, CORNSILK)
setfontcolor(WHITE)
addtextshadow(expgained/1000, WHITE, startposx+150, startposy+245)
setfontstyle(fontfamily, fontsize, CORNSILK)
setfontcolor(CORNSILK)
addtextshadow(":: NEXT LVL FOR:", CORNSILK, startposx+52, startposy+260)
setfontstyle(fontfamily, fontsize, CORNSILK)
setfontcolor(WHITE)
addtextshadow('' .. timetolevel, WHITE, startposx+150, startposy+260)
setfontstyle(fontfamily, fontsize, CORNSILK)
setfontcolor(CORNSILK)
addtextshadow(":: STAMINA:", CORNSILK, startposx+52, startposy+275)
setfontstyle(fontfamily, fontsize, CORNSILK)
setfontcolor(WHITE)
addtextshadow(math.floor(stamina/60).." Hours", WHITE, startposx+150, startposy+275)
setfontstyle(fontfamily, fontsize, CORNSILK)
setfontcolor(CORNSILK)
addtextshadow(":: HUNT TIME:", CORNSILK, startposx+52, startposy+290)
setfontstyle(fontfamily, fontsize, CORNSILK)
setfontcolor(WHITE)
addtextshadow('' .. timehunt, WHITE, startposx+150, startposy+290)
setfontstyle(fontfamily, fontsize, CORNSILK)
setfontcolor(CORNSILK)
addtextshadow(":: BANK BALANCE:", CORNSILK, startposx+52, startposy+305)
setfontstyle(fontfamily, fontsize, CORNSILK)
setfontcolor(WHITE)
addtextshadow(balance/1000, WHITE,startposx+150, startposy+305)
setfontstyle(fontfamily, headfontsize, CORNSILK)
setfontcolor(ORANGE)
addtextshadow("> BOTING STATISTIC:", ORANGE, startposx+37, startposy+350)
setfontstyle(fontfamily, fontsize, CORNSILK)
setfontcolor(CORNSILK)
addtextshadow(":: CAVEBOT:", CORNSILK, startposx+52, startposy+370)
if getsettings("Settings/CaveBot/Enabled") == 'yes' then
setfontstyle(fontfamily, fontsize, GREEN)
setfontcolor(GREEN)
addtextshadow("ON", GREEN,startposx+200, startposy+370)
else
setfontstyle(fontfamily, fontsize, RED)
setfontcolor(RED)
addtextshadow("OFF", RED,startposx+200, startposy+370)
end
setfontstyle(fontfamily, fontsize, CORNSILK)
setfontcolor(CORNSILK)
addtextshadow(":: HEALER:", CORNSILK, startposx+52, startposy+385)
if getsettings("Settings/Healer/Enabled") == 'yes' then
setfontstyle(fontfamily, fontsize, GREEN)
setfontcolor(GREEN)
addtextshadow("ON", GREEN,startposx+200, startposy+385)
else
setfontstyle(fontfamily, fontsize, RED)
setfontcolor(RED)
addtextshadow("OFF", RED,startposx+200, startposy+385)
end
setfontstyle(fontfamily, fontsize, CORNSILK)
setfontcolor(CORNSILK)
addtextshadow(":: WALK TROUGH PLAYERS:", CORNSILK, startposx+52, startposy+400)
if getsettings("Settings/CaveBot/Pathfinding/WalkThroughPlayers") == 'yes' then
setfontstyle(fontfamily, fontsize, GREEN)
setfontcolor(GREEN)
addtextshadow("ON", GREEN,startposx+200, startposy+400)
else
setfontstyle(fontfamily, fontsize, RED)
setfontcolor(RED)
addtextshadow("OFF", RED,startposx+200, startposy+400)
end
setfontstyle(fontfamily, fontsize, CORNSILK)
setfontcolor(CORNSILK)
addtextshadow(":: LOOTING:", CORNSILK, startposx+52, startposy+415)
if getsettings("Settings/Looting/Enabled") == 'yes' then
setfontstyle(fontfamily, fontsize, GREEN)
setfontcolor(GREEN)
addtextshadow("ON", GREEN,startposx+200, startposy+415)
else
setfontstyle(fontfamily, fontsize, RED)
setfontcolor(RED)
addtextshadow("OFF", RED,startposx+200, startposy+415)
end
setfontstyle(fontfamily, fontsize, CORNSILK)
setfontcolor(CORNSILK)
addtextshadow(":: OPEN NEXT BP:", CORNSILK, startposx+52, startposy+430)
if getsettings("Settings/CaveBot/Settings/OpenNextBp") == 'yes' then
setfontstyle(fontfamily, fontsize, GREEN)
setfontcolor(GREEN)
addtextshadow("ON", GREEN,startposx+200, startposy+430)
else
setfontstyle(fontfamily, fontsize, RED)
setfontcolor(RED)
addtextshadow("OFF", RED,startposx+200, startposy+430)
end
setfontstyle(fontfamily, fontsize, CORNSILK)
setfontcolor(CORNSILK)
addtextshadow(":: AUTO MOUNT:", CORNSILK, startposx+52, startposy+445)
if getsettings("Settings/CaveBot/Settings/AutoMount") == 'yes' then
setfontstyle(fontfamily, fontsize, GREEN)
setfontcolor(GREEN)
addtextshadow("ON", GREEN,startposx+200, startposy+445)
else
setfontstyle(fontfamily, fontsize, RED)
setfontcolor(RED)
addtextshadow("OFF", RED,startposx+200, startposy+445)
end
setfontstyle(fontfamily, fontsize, CORNSILK)
setfontcolor(CORNSILK)
addtextshadow(":: AUTO HASTE:", CORNSILK, startposx+52, startposy+460)
if getsettings("Settings/Actions/List/Hur/Enabled") == 'yes' then
setfontstyle(fontfamily, fontsize, GREEN)
setfontcolor(GREEN)
addtextshadow("ON", GREEN,startposx+200, startposy+460)
else
setfontstyle(fontfamily, fontsize, RED)
setfontcolor(RED)
addtextshadow("OFF", RED,startposx+200, startposy+460)
end
addtextshadow("ItemID", ORANGE,10, startposy+500)
addtextshadow(cursorinfo().id, ORANGE,startposx+75, startposy+500)
addtextshadow("Pos X : ", ORANGE, 10,530)
addtextshadow(posx, ORANGE, 75,530)
addtextshadow("Pos Y : ", ORANGE,10,550)
addtextshadow(posy, ORANGE, 75,550)
addtextshadow("Pos Z : ", ORANGE, 10,570)
addtextshadow(posz, ORANGE, 75,570)</Script>
<RefreshRate>2000</RefreshRate>
<Enabled>yes</Enabled>
</NEMIKS_HUD>
</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>