About This File
This is a utility plugin that adds nearby Profession Trainers, Arrow/Bullet Vendor, Repair Vendor, Mailbox, Class Trainers, Food Vendor, Trade Supply Vendor, and Reagents Vendor! to the NPCDB as current profile NPC or saved NPC with the correct "Npc.Type" and "Npc.NpcVendorItemClass". The benefit of this is that the wRobot train state, and item/bullet/reagent buying state can be used more dynamic/automatically without needing to setup other things first. Additionally plugins/code that want to search the NpcDB for Trainers or other NpcTypes/VendorItemClasses can do so using code like this:
public static void GoToNearestTrainerForClass() { Npc.NpcType PlyClassNpcType = (Npc.NpcType)Enum.Parse(typeof(Npc.NpcType), ObjectManager.Me.WowClass.ToString() + "Trainer"); Npc NearestTrainer = NpcDB.GetNpcNearby(PlyClassNpcType); // GetNpcNearby(Npc.NpcType, Npc.NpcVendorItemClass) if (NearestTrainer.Type == PlyClassNpcType) { GoToNpcAndInteract(NearestTrainer.Position, NearestTrainer.Entry, 1); } }
Note: TrainerScanner is a more lightweight version that only applies to Class Trainers. Use NpcDumper for all features.
What's New in Version 1.2 See changelog
Released
Major bugfix Now Works both Horde/Alliance
Source code/Updates here:
https://github.com/KateLibby31337/NpcDumper/releases