[Archive] Trainer problem
[Archive] Trainer problem
![[Image: ouvATcvwTH2u9pz5UN3asA.png]](https://image.prntscr.com/image/ouvATcvwTH2u9pz5UN3asA.png)
![[Image: zy4lhiorTZGa06Rc8U07WQ.png]](https://image.prntscr.com/image/zy4lhiorTZGa06Rc8U07WQ.png)
Archived author: gelbes • Posted: 2025-11-04T18:12:55.278536
Original source
Hey guys.
I have a pretty big problem with my custom trainers. I created some custom trainers (which does only teach dual-spec and lets you unlearn, you can't actually learn your class skills on them).
In the npc_trainer table I first set every NPC-entry-ID with the reference for their spells. That did not work at all (even the normal trainers have it like that).
![[Image: ouvATcvwTH2u9pz5UN3asA.png]](https://image.prntscr.com/image/ouvATcvwTH2u9pz5UN3asA.png)
Screenshot
Captured with Lightshot
prnt.sc
After that I added every spell to the entry-ID's
![[Image: zy4lhiorTZGa06Rc8U07WQ.png]](https://image.prntscr.com/image/zy4lhiorTZGa06Rc8U07WQ.png)
Screenshot
Captured with Lightshot
prnt.sc
Didn't work either. Can someone pleaase help me and tell me what I'm missing? I spend three days on that now and I don't know what to do anymore.
The console says:
"Creature 15131291 (Entry: 888860) have UNIT_NPC_FLAG_TRAINER but have empty trainer spell list."
This can't be the case. Or does the npc_trainer have nothing to do with that?
The question is why is the class trainer not training the spells?
Thanks in advance and have a good one