shottah

RBOT | Custom VHL (w Lvl Bot)

Jun 5th, 2018
259
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 20.43 KB | None | 0 0
  1. using RBot;
  2. using System.Windows.Forms;
  3.  
  4. /*---------------------- | Items Needed | ----------------------*\
  5.  |                                                              |
  6.  |  Required:                                                   |
  7.  |  Hadean Onyx of Nulgath                                      |
  8.  |  Voucher of Nulgath (non-mem)                                |
  9.  |                                                              |
  10.  |  x = Manual Acquisition May Be Necessary                     |
  11.  |  * = Bot Will Acquire                                        |
  12.  |  Consumed (Sorted):                                          |
  13.  |  Unidentified 13 x 1                                   *     |
  14.  |  Nulgath's Approval x 300                              *     |
  15.  |  Archfiend's Favor x 300                               *     |
  16.  |  Emblem of Nulgath x 20                                *     |
  17.  |  Essence of Nulgath x 50                               *     |
  18.  |  Gem of Nulgath x 20                                  (x)    |
  19.  |  Tainted Gem x 100                                     *     |
  20.  |  Bone Dust x 20                                        *     |
  21.  |  Elemental Ink x 10                                    *     |
  22.  |  Elders' Blood x 1                                     *     |
  23.  |  The Secret 1 x 1                                      *     |
  24.  |  Black Knight Orb x 1                                  *     |
  25.  |  Aelita's Emerald x 1                                  x     |
  26.  |  Dwakel Decoder x 1                                    x     |
  27.  |  Nulgath Shaped Chocolate x 1                          x     |
  28.  |                                                              |
  29.  |  Inventory Space Required (At Turn In): 15 (+3/4 Temp)       |
  30.  |  Max Space Required By Bot (At Any Instance): 7              |
  31.  |      - Assuming Unidentified 10 is already in inventory.     |
  32.  |                                                              |
  33. \*--------------------------------------------------------------*/
  34.  
  35. public class Script{
  36.  
  37.     public void ScriptMain(ScriptInterface bot){
  38.         bot.Skills.Add(1, 1f);
  39.         bot.Skills.Add(2, 1f);
  40.         bot.Skills.Add(3, 1f);
  41.         bot.Skills.Add(4, 1f);
  42.         bot.Skills.StartTimer();
  43.        
  44.         bot.Options.SafeTimings = true;
  45.         bot.Options.RestPackets = true;
  46.        
  47.         bot.Player.LoadBank();
  48.        
  49.         bot.Inventory.BankAllCoinItems();
  50.         bot.Log("Beginning customVHL Bot!");
  51.         if(!bot.Bank.Contains("Unidentified 13")){
  52.             bot.Log("... Farm for Unidentfied 13 x1...");
  53.             ManaGolem(bot);
  54.             bot.Sleep(1000);
  55.         }
  56.  
  57.         //Quest has to be accepted to check whether it has been completed today.
  58.         while(!bot.Quests.IsInProgress(802))
  59.             bot.Quests.Accept(802);
  60.  
  61.         if (bot.Bank.Contains("Elders' Blood") == true) {
  62.             bot.Bank.ToInventory("Elders' Blood");
  63.         }
  64.  
  65.         if(!bot.Quests.IsDailyComplete(802) && bot.Inventory.Contains("Elders' Blood", 3) == false){
  66.             bot.Log("... Farm for Daily Elder's Blood x1...");
  67.             EldersBlood(bot);
  68.             bot.Player.Jump("Enter", "Spawn");
  69.             bot.Sleep(1000);
  70.         } else {
  71.             // bot.Quests.Abandon(802);
  72.         }
  73.        
  74.         if(!bot.Bank.Contains("Archfiend's Favor", 300) || !bot.Inventory.Contains("Nulgath's Approval", 300)){
  75.             bot.Log("... Farm for Archfiend's Favor x300, Nulgath's Approval x300...");
  76.             Approvals(bot);
  77.             bot.Sleep(1000);
  78.         }
  79.        
  80.         if(!bot.Bank.Contains("Emblem of Nulgath", 20)){
  81.             bot.Log("... Farm for Emblem of Nulgath x20...");
  82.             Emblems(bot);
  83.             bot.Player.Jump("Enter", "Spawn");
  84.             bot.Sleep(1000);
  85.         }
  86.        
  87.         if(!bot.Bank.Contains("Essence of Nulgath", 50)){
  88.             bot.Log("... Farm for Essence of Nulgath x50...");
  89.             Essence(bot);
  90.             bot.Player.Jump("Enter", "Spawn");
  91.             bot.Sleep(1000);
  92.         }
  93.        
  94.         if(!bot.Bank.Contains("Tainted Gem", 100)){
  95.             bot.Log("... Farm for Tainted Gem x100...");
  96.             TaintedGems(bot);
  97.             bot.Player.Jump("Enter", "Spawn");
  98.             bot.Sleep(1000);
  99.         }
  100.        
  101.         if(!bot.Bank.Contains("Bone Dust", 20)){
  102.             bot.Log("... Farm for Bone Dust x20...");
  103.             Bonedust(bot);
  104.             bot.Player.Jump("Enter", "Spawn");
  105.             bot.Sleep(1000);
  106.         }
  107.        
  108.         if(!bot.Inventory.Contains("Elemental Ink", 10)){
  109.             bot.Log("...Farm for Mystic Quills x4 (Elemental Ink x10)...");
  110.             ElementalInk(bot);
  111.             bot.Player.Jump("Enter", "Spawn");
  112.             bot.Sleep(1000);
  113.         }
  114.        
  115.         if(!bot.Inventory.Contains("The Secret 1")){
  116.             bot.Log("... Farm for Secret 1 x1...");
  117.             TheSecret(bot);
  118.             bot.Player.Jump("Enter", "Spawn");
  119.             bot.Sleep(1000);
  120.         }
  121.        
  122.         if(!bot.Inventory.Contains("Black Knight Orb")){
  123.             bot.Log("...Farm for Black Knight Orb x1...");
  124.             BlackKnightOrb(bot);
  125.             bot.Player.Jump("Enter", "Spawn");
  126.             bot.Sleep(1000);
  127.         }
  128.  
  129.         if(bot.Bank.Contains("Aelita's Emerald") == false && bot.Inventory.Contains("Aelita's Emerald") == false) {
  130.             bot.Log("... Getting Aelita's Emerald...");
  131.             AelitasEmerald(bot);
  132.             bot.Sleep(1000);
  133.         }
  134.  
  135.         if(bot.Inventory.Contains("Nulgath Shaped Chocolate") == false) {
  136.             bot.Log("...Getting Nulgath Shaped Chocolate...");
  137.             NulgathChocolate(bot);
  138.             bot.Sleep(1000);
  139.         }
  140.        
  141.         if (bot.Inventory.Contains("Dwakel Decoder") == false) {
  142.             bot.Log("... Getting Dwakel Decoder x1...");
  143.             Decoder(bot);
  144.             bot.Sleep(1000);
  145.         }
  146.  
  147.         bot.Inventory.BankAllCoinItems();
  148.        
  149.         bot.Log("...Farming EXP till Lvl 85...");
  150.         BloodMood(bot);
  151.        
  152.         bot.Log("...Farming Mana Golem indefinitely...");
  153.         ManaGolem(bot, true);
  154.     }
  155.  
  156.     public void SellIfHas(ScriptInterface bot, string itemName){
  157.         Item item = null;
  158.         foreach(Item i in bot.Inventory.Items){
  159.             if(i.Name.ToLower() == itemName.ToLower()){
  160.                 item = i;
  161.                 break;
  162.             }
  163.         }
  164.         if (item != null)
  165.             bot.Shops.SellItem(item.Name);
  166.     }
  167.  
  168.     public void ManaGolem(ScriptInterface bot, bool pureFarm = false){
  169.         string [] whitelist = {"Unidentified 13", "Voucher of Nulgath (non-mem)",
  170.                         "Voucher of Nulgath", "Gem of Nulgath",
  171.                         "Dark Crystal Shard", "Tainted Gem",
  172.                         "Totem of Nulgath", "Unidentified 10",
  173.                         "Diamond of Nulgath"};
  174.        
  175.         if (bot.Bank.Contains("Unidentified 13") && !pureFarm) return;
  176.  
  177.         foreach (string s in whitelist) {
  178.             if (bot.Bank.Contains(s) == true) {
  179.                 bot.Bank.ToInventory(s);
  180.             }
  181.         }
  182.        
  183.         while (bot.Inventory.Contains("Unidentified 13") == false || pureFarm) {
  184.             if (bot.Quests.IsInProgress(2566) == false) {
  185.                 bot.Quests.Accept(2566);
  186.             } else {
  187.                 bot.Player.Join("gilead", "r8", "Down");
  188.                 while (bot.Inventory.ContainsTempItem("Charged Mana Energy for Nulgath", 5) == false) {
  189.                     bot.Player.Kill("Mana Elemental");
  190.                     bot.Player.RejectExcept(whitelist);
  191.                 }
  192.  
  193.                 bot.Player.Join("elemental", "r5", "Down");
  194.                 while (bot.Inventory.ContainsTempItem("Mana Energy for Nulgath", 1) == false) {
  195.                     bot.Player.Kill("Mana Golem");
  196.                     bot.Player.RejectExcept(whitelist);
  197.                 }
  198.  
  199.                 bot.Player.Jump("Enter", "Spawn");
  200.                 while (bot.Quests.IsInProgress(2566)) {
  201.                     bot.Quests.Complete(2566);
  202.                 }
  203.  
  204.                 bot.Player.Pickup(whitelist);
  205.                 bot.Player.RejectExcept(whitelist);
  206.  
  207.             }
  208.         }
  209.  
  210.         bot.Inventory.BankAllCoinItems();
  211.     }
  212.  
  213.     public void Approvals(ScriptInterface bot){
  214.        
  215.         if (bot.Bank.Contains("Archfiend's Favor") == true) {
  216.             bot.Bank.ToInventory("Archfiend's Favor");
  217.         }
  218.  
  219.         if(bot.Map.Name != "evilwarnul")
  220.             bot.Player.Join("evilwarnul--9999", "Enter", "Spawn");
  221.        
  222.         bot.Player.Jump("r12", "Left");
  223.         bot.Player.SetSpawnPoint();
  224.         while(!bot.Inventory.Contains("Archfiend's Favor", 300) || !bot.Inventory.Contains("Nulgath's Approval", 300)){
  225.             if (bot.Monsters.Exists("Legion Fenrir")) {
  226.                 bot.Player.Kill("Legion Fenrir");
  227.             } else
  228.                 bot.Player.Kill("*");
  229.            
  230.             bot.Player.Pickup("Archfiend's Favor", "Nulgath's Approval");
  231.             bot.Player.RejectExcept("Archfiend's Favor", "Nulgath's Approval");
  232.         }
  233.  
  234.         bot.Player.Jump("Enter", "Spawn");
  235.         bot.Inventory.BankAllCoinItems();
  236.     }
  237.  
  238.     public void Emblems(ScriptInterface bot){
  239.  
  240.         if (bot.Bank.Contains("Fiend Seal"))
  241.             bot.Bank.ToInventory("Fiend Seal");
  242.         if (bot.Bank.Contains("Gem of Domination"))
  243.             bot.Bank.ToInventory("Gem of Domination");
  244.         if (bot.Bank.Contains("Nation Round 4 Medal"))
  245.             bot.Bank.ToInventory("Nation Round 4 Medal");
  246.         if (bot.Bank.Contains("Emblem of Nulgath"))
  247.             bot.Bank.ToInventory("Emblem of Nulgath");
  248.        
  249.         if(bot.Map.Name != "shadowblast") {
  250.             bot.Player.Join("shadowblast", "Enter", "Spawn");
  251.         }
  252.        
  253.         while(!bot.Inventory.Contains("Emblem of Nulgath", 20)) {
  254.             while(!bot.Quests.IsInProgress(4748))
  255.                 bot.Quests.Accept(4748);
  256.            
  257.             bot.Player.Jump("r13", "Left");
  258.            
  259.             bot.Player.SetSpawnPoint();
  260.             while(!bot.Inventory.Contains("Fiend Seal", 25) || !bot.Inventory.Contains("Gem of Domination", 1)) {
  261.                 if (bot.Inventory.Contains("Fiend Seal", 25) == false) {
  262.                     if (bot.Monsters.Exists("Legion Fenrir"))
  263.                         bot.Player.Kill("Legion Fenrir");
  264.                     else if (bot.Monsters.Exists("Legion Cannon"))
  265.                         bot.Player.Kill("Legion Cannon");
  266.                     else
  267.                         bot.Player.Kill("*");
  268.                 } else if (bot.Inventory.Contains("Gem of Domination", 1) == false) {
  269.                     if (bot.Monsters.Exists("Shadowrise Guard"))
  270.                         bot.Player.Kill("Shadowrise Guard");
  271.                     else
  272.                         bot.Player.Kill("*");
  273.                 }
  274.  
  275.                 if (bot.Player.DropExists("Fiend Seal"))
  276.                     bot.Player.Pickup("Fiend Seal");
  277.                 if (bot.Player.DropExists("Gem of Domination"))
  278.                     bot.Player.Pickup("Gem of Domination");
  279.                
  280.                 bot.Player.RejectAll();
  281.             }
  282.            
  283.             bot.Player.Jump("r9", "Top");
  284.             bot.Sleep(1500);
  285.            
  286.             while(bot.Quests.IsInProgress(4748))
  287.                 bot.Quests.Complete(4748);
  288.            
  289.             bot.Wait.ForDrop("Emblem of Nulgath");
  290.             bot.Player.Pickup("Emblem of Nulgath");
  291.             bot.Sleep(1000);
  292.         }
  293.  
  294.         bot.Inventory.BankAllCoinItems();
  295.     }
  296.  
  297.     public void Essence(ScriptInterface bot){
  298.         bot.Inventory.BankAllCoinItems();
  299.        
  300.         if (bot.Bank.Contains("Tendurrr the Assistant"))
  301.             bot.Bank.ToInventory("Tendurrr the Assistant");
  302.         if (bot.Bank.Contains("Defeated Makai"))
  303.             bot.Bank.ToInventory("Defeated Makai");
  304.        
  305.         if (bot.Map.Name != "tercessuinotlim") {
  306.             bot.Player.Join("citadel", "m22", "Right");
  307.             bot.Sleep(5000);
  308.             bot.Player.Join("tercessuinotlim", "Enter", "Spawn");
  309.         }
  310.        
  311.         if (bot.Player.Cell != "m2")
  312.             bot.Player.Jump("m2", "Center");
  313.        
  314.         bot.Player.SetSpawnPoint();
  315.         while(!bot.Bank.Contains("Essence of Nulgath", 50)){
  316.             bot.Player.Kill("Dark Makai");
  317.             if(bot.Player.DropExists("Essence of Nulgath")){
  318.                 bot.Bank.ToInventory("Essence of Nulgath");
  319.                 bot.Player.Pickup("Essence of Nulgath");
  320.                 bot.Inventory.ToBank("Essence of Nulgath");
  321.             }
  322.             if(bot.Player.DropExists("Tendurrr the Assistant")){
  323.                 bot.Bank.ToInventory("Tendurrr the Assistant");
  324.                 bot.Player.Pickup("Tendurrr the Assistant");
  325.                 bot.Inventory.ToBank("Tendurrr the Assistant");
  326.             }
  327.             if(bot.Player.Cell != "m2")
  328.                 bot.Player.Jump("m2", "Center");
  329.             bot.Player.RejectExcept("Essence of Nulgath", "Tendurrr the Assistant");
  330.         }
  331.  
  332.         bot.Inventory.ToBank("Defeated Makai");
  333.         bot.Inventory.ToBank("Tendurrr the Assitant");
  334.     }
  335.  
  336.     public void TaintedGems(ScriptInterface bot) {
  337.  
  338.         if (bot.Bank.Contains("Bone Dust"))
  339.             bot.Bank.ToInventory("Bone Dust");
  340.         if (bot.Bank.Contains("Tainted Gem"))
  341.             bot.Bank.ToInventory("Tainted Gem");
  342.  
  343.  
  344.         if(bot.Map.Name != "battleunderb")
  345.             bot.Player.Join("battleunderb--9999");
  346.        
  347.        
  348.        
  349.         int forceKill = 0;
  350.         while(!bot.Inventory.Contains("Tainted Gem", 100)){
  351.             while(!bot.Quests.IsInProgress(568))
  352.                 bot.Quests.Accept(568);
  353.                
  354.             if (bot.Quests.IsInProgress(2082) == false)
  355.                 bot.Quests.EnsureAccept(2082);
  356.            
  357.             bot.Player.SetSpawnPoint();
  358.             while(!bot.Inventory.Contains("Bone Dust", 25)){
  359.                 if (bot.Monsters.Exists("Skeleton Warrior"))
  360.                     bot.Player.Kill("Skeleton Warrior");
  361.                 bot.Player.Pickup("Bone Dust", "Tainted Gem", "Undead Essence");
  362.                 bot.Player.RejectExcept("Bone Dust", "Tainted Gem", "Undead Essence");
  363.             }
  364.             bot.Player.Jump("Enter", "Spawn");
  365.             bot.Sleep(1500);
  366.             while(bot.Quests.IsInProgress(568)){
  367.                 bot.Quests.Complete(568);
  368.             }
  369.            
  370.             while(bot.Quests.CanComplete(2082)){
  371.                 bot.Log("Trading Undead Essences for Spirit Orbs...");
  372.                 bot.Quests.Complete(2082);
  373.                 bot.Bank.ToInventory("Spirit Orb");
  374.                 bot.Wait.ForDrop("Spirit Orb", 10);
  375.                 bot.Player.Pickup("Spirit Orb");
  376.                 bot.Inventory.ToBank("Spirit Orb");
  377.                 bot.Sleep(1000);
  378.             }
  379.  
  380.             bot.Player.Pickup("Bone Dust", "Tainted Gem", "Undead Essence");
  381.             bot.Player.RejectExcept("Bone Dust", "Tainted Gem", "Undead Essence");
  382.         }
  383.  
  384.         bot.Inventory.BankAllCoinItems();
  385.     }
  386.    
  387.     public void TaintedGems2(ScriptInterface bot){
  388.         string [] whitelist = {"Cubes", "Tainted Gem"};
  389.     }
  390.  
  391.     public void Bonedust(ScriptInterface bot){
  392.         bot.Inventory.BankAllCoinItems();
  393.        
  394.         if(bot.Map.Name != "battleunderb")
  395.             bot.Player.Join("battleunderb--9999");
  396.        
  397.         bot.Bank.ToInventory("Bone Dust");
  398.         bot.Player.SetSpawnPoint();
  399.         while(!bot.Inventory.Contains("Bone Dust", 20)){
  400.             if (bot.Monsters.Exists("Skeleton Warrior"))
  401.                 bot.Player.Kill("Skeleton Warrior");
  402.             bot.Player.Pickup("Bone Dust", "Undead Essence");
  403.             bot.Player.RejectExcept("Bone Dust", "Undead Essence");
  404.         }
  405.     }
  406.  
  407.     public void ElementalInk(ScriptInterface bot){
  408.         if(bot.Inventory.Contains("Elemental Ink", 10))
  409.             return;
  410.         bot.Inventory.BankAllCoinItems();
  411.        
  412.         if (bot.Map.Name != "mobius")
  413.             bot.Player.Join("mobius", "Slugfit", "Bottom");
  414.         if (bot.Player.Cell != "Slugit")
  415.             bot.Player.Jump("Slugfit", "Bottom");
  416.            
  417.         bot.Player.SetSpawnPoint();
  418.        
  419.         while (!bot.Inventory.Contains("Mystic Quills", 4)){
  420.             bot.Player.Kill("*");
  421.             bot.Player.Pickup("Mystic Quills");
  422.             bot.Player.RejectExcept("Mystic Quills");
  423.         }
  424.        
  425.         bot.Player.Jump("Enter", "Spawn");
  426.        
  427.         bot.Player.Join("spellcraft");
  428.  
  429.         bot.SendPacket("%xt%zm%buyItem%671975%13284%549%1637%");
  430.         bot.Sleep(1500);
  431.         bot.SendPacket("%xt%zm%buyItem%671975%13284%549%1637%");
  432.         bot.Sleep(2500);
  433.     }
  434.  
  435.     public void EldersBlood(ScriptInterface bot){
  436.         bot.Player.Join("arcangrove", "Enter", "Spawn");
  437.         bot.Player.Jump("LeftBack", "Left");
  438.         bot.Player.SetSpawnPoint();
  439.         while(bot.Inventory.ContainsTempItem("Slain Gorillaphant", 50) == false) {
  440.             if (bot.Monsters.Exists("Gorillaphant")) {
  441.                 bot.Player.Kill("Gorillaphant");
  442.             } else {
  443.                 bot.Player.Kill("*");
  444.             }
  445.         }
  446.         bot.Player.Jump("Enter", "Spawn");
  447.        
  448.         while(bot.Quests.IsInProgress(802))
  449.             bot.Quests.Complete(802);
  450.         bot.Wait.ForDrop("Elders' Blood");
  451.         bot.Player.Pickup("Elders' Blood");
  452.  
  453.         bot.Inventory.BankAllCoinItems();
  454.     }
  455.  
  456.     public void TheSecret(ScriptInterface bot){
  457.         if(!bot.Inventory.Contains("The Secret 1")) {
  458.             if (bot.Map.Name != "willowcreek")
  459.                 bot.Player.Join("willowcreek-1e99");
  460.             bot.Player.Jump("Yard2", "Right");
  461.             bot.Player.SetSpawnPoint();
  462.             while(!bot.Quests.IsInProgress(623))
  463.                 bot.Quests.Accept(623);
  464.             while(!bot.Inventory.Contains("The Secret 1")){
  465.                 if (bot.Monsters.Exists("Hidden Spy"))
  466.                     bot.Player.Kill("Hidden Spy");
  467.                 if (bot.Player.DropExists("The Secret 1"))
  468.                     bot.Player.Pickup("The Secret 1");
  469.             }
  470.         }
  471.     }
  472.  
  473.     public void BlackKnightOrb(ScriptInterface bot){
  474.         bot.Inventory.BankAllCoinItems();
  475.  
  476.         if(bot.Inventory.Contains("Black Knight Orb"))
  477.             return;
  478.        
  479.         while(!bot.Quests.IsInProgress(318))
  480.             bot.Quests.Accept(318);
  481.        
  482.         bot.Player.Join("well", "Boss", "Spawn");
  483.         while(!bot.Inventory.ContainsTempItem("Black Knight Leg Piece"))
  484.             bot.Player.Kill("Gell oh no");
  485.        
  486.         bot.Player.Join("greendragon", "Boss", "Spawn");
  487.         while(!bot.Inventory.ContainsTempItem("Black Knight Chest Piece"))
  488.             bot.Player.Kill("Greenguard Dragon");
  489.        
  490.         bot.Player.Join("deathgazer", "Enter", "Spawn");
  491.         while(!bot.Inventory.ContainsTempItem("Black Knight Shoulder Piece"))
  492.             bot.Player.Kill("Deathgazer");
  493.        
  494.         bot.Player.Join("trunk", "Enter", "Spawn");
  495.         while(!bot.Inventory.ContainsTempItem("Black Knight Arm Piece"))
  496.             bot.Player.Kill("Greenguard Basilisk");
  497.        
  498.         while(bot.Quests.IsInProgress(318))
  499.             bot.Quests.Complete(318);
  500.        
  501.         bot.Wait.ForDrop("Black Knight Orb");
  502.         bot.Player.Pickup("Black Knight Orb");
  503.     }
  504.  
  505.     public void AelitasEmerald(ScriptInterface bot){
  506.         if (bot.Map.Name != "yulgar") {
  507.             bot.Player.Join("yulgar-1e99", "Enter", "Spawn");
  508.         }
  509.  
  510.         bot.Shops.BuyItem("Aelita's Emerald");
  511.         bot.Inventory.ToBank("Aelita's Emerald");
  512.     }
  513.  
  514.     public void NulgathChocolate(ScriptInterface bot){
  515.         if (bot.Map.Name != "citadel") {
  516.             bot.Player.Join("citadel-1e99", "Enter", "Spawn");
  517.         }
  518.        
  519.         if (bot.Player.Gold <= 2000000) {
  520.             if (bot.Map.Name != "greenguardwest") {
  521.                 bot.Player.Join("greenguardwest-1e99", "Enter", "Spawn");
  522.             }
  523.            
  524.             bot.Player.Jump("r12", "Left");
  525.            
  526.             while (bot.Player.Gold <= 2000000) {
  527.                 if (bot.Quests.IsInProgress(236) == false)
  528.                     bot.Quests.EnsureAccept(236);
  529.                 while (bot.Inventory.ContainsTempItem("Were Egg") == false) {
  530.                     if (bot.Monsters.Exists("Big Bad Boar") == true)
  531.                         bot.Player.KillForItem("Big Bad Boar", "Were Egg", 1, true, true);
  532.                 }
  533.                 if (bot.Quests.IsInProgress(236) == true)
  534.                     bot.Quests.EnsureComplete(236);
  535.                 if (bot.Player.DropExists("Beserker Bunny"))
  536.                     bot.Player.Pickup("Berserker Bunny");
  537.                 SellIfHas(bot, "Berserker Bunny");
  538.             }
  539.         }
  540.        
  541.         bot.Shops.BuyItem("Nulgath Shaped Chocolate");
  542.     }
  543.    
  544.     public void Decoder(ScriptInterface bot){
  545.         if (bot.Map.Name != "crashsite")
  546.             bot.Player.Join("crashsite-1e99", "Farm2", "Right");
  547.            
  548.         bot.Sleep(2000);
  549.        
  550.         bot.SendPacket("%xt%zm%getMapItem%0%106%-1%false%wvz%");
  551.         bot.Sleep(1000);
  552.         bot.Player.Pickup("Dwakel Decoder");
  553.     }
  554.    
  555.     public void BloodMood(ScriptInterface bot){
  556.    
  557.     if (bot.Map.Name != "bloodmoon")
  558.         bot.Player.Join("bloodmoon--9999", "r3", "Right");
  559.    
  560.     while (bot.Map.Name == "bloodmoon" && bot.Player.Level != 85) {
  561.         if (bot.Monsters.Exists("Darkness"))
  562.             bot.Player.Kill("Darkness");
  563.     }
  564.    
  565.     }
  566. }
Advertisement
Add Comment
Please, Sign In to add comment