Added custom scripts to azeroth module - disabled anticheat (for now)

This commit is contained in:
mik1893
2016-07-10 13:24:51 +01:00
parent 29c34ca470
commit 13b6d34a7f
3 changed files with 7 additions and 9 deletions
@@ -1,4 +1,5 @@
#include "AzthPlgLoader.h"
#include "AnticheatMgr.h"
#include "Log.h"
#ifndef SCRIPTLOADER_CPP
@@ -13,8 +14,9 @@
// void AddSC_CS_Transmogrification();
// void AddSC_npc_1v1arena();
void AddSC_npc_lottery();
void AddSC_anticheat_commandscript();
//void AddSC_anticheat_commandscript();
void AddSC_guildhouse_npcs();
void AddSC_npc_transmogrifier();
void AddAzthScripts()
@@ -25,12 +27,12 @@ void AddAzthScripts()
// AddSC_CrossFactionGroups();
// AddSC_azth_player_plg();
// AddSC_Custom_Rates();
// AddSC_PWS_Transmogrification();
// AddSC_CS_Transmogrification();
// AddSC_npc_1v1arena();
AddSC_npc_lottery();
AddSC_anticheat_commandscript();
//AddSC_anticheat_commandscript();
AddSC_guildhouse_npcs();
AddSC_npc_transmogrifier();
//sAnticheatMgr->StartScripts(); //[AZTH] Anticheat
}
@@ -1286,5 +1286,5 @@ void AddSC_guildhouse_npcs()
new guild_guard();
new npc_buffnpc();
new npc_portal();
//new npc_teleport();
new npc_teleport();
}
@@ -17,7 +17,6 @@
#include "ScriptLoader.h"
#include "ScriptMgr.h"
#include "AnticheatMgr.h" //[AZTH]
//examples
void AddSC_example_creature();
@@ -89,7 +88,6 @@ void AddSC_npc_innkeeper();
void AddSC_npcs_special();
void AddSC_npc_taxi();
void AddSC_achievement_scripts();
void AddSC_npc_transmogrifier();
//events
void AddSC_event_brewfest_scripts();
@@ -595,7 +593,6 @@ void AddScripts()
AddSpellScripts();
AddSC_SmartSCripts();
AddCommandScripts();
sAnticheatMgr->StartScripts(); //[AZTH] Anticheat
#ifdef SCRIPTS
AddWorldScripts();
AddEventScripts();
@@ -711,7 +708,6 @@ void AddWorldScripts()
AddSC_npcs_special();
AddSC_npc_taxi();
AddSC_achievement_scripts();
AddSC_npc_transmogrifier();
#endif
}