forked from BrenoHenrike/Scripts
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCoreFarms.cs
More file actions
1808 lines (1669 loc) · 66.2 KB
/
Copy pathCoreFarms.cs
File metadata and controls
1808 lines (1669 loc) · 66.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
using RBot;
using RBot.Items;
public class CoreFarms
{
public ScriptInterface Bot => ScriptInterface.Instance;
public CoreBots Core => CoreBots.Instance;
//CLASS Boost! (60 min) -- 27555
//Doom CLASS Boost! (60 min) -- 19761 (can get this from /join Doom merge with Daily XP Boosts)
//Daily Login Class Boost *20 min* -- 22447
//REPUTATION Boost! (60 min) -- 27553
//Doom REP Boost! (60 min) -- 19762 (can get this from /join Doom merge with Daily XP Boosts)
//REPUTATION Boost! (20 min) -- 22449
//GOLD Boost! (60 min) -- 27554
//Doom GOLD Boost! (60 min) -- 19763 (can get this from /join Doom merge with Daily XP Boosts)
//GOLD Boost! (20 min) -- 22450
//XP Boost! (60 min) -- 27552
//Daily XP Boost! (1 hr) -- 19189
//XP Boost! (20 min) -- 22448
/// <summary>
/// Uses a boost with the given ID.
/// </summary>
/// <param name="boostID">ID of the Boost</param>
/// <param name="type">Type of the Boost</param>
/// <param name="useMultiple">Whether use more than one boost</param>
public void UseBoost(int boostID, BoostType type, bool useMultiple = true)
{
if (useMultiple)
{
Bot.RegisterHandler(5, b =>
{
if (!b.Player.IsBoostActive(type))
b.Player.UseBoost(boostID);
});
}
else
{
Bot.Player.UseBoost(boostID);
}
}
/// <summary>
/// Uses a boost with one of the IDs present in <see cref="BoostIDs"/>
/// </summary>
/// <param name="boost">Desired Boost</param>
/// <param name="type">Type of the Boost</param>
/// <param name="useMultiple">Whether use more than one boost</param>
public void UseBoost(BoostIDs boost, BoostType type, bool useMultiple = true) => UseBoost((int)boost, type, useMultiple);
#region Gold
public void Gold(int quant = 100000000)
{
if (Bot.Player.Gold >= quant)
return;
BattleGroundE(quant);
BerserkerBunny(quant);
}
/// <summary>
/// Farms Gold in Battle Ground E with quests Level 46-60 and 61-75
/// </summary>
/// <param name="goldQuant">How much gold to farm</param>
public void BattleGroundE(int goldQuant = 100000000)
{
if (Bot.Player.Gold >= goldQuant)
return;
if (Bot.Player.Level < 61)
return;
Core.EquipClass(ClassType.Farm);
Core.Logger($"Farming {goldQuant} gold");
int i = 1;
while (Bot.Player.Gold < goldQuant && Bot.Player.Gold <= 100000000)
{
Core.EnsureAccept(3991, 3992);
Core.KillMonster("battlegrounde", "r2", "Center", "*", "Battleground D Opponent Defeated", 10, log: false);
Core.KillMonster("battlegrounde", "r2", "Center", "*", "Battleground E Opponent Defeated", 10, log: false);
Core.EnsureComplete(3991, 3992, 0);
Core.Logger($"Completed x{i++}");
}
}
/// <summary>
/// Farms Gold by selling Berserker Bunny
/// </summary>
/// <param name="goldQuant">How much gold to farm</param>
public void BerserkerBunny(int goldQuant = 100000000)
{
if (Bot.Player.Gold >= goldQuant)
return;
Core.AddDrop("Berserker Bunny");
Core.EquipClass(ClassType.Solo);
Core.Logger($"Farming {goldQuant} gold");
int i = 1;
while (Bot.Player.Gold < goldQuant && Bot.Player.Gold <= 100000000)
{
Core.EnsureAccept(236);
Core.HuntMonster("greenguardwest", "Big Bad Boar", "Were Egg", log: false);
Core.EnsureComplete(236);
Bot.Player.Pickup("Berserker Bunny");
Bot.Sleep(Core.ActionDelay);
Bot.Shops.SellItem("Berserker Bunny");
Core.Logger($"Completed x{i++}");
}
}
#endregion
#region Experience
public void Experience(int level = 100)
{
if (Bot.Player.Level >= level)
return;
IcestormArena(level);
}
/// <summary>
/// Farms level in Ice Storm Arena
/// </summary>
/// <param name="level">Desired level</param>
public void IcestormArena(int level = 100, bool rankUpClass = false)
{
if (Bot.Player.Level >= level && !rankUpClass)
return;
if (!rankUpClass)
Core.EquipClass(ClassType.Farm);
bool OptionRestore = Bot.Options.AggroMonsters;
Bot.Options.AggroMonsters = true;
while ((Bot.Player.Level < 5 && Bot.Player.Level < level) || (Bot.Player.Level < 5 && rankUpClass && Bot.Player.Rank != 10))
Core.KillMonster("icestormarena", "r4", "Bottom", "*", log: false, publicRoom: true);
while ((Bot.Player.Level < 10 && Bot.Player.Level < level) || (Bot.Player.Level < 10 && rankUpClass && Bot.Player.Rank != 10))
Core.KillMonster("icestormarena", "r5", "Left", "*", log: false, publicRoom: true);
while ((Bot.Player.Level < 20 && Bot.Player.Level < level) || (Bot.Player.Level < 20 && rankUpClass && Bot.Player.Rank != 10))
Core.KillMonster("icestormarena", "r6", "Left", "*", log: false, publicRoom: true);
while ((Bot.Player.Level < 25 && Bot.Player.Level < level) || (Bot.Player.Level < 25 && rankUpClass && Bot.Player.Rank != 10))
{
Core.EnsureAccept(6628);
Core.KillMonster("icestormarena", "r7", "Left", "*", "Icewing Grunt Defeated", 3, log: false, publicRoom: true);
Core.EnsureComplete(6628);
}
while ((Bot.Player.Level < 30 && Bot.Player.Level < level) || (Bot.Player.Level < 30 && rankUpClass && Bot.Player.Rank != 10))
Core.KillMonster("icestormarena", "r10", "Left", "*", log: false, publicRoom: true);
while ((Bot.Player.Level < 35 && Bot.Player.Level < level) || (Bot.Player.Level < 35 && rankUpClass && Bot.Player.Rank != 10))
{
Core.EnsureAccept(6629);
Core.KillMonster("icestormarena", "r11", "Left", "*", "Icewing Warrior Defeated", 3, log: false, publicRoom: true);
Core.EnsureComplete(6629);
}
while ((Bot.Player.Level < 50 && Bot.Player.Level < level) || (Bot.Player.Level < 50 && rankUpClass && Bot.Player.Rank != 10))
Core.KillMonster("icestormarena", "r14", "Left", "*", log: false, publicRoom: true);
while ((Bot.Player.Level < 75 && Bot.Player.Level < level) || (Bot.Player.Level < 75 && rankUpClass && Bot.Player.Rank != 10))
Core.KillMonster("icestormarena", "r3b", "Top", "*", log: false, publicRoom: true);
while ((Bot.Player.Level < 100 && Bot.Player.Level < level) || (Bot.Player.Level <= 100 && rankUpClass && Bot.Player.Rank != 10))
Core.KillMonster("icestormarena", "r3c", "Top", "*", log: false, publicRoom: true);
Bot.Options.AggroMonsters = OptionRestore;
}
/// <summary>
/// Farms in Seven Circles War for level and items
/// </summary>
/// <param name="level">Desired level</param>
/// <param name="wrathEssence">Desired quantity of "Essence of Wrath"</param>
/// <param name="heresySouls">Desired quantity of "Souls of Heresy"</param>
public void SevenCirclesWar(int level = 100, int wrathEssence = 0, int heresySouls = 0)
{
if (Bot.Player.Level >= level && wrathEssence == 0 && heresySouls == 0)
return;
if (!Bot.Quests.IsAvailable(7979))
Core.Logger("Do the /Join SevenCircles history with the Farm/SevenCircles[History].cs", messageBox: true, stopBot: true);
Core.AddDrop("Essence of Wrath", "Souls of Heresy");
while (Bot.Player.Level < level || (!Core.CheckInventory("Essence of Wrath", wrathEssence) && !Core.CheckInventory("Souls of Heresy", heresySouls)))
{
Core.EnsureAccept(7979, 7980, 7981);
Core.KillMonster("sevencircleswar", "Enter", "Spawn", "Wrath Guard", "Wrath Guards Defeated", 12, publicRoom: true);
Core.EnsureComplete(7979);
while (Bot.Inventory.ContainsTempItem("War Medal", 5))
Core.ChainComplete(7980);
while (Bot.Inventory.ContainsTempItem("Mega War Medal", 3))
Core.ChainComplete(7981);
Bot.Player.Pickup("Essence of Wrath", "Souls of Heresy");
}
}
#endregion
#region Misc
/// <summary>
/// Farms the Black Knight Orb
/// </summary>
public void BlackKnightOrb()
{
if (Core.CheckInventory("Black Knight Orb"))
return;
Core.AddDrop("Black Knight Orb");
Core.EnsureAccept(318);
Core.HuntMonster("well", "Gell Oh No", "Black Knight Leg Piece");
Core.HuntMonster("greendragon", "Greenguard Dragon", "Black Knight Chest Piece");
Core.HuntMonster("deathgazer", "DeathGazer", "Black Knight Shoulder Piece");
Core.HuntMonster("trunk", "Greenguard Basilisk", "Black Knight Arm Piece");
Core.EnsureComplete(318);
Bot.Player.Pickup("Black Knight Orb");
}
/// <summary>
/// Kills the Restorers from /BludrutBrawl for "The Secret 4" item
/// </summary>
public void TheSecret4()
{
if (Core.CheckInventory("The Secret 4"))
return;
Core.EquipClass(ClassType.Solo);
while (!Core.CheckInventory("The Secret 4"))
{
Core.Join("bludrutbrawl", "Enter0", "Spawn", ignoreCheck: true);
Bot.Wait.ForMapLoad("bludrutbrawl");
Core.BludrutMove(5, "Morale0C");
Core.BludrutMove(4, "Morale0B");
Core.BludrutMove(7, "Morale0A");
Core.BludrutMove(9, "Crosslower");
Core.BludrutMove(14, "Crossupper", 528, 255);
Core.BludrutMove(18, "Resource1A");
Bot.Player.Kill("Team B Restorer");
Bot.Player.Pickup("The Secret 4");
Bot.Player.Kill("Team B Restorer");
Bot.Player.Pickup("The Secret 4");
if (Core.CheckInventory("The Secret 4"))
break;
Core.BludrutMove(20, "Resource1B");
Bot.Player.Kill("Team B Restorer");
Bot.Player.Pickup("The Secret 4");
Bot.Player.Kill("Team B Restorer");
Bot.Player.Pickup("The Secret 4");
}
}
/// <summary>
/// Kills the Team B Captain in /BludrutBrawl for the desired item (Combat Trophy or Yoshino's Citrine)
/// </summary>
/// <param name="item">Name of the desired item</param>
/// <param name="quant">Desired quantity</param>
/// <param name="canSoloBoss">Whether you can solo the Boss without killing Restorers and Brawlers</param>
public void BludrutBrawlBoss(string item = "Combat Trophy", int quant = 500, bool canSoloBoss = true)
{
if (Core.CheckInventory(item, quant))
return;
Core.EquipClass(ClassType.Solo);
Core.AddDrop(item);
Core.Logger($"Farming {quant} {item}. SoloBoss = {canSoloBoss}");
while (!Core.CheckInventory(item, quant))
{
Core.Join("bludrutbrawl", "Enter0", "Spawn", ignoreCheck: true);
Bot.Wait.ForMapLoad("bludrutbrawl");
Core.BludrutMove(5, "Morale0C");
Core.BludrutMove(4, "Morale0B");
Core.BludrutMove(7, "Morale0A");
Core.BludrutMove(9, "Crosslower");
if (!canSoloBoss)
{
Core.BludrutMove(14, "Crossupper", 528, 255);
Core.BludrutMove(18, "Resource1A");
Bot.Player.Kill("Team B Restorer");
Bot.Player.Kill("Team B Restorer");
Core.BludrutMove(20, "Resource1B");
Bot.Player.Kill("Team B Restorer");
Bot.Player.Kill("Team B Restorer");
Core.BludrutMove(21, "Resource1A", 124);
Core.BludrutMove(19, "Crossupper", 124);
Core.BludrutMove(17, "Crosslower", 488, 483);
}
Core.BludrutMove(15, "Morale1A");
if (!canSoloBoss)
Bot.Player.Kill("Team B Brawler");
Core.BludrutMove(23, "Morale1B");
if (!canSoloBoss)
Bot.Player.Kill("Team B Brawler");
Core.BludrutMove(25, "Morale1C");
if (!canSoloBoss)
Bot.Player.Kill("Team B Brawler");
Core.BludrutMove(28, "Captain1", 528, 255);
Bot.Player.Kill("Team B Captain");
if (!Core.CheckInventory(item))
{
Bot.Wait.ForDrop(item, 30);
Bot.Player.Pickup(item);
}
else
Bot.Sleep(5000);
Core.Rest();
}
}
public void BattleUnderB(string item = "Bone Dust", int quant = 1)
{
if (Core.CheckInventory(item, quant))
return;
Core.AddDrop(item);
Core.EquipClass(ClassType.Farm);
Core.KillMonster("battleunderb", "Enter", "Spawn", "*", item, quant, false, publicRoom: true);
}
#endregion
#region Reputation
public void GetAllRanks()
{ // Commented out functions dont excist yet
AegisREP();
AlchemyREP();
ArcangroveREP();
BaconCatREP();
BeastMasterREP();
BlacksmithingREP();
BladeofAweREP();
BrightoakREP();
ChaosMilitiaREP();
ChaosREP();
ChronoSpanREP();
CraggleRockREP();
DeathPitArenaREP();
//DeathPitBrawlREP();
DiabolicalREP();
DoomwoodREP();
DreadFireREP();
DreadrockREP();
DruidGroveREP();
DwarfholdREP();
ElementalMasterREP();
EmberseaREP();
EternalREP();
EtherStormREP();
EvilREP();
//FaerieCourtREP(); <- seasonal
FishingREP();
GlaceraREP();
GoodREP();
HollowbornREP();
HorcREP();
InfernalArmyREP();
LoremasterREP();
LycanREP();
MonsterHunterREP();
MysteriousDungeonREP();
MythsongREP();
NecroCryptREP();
NorthpointeREP();
PetTamerREP();
RavenlossREP();
SandseaREP();
SkyguardREP();
SomniaREP();
SpellCraftingREP();
SwordhavenREP();
ThunderForgeREP();
TreasureHunterREP();
TrollREP();
VampireREP();
YokaiREP();
}
public void AegisREP(int rank = 10)
{
if (FactionRank("Aegis") >= rank)
return;
Core.EquipClass(ClassType.Farm);
Core.Logger($"Farming rank {rank}");
int i = 1;
while (FactionRank("Aegis") < rank)
{
Core.EnsureAccept(4900, 4910, 4914);
Core.HuntMonster("skytower", "Seraphic Assassin", "Seraphic Assassin Dueled", 10);
Core.HuntMonster("skytower", "Virtuous Warrior", "Warriors Dueled", 10);
Core.HuntMonster("skytower", "Seraphic Assassin", "Assassins Handed To Them", 6);
Core.HuntMonster("skytower", "Virtuous Warrior|Seraphic Assassin", "Warrior Butt Beaten", 6);
Core.EnsureComplete(4900, 4910, 4914);
Core.Logger($"Completed x{i++}");
}
}
/// <summary>
/// Uses the specified parameters to make an Alchemy misture
/// </summary>
/// <param name="reagent1">The first reagent.</param>
/// <param name="reagent2">The second reagent</param>
/// <param name="rune">The rune to be used (AlchemyRunes.Gebo by default).</param>
/// <param name="rank">The minimum rank to make the misture, use 0 for any rank.</param>
/// <param name="loop">Whether loop till you run out of reagents</param>
/// <param name="modifier">Some mistures have specific packet modifiers, default is Moose but you can find Man, mRe and others.</param>
public void AlchemyPacket(string reagent1, string reagent2, AlchemyRunes rune = AlchemyRunes.Gebo, int rank = 0, bool loop = true, string modifier = "Moose")
{
if (rank != 0 && FactionRank("Alchemy") < rank)
AlchemyREP(rank);
void Packet()
{
Bot.Sleep(3500);
Bot.SendPacket($"%xt%zm%crafting%1%getAlchWait%11475%11478%false%Ready to Mix%{reagent1}%{reagent2}%{rune}%{modifier}%");
Bot.Sleep(11000);
Bot.SendPacket($"%xt%zm%crafting%1%checkAlchComplete%11475%11478%false%Mix Complete%{reagent1}%{reagent2}%{rune}%{modifier}%");
}
Core.Join("alchemy");
Core.Logger($"Reagents: [{reagent1}], [{reagent2}].");
Core.Logger($"Rune: {rune}.");
Core.Logger($"Modifier: {modifier}.");
if (loop)
{
int i = 1;
while (Core.CheckInventory(new[] { reagent1, reagent2 }))
{
Packet();
Core.Logger($"Completed alchemy x{i++}");
}
}
else
Packet();
}
public void AlchemyREP(int rank = 10, bool goldMethod = true)
{
if (FactionRank("Alchemy") >= rank)
return;
if (!Bot.Player.Factions.Exists(f => f.Name == "Alchemy"))
Core.Logger("You need at least 1 point in Alchemy for the packets to work, make sure you do 1 potion first in /Join Alchemy. Bot Stopped", messageBox: true, stopBot: true);
Core.AddDrop("Dragon Scale", "Ice Vapor");
Core.Logger($"Farming rank {rank} Alchemy");
int i = 1;
while (FactionRank("Alchemy") < rank)
{
if (goldMethod)
{
if (!Core.CheckInventory(new[] { "Ice Vapor", "Dragon Scale" }))
{
if (!Core.CheckInventory("Dragon Runestone", 10))
{
Gold(1000000);
Core.BuyItem("alchemyacademy", 395, "Gold Voucher 100k", 10);
}
Core.BuyItem("alchemyacademy", 395, 7132, 10);
Core.BuyItem("alchemyacademy", 397, 11475, 10, 2);
Core.BuyItem("alchemyacademy", 397, 11478, 10, 2);
}
AlchemyPacket("Dragon Scale", "Ice Vapor", AlchemyRunes.Gebo);
}
else
{
Core.KillMonster("lair", "Enter", "Spawn", "*", "Dragon Scale", 10, false);
Core.KillMonster("lair", "Enter", "Spawn", "*", "Ice Vapor", 10, false);
AlchemyPacket("Dragon Scale", "Ice Vapor", AlchemyRunes.Gebo);
}
Core.Logger($"Iteration {i++} completed");
}
}
public void ArcangroveREP(int rank = 10)
{
if (FactionRank("Arcangrove") >= rank)
return;
Core.EquipClass(ClassType.Farm);
Core.Logger($"Farming rank {rank}");
int i = 1;
while (FactionRank("Arcangrove") < rank)
{
Core.EnsureAccept(794, 795, 796, 797, 798, 799, 800, 801);
Core.HuntMonster("arcangrove", "Seed Spitter", "Spool of Arcane Thread", 10);
Core.HuntMonster("arcangrove", "Seed Spitter", "Defeated Seed Spitter", 10);
Core.HuntMonster("arcangrove", "Seed Spitter", "Bundle of Thyme", 10);
Core.HuntMonster("arcangrove", "Seed Spitter", "Thistle", 5);
Core.HuntMonster("arcangrove", "Seed Spitter", "Pretzel Root", 4);
Core.HuntMonster("arcangrove", "Gorillaphant", "Lore-Strip Gorillaphant Steak", 8);
Core.HuntMonster("arcangrove", "Gorillaphant", "Slain Gorillaphant", 7);
Core.HuntMonster("arcangrove", "Gorillaphant", "Gorillaphant Tusk", 6);
Core.HuntMonster("arcangrove", "Gorillaphant", "Batch of Mustard Seeds", 3);
Core.EnsureComplete(794, 795, 796, 797, 798, 799, 800, 801);
Core.Logger($"Completed x{i++}");
}
}
public void BaconCatREP(int rank = 10)
{
if (FactionRank("BaconCat") >= rank)
return;
Core.EquipClass(ClassType.Farm);
Core.Logger($"Farming rank {rank}");
int i = 1;
while (FactionRank("BaconCat") < rank)
{
if (!Core.IsMember)
{
Core.EnsureAccept(5111, 5112, 5119, 5120);
Core.HuntMonster("baconcatlair", "Cloud Shark", "Cloudy Hide", 6); //these are all locked if the quests arent done
Core.HuntMonster("baconcatlair", "Ice Cream Shark", "Moglinberry Ice Cream", 5); //these are all locked if the quests arent done
Core.HuntMonster("baconcatlair", "Ice Cream Shark", "Shark Sprinkles", 3); //these are all locked if the quests arent done
Core.HuntMonster("baconcatlair", "Cloud Shark", "Cloud Shark Farts", 3); //these are all locked if the quests arent done
Core.HuntMonster("baconcatlair", "Sketchy Shark", "College-Ruled Paper", 3); //these are all locked if the quests arent done
Core.HuntMonster("baconcatlair", "8-Bit Shark", "Great White DLC", 3); //these are all locked if the quests arent done
Core.HuntMonster("baconcatlair", "Cat Clothed Shark", "Kittarian Costumes", 3); //these are all locked if the quests arent done
Core.HuntMonster("baconcatlair", "Cat Clothed Shark", "Shark Teeth", 10); //these are all locked if the quests arent done
Core.EnsureComplete(5111, 5112, 5119, 5120);
}
else
{
Core.EnsureAccept(5121, 5123, 5124);
Core.HuntMonster("baconcatlair", "Robo Shark", "Walking Shark 1 Destroyed", 4); // 5121 rest are locked
Core.HuntMonster("baconcatlair", "Robo Shark", "Walking Shark 2 Destroyed", 4); // 5121 rest are locked
// Core.HuntMonster("baconcatlair", "Robo Shark", "Wheel of Bacon Token", 5, false);
// Core.HuntMonster("baconcatlair", "Robo Shark", "Shark Legs Smashed", 10);
// Core.HuntMonster("baconcatlair", "Robo Shark", "Shark Quarters", 7);
Core.EnsureComplete(5121, 5123, 5124);
}
Core.Logger($"Completed x{i++}");
}
}
public void BeastMasterREP(int rank = 10)
{
if (FactionRank("BeastMaster") >= rank)
return;
if (!Core.IsMember)
{
Core.Logger("Beast Master REP is Member-Only", messageBox: true);
return;
}
Core.EquipClass(ClassType.Farm);
Core.Logger($"Farming rank {rank}");
int i = 1;
while (FactionRank("BeastMaster") < rank)
{
Core.EnsureAccept(3757);
Core.HuntMonster("pyramid", "Golden Scarab", "Gleaming Gems of Containment", 9);
Core.HuntMonster("lair", "Golden Draconian", "Bright Binding of Submission", 8);
Core.EnsureComplete(3757);
Core.Logger($"Completed x{i++}");
}
}
public void BlacksmithingREP(int rank = 4)
{
if (FactionRank("Blacksmithing") >= rank)
return;
Core.EquipClass(ClassType.Farm);
Core.Logger($"Farming rank {rank}");
int i = 1;
while (FactionRank("Blacksmithing") < rank)
{
Core.EnsureAccept(2777);
Core.HuntMonster("greenguardeast", "Wolf", "Furry Lost Sock", 2);
Core.HuntMonster("greenguardwest", "Slime", "Slimy Lost Sock", 5);
Core.EnsureComplete(2777);
Core.EnsureAccept(2777);
Core.HuntMonster("greenguardwest", "Slime", "Slimy Lost Sock", 5);
Core.HuntMonster("greenguardeast", "Wolf", "Furry Lost Sock", 2);
Core.EnsureComplete(2777);
Core.Logger($"Completed x{i++ * 2}");
}
}
public void BladeofAweREP(int rank = 10, bool farmBoA = true)
{
if (FactionRank("Blade of Awe") >= rank && !farmBoA)
return;
if (farmBoA && Core.CheckInventory("Blade of Awe"))
farmBoA = false;
if (farmBoA)
Core.AddDrop("Legendary Stonewrit", "Legendary Handle", "Legendary Hilt", "Legendary Blade", "Legendary Runes");
Core.AddDrop("Stonewrit Found!", "Handle Found!", "Hilt Found!", "Blade Found!", "Runes Found!");
Core.EquipClass(ClassType.Farm);
Core.Logger($"Farming rank {rank}");
int i = 1;
if (!Core.CheckInventory("Legendary Stonewrit", toInv: false) && (!Bot.Quests.IsUnlocked(2934) || farmBoA))
{
Core.EnsureAccept(2933);
Core.HuntMonster("j6", "Sketchy Dragon", "Stonewrit Found!", 1, false);
Core.EnsureComplete(2933);
if (farmBoA)
Bot.Player.Pickup("Legendary Stonewrit");
Core.Logger("Find the Stonewrit! completed");
}
if (!Core.CheckInventory("Legendary Handle", toInv: false) && (!Bot.Quests.IsUnlocked(2935) || farmBoA))
{
Core.EnsureAccept(2934);
Core.HuntMonster("gilead", "Fire Elemental|Water Elemental|Wind Elemental|Earth Elemental", "Handle Found!", 1, false);
Core.EnsureComplete(2934);
if (farmBoA)
Bot.Player.Pickup("Legendary Handle");
Core.Logger("Find the Handle! completed");
}
while (FactionRank("Blade of Awe") < rank)
{
Core.EnsureAccept(2935);
Core.HuntMonster("castleundead", "Skeletal Viking|Skeletal Warrior", "Hilt Found!", 1, false);
Core.EnsureComplete(2935);
if (farmBoA)
{
Bot.Player.Pickup("Legendary Hilt");
if (FactionRank("Blade of Awe") >= 6)
break;
}
Core.Logger($"Completed Find the Hilt! x{i++}");
}
if (farmBoA)
{
if (FactionRank("Blade of Awe") < 6 || !Bot.Quests.IsAvailable(2939))
{
if (!Core.CheckInventory("Legendary Blade", toInv: false))
{
Core.EnsureAccept(2936);
Core.HuntMonster("hydra", "Hydra Head", "Blade Found!", 1, false);
Core.EnsureComplete(2936);
Bot.Player.Pickup("Legendary Blade");
Core.Logger("Find the Blade! completed");
}
if (!Core.CheckInventory("Legendary Runes", toInv: false))
{
Core.EnsureAccept(2937);
Core.KillEscherion("Runes Found!", publicRoom: true);
Core.EnsureComplete(2937);
Bot.Player.Pickup("Legendary Runes");
Core.Logger("Find the Runes! completed");
}
Core.Unbank("Legendary Stonewrit", "Legendary Handle", "Legendary Hilt", "Legendary Blade", "Legendary Runes");
Core.BuyItem("museum", 630, "Blade of Awe");
}
if (FactionRank("Blade of Awe") >= 6 && Bot.Quests.IsAvailable(2939))
Core.BuyItem("museum", 631, "Blade of Awe");
}
}
public void BrightoakREP(int rank = 10)
{
if (FactionRank("Brightoak") >= rank)
return;
if (!Bot.Quests.IsAvailable(4667))
{
Core.Logger("Quest not avaible for farm, do Brightoak saga till Elfhame [Unlocking the Guardian's Mouth]");
return;
}
Core.Logger($"Farming rank {rank}");
int i = 1;
Core.Join("elfhame");
while (FactionRank("Brightoak") < rank)
{
Core.EnsureAccept(4667);
Bot.Map.GetMapItem(3984);
Core.EnsureComplete(4667);
Core.Logger($"Completed x{i++}");
}
}
public void ChaosMilitiaREP(int rank = 10)
{
if (FactionRank("Chaos Militia") >= rank)
return;
Core.Logger($"Farming rank {rank}");
int i = 1;
while (FactionRank("Chaos Militia") < rank)
{
Core.EnsureAccept(5775);
Core.HuntMonster("citadel", "Inquisitor Guard", "Inquisitor's Tabard", 10);
Core.EnsureComplete(5775);
Core.Logger($"Completed x{i++}");
}
}
public void ChaosREP(int rank = 10)
{
if (FactionRank("Chaos") >= rank)
return;
Core.EquipClass(ClassType.Farm);
Core.Logger($"Farming rank {rank}");
int i = 1;
if (Core.IsMember)
MembershipDues(MemberShipsIDS.Chaos);
else
while (FactionRank("Chaos") < rank)
{
Core.EnsureAccept(3594);
Core.KillMonster("mountdoomskull", "b1", "Left", "*", "Chaos Power Increased", 6);
Core.EnsureComplete(3594);
Core.Logger($"Completed x{i++}");
}
}
public void ChronoSpanREP(int rank = 10)
{
if (FactionRank("ChronoSpan") >= rank)
return;
Core.EquipClass(ClassType.Farm);
Core.Logger($"Farming rank {rank}");
int i = 1;
if (Core.IsMember)
MembershipDues(MemberShipsIDS.ChronoSpan);
else
while (FactionRank("ChronoSpan") < rank)
{
Core.EnsureAccept(2204);
Core.HuntMonster("thespan", "Moglin Ghost", "Tin of Ghost Dust", 2);
Core.HuntMonster("thespan", "Minx Fairy", "8 oz Fairy Glitter", 3);
Core.HuntMonster("thespan", "Tog", "Tog Fang", 4);
Core.EnsureComplete(2204);
Core.Logger($"Completed x{i++}");
}
}
public void CraggleRockREP(int rank = 10)
{
if (FactionRank("CraggleRock") >= rank)
return;
Core.EquipClass(ClassType.Farm);
Core.Logger($"Farming rank {rank}");
int i = 1;
while (FactionRank("CraggleRock") < rank)
{
Core.EnsureAccept(7277);
Core.KillMonster("wanders", "r3", "Down", "Kalestri Worshiper", "Star of the Sandsea", 1);
Core.EnsureComplete(7277);
Core.Logger($"Completed x{i++}");
}
}
public void DeathPitArenaREP(int rank = 10)
{
if (FactionRank("Death Pit Arena") >= rank)
return;
if (!Bot.Quests.IsAvailable(5154))
{
Core.Logger("Quest not available for farm, do the Death Pit Arena saga and unlock the quest [Pax Defeated]");
return;
}
Core.EquipClass(ClassType.Solo);
Core.Logger($"Farming rank {rank}");
int i = 1;
while (FactionRank("Death Pit Arena") < rank)
{
Core.EnsureAccept(5153);
Core.HuntMonster("deathpit", "General Hun'Gar", "General Hun'Gar Defeated", 1);
Core.EnsureComplete(5153);
Core.Logger($"Completed x{i++}");
}
}
public void DiabolicalREP(int rank = 10)
{
if (FactionRank("Diabolical") >= rank)
return;
if (!Bot.Quests.IsUnlocked(7877))
{
///Story.KillQuest(7875, "timevoid", "Unending Avatar");
///Story.KillQuest(7876, "twilightedge", "ChaosWeaver Warrior");
}
int i = 1;
while (FactionRank("Diabolical") < rank)
{
Core.EnsureAccept(7877);
Core.HuntMonster("mudluk", "Tiger Leech", "Swamped Leech Tooth");
Core.EnsureComplete(7877);
Core.Logger($"Completed x{i++}");
}
}
public void DoomwoodREP(int rank = 10)
{
if (FactionRank("Doomwood") >= rank)
return;
if (Core.IsMember)
MembershipDues(MemberShipsIDS.Doomwood);
else
Core.AddDrop("Dark Tower Sword", "Light Tower Sword");
Core.EquipClass(ClassType.Farm);
Core.Logger($"Farming rank {rank}");
int i = 1;
while (FactionRank("Doomwood") < rank)
{
if (!Core.IsMember)
{
Core.EnsureAccept(1151, 1152, 1153);
Core.HuntMonster("shadowfallwar", "*", "To Do List of Doom");
Core.HuntMonster("shadowfallwar", "*", "Skeleton Key");
if (Bot.Inventory.ContainsTempItem("Un-Dead Tag", 15))
Core.EnsureComplete(1151);
Core.EnsureComplete(1152, 1153, 0);
}
else
{
if (!Core.CheckInventory("Light Tower Sword"))
{
Core.EnsureAccept(2100);
Core.HuntMonster("battleunderb", "Skeleton Warrior", "Battered Dark Tower Sword");
Core.EnsureComplete(2100);
Bot.Player.Pickup("Dark Tower Sword");
Core.EnsureAccept(2101);
Core.HuntMonster("doomwar", "Bronze DracoZombie", "Dracozombies' Spirits", 13);
Core.EnsureComplete(2101);
Bot.Player.Pickup("Dark Tower Sword");
}
Core.EnsureAccept(2102);
Core.HuntMonster("doomwar", "Dark DracoZombie", "Bones of the Dracozombie");
Core.EnsureComplete(2102);
}
Core.Logger($"Completed x{i++}");
}
if (Core.IsMember)
Bot.Shops.SellItem("Light Tower Sword");
}
public void DreadFireREP(int rank = 10)
{
if (FactionRank("Dreadfire") >= rank)
return;
Core.EquipClass(ClassType.Farm);
Core.Logger($"Farming rank {rank}");
int i = 1;
while (FactionRank("Dreadfire") < rank)
{
Core.EnsureAccept(5706);
Core.HuntMonster("hydra", "Fire Imp", "Brimstone", 7);
Core.EnsureComplete(5706);
Core.Logger($"Completed x{i++}");
}
}
public void DruidGroveREP(int rank = 10)
{
if (FactionRank("Druid Grove") >= rank)
return;
Core.EquipClass(ClassType.Farm);
Core.Logger($"Farming rank {rank}");
int i = 1;
while (FactionRank("Druid Grove") < rank)
{
Core.EnsureAccept(3049);
Core.HuntMonster("bloodtusk", "Crystal-Rock", "Geode", 5);
Core.EnsureComplete(3049);
Core.Logger($"Completed x{i++}");
}
}
public void DwarfholdREP(int rank = 10)
{
if (FactionRank("Dwarfhold") >= rank)
return;
Core.EquipClass(ClassType.Farm);
Core.Logger($"Farming rank {rank}");
int i = 1;
if (Core.IsMember)
MembershipDues(MemberShipsIDS.Dwarfhold);
else
while (FactionRank("Dwarfhold") < rank)
{
Core.EnsureAccept(320, 321);
Core.KillMonster("pines", "Enter", "Right", "Pine Grizzly", "Bear Skin", 5);
Core.KillMonster("pines", "Enter", "Right", "Red Shell Turtle", "Red Turtle Shell", 5);
Core.EnsureComplete(320, 321);
if (Bot.Quests.CanComplete(321))
Core.EnsureComplete(321);
Core.Logger($"Completed x{i++}");
}
}
public void ElementalMasterREP(int rank = 10)
{
if (FactionRank("Elemental Master") >= rank)
return;
Core.Logger($"Farming rank {rank}");
int i = 1;
while (FactionRank("Elemental Master") < rank)
{
Core.EnsureAccept(3050, 3298);
Core.HuntMonster("gilead", "Water Elemental", "Water Core");
Core.HuntMonster("gilead", "Fire Elemental", "Fire Core");
Core.HuntMonster("gilead", "Wind Elemental", "Air Core");
Core.HuntMonster("gilead", "Earth Elemental", "Earth Core");
Core.HuntMonster("gilead", "Mana Elemental", "Mana Core");
Core.EnsureComplete(3050);
if (Bot.Quests.CanComplete(3298))
Core.EnsureComplete(3298);
Core.Logger($"Completed x{i++}");
}
}
public void EmberseaREP(int rank = 10)
{
if (FactionRank("Embersea") >= rank)
return;
Core.EquipClass(ClassType.Farm);
Core.Logger($"Farming rank {rank}");
int i = 1;
if (Core.IsMember)
MembershipDues(MemberShipsIDS.Embersea);
else
while (FactionRank("Embersea") < rank)
{
Core.EnsureAccept(4228);
//Core.EnsureAccept(4224);
Core.HuntMonster("fireforge", "Blazebinder", "Defeated Blazebinder", 5);
//Core.HuntMonster("fireforge", "Blazebinder", "Blazebinder defeated", 2);
//Core.EnsureComplete(4224);
Core.EnsureComplete(4228);
Core.Logger($"Completed x{i++}");
}
}
public void EternalREP(int rank = 10)
{
if (FactionRank("Eternal") >= rank)
return;
if (!Bot.Quests.IsAvailable(5198))
{
Core.Logger("Can't do farming quest [Sphynxes are Riddled with Gems] (/fourdpyramid)", messageBox: true);
return;
}
Core.EquipClass(ClassType.Farm);
Core.Logger($"Farming rank {rank}");
int i = 1;
while (FactionRank("Eternal") < rank)
{
Core.EnsureAccept(5198);
Core.KillMonster("fourdpyramid", "r11", "Right", 2908, "White Gem", 2);
Core.KillMonster("fourdpyramid", "r11", "Right", 2909, "Black Gem", 2);
Core.EnsureComplete(5198);
Core.Logger($"Completed x{i++}");
}
}
public void EtherStormREP(int rank = 10)
{
if (FactionRank("Etherstorm") >= rank)
return;
Core.EquipClass(ClassType.Farm);
Core.Logger($"Farming rank {rank}");
int i = 1;
if (Core.IsMember)
MembershipDues(MemberShipsIDS.Etherstorm);
else
while (FactionRank("Etherstorm") < rank)
{
Core.EnsureAccept(1721);
Core.HuntMonster("etherwardes", "Water Dragon Warrior", "Water Dragon Tears", 3);
Core.HuntMonster("etherwardes", "Fire Dragon Warrior", "Fire Dragon Flames", 3);
Core.HuntMonster("etherwardes", "Air Dragon Warrior", "Air Dragon Breaths", 3);
Core.HuntMonster("etherwardes", "Earth Dragon Warrior", "Earth Dragon Claws", 3);
Core.EnsureComplete(1721);
Core.Logger($"Completed x{i++}");
}
}
public void EvilREP(int rank = 10)
{
if (FactionRank("Evil") >= rank)
return;
Core.ChangeAlignment(Alignment.Evil);
Core.Logger($"Farming rank {rank}");
int i = 1;
if (Core.IsMember)
MembershipDues(MemberShipsIDS.Evil);
else
while (FactionRank("Evil") < 4)
{
Core.EnsureAccept(364);
Core.HuntMonster("newbie", "Slime", "Youthanize");
Core.EnsureComplete(364);
Core.Logger($"Completed x{i++}");