Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using RBot;
- using System.Windows.Forms;
- /*---------------------- | Items Needed | ----------------------*\
- | |
- | Required: |
- | Hadean Onyx of Nulgath |
- | Voucher of Nulgath (non-mem) |
- | |
- | x = Manual Acquisition May Be Necessary |
- | * = Bot Will Acquire |
- | Consumed (Sorted): |
- | Unidentified 13 x 1 * |
- | Nulgath's Approval x 300 * |
- | Archfiend's Favor x 300 * |
- | Emblem of Nulgath x 20 * |
- | Essence of Nulgath x 50 * |
- | Gem of Nulgath x 20 (x) |
- | Tainted Gem x 100 * |
- | Bone Dust x 20 * |
- | Elemental Ink x 10 * |
- | Elders' Blood x 1 * |
- | The Secret 1 x 1 * |
- | Black Knight Orb x 1 * |
- | Aelita's Emerald x 1 x |
- | Dwakel Decoder x 1 x |
- | Nulgath Shaped Chocolate x 1 x |
- | |
- | Inventory Space Required (At Turn In): 15 (+3/4 Temp) |
- | Max Space Required By Bot (At Any Instance): 7 |
- | - Assuming Unidentified 10 is already in inventory. |
- | |
- \*--------------------------------------------------------------*/
- public class Script{
- public void ScriptMain(ScriptInterface bot){
- bot.Skills.Add(1, 1f);
- bot.Skills.Add(2, 1f);
- bot.Skills.Add(3, 1f);
- bot.Skills.Add(4, 1f);
- bot.Skills.StartTimer();
- bot.Options.SafeTimings = true;
- bot.Options.RestPackets = true;
- bot.Player.LoadBank();
- bot.Inventory.BankAllCoinItems();
- bot.Log("Beginning customVHL Bot!");
- if(!bot.Bank.Contains("Unidentified 13")){
- bot.Log("... Farm for Unidentfied 13 x1...");
- ManaGolem(bot);
- bot.Sleep(1000);
- }
- //Quest has to be accepted to check whether it has been completed today.
- while(!bot.Quests.IsInProgress(802))
- bot.Quests.Accept(802);
- if (bot.Bank.Contains("Elders' Blood") == true) {
- bot.Bank.ToInventory("Elders' Blood");
- }
- if(!bot.Quests.IsDailyComplete(802) && bot.Inventory.Contains("Elders' Blood", 3) == false){
- bot.Log("... Farm for Daily Elder's Blood x1...");
- EldersBlood(bot);
- bot.Player.Jump("Enter", "Spawn");
- bot.Sleep(1000);
- } else {
- // bot.Quests.Abandon(802);
- }
- if(!bot.Bank.Contains("Archfiend's Favor", 300) || !bot.Inventory.Contains("Nulgath's Approval", 300)){
- bot.Log("... Farm for Archfiend's Favor x300, Nulgath's Approval x300...");
- Approvals(bot);
- bot.Sleep(1000);
- }
- if(!bot.Bank.Contains("Emblem of Nulgath", 20)){
- bot.Log("... Farm for Emblem of Nulgath x20...");
- Emblems(bot);
- bot.Player.Jump("Enter", "Spawn");
- bot.Sleep(1000);
- }
- if(!bot.Bank.Contains("Essence of Nulgath", 50)){
- bot.Log("... Farm for Essence of Nulgath x50...");
- Essence(bot);
- bot.Player.Jump("Enter", "Spawn");
- bot.Sleep(1000);
- }
- if(!bot.Bank.Contains("Tainted Gem", 100)){
- bot.Log("... Farm for Tainted Gem x100...");
- TaintedGems(bot);
- bot.Player.Jump("Enter", "Spawn");
- bot.Sleep(1000);
- }
- if(!bot.Bank.Contains("Bone Dust", 20)){
- bot.Log("... Farm for Bone Dust x20...");
- Bonedust(bot);
- bot.Player.Jump("Enter", "Spawn");
- bot.Sleep(1000);
- }
- if(!bot.Inventory.Contains("Elemental Ink", 10)){
- bot.Log("...Farm for Mystic Quills x4 (Elemental Ink x10)...");
- ElementalInk(bot);
- bot.Player.Jump("Enter", "Spawn");
- bot.Sleep(1000);
- }
- if(!bot.Inventory.Contains("The Secret 1")){
- bot.Log("... Farm for Secret 1 x1...");
- TheSecret(bot);
- bot.Player.Jump("Enter", "Spawn");
- bot.Sleep(1000);
- }
- if(!bot.Inventory.Contains("Black Knight Orb")){
- bot.Log("...Farm for Black Knight Orb x1...");
- BlackKnightOrb(bot);
- bot.Player.Jump("Enter", "Spawn");
- bot.Sleep(1000);
- }
- if(bot.Bank.Contains("Aelita's Emerald") == false && bot.Inventory.Contains("Aelita's Emerald") == false) {
- bot.Log("... Getting Aelita's Emerald...");
- AelitasEmerald(bot);
- bot.Sleep(1000);
- }
- if(bot.Inventory.Contains("Nulgath Shaped Chocolate") == false) {
- bot.Log("...Getting Nulgath Shaped Chocolate...");
- NulgathChocolate(bot);
- bot.Sleep(1000);
- }
- if (bot.Inventory.Contains("Dwakel Decoder") == false) {
- bot.Log("... Getting Dwakel Decoder x1...");
- Decoder(bot);
- bot.Sleep(1000);
- }
- bot.Inventory.BankAllCoinItems();
- bot.Log("...Farming EXP till Lvl 85...");
- BloodMood(bot);
- bot.Log("...Farming Mana Golem indefinitely...");
- ManaGolem(bot, true);
- }
- public void SellIfHas(ScriptInterface bot, string itemName){
- Item item = null;
- foreach(Item i in bot.Inventory.Items){
- if(i.Name.ToLower() == itemName.ToLower()){
- item = i;
- break;
- }
- }
- if (item != null)
- bot.Shops.SellItem(item.Name);
- }
- public void ManaGolem(ScriptInterface bot, bool pureFarm = false){
- string [] whitelist = {"Unidentified 13", "Voucher of Nulgath (non-mem)",
- "Voucher of Nulgath", "Gem of Nulgath",
- "Dark Crystal Shard", "Tainted Gem",
- "Totem of Nulgath", "Unidentified 10",
- "Diamond of Nulgath"};
- if (bot.Bank.Contains("Unidentified 13") && !pureFarm) return;
- foreach (string s in whitelist) {
- if (bot.Bank.Contains(s) == true) {
- bot.Bank.ToInventory(s);
- }
- }
- while (bot.Inventory.Contains("Unidentified 13") == false || pureFarm) {
- if (bot.Quests.IsInProgress(2566) == false) {
- bot.Quests.Accept(2566);
- } else {
- bot.Player.Join("gilead", "r8", "Down");
- while (bot.Inventory.ContainsTempItem("Charged Mana Energy for Nulgath", 5) == false) {
- bot.Player.Kill("Mana Elemental");
- bot.Player.RejectExcept(whitelist);
- }
- bot.Player.Join("elemental", "r5", "Down");
- while (bot.Inventory.ContainsTempItem("Mana Energy for Nulgath", 1) == false) {
- bot.Player.Kill("Mana Golem");
- bot.Player.RejectExcept(whitelist);
- }
- bot.Player.Jump("Enter", "Spawn");
- while (bot.Quests.IsInProgress(2566)) {
- bot.Quests.Complete(2566);
- }
- bot.Player.Pickup(whitelist);
- bot.Player.RejectExcept(whitelist);
- }
- }
- bot.Inventory.BankAllCoinItems();
- }
- public void Approvals(ScriptInterface bot){
- if (bot.Bank.Contains("Archfiend's Favor") == true) {
- bot.Bank.ToInventory("Archfiend's Favor");
- }
- if(bot.Map.Name != "evilwarnul")
- bot.Player.Join("evilwarnul--9999", "Enter", "Spawn");
- bot.Player.Jump("r12", "Left");
- bot.Player.SetSpawnPoint();
- while(!bot.Inventory.Contains("Archfiend's Favor", 300) || !bot.Inventory.Contains("Nulgath's Approval", 300)){
- if (bot.Monsters.Exists("Legion Fenrir")) {
- bot.Player.Kill("Legion Fenrir");
- } else
- bot.Player.Kill("*");
- bot.Player.Pickup("Archfiend's Favor", "Nulgath's Approval");
- bot.Player.RejectExcept("Archfiend's Favor", "Nulgath's Approval");
- }
- bot.Player.Jump("Enter", "Spawn");
- bot.Inventory.BankAllCoinItems();
- }
- public void Emblems(ScriptInterface bot){
- if (bot.Bank.Contains("Fiend Seal"))
- bot.Bank.ToInventory("Fiend Seal");
- if (bot.Bank.Contains("Gem of Domination"))
- bot.Bank.ToInventory("Gem of Domination");
- if (bot.Bank.Contains("Nation Round 4 Medal"))
- bot.Bank.ToInventory("Nation Round 4 Medal");
- if (bot.Bank.Contains("Emblem of Nulgath"))
- bot.Bank.ToInventory("Emblem of Nulgath");
- if(bot.Map.Name != "shadowblast") {
- bot.Player.Join("shadowblast", "Enter", "Spawn");
- }
- while(!bot.Inventory.Contains("Emblem of Nulgath", 20)) {
- while(!bot.Quests.IsInProgress(4748))
- bot.Quests.Accept(4748);
- bot.Player.Jump("r13", "Left");
- bot.Player.SetSpawnPoint();
- while(!bot.Inventory.Contains("Fiend Seal", 25) || !bot.Inventory.Contains("Gem of Domination", 1)) {
- if (bot.Inventory.Contains("Fiend Seal", 25) == false) {
- if (bot.Monsters.Exists("Legion Fenrir"))
- bot.Player.Kill("Legion Fenrir");
- else if (bot.Monsters.Exists("Legion Cannon"))
- bot.Player.Kill("Legion Cannon");
- else
- bot.Player.Kill("*");
- } else if (bot.Inventory.Contains("Gem of Domination", 1) == false) {
- if (bot.Monsters.Exists("Shadowrise Guard"))
- bot.Player.Kill("Shadowrise Guard");
- else
- bot.Player.Kill("*");
- }
- if (bot.Player.DropExists("Fiend Seal"))
- bot.Player.Pickup("Fiend Seal");
- if (bot.Player.DropExists("Gem of Domination"))
- bot.Player.Pickup("Gem of Domination");
- bot.Player.RejectAll();
- }
- bot.Player.Jump("r9", "Top");
- bot.Sleep(1500);
- while(bot.Quests.IsInProgress(4748))
- bot.Quests.Complete(4748);
- bot.Wait.ForDrop("Emblem of Nulgath");
- bot.Player.Pickup("Emblem of Nulgath");
- bot.Sleep(1000);
- }
- bot.Inventory.BankAllCoinItems();
- }
- public void Essence(ScriptInterface bot){
- bot.Inventory.BankAllCoinItems();
- if (bot.Bank.Contains("Tendurrr the Assistant"))
- bot.Bank.ToInventory("Tendurrr the Assistant");
- if (bot.Bank.Contains("Defeated Makai"))
- bot.Bank.ToInventory("Defeated Makai");
- if (bot.Map.Name != "tercessuinotlim") {
- bot.Player.Join("citadel", "m22", "Right");
- bot.Sleep(5000);
- bot.Player.Join("tercessuinotlim", "Enter", "Spawn");
- }
- if (bot.Player.Cell != "m2")
- bot.Player.Jump("m2", "Center");
- bot.Player.SetSpawnPoint();
- while(!bot.Bank.Contains("Essence of Nulgath", 50)){
- bot.Player.Kill("Dark Makai");
- if(bot.Player.DropExists("Essence of Nulgath")){
- bot.Bank.ToInventory("Essence of Nulgath");
- bot.Player.Pickup("Essence of Nulgath");
- bot.Inventory.ToBank("Essence of Nulgath");
- }
- if(bot.Player.DropExists("Tendurrr the Assistant")){
- bot.Bank.ToInventory("Tendurrr the Assistant");
- bot.Player.Pickup("Tendurrr the Assistant");
- bot.Inventory.ToBank("Tendurrr the Assistant");
- }
- if(bot.Player.Cell != "m2")
- bot.Player.Jump("m2", "Center");
- bot.Player.RejectExcept("Essence of Nulgath", "Tendurrr the Assistant");
- }
- bot.Inventory.ToBank("Defeated Makai");
- bot.Inventory.ToBank("Tendurrr the Assitant");
- }
- public void TaintedGems(ScriptInterface bot) {
- if (bot.Bank.Contains("Bone Dust"))
- bot.Bank.ToInventory("Bone Dust");
- if (bot.Bank.Contains("Tainted Gem"))
- bot.Bank.ToInventory("Tainted Gem");
- if(bot.Map.Name != "battleunderb")
- bot.Player.Join("battleunderb--9999");
- int forceKill = 0;
- while(!bot.Inventory.Contains("Tainted Gem", 100)){
- while(!bot.Quests.IsInProgress(568))
- bot.Quests.Accept(568);
- if (bot.Quests.IsInProgress(2082) == false)
- bot.Quests.EnsureAccept(2082);
- bot.Player.SetSpawnPoint();
- while(!bot.Inventory.Contains("Bone Dust", 25)){
- if (bot.Monsters.Exists("Skeleton Warrior"))
- bot.Player.Kill("Skeleton Warrior");
- bot.Player.Pickup("Bone Dust", "Tainted Gem", "Undead Essence");
- bot.Player.RejectExcept("Bone Dust", "Tainted Gem", "Undead Essence");
- }
- bot.Player.Jump("Enter", "Spawn");
- bot.Sleep(1500);
- while(bot.Quests.IsInProgress(568)){
- bot.Quests.Complete(568);
- }
- while(bot.Quests.CanComplete(2082)){
- bot.Log("Trading Undead Essences for Spirit Orbs...");
- bot.Quests.Complete(2082);
- bot.Bank.ToInventory("Spirit Orb");
- bot.Wait.ForDrop("Spirit Orb", 10);
- bot.Player.Pickup("Spirit Orb");
- bot.Inventory.ToBank("Spirit Orb");
- bot.Sleep(1000);
- }
- bot.Player.Pickup("Bone Dust", "Tainted Gem", "Undead Essence");
- bot.Player.RejectExcept("Bone Dust", "Tainted Gem", "Undead Essence");
- }
- bot.Inventory.BankAllCoinItems();
- }
- public void TaintedGems2(ScriptInterface bot){
- string [] whitelist = {"Cubes", "Tainted Gem"};
- }
- public void Bonedust(ScriptInterface bot){
- bot.Inventory.BankAllCoinItems();
- if(bot.Map.Name != "battleunderb")
- bot.Player.Join("battleunderb--9999");
- bot.Bank.ToInventory("Bone Dust");
- bot.Player.SetSpawnPoint();
- while(!bot.Inventory.Contains("Bone Dust", 20)){
- if (bot.Monsters.Exists("Skeleton Warrior"))
- bot.Player.Kill("Skeleton Warrior");
- bot.Player.Pickup("Bone Dust", "Undead Essence");
- bot.Player.RejectExcept("Bone Dust", "Undead Essence");
- }
- }
- public void ElementalInk(ScriptInterface bot){
- if(bot.Inventory.Contains("Elemental Ink", 10))
- return;
- bot.Inventory.BankAllCoinItems();
- if (bot.Map.Name != "mobius")
- bot.Player.Join("mobius", "Slugfit", "Bottom");
- if (bot.Player.Cell != "Slugit")
- bot.Player.Jump("Slugfit", "Bottom");
- bot.Player.SetSpawnPoint();
- while (!bot.Inventory.Contains("Mystic Quills", 4)){
- bot.Player.Kill("*");
- bot.Player.Pickup("Mystic Quills");
- bot.Player.RejectExcept("Mystic Quills");
- }
- bot.Player.Jump("Enter", "Spawn");
- bot.Player.Join("spellcraft");
- bot.SendPacket("%xt%zm%buyItem%671975%13284%549%1637%");
- bot.Sleep(1500);
- bot.SendPacket("%xt%zm%buyItem%671975%13284%549%1637%");
- bot.Sleep(2500);
- }
- public void EldersBlood(ScriptInterface bot){
- bot.Player.Join("arcangrove", "Enter", "Spawn");
- bot.Player.Jump("LeftBack", "Left");
- bot.Player.SetSpawnPoint();
- while(bot.Inventory.ContainsTempItem("Slain Gorillaphant", 50) == false) {
- if (bot.Monsters.Exists("Gorillaphant")) {
- bot.Player.Kill("Gorillaphant");
- } else {
- bot.Player.Kill("*");
- }
- }
- bot.Player.Jump("Enter", "Spawn");
- while(bot.Quests.IsInProgress(802))
- bot.Quests.Complete(802);
- bot.Wait.ForDrop("Elders' Blood");
- bot.Player.Pickup("Elders' Blood");
- bot.Inventory.BankAllCoinItems();
- }
- public void TheSecret(ScriptInterface bot){
- if(!bot.Inventory.Contains("The Secret 1")) {
- if (bot.Map.Name != "willowcreek")
- bot.Player.Join("willowcreek-1e99");
- bot.Player.Jump("Yard2", "Right");
- bot.Player.SetSpawnPoint();
- while(!bot.Quests.IsInProgress(623))
- bot.Quests.Accept(623);
- while(!bot.Inventory.Contains("The Secret 1")){
- if (bot.Monsters.Exists("Hidden Spy"))
- bot.Player.Kill("Hidden Spy");
- if (bot.Player.DropExists("The Secret 1"))
- bot.Player.Pickup("The Secret 1");
- }
- }
- }
- public void BlackKnightOrb(ScriptInterface bot){
- bot.Inventory.BankAllCoinItems();
- if(bot.Inventory.Contains("Black Knight Orb"))
- return;
- while(!bot.Quests.IsInProgress(318))
- bot.Quests.Accept(318);
- bot.Player.Join("well", "Boss", "Spawn");
- while(!bot.Inventory.ContainsTempItem("Black Knight Leg Piece"))
- bot.Player.Kill("Gell oh no");
- bot.Player.Join("greendragon", "Boss", "Spawn");
- while(!bot.Inventory.ContainsTempItem("Black Knight Chest Piece"))
- bot.Player.Kill("Greenguard Dragon");
- bot.Player.Join("deathgazer", "Enter", "Spawn");
- while(!bot.Inventory.ContainsTempItem("Black Knight Shoulder Piece"))
- bot.Player.Kill("Deathgazer");
- bot.Player.Join("trunk", "Enter", "Spawn");
- while(!bot.Inventory.ContainsTempItem("Black Knight Arm Piece"))
- bot.Player.Kill("Greenguard Basilisk");
- while(bot.Quests.IsInProgress(318))
- bot.Quests.Complete(318);
- bot.Wait.ForDrop("Black Knight Orb");
- bot.Player.Pickup("Black Knight Orb");
- }
- public void AelitasEmerald(ScriptInterface bot){
- if (bot.Map.Name != "yulgar") {
- bot.Player.Join("yulgar-1e99", "Enter", "Spawn");
- }
- bot.Shops.BuyItem("Aelita's Emerald");
- bot.Inventory.ToBank("Aelita's Emerald");
- }
- public void NulgathChocolate(ScriptInterface bot){
- if (bot.Map.Name != "citadel") {
- bot.Player.Join("citadel-1e99", "Enter", "Spawn");
- }
- if (bot.Player.Gold <= 2000000) {
- if (bot.Map.Name != "greenguardwest") {
- bot.Player.Join("greenguardwest-1e99", "Enter", "Spawn");
- }
- bot.Player.Jump("r12", "Left");
- while (bot.Player.Gold <= 2000000) {
- if (bot.Quests.IsInProgress(236) == false)
- bot.Quests.EnsureAccept(236);
- while (bot.Inventory.ContainsTempItem("Were Egg") == false) {
- if (bot.Monsters.Exists("Big Bad Boar") == true)
- bot.Player.KillForItem("Big Bad Boar", "Were Egg", 1, true, true);
- }
- if (bot.Quests.IsInProgress(236) == true)
- bot.Quests.EnsureComplete(236);
- if (bot.Player.DropExists("Beserker Bunny"))
- bot.Player.Pickup("Berserker Bunny");
- SellIfHas(bot, "Berserker Bunny");
- }
- }
- bot.Shops.BuyItem("Nulgath Shaped Chocolate");
- }
- public void Decoder(ScriptInterface bot){
- if (bot.Map.Name != "crashsite")
- bot.Player.Join("crashsite-1e99", "Farm2", "Right");
- bot.Sleep(2000);
- bot.SendPacket("%xt%zm%getMapItem%0%106%-1%false%wvz%");
- bot.Sleep(1000);
- bot.Player.Pickup("Dwakel Decoder");
- }
- public void BloodMood(ScriptInterface bot){
- if (bot.Map.Name != "bloodmoon")
- bot.Player.Join("bloodmoon--9999", "r3", "Right");
- while (bot.Map.Name == "bloodmoon" && bot.Player.Level != 85) {
- if (bot.Monsters.Exists("Darkness"))
- bot.Player.Kill("Darkness");
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment