mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-13 01:08:35 +00:00
Added AzerothCore labels
This commit is contained in:
@@ -57,7 +57,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 = "./"
|
||||
@@ -1353,9 +1353,9 @@ BeepAtStart = 1
|
||||
# Motd
|
||||
# Description: Message of the Day, displayed at login.
|
||||
# Use '@' for a newline and be sure to escape special characters.
|
||||
# Example: "Welcome to John\'s Server@This server runs on SunwellCore."
|
||||
# Example: "Welcome to John\'s Server@This server runs on AzerothCore."
|
||||
|
||||
Motd = "Welcome to X Server.@This server runs on SunwellCore."
|
||||
Motd = "Welcome to X Server.@This server runs on AzerothCore."
|
||||
|
||||
#
|
||||
# Server.LoginInfo
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
SunwellCore uses (parts of or in whole) the following opensource software :
|
||||
AzerothCore uses (parts of or in whole) the following opensource software :
|
||||
|
||||
ACE (ADAPTIVE Communication Environment)
|
||||
http://www.cs.wustl.edu/~schmidt/ACE.html
|
||||
|
||||
@@ -42,7 +42,7 @@ set(MYSQL_DATADIR "${DEFAULT_MYSQL_HOME}/data")
|
||||
set(DEFAULT_CHARSET_HOME "${DEFAULT_MYSQL_HOME}")
|
||||
set(PLUGINDIR "${DEFAULT_MYSQL_HOME}/lib/plugin")
|
||||
|
||||
set(COMPILATION_COMMENT "Source distribution lite for SunwellCore")
|
||||
set(COMPILATION_COMMENT "Source distribution lite for AzerothCore")
|
||||
|
||||
# Run platform tests
|
||||
include(${CMAKE_CURRENT_SOURCE_DIR}/configure.cmake)
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
#define _REVISION "@rev_id_str@"
|
||||
#define _HASH "@rev_hash@"
|
||||
#define _DATE "@rev_date@"
|
||||
#define VER_COMPANYNAME_STR "SunwellCore"
|
||||
#define VER_LEGALCOPYRIGHT_STR "SunwellCore"
|
||||
#define VER_COMPANYNAME_STR "AzerothCore"
|
||||
#define VER_LEGALCOPYRIGHT_STR "AzerothCore"
|
||||
#define VER_FILEVERSION 0,0,0
|
||||
#define VER_FILEVERSION_STR "@rev_date@ (@rev_hash@)"
|
||||
#define VER_PRODUCTVERSION VER_FILEVERSION
|
||||
|
||||
@@ -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}")
|
||||
|
||||
@@ -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("")
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
/*
|
||||
* Copyright (C)
|
||||
* Copyright (C)
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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];
|
||||
}
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
#
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user