Added AzerothCore labels

This commit is contained in:
ShinDarth
2016-07-24 13:38:26 +02:00
parent 033924d8b4
commit b618b6a56f
39 changed files with 66 additions and 68 deletions

View File

@@ -70,7 +70,7 @@ if ( UNIX )
include(EnsureVersion)
ENSURE_VERSION( "${ACE_EXPECTED_VERSION}" "${ACE_VERSION}" ACE_FOUND)
if (NOT ACE_FOUND)
message(FATAL_ERROR "SunwellCore needs ACE version ${ACE_EXPECTED_VERSION} but found version ${ACE_VERSION}")
message(FATAL_ERROR "AzerothCore needs ACE version ${ACE_EXPECTED_VERSION} but found version ${ACE_VERSION}")
endif()
message( STATUS "Found ACE library: ${ACE_LIBRARY}")

View File

@@ -1,8 +1,8 @@
# output generic information about the core and buildtype chosen
message("")
message("* SunwellCore revision : ${rev_hash} ${rev_date} (${rev_branch} branch)")
message("* AzerothCore revision : ${rev_hash} ${rev_date} (${rev_branch} branch)")
if( UNIX )
message("* SunwellCore buildtype : ${CMAKE_BUILD_TYPE}")
message("* AzerothCore buildtype : ${CMAKE_BUILD_TYPE}")
endif()
message("")

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C)
* Copyright (C) MaNGOS, TrinityCore, SunwellCore and AzerothCore
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the

View File

@@ -1,5 +1,4 @@
/*
* Copyright (C)
* Copyright (C)
*
* This program is free software; you can redistribute it and/or modify it

View File

@@ -1,6 +1,5 @@
/*
* Copyright (C)
* Copyright (C)
* Copyright (C) MaNGOS, TrinityCore, SunwellCore and AzerothCore
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the

View File

@@ -1,6 +1,6 @@
#ifndef SUNWELLCORE_ARENASPECTATOR_H
#define SUNWELLCORE_ARENASPECTATOR_H
#ifndef AZEROTHCORE_ARENASPECTATOR_H
#define AZEROTHCORE_ARENASPECTATOR_H
#include "Player.h"
#include "World.h"

View File

@@ -16,8 +16,8 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef SUNWELLCORE_ARENATEAM_H
#define SUNWELLCORE_ARENATEAM_H
#ifndef AZEROTHCORE_ARENATEAM_H
#define AZEROTHCORE_ARENATEAM_H
#include "QueryResult.h"
#include "Map.h"

View File

@@ -16,8 +16,8 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef SUNWELLCORE_CHAT_H
#define SUNWELLCORE_CHAT_H
#ifndef AZEROTHCORE_CHAT_H
#define AZEROTHCORE_CHAT_H
#include "SharedDefines.h"
#include "WorldSession.h"

View File

@@ -15,8 +15,8 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef SUNWELLCORE_CHATLINK_H
#define SUNWELLCORE_CHATLINK_H
#ifndef AZEROTHCORE_CHATLINK_H
#define AZEROTHCORE_CHATLINK_H
#include "SharedDefines.h"
#include <sstream>

View File

@@ -16,8 +16,8 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef SUNWELLCORE_CORPSE_H
#define SUNWELLCORE_CORPSE_H
#ifndef AZEROTHCORE_CORPSE_H
#define AZEROTHCORE_CORPSE_H
#include "Object.h"
#include "DatabaseEnv.h"

View File

@@ -16,8 +16,8 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef SUNWELLCORE_CREATURE_H
#define SUNWELLCORE_CREATURE_H
#ifndef AZEROTHCORE_CREATURE_H
#define AZEROTHCORE_CREATURE_H
#include "Common.h"
#include "Unit.h"

View File

@@ -16,8 +16,8 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef SUNWELLCORE_GOSSIP_H
#define SUNWELLCORE_GOSSIP_H
#ifndef AZEROTHCORE_GOSSIP_H
#define AZEROTHCORE_GOSSIP_H
#include "Common.h"
#include "QuestDef.h"

View File

@@ -16,8 +16,8 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef SUNWELLCORE_TEMPSUMMON_H
#define SUNWELLCORE_TEMPSUMMON_H
#ifndef AZEROTHCORE_TEMPSUMMON_H
#define AZEROTHCORE_TEMPSUMMON_H
#include "Creature.h"

View File

@@ -16,8 +16,8 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef SUNWELLCORE_DYNAMICOBJECT_H
#define SUNWELLCORE_DYNAMICOBJECT_H
#ifndef AZEROTHCORE_DYNAMICOBJECT_H
#define AZEROTHCORE_DYNAMICOBJECT_H
#include "Object.h"

View File

@@ -16,8 +16,8 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef SUNWELLCORE_GAMEOBJECT_H
#define SUNWELLCORE_GAMEOBJECT_H
#ifndef AZEROTHCORE_GAMEOBJECT_H
#define AZEROTHCORE_GAMEOBJECT_H
#include "Common.h"
#include "SharedDefines.h"

View File

@@ -16,8 +16,8 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef SUNWELLCORE_ITEM_H
#define SUNWELLCORE_ITEM_H
#ifndef AZEROTHCORE_ITEM_H
#define AZEROTHCORE_ITEM_H
#include "Common.h"
#include "Object.h"

View File

@@ -16,8 +16,8 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef SUNWELLCORE_PET_H
#define SUNWELLCORE_PET_H
#ifndef AZEROTHCORE_PET_H
#define AZEROTHCORE_PET_H
#include "PetDefines.h"
#include "TemporarySummon.h"

View File

@@ -16,8 +16,8 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef SUNWELLCORE_PET_DEFINES_H
#define SUNWELLCORE_PET_DEFINES_H
#ifndef AZEROTHCORE_PET_DEFINES_H
#define AZEROTHCORE_PET_DEFINES_H
enum PetType
{

View File

@@ -16,8 +16,8 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef SUNWELLCORE_TOTEM_H
#define SUNWELLCORE_TOTEM_H
#ifndef AZEROTHCORE_TOTEM_H
#define AZEROTHCORE_TOTEM_H
#include "TemporarySummon.h"

View File

@@ -9306,7 +9306,7 @@ bool Unit::Attack(Unit* victim, bool meleeAttack)
if (GetTypeId() == TYPEID_PLAYER && IsMounted())
return false;
//if (HasFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_PACIFIED)) // pussywizard: wtf? why having this flag prevents from entering combat? it should just prevent melee attack >_> tc retards https://github.com/SunwellCore/SunwellCore/commit/06f50110713feec2d6957e68ce2c5a5d2a997d6a
//if (HasFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_PACIFIED)) // pussywizard: wtf? why having this flag prevents from entering combat? it should just prevent melee attack
// return false;
// nobody can attack GM in GM-mode

View File

@@ -106,7 +106,7 @@ std::string GetScriptCommandName(ScriptCommands command)
case SCRIPT_COMMAND_LOAD_PATH: res = "SCRIPT_COMMAND_LOAD_PATH"; break;
case SCRIPT_COMMAND_CALLSCRIPT_TO_UNIT: res = "SCRIPT_COMMAND_CALLSCRIPT_TO_UNIT"; break;
case SCRIPT_COMMAND_KILL: res = "SCRIPT_COMMAND_KILL"; break;
// SunwellCore only
// AzerothCore only
case SCRIPT_COMMAND_ORIENTATION: res = "SCRIPT_COMMAND_ORIENTATION"; break;
case SCRIPT_COMMAND_EQUIP: res = "SCRIPT_COMMAND_EQUIP"; break;
case SCRIPT_COMMAND_MODEL: res = "SCRIPT_COMMAND_MODEL"; break;

View File

@@ -117,7 +117,7 @@ enum ScriptCommands
SCRIPT_COMMAND_CALLSCRIPT_TO_UNIT = 21, // source = WorldObject (if present used as a search center), datalong = script id, datalong2 = unit lowguid, dataint = script table to use (see ScriptsType)
SCRIPT_COMMAND_KILL = 22, // source/target = Creature, dataint = remove corpse attribute
// SunwellCore only
// AzerothCore only
SCRIPT_COMMAND_ORIENTATION = 30, // source = Unit, target (datalong > 0) = Unit, datalong = > 0 turn source to face target, o = orientation
SCRIPT_COMMAND_EQUIP = 31, // soucre = Creature, datalong = equipment id
SCRIPT_COMMAND_MODEL = 32, // source = Creature, datalong = model id

View File

@@ -16,8 +16,8 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef SUNWELLCORE_GROUP_H
#define SUNWELLCORE_GROUP_H
#ifndef AZEROTHCORE_GROUP_H
#define AZEROTHCORE_GROUP_H
#include "DBCEnums.h"
#include "GroupRefManager.h"

View File

@@ -16,8 +16,8 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef SUNWELLCORE_GUILD_H
#define SUNWELLCORE_GUILD_H
#ifndef AZEROTHCORE_GUILD_H
#define AZEROTHCORE_GUILD_H
#include "World.h"
#include "Item.h"

View File

@@ -16,8 +16,8 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef SUNWELLCORE_QUEST_H
#define SUNWELLCORE_QUEST_H
#ifndef AZEROTHCORE_QUEST_H
#define AZEROTHCORE_QUEST_H
#include "Define.h"
#include "DatabaseEnv.h"

View File

@@ -2568,7 +2568,7 @@ void AuraEffect::HandleAuraModPacify(AuraApplication const* aurApp, uint8 mode,
if (apply)
{
target->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_PACIFIED);
//target->AttackStop(); // pussywizard: wtf? why having this flag prevents from being in combat? it should just prevent melee attack >_> tc retards https://github.com/SunwellCore/SunwellCore/commit/06f50110713feec2d6957e68ce2c5a5d2a997d6a
//target->AttackStop(); // pussywizard: wtf? why having this flag prevents from being in combat? it should just prevent melee attack
}
else
{

View File

@@ -118,7 +118,7 @@ public:
uint32 avgUpdateTime = avgDiffTracker.getAverage();
handler->PSendSysMessage("%s Realm, revision: %s.", realmName.c_str(), _REVISION);
handler->PSendSysMessage("This server runs on SunwellCore.");
handler->PSendSysMessage("This server runs on AzerothCore.");
if (!queuedSessionCount)
handler->PSendSysMessage("Connected players: %u. Characters in world: %u.", activeSessionCount, playerCount);
else

View File

@@ -16,8 +16,8 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef SUNWELLCORE_COMMON_H
#define SUNWELLCORE_COMMON_H
#ifndef AZEROTHCORE_COMMON_H
#define AZEROTHCORE_COMMON_H
// config.h needs to be included 1st
/// @todo this thingy looks like hack, but its not, need to

View File

@@ -57,7 +57,7 @@ class DatabaseWorkerPool
_connections.resize(IDX_SIZE);
WPFatal(mysql_thread_safe(), "Used MySQL library isn't thread-safe.");
WPFatal(mysql_get_client_version() >= MIN_MYSQL_CLIENT_VERSION, "SunwellCore does not support MySQL versions below 5.1");
WPFatal(mysql_get_client_version() >= MIN_MYSQL_CLIENT_VERSION, "AzerothCore does not support MySQL versions below 5.1");
}
~DatabaseWorkerPool()
@@ -79,7 +79,7 @@ class DatabaseWorkerPool
T* t = new T(_queue, _connectionInfo);
res &= t->Open();
if (res) // only check mysql version if connection is valid
WPFatal(mysql_get_server_version(t->GetHandle()) >= MIN_MYSQL_SERVER_VERSION, "SunwellCore does not support MySQL versions below 5.1");
WPFatal(mysql_get_server_version(t->GetHandle()) >= MIN_MYSQL_SERVER_VERSION, "AzerothCore does not support MySQL versions below 5.1");
_connections[IDX_ASYNC][i] = t;
++_connectionCount[IDX_ASYNC];
}

View File

@@ -16,8 +16,8 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef SUNWELLCORE_ERRORS_H
#define SUNWELLCORE_ERRORS_H
#ifndef AZEROTHCORE_ERRORS_H
#define AZEROTHCORE_ERRORS_H
#include "Define.h"

View File

@@ -16,8 +16,8 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef SUNWELLCORE_LOG_H
#define SUNWELLCORE_LOG_H
#ifndef AZEROTHCORE_LOG_H
#define AZEROTHCORE_LOG_H
#include "Common.h"
#include <ace/Singleton.h>

View File

@@ -16,8 +16,8 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef SUNWELLCORE_WORLDPACKET_H
#define SUNWELLCORE_WORLDPACKET_H
#ifndef AZEROTHCORE_WORLDPACKET_H
#define AZEROTHCORE_WORLDPACKET_H
#include "Common.h"
#include "ByteBuffer.h"

View File

@@ -24,7 +24,7 @@
#include "Define.h"
#include "revision.h"
#define _PACKAGENAME "SunwellCore"
#define _PACKAGENAME "AzerothCore"
#if TRINITY_ENDIAN == TRINITY_BIGENDIAN
# define _ENDIAN_STRING "big-endian"

View File

@@ -38,8 +38,8 @@
#ifdef _WIN32
#include "ServiceWin32.h"
char serviceName[] = "worldserver";
char serviceLongName[] = "SunwellCore world service";
char serviceDescription[] = "SunwellCore World of Warcraft emulator world service";
char serviceLongName[] = "AzerothCore world service";
char serviceDescription[] = "AzerothCore World of Warcraft emulator world service";
/*
* -1 - not in service mode
* 0 - stopped

View File

@@ -58,7 +58,7 @@ RealmID = 1
# DataDir
# Description: Data directory setting.
# Important: DataDir needs to be quoted, as the string might contain space characters.
# Example: "@prefix@/share/sunwellcore"
# Example: "/home/youruser/azeroth-server/data"
# Default: "."
DataDir = "."
@@ -1436,7 +1436,7 @@ AccountInstancesPerHour = 5
#
# BirthdayTime
# Description: Set to date of project's birth in UNIX time. By default the date when SunwellCore was started (Thu Oct 2, 2008)
# Description: Set to date of project's birth in UNIX time. By default Thu Oct 2, 2008
# Default: 1222964635
#
#