-
GetUnitTitle or TrainerType
Hi all,
Im looking for a way to see what a trainer can train, ive tried looking at CGUnit_C__GetUnitTitle which is at (14054F3E0 x64) but this only returns a pointer to the trainers title.
I want to be able to tell a Fishing Trainer apart from a Warlock Trainer, however I share my bot with a few people who don't use English clients so I am ideally looking for an ID for the title or another method to distinguish the type of trainer.
Does anyone have any ideas?
Thanks
|Leacher:11/2009|Donor:02/2010|Established Member:09/2010|Contributor:09/2010|Elite:08/2013|
-
Active Member
Hey,
probably not the best solution for this, but can you not read the minimap tracking for class trainer/profession trainer to find that out?
-
I can already distinguish between class and profession trainer, but not their subtypes.
|Leacher:11/2009|Donor:02/2010|Established Member:09/2010|Contributor:09/2010|Elite:08/2013|
-
Legendary
It seems that those "title" strings are just localized data from creature cache and and have no id. The best you can do is make a DB of trainer npcs...
-
Post Thanks / Like - 1 Thanks
-Ryuk- (1 members gave Thanks to TOM_RUS for this useful post)
-
Thanks tom_rus, that is what I did in the end.
|Leacher:11/2009|Donor:02/2010|Established Member:09/2010|Contributor:09/2010|Elite:08/2013|