Dziki Johnson
Kafar
- Joined
- Jul 7, 2010
- Messages
- 2,061
- Reaction score
- 191
- Age
- 28
Profesja: Knight
Poziom: 50+
Typ: PACC
Informacje dodatkowe:
-Bota startujemy na respawnie Stone Golem?w
Skrypt:
Poziom: 50+
Typ: PACC
Informacje dodatkowe:
-Bota startujemy na respawnie Stone Golem?w
Skrypt:
PHP:
<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>
</Message>
<Capacity>
<Value>100</Value>
<PlaySound>no</PlaySound>
<FlashClient>no</FlashClient>
<PauseBot>no</PauseBot>
<Disconnect>no</Disconnect>
</Capacity>
<StandTime>
<Value>30000</Value>
<PlaySound>no</PlaySound>
<FlashClient>no</FlashClient>
<PauseBot>no</PauseBot>
<Disconnect>no</Disconnect>
</StandTime>
<Disconnect>
<PlaySound>no</PlaySound>
<FlashClient>no</FlashClient>
<PauseBot>no</PauseBot>
</Disconnect>
<Enabled>no</Enabled>
</Alerts>
<Healer>
<Rules>
<MP>
<HealRange>0 to 100 %</HealRange>
<ManaRange>0 to 50 %</ManaRange>
<HealMethod>Mana Potion</HealMethod>
<ExtraCondition>No condition</ExtraCondition>
<CooldownControl>yes</CooldownControl>
<CheckItem>no</CheckItem>
<SpamRate>200 to 400</SpamRate>
<Enabled>yes</Enabled>
</MP>
<SHP>
<HealRange>0 to 25 %</HealRange>
<ManaRange>0 to 100 %</ManaRange>
<HealMethod>Strong Health Potion</HealMethod>
<ExtraCondition>No condition</ExtraCondition>
<CooldownControl>yes</CooldownControl>
<CheckItem>no</CheckItem>
<SpamRate>200 to 400</SpamRate>
<Enabled>yes</Enabled>
</SHP>
<Utura>
<HealRange>20 to 85 %</HealRange>
<ManaRange>20 to 100 %</ManaRange>
<HealMethod>Recovery</HealMethod>
<ExtraCondition>No condition</ExtraCondition>
<CooldownControl>yes</CooldownControl>
<CheckItem>no</CheckItem>
<SpamRate>10000 to 20000</SpamRate>
<Enabled>no</Enabled>
</Utura>
<ico>
<HealRange>26 to 90 %</HealRange>
<ManaRange>20 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>
</ico>
</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>
<ob-knife-on-marble>
<Script>local backpackName = LootBP
local dropTrash = true -- true/false
local itemsToDrop = {10427, 10428} --Other 2 Statue To Drop
local marItems = {10426} --Piece of Marble Rock
--DO NOT EDIT BELOW!
if maround(4) == 0 then
for i,j in ipairs(marItems) do
if itemcount(j) > 0 and itemcount(5908) > 0 then
pausewalking(1000)
useitemon(5908,j,backpackName)
wait(2000)
end
end
if (dropTrash == true) then
for i,j in ipairs(itemsToDrop) do
if itemcount(j) then
dropitems(j)
wait(400,600)
end
end
end
end </Script>
<SpamRate>800 to 1000</SpamRate>
<Enabled>no</Enabled>
</ob-knife-on-marble>
</List>
<Setup>-------------------------------- Setup ---------------------------
-----------BPS----------------------------------------------------
MainBP = "backpack of holding" -- Main Backpack
LootBP = "Beach Backpack" -- Backpack For Rare Loot--- need to change in depositer action
GoldBP = "Brocade Backpack" -- Backpack For GoldCoin
----------DEPOT---------------------------------------------------
mainDpBp = ("blue Backpack")
stackDpBp = ("red Backpack")
nonStackDpBp = ("grey Backpack")
------- Potions Settings -----------------------------------------
MPtype = "Mana Potion" -- Mana Potion Name
MPmax = 200 -- Potion To Buy
MPmin = 50 -- Potion To Leave Respawn
MPprice = 50 -- Potion Price
HPtype = "Health Potion" -- health Name
HPmax = 30 -- health To Buy
HPmin = 10 -- health To Leave respawn
HPprice = 50 -- health Price
Capmin = 100 -- How much cap to back reffil?
--Hunt down respawn :
godown = ("yes")</Setup>
<Enabled>yes</Enabled>
</Actions>
<CaveBot>
<Waypoints>
<first>Stand 33026 31449 11</first>
<open1>Action 33026 31449 11 ---OpenBP---;closewindows();wait(500, 1000);openitem(MainBP, 'back');wait(500, 1000);resizewindows() ;wait(500, 1000);openitem(LootBP, MainBP, true);wait(500, 1000);resizewindows();wait(500, 1000);</open1>
<w001>Action 33026 31449 11 if windowcount() < 2 then;gotolabel("open1");end</w001>
<w003>Action 33026 31449 11 -- // Do not edit anything below:;;;reachgrounditem("depot");wait(1000,2000);openitem("depot");wait(700,900);;while (windowcount("Depot Chest") == 0);do; openitem(3502, "locker"); wait(700,900);end;;wait(1500, 2000);;while (windowcount(mainDpBp) == 0);do; openitem(mainDpBp, "Depot Chest"); wait(700,900);end;;local CONFIG = {; LOOT_BACKPACK = LootBP,; ; STACKABLE_BACKPACK = stackDpBp,; STACKABLE_BACKPACK_AMOUNT = 2,; ; NOT_STACKABLE_BACKPACK = nonStackDpBp,; NOT_STACKABLE_BACKPACK_AMOUNT = 18,; ; DEPOSIT_ITEMS = {"crystal ring", "carlin sword", "clerical mace", "iron ore", "piece of marble rock", "stone wing", "steel helmet", "serpent sword", "shiny stone", "ancient stone", "sulphurous stone", "small sapphire", "red gem", "dark armor", "wolf tooth chain", "club ring", "dwarven ring", "deepling staff", "deepling staff", "deepling staff"},;};;local NOT_STACKABLE_LAST_ON_TO, ITEM_INDEX = 0, 1;;while (#CONFIG.DEPOSIT_ITEMS >= ITEM_INDEX) do; if (type(CONFIG.DEPOSIT_ITEMS[ITEM_INDEX]) == "string") then; local ITEM_ID = itemid(CONFIG.DEPOSIT_ITEMS[ITEM_INDEX]); ; if (ITEM_ID > 0) then; CONFIG.DEPOSIT_ITEMS[ITEM_INDEX], ITEM_INDEX = ITEM_ID, ITEM_INDEX + 1; else; table.remove(CONFIG.DEPOSIT_ITEMS, ITEM_INDEX); end; elseif (type(CONFIG.DEPOSIT_ITEMS[ITEM_INDEX]) == "number") then; if (CONFIG.DEPOSIT_ITEMS[ITEM_INDEX] > 0) then; ITEM_INDEX = ITEM_INDEX + 1; else; table.remove(CONFIG.DEPOSIT_ITEMS, ITEM_INDEX); end; else; table.remove(CONFIG.DEPOSIT_ITEMS, ITEM_INDEX); end;end;;while (true) do; for _, DEPOSIT_ITEM in ipairs(CONFIG.DEPOSIT_ITEMS) do; if (itemcount(DEPOSIT_ITEM, CONFIG.LOOT_BACKPACK) > 0) then; if (itemproperty(DEPOSIT_ITEM).isCumulative) then; local STACKABLE_LAST_ON_TO = 0; ; while (CONFIG.STACKABLE_BACKPACK_AMOUNT > STACKABLE_LAST_ON_TO) do; local ITEM_COUNT_BEFORE = itemcount(DEPOSIT_ITEM, CONFIG.LOOT_BACKPACK); ; moveitemsonto(DEPOSIT_ITEM, "all", CONFIG.STACKABLE_BACKPACK, 100, STACKABLE_LAST_ON_TO) wait(500, 1000); ; local ITEM_COUNT_AFTER = itemcount(DEPOSIT_ITEM, CONFIG.LOOT_BACKPACK); ; 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 (CONFIG.NOT_STACKABLE_BACKPACK_AMOUNT > NOT_STACKABLE_LAST_ON_TO) do; local ITEM_COUNT_BEFORE = itemcount(DEPOSIT_ITEM, CONFIG.LOOT_BACKPACK); ; moveitemsonto(DEPOSIT_ITEM, "all", CONFIG.NOT_STACKABLE_BACKPACK, 100, NOT_STACKABLE_LAST_ON_TO) wait(500, 1000); ; local ITEM_COUNT_AFTER = itemcount(DEPOSIT_ITEM, CONFIG.LOOT_BACKPACK); ; 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(CONFIG.LOOT_BACKPACK, CONFIG.LOOT_BACKPACK) > 0) then; openitem(CONFIG.LOOT_BACKPACK, CONFIG.LOOT_BACKPACK, false) wait(2000, 3000); else; break; end; ; wait(100);end;;;</w003>
<w004>Stand 33020 31459 11</w004>
<w005>Stand 33019 31459 11</w005>
<w000>Action 33017 31459 10 --If Not IsLocation;if not islocation(4) then; gotolabel("first"); return;end</w000>
<upper>Stand 33013 31487 10</upper>
<door_check1>Action 33013 31487 10 -- // Do not edit anything below:;;;local coordx = 33013;local coordy = 31488;local coordz = 10;local closedDoorID = 6252;;if (toptileitem(coordx, coordy, coordz) == closedDoorID);then; useitem(closedDoorID, coordx, coordy, coordz); wait(1000, 1500);end</door_check1>
<w007>Stand 33013 31492 10</w007>
<check2>Action 33013 31492 10 --If Not IsLocation;if not islocation(4) then; gotolabel("upper"); return;end</check2>
<withdraw_money>Action 33013 31492 10 -- Withdraw Cash --;local healthMoney = positive(HPmax - itemcount(HPtype)) * HPprice;local ManaMoney = positive(MPmax - itemcount(MPtype)) * MPprice;local All = healthMoney + ManaMoney;;;depositall();npcsay("withdraw "..All) wait(1000);npcsay("yes") wait(1000);npcsay("balance") wait(1000);;</withdraw_money>
<inbank>Stand 33009 31492 10</inbank>
<door_check2>Action 33009 31492 10 -- // Do not edit anything below:;;;local coordx = 33008;local coordy = 31492;local coordz = 10;local closedDoorID = 6249;;if (toptileitem(coordx, coordy, coordz) == closedDoorID);then; useitem(closedDoorID, coordx, coordy, coordz); wait(1000, 1500);end</door_check2>
<w008>Stand 33004 31492 10</w008>
<w006>Action 33004 31492 10 --If Not IsLocation;if not islocation(4) then; gotolabel("inbank"); return;end</w006>
<retry>Stand 33010 31538 10</retry>
<door_check3>Action 33010 31538 10 -- // Do not edit anything below:;;;local coordx = 33010;local coordy = 31537;local coordz = 10;local closedDoorID = 7715;;if (toptileitem(coordx, coordy, coordz) == closedDoorID);then; useitem(closedDoorID, coordx, coordy, coordz); wait(1000, 1500);end</door_check3>
<w010>Stand 33009 31534 10</w010>
<w011>Action 33009 31534 10 --If Not IsLocation;if not islocation(4) then; gotolabel("retry"); return;end</w011>
<buy_mana>Action 33009 31534 10 --BUY POtions;opentrade();wait(2000);sellflasks();wait(1000);sellflasks();wait(1000);npcsay("trade");wait(1000);if itemcount(MPtype) < MPmax then;buyitemsupto(MPtype, MPmax);wait(1000);buyitemsupto(HPtype, HPmax);wait(1000);end</buy_mana>
<mana_check>Action 33009 31534 10 -- Check potions;if itemcount(MPtype) < MPmax then;gotolabel("buy mana");;;if itemcount(HPtype) < HPmax then;gotolabel("buy mana");end</mana_check>
<quit_mana>Stand 33010 31536 10</quit_mana>
<check_door4>Action 33010 31536 10 -- // Do not edit anything below:;;;local coordx = 33010;local coordy = 31537;local coordz = 10;local closedDoorID = 7715;;if (toptileitem(coordx, coordy, coordz) == closedDoorID);then; useitem(closedDoorID, coordx, coordy, coordz); wait(1000, 1500);end</check_door4>
<w009>Stand 33031 31483 10</w009>
<w012>Action 33031 31483 10 --If Not IsLocation;if not islocation(4) then; gotolabel("quit mana"); return;end</w012>
<openbp>Action 33031 31483 10 ---OpenBP---;closewindows();wait(500, 1000);openitem(MainBP, 'back');wait(500, 1000);resizewindows() ;wait(500, 1000);openitem(LootBP, MainBP, true);wait(500, 1000);resizewindows();wait(500, 1000);openitem(GoldBP, MainBP, true);wait(500, 1000);resizewindows();wait(500, 1000)</openbp>
<w013>Action 33031 31483 10 if windowcount() < 3 then;gotolabel("openbp");end</w013>
<suply_check>Action 33031 31483 10 --Check for Refill;if itemcount(HPtype) <= HPmin or itemcount(MPtype) <= MPmin or cap <= Capmin then;gotolabel("upper");end</suply_check>
<walk>Stand 33031 31481 10</walk>
<w014>Stand 33031 31480 10</w014>
<hunt>Stand 33040 31477 11</hunt>
<w016>Stand 33055 31440 11</w016>
<w017>Stand 33096 31443 11</w017>
<w018>Stand 33077 31436 11</w018>
<w019>Stand 33104 31477 11</w019>
<w020>Stand 33053 31478 11</w020>
<w021>Stand 33073 31478 11</w021>
<w022>Stand 33050 31516 11</w022>
<w023>Stand 33077 31512 11</w023>
<w024>Stand 33107 31505 11</w024>
<w025>Stand 33039 31483 11</w025>
<supcheck1>Action 33039 31481 11 --Check for Refill;if itemcount(HPtype) <= HPmin or itemcount(MPtype) <= MPmin or cap <= Capmin then;gotolabel("refill");end</supcheck1>
<floor_check>Action 33039 31483 11 -- // Do not edit anything below:;;;if (godown == ("yes"));then; gotolabel("go2");elseif (godown == ("no"));then; gotolabel("hunt");end</floor_check>
<go2>Stand 33036 31482 11</go2>
<w027>Stand 33036 31483 11</w027>
<w028>Stand 33034 31482 12</w028>
<w029>Action 33034 31482 12 --If Not IsLocation;if not islocation(4) then; gotolabel("floor check"); return;end</w029>
<hunt_floor2>Stand 33034 31482 12</hunt_floor2>
<w026>Stand 33065 31444 12</w026>
<w030>Stand 33088 31449 12</w030>
<w031>Stand 33082 31461 12</w031>
<w032>Stand 33067 31496 12</w032>
<w033>Stand 33113 31500 12</w033>
<go1>Stand 33036 31482 12</go1>
<w034>Stand 33036 31483 12</w034>
<w035>Action 33037 31483 11 --If Not IsLocation;if not islocation(4) then; gotolabel("go1); return;end</w035>
<w036>Stand 33039 31481 11</w036>
<supcheck2>Action 33039 31481 11 --Check for Refill;if itemcount(HPtype) <= HPmin or itemcount(MPtype) <= MPmin or cap <= Capmin then;gotolabel("refill");else;gotolabel("hunt");end</supcheck2>
<refill>Stand 33032 31478 11</refill>
<w038>Stand 33032 31477 11</w038>
<w039>Action 33031 31482 10 --If Not IsLocation;if not islocation(4) then; gotolabel("refill); return;end</w039>
<w037>Stand 33018 31459 10</w037>
<tdown>Stand 33019 31459 10</tdown>
<w041>Action 33020 31459 11 --If Not IsLocation;if not islocation(4) then; gotolabel("tdown); return;end</w041>
</Waypoints>
<Pathfinding>
<SpecialAreas />
<WalkThroughPlayers>yes</WalkThroughPlayers>
<WalkingMethod>Map Clicks</WalkingMethod>
<MapWalkDistance>20 to 50</MapWalkDistance>
<WalkableIds>140;404;831;832;833;834;883;2118;2119;2120;2121;2122;2123;2124;2125;2126;2127;2131;2132;2133;2134;2135;2314;2315;2316;2319;2346;2347;2348;2349;2350;2351;2352;2353;2354;2355;2356;2357;2358;2359;2360;2361;2362;2363;2364;2365;2366;2367;2368;2369;2370;2371;2372;2373;2374;2375;2376;2377;2378;2379;2380;2381;2382;2383;2384;2385;2418;2419;2420;2421;2422;2423;2424;2425;2426;2431;2432;2433;2434;2441;2442;2443;2444;2469;2471;2472;2473;2478;2480;2481;2482;2483;2484;2485;2486;2519;2523;2775;2776;2777;2778;2779;2780;2781;2782;2783;2784;2785;2786;2787;2788;2789;2790;2791;2792;2793;2794;2795;2796;2797;2798;2799;2800;2801;2802;2803;2804;2805;2806;2807;2808;2809;2810;2811;2812;2981;2983;2982;2984;2985;2987;2988;3503;3504;3514;3807;5086;5087;5088;6114;6115;6355;6356;6357;6358;6359;6360;6361;6362;6371;6372;7864;8455;8763;9061;9062;10207;10209;10216;10286;10287;10288;11009;11800;11801;11802;11803;11804;11805;11806;11807;11808;11809;11810</WalkableIds>
</Pathfinding>
<Settings>
<Rope>3003</Rope>
<Shovel>3457</Shovel>
<Pick>3456</Pick>
<Machete>3308</Machete>
<NodeRange>4</NodeRange>
<Priority>Target</Priority>
<OpenNextBp>no</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>
<piece-of-marble-rock>
<Id>10426</Id>
<Destination>01</Destination>
<AlarmOn>No Alarm</AlarmOn>
</piece-of-marble-rock>
<iron-ore>
<Id>5880</Id>
<Destination>01</Destination>
<AlarmOn>No Alarm</AlarmOn>
</iron-ore>
<red-gem>
<Id>3039</Id>
<Destination>01</Destination>
<AlarmOn>No Alarm</AlarmOn>
</red-gem>
<shiny-stone>
<Id>10310</Id>
<Destination>01</Destination>
<AlarmOn>No Alarm</AlarmOn>
</shiny-stone>
<crystal-ring>
<Id>3007</Id>
<Destination>01</Destination>
<AlarmOn>No Alarm</AlarmOn>
</crystal-ring>
<ancient-stone>
<Id>9632</Id>
<Destination>01</Destination>
<AlarmOn>No Alarm</AlarmOn>
</ancient-stone>
<carlin-sword>
<Id>3283</Id>
<Destination>01</Destination>
<AlarmOn>No Alarm</AlarmOn>
</carlin-sword>
<sulphurous-stone>
<Id>10315</Id>
<Destination>01</Destination>
<AlarmOn>No Alarm</AlarmOn>
</sulphurous-stone>
<gold-coin>
<Id>3031</Id>
<Destination>02</Destination>
<AlarmOn>No Alarm</AlarmOn>
</gold-coin>
<dark-armor>
<Id>3383</Id>
<Destination>01</Destination>
<AlarmOn>No Alarm</AlarmOn>
</dark-armor>
<steel-helmet>
<Id>3351</Id>
<Destination>01</Destination>
<AlarmOn>No Alarm</AlarmOn>
</steel-helmet>
<stone-wing>
<Id>10278</Id>
<Destination>01</Destination>
<AlarmOn>No Alarm</AlarmOn>
</stone-wing>
<wolf-tooth-chain>
<Id>5940</Id>
<Destination>01</Destination>
<AlarmOn>No Alarm</AlarmOn>
</wolf-tooth-chain>
<club-ring>
<Id>3093</Id>
<Destination>01</Destination>
<AlarmOn>No Alarm</AlarmOn>
</club-ring>
<serpent-sword>
<Id>3297</Id>
<Destination>01</Destination>
<AlarmOn>No Alarm</AlarmOn>
</serpent-sword>
<small-sapphire>
<Id>3029</Id>
<Destination>01</Destination>
<AlarmOn>No Alarm</AlarmOn>
</small-sapphire>
<clerical-mace>
<Id>3311</Id>
<Destination>01</Destination>
<AlarmOn>No Alarm</AlarmOn>
</clerical-mace>
<dwarven-ring>
<Id>3097</Id>
<Destination>01</Destination>
<AlarmOn>No Alarm</AlarmOn>
</dwarven-ring>
</List>
<Condition>Corpses with listed items</Condition>
<Style>After melee kill</Style>
<OpenBodyTime>300</OpenBodyTime>
<Range>10</Range>
<EatFood>yes</EatFood>
<Enabled>no</Enabled>
</Looting>
<Targeting>
<Monsters>
<stone-golem>
<Categories>-</Categories>
<Danger>0</Danger>
<ListSettings>
<Setting0>
<Count>Any</Count>
<HpRange>0 to 100 %</HpRange>
<Stance>No movement</Stance>
<Avoid>None</Avoid>
<Distance>0</Distance>
<Attack>Attack</Attack>
<ListSpell />
<SpellRate>500 to 1000</SpellRate>
<AttackMode>Chase/Offensive</AttackMode>
</Setting0>
</ListSettings>
<Looting>yes</Looting>
<MustAttackMe>no</MustAttackMe>
<OnlyIfTrapped>no</OnlyIfTrapped>
</stone-golem>
<gargoyle>
<Categories>-</Categories>
<Danger>0</Danger>
<ListSettings>
<Setting0>
<Count>Any</Count>
<HpRange>0 to 100 %</HpRange>
<Stance>No movement</Stance>
<Avoid>None</Avoid>
<Distance>0</Distance>
<Attack>Attack</Attack>
<ListSpell />
<SpellRate>500 to 1000</SpellRate>
<AttackMode>Chase/Offensive</AttackMode>
</Setting0>
</ListSettings>
<Looting>yes</Looting>
<MustAttackMe>no</MustAttackMe>
<OnlyIfTrapped>no</OnlyIfTrapped>
</gargoyle>
<gozzler>
<Categories>-</Categories>
<Danger>0</Danger>
<ListSettings>
<Setting0>
<Count>Any</Count>
<HpRange>0 to 100 %</HpRange>
<Stance>No movement</Stance>
<Avoid>None</Avoid>
<Distance>0</Distance>
<Attack>Attack</Attack>
<ListSpell />
<SpellRate>500 to 1000</SpellRate>
<AttackMode>Chase/Offensive</AttackMode>
</Setting0>
</ListSettings>
<Looting>yes</Looting>
<MustAttackMe>no</MustAttackMe>
<OnlyIfTrapped>no</OnlyIfTrapped>
</gozzler>
<all>
<Categories>-</Categories>
<Danger>5</Danger>
<ListSettings>
<Setting0>
<Count>4+</Count>
<HpRange>0 to 100 %</HpRange>
<Stance>No movement</Stance>
<Avoid>None</Avoid>
<Distance>0</Distance>
<Attack>Attack</Attack>
<ListSpell>
<Spell0>Berserk</Spell0>
</ListSpell>
<SpellRate>500 to 1000</SpellRate>
<AttackMode>Chase/Offensive</AttackMode>
</Setting0>
</ListSettings>
<Looting>yes</Looting>
<MustAttackMe>no</MustAttackMe>
<OnlyIfTrapped>no</OnlyIfTrapped>
</all>
</Monsters>
<Settings>
<ListOrder>3</ListOrder>
<Health>8</Health>
<Proximity>7</Proximity>
<Danger>9</Danger>
<PlayerOnScreenSecurity>If cavebotting</PlayerOnScreenSecurity>
<CooldownControl>yes</CooldownControl>
<CheckItem>no</CheckItem>
<MustBeReachable>yes</MustBeReachable>
<MustBeShootable>no</MustBeShootable>
</Settings>
<Enabled>no</Enabled>
</Targeting>
<Hud>
<List>
<monitor-my-hunting>
<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 = "gold coin", VALUE = 1},
{NAME = "piece of marble rock", VALUE = 0},
{NAME = "iron ore", VALUE = 2000},
{NAME = "red gem", VALUE = 1000},
{NAME = "serpent sword", VALUE = 900},
{NAME = "shiny stone", VALUE = 500},
{NAME = "dark armor", VALUE = 400},
{NAME = "steel helmet", VALUE = 293},
{NAME = "crystal ring", VALUE = 250},
{NAME = "small sapphire", VALUE = 250},
{NAME = "ancient stone", VALUE = 200},
{NAME = "clerical mace", VALUE = 170},
{NAME = "stone wing", VALUE = 120},
{NAME = "carlin sword", VALUE = 118},
{NAME = "wolf tooth chain", VALUE = 100},
{NAME = "club ring", VALUE = 100},
{NAME = "dwarven ring", VALUE = 100},
{NAME = "wolf tooth chain", VALUE = 100},
{NAME = "sulphurous stone", VALUE = 100},
}
MONITOR_MY_HUNTING.SHOW_ALL_SUPPLIES = true
MONITOR_MY_HUNTING.SUPPLIES_LIST = {
{NAME = "mana potion", PRICE = 50},
{NAME = "strong mana potion", PRICE = 80},
{NAME = "great mana potion", PRICE = 120},
{NAME = "health potion", PRICE = 45},
{NAME = "strong health potion", PRICE = 100},
{NAME = "great health potion", PRICE = 190},
{NAME = "ultimate health potion", PRICE = 310},
{NAME = "assassin star", PRICE = 100},
{NAME = "prismatic bolt", PRICE = 20},
{NAME = "crystalline arrow", PRICE = 20},
{NAME = "great fireball rune", PRICE = 45},
{NAME = "sudden death rune", PRICE = 108},
{NAME = "avalanche rune", PRICE = 45},
{NAME = "icicle rune", PRICE = 30},
{NAME = "fireball rune", PRICE = 30},
{NAME = "thunderstorm rune", PRICE = 37},
}
-- [[ 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 ]] --
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>1000</RefreshRate>
<Enabled>yes</Enabled>
</monitor-my-hunting>
<boting-stats>
<Script>-- [ Simple HUD by Fsma92 ] --
local fontfamily = "verdana"
local fontsize = 8
local headfontsize = 8
local fontcolor = 0x000000
local headfontcolor = 0x000000
local startposx = 2
local startposy = 15
setfontstyle(fontfamily, headfontsize, headfontcolor)
setfontcolor(rgbcolor(30, 144, 255))
addtext(" - Farmine mine V1.1 by Ticoune -", startposx, startposy+10)
setfontstyle(fontfamily, fontsize, fontcolor)
setfontcolor(rgbcolor(205, 200, 177))
addtext("Level: ", startposx+10, startposy+25)
addtext(level, startposx+72, startposy+25)
setfontcolor(rgbcolor(205, 200, 177))
addtext("XP to Lvl: ", startposx+10, startposy+40)
addtext(exptolevel(), startposx+72, startposy+40)
setfontcolor(rgbcolor(205, 200, 177))
addtext("XP Gain: ", startposx+10, startposy+85)
addtext(expgained, startposx+72, startposy+85)
setfontcolor(rgbcolor(205, 200, 177))
addtext("XP/Hour: ", startposx+10, startposy+55)
addtext(exphour, startposx+72, startposy+55)
setfontcolor(rgbcolor(205, 200, 177))
addtext("Stamina:", startposx+10, startposy+115)
addtext(math.floor(stamina/60).." Hours", startposx+72, startposy+115)
setfontcolor(rgbcolor(205, 200, 177))
addtext("Off Train:", startposx+10, startposy+130)
addtext(math.floor(offtrain/60).." Hours", startposx+72, startposy+130)
addtext("Balance:", startposx+10, startposy+145)
addtext(balance, startposx+72, startposy+145)
addtext("Time On:", startposx+10, startposy+100)
addtext('' .. timehunt, startposx+72, startposy+100)
addtext("Next Lvl:", startposx+10, startposy+70)
addtext('' .. timetolevel, startposx+72, startposy+70)
setfontstyle(fontfamily, headfontsize, headfontcolor)
setfontcolor(rgbcolor(30, 144, 255))
addtext(" % HUD Made By Fsma92 % ", startposx, startposy+160)
setfontstyle(fontfamily, fontsize, fontcolor)
setfontcolor(rgbcolor(205, 200, 177))
addtext("Health: ", startposx+10, startposy+175)
addtext(hp .. " / " .. maxhp .. " ", startposx+72, startposy+175)
setfontcolor(rgbcolor(205, 200, 177))
addtext("Mana: ", startposx+10, startposy+190)
addtext(mp .. " / " .. maxmp .. " ", startposx+72, startposy+190)
setfontcolor(rgbcolor(205, 200, 177))
addtext("Cap: ", startposx+10, startposy+205)
addtext(cap, startposx+72, startposy+205)
addtext("Magic:", startposx+10, startposy+220)
addtext(mlevel, startposx+72, startposy+220)
addtext(mlevelpc, startposx+96, startposy+220)
addtext("%", startposx+121, startposy+220)
addtext("Club:", startposx+10, startposy+235)
addtext(club, startposx+72, startposy+235)
addtext(clubpc, startposx+96, startposy+235)
addtext("%", startposx+121, startposy+235)
addtext("Sword:", startposx+10, startposy+250)
addtext(sword, startposx+72, startposy+250)
addtext(swordpc, startposx+96, startposy+250)
addtext("%", startposx+121, startposy+250)
addtext("Axe:", startposx+10, startposy+265)
addtext(axe, startposx+72, startposy+265)
addtext(axepc, startposx+96, startposy+265)
addtext("%", startposx+121, startposy+265)
addtext("Shield:", startposx+10, startposy+280)
addtext(shielding, startposx+72, startposy+280)
addtext(shieldingpc, startposx+96, startposy+280)
addtext("%", startposx+121, startposy+280)
addtext("Distance:", startposx+10, startposy+295)
addtext(distance, startposx+72, startposy+295)
addtext(distancepc, startposx+96, startposy+295)
addtext("%", startposx+121, startposy+295) </Script>
<RefreshRate>1000</RefreshRate>
<Enabled>yes</Enabled>
</boting-stats>
</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>
?r?d?o: Games-Bot.eu