It wont work with repacks!
So here we go:
1.) Add these 2 line to this file : src\game\ScriptLoader.cpp
Put this to lines that start with void:
void AddSC_guildmaster();
Put this to lines that start with AddSC_:
AddSC_guildmaster();
2.) Copy guildmaster.cpp to src\scripts\custom\
3.) Now open win\TrinityCore&Script VC90.sln with your compiler
4.) Navigat to on the solution explorer to TrinityCore&Script VC90/game/scripts/Custom
5.) Right Click on Custom and choose add ---> Existing Item and choose guildmaster.cpp
6.) Now compilin your solution. (F7)
7.) Execute scripts_guildmaster.sql to world DB.
8.) Make an npc , and put "guildmaster" to the ScriptName field in the mysql database.
9.) Spawn your npc ingame, and now it works You can config guildhouse list in the mysql db, guildhouse table.
DOWNLOAD here.
I DONT KNOW THE ORIGINAL CREATOR OF THIS THING!
Please let me know, and I'll give credits.
The source updated to the latest tc2 rev by:
spgm
Here is more thing for trinity core:
Index of /patchfiles/Single Patch