Hello I have a small problem which I do not manage to correct during the compilation.
Here is .cpp patch and .h
And here are the errors:
Thank you for being willing to help me, his fact maintaining two hours for which I look:s
/root/TrinityCore/src/server/scripts/Custom/npc_arena1v1.cpp: In member function ‘bool npc_1v1arena::JoinQueueArena(Player*, Creature*, bool)’:
/root/TrinityCore/src/server/scripts/Custom/npc_arena1v1.cpp:29:10: warning: unused variable ‘guid’ [-Wunused-variable]
/root/TrinityCore/src/server/scripts/Custom/npc_arena1v1.cpp:59:31: warning: unused variable ‘err’ [-Wunused-variable]
/root/TrinityCore/src/server/scripts/Custom/npc_arena1v1.cpp: In member function ‘virtual bool npc_1v1arena::OnGossipHello(Player*, Creature*)’:
/root/TrinityCore/src/server/scripts/Custom/npc_arena1v1.cpp:165:28: error: ‘CONFIG_ARENA_1V1_ENABLE’ was not declared in this scope
compilation terminated due to -Wfatal-errors.
make: *** [src/server/scripts/CMakeFiles/scripts.dir/Custom/npc_arena1v1.cpp.o] Error 1
make: *** [src/server/scripts/CMakeFiles/scripts.dir/all] Error 2
make: *** [all] Error 2