Template NPC for TrinityCore 3.3.5
UPDATE: You must edit Rbac.h found in TrinityCore\src\server\game\Accounts
Right above RBAC_PERM_MAX
add
// custom permissions 1000+
RBAC_PERM_COMMAND_RELOAD_TEMPLATE_NPC = 1019,
- Copy TemplateNPC.cpp and TemplateNPC.h to your source folder (TrinityCore\src\server\scripts\Custom)
- Copy template_npc.patch to your TrinityCore root folder.
- Apply the patch using git bash console. The command is patch -p1 <template_npc.patch
- Use CMake (configure and generate)
- Execute characters.sql to your database
- Open TrinityCore.sln and Build the solution (Ctrl+Shift+B)
Video Showcase:
https://streamable.com/yxv1m