mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-22 05:06:24 +00:00
Merging
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -45,6 +45,8 @@ CMakeLists.txt.user
|
||||
nbproject/
|
||||
.sync.ffs_db
|
||||
*.kate-swp
|
||||
.browse.VC*
|
||||
.vscode
|
||||
|
||||
#
|
||||
# Eclipse
|
||||
|
||||
44
.travis.yml
Normal file
44
.travis.yml
Normal file
@@ -0,0 +1,44 @@
|
||||
# Copyright (C)
|
||||
#
|
||||
# This file is free software; as a special exception the author gives
|
||||
# unlimited permission to copy and/or distribute it, with or without
|
||||
# modifications, as long as this notice is preserved.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
|
||||
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
|
||||
language: cpp
|
||||
|
||||
git:
|
||||
depth: 1
|
||||
|
||||
branches:
|
||||
only:
|
||||
- master
|
||||
|
||||
compiler:
|
||||
- clang
|
||||
- gcc ## Uncomment when we are up to full c++11 standards.
|
||||
|
||||
before_install:
|
||||
- sudo add-apt-repository ppa:kalakris/cmake -y
|
||||
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
|
||||
- sudo add-apt-repository 'deb http://llvm.org/apt/precise/ llvm-toolchain-precise-3.7 main'
|
||||
- wget -O - http://llvm.org/apt/llvm-snapshot.gpg.key | sudo apt-key add -
|
||||
- sudo apt-get update -qq
|
||||
- sudo apt-get install clang-3.7
|
||||
- sudo apt-get install libace-dev
|
||||
- sudo apt-get install libncurses5-dev
|
||||
- sudo apt-get install build-essential autoconf libtool make cmake git-core patch wget links zip unzip unrar
|
||||
- sudo apt-get install openssl libssl-dev mysql-server mysql-client libmysqlclient15-dev libmysql++-dev libreadline6-dev zlib1g-dev libbz2-dev
|
||||
- if [ "$CXX" = "clang++" ]; then sudo apt-get install -qq libstdc++-4.8-dev; fi
|
||||
- if [ "$CXX" = "clang++" ]; then export CXX="clang++-3.7" CC="clang-3.7"; fi
|
||||
- if [ "$CXX" = "g++" ]; then sudo apt-get install -qq g++-4.8; fi
|
||||
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8"; fi
|
||||
|
||||
script:
|
||||
- mkdir build
|
||||
- cd build
|
||||
- cmake ../ -DSCRIPTS=1 -DTOOLS=1
|
||||
- make -j8
|
||||
31
README.md
31
README.md
@@ -2,4 +2,33 @@
|
||||
|
||||
[](https://gitter.im/azerothcore/azerothcore?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
|
||||
|
||||
## [WEBSITE](https://azerothcore.github.io/)
|
||||
## Introduction
|
||||
|
||||
AzerothCore is an open source game-server application for World of Warcraft, currently supporting the 3.3.5a game version.
|
||||
|
||||
It is written in C++ and based on MaNGOS, TrinityCore and SunwellCore.
|
||||
|
||||
## Why AzerothCore?
|
||||
|
||||
Our main goal is to create a playable game server, offering a fully working game experience. In short, we focus on the **user experience (UX)**.
|
||||
|
||||
Like MaNGOS and TrinityCore did in past, we like to write clean code and doing software development right, but **our main goal is to have fully working features**. In other terms, we always prefer proper solutions to problems, but we may accept "*hackfixes*" (when they do not affect the game stability) if a proper solution is not available yet.
|
||||
|
||||
We also believe in [software modularity](https://en.wikipedia.org/wiki/Modular_programming), because the more the software is modular, and the more it will be easy to be maintained, understood, developed, etc...
|
||||
|
||||
## Work in progress...
|
||||
|
||||
The project is still under a work in progress phase, so all guidelines may not be available yet and PRs may be not merged immediately, but feel free to starting contributing. We will love to review and accept your PRs.
|
||||
|
||||
## Authors & Contributors
|
||||
|
||||
This project is brought to you thanks to:
|
||||
|
||||
- The [AzerothCore developers and contributors](https://github.com/AzerothCore/azerothcore-wotlk/graphs/contributors)
|
||||
- The SunwellCore developers **xinef** and **pussywizard**
|
||||
- All the [TrinityCore developers and contributors](https://github.com/TrinityCore/TrinityCore/blob/3.3.5/THANKS)
|
||||
- All the [MaNGOS, ScriptDev2 and UDB developers and contributors](https://github.com/cmangos/mangos-wotlk/blob/master/AUTHORS.md)
|
||||
|
||||
## Links
|
||||
|
||||
- [Website](https://azerothcore.github.io/)
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -121,6 +121,22 @@ extern int main(int argc, char** argv)
|
||||
|
||||
sLog->outString("%s (authserver)", _FULLVERSION);
|
||||
sLog->outString("<Ctrl-C> to stop.\n");
|
||||
|
||||
sLog->outString(" █████╗ ███████╗███████╗██████╗ ██████╗ ████████╗██╗ ██╗");
|
||||
sLog->outString(" ██╔══██╗╚══███╔╝██╔════╝██╔══██╗██╔═══██╗╚══██╔══╝██║ ██║");
|
||||
sLog->outString(" ███████║ ███╔╝ █████╗ ██████╔╝██║ ██║ ██║ ███████║");
|
||||
sLog->outString(" ██╔══██║ ███╔╝ ██╔══╝ ██╔══██╗██║ ██║ ██║ ██╔══██║");
|
||||
sLog->outString(" ██║ ██║███████╗███████╗██║ ██║╚██████╔╝ ██║ ██║ ██║");
|
||||
sLog->outString(" ╚═╝ ╚═╝╚══════╝╚══════╝╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝ ╚═╝");
|
||||
sLog->outString(" ██████╗ ██████╗ ██████╗ ███████╗");
|
||||
sLog->outString(" ██╔════╝██╔═══██╗██╔══██╗██╔════╝");
|
||||
sLog->outString(" ██║ ██║ ██║██████╔╝█████╗");
|
||||
sLog->outString(" ██║ ██║ ██║██╔══██╗██╔══╝");
|
||||
sLog->outString(" ╚██████╗╚██████╔╝██║ ██║███████╗");
|
||||
sLog->outString(" ╚═════╝ ╚═════╝ ╚═╝ ╚═╝╚══════╝\n");
|
||||
|
||||
sLog->outString(" AzerothCore 3.3.5a - www.azerothcore.org\n");
|
||||
|
||||
sLog->outString("Using configuration file %s.", configFile);
|
||||
|
||||
sLog->outDetail("%s (Library: %s)", OPENSSL_VERSION_TEXT, SSLeay_version(SSLEAY_VERSION));
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
@@ -9311,7 +9311,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
|
||||
|
||||
@@ -129,6 +129,21 @@ int Master::Run()
|
||||
sLog->outString("%s (worldserver-daemon)", _FULLVERSION);
|
||||
sLog->outString("<Ctrl-C> to stop.\n");
|
||||
|
||||
sLog->outString(" █████╗ ███████╗███████╗██████╗ ██████╗ ████████╗██╗ ██╗");
|
||||
sLog->outString(" ██╔══██╗╚══███╔╝██╔════╝██╔══██╗██╔═══██╗╚══██╔══╝██║ ██║");
|
||||
sLog->outString(" ███████║ ███╔╝ █████╗ ██████╔╝██║ ██║ ██║ ███████║");
|
||||
sLog->outString(" ██╔══██║ ███╔╝ ██╔══╝ ██╔══██╗██║ ██║ ██║ ██╔══██║");
|
||||
sLog->outString(" ██║ ██║███████╗███████╗██║ ██║╚██████╔╝ ██║ ██║ ██║");
|
||||
sLog->outString(" ╚═╝ ╚═╝╚══════╝╚══════╝╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝ ╚═╝");
|
||||
sLog->outString(" ██████╗ ██████╗ ██████╗ ███████╗");
|
||||
sLog->outString(" ██╔════╝██╔═══██╗██╔══██╗██╔════╝");
|
||||
sLog->outString(" ██║ ██║ ██║██████╔╝█████╗");
|
||||
sLog->outString(" ██║ ██║ ██║██╔══██╗██╔══╝");
|
||||
sLog->outString(" ╚██████╗╚██████╔╝██║ ██║███████╗");
|
||||
sLog->outString(" ╚═════╝ ╚═════╝ ╚═╝ ╚═╝╚══════╝\n");
|
||||
|
||||
sLog->outString(" AzerothCore 3.3.5a - www.azerothcore.org\n");
|
||||
|
||||
/// worldserver PID file creation
|
||||
std::string pidFile = sConfigMgr->GetStringDefault("PidFile", "");
|
||||
if (!pidFile.empty())
|
||||
|
||||
@@ -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 = "."
|
||||
@@ -1445,7 +1445,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