Closed qxpf666 closed 6 years ago
The readme says https://github.com/Rochet2/TrinityCore/blob/multitrainer/src/server/scripts/Custom/multitrainer/README.md
In C++ you can pass the trainer entry to SendTrainerList function. For SQL in world database you can set the trainer entry to the gossip_menu_option table ActionMenuID column for an option that has OptionType 5. The NPC must be a working vendor, so it needs vendor npc flag.
Do you have some problem with it?
It can not work can you give some Example like: MultivendorExample.sql MultivendorExample.cpp
I have now changed the code a bit and created working examples for the SQL and C++. You can see the examples and the new readme here: https://github.com/Rochet2/TrinityCore/tree/multitrainer/src/server/scripts/Custom/multitrainer Since I changed the code a bit you should probably try update to latest version (git pull or git apply -R multitrainer.diff and apply new code).
Big thanks
how to use multitrainer?