mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-13 01:08:35 +00:00
Merge pull request #43 from ShinDarth/git
Fixed Mac OS X build and minor changes to worldconf
This commit is contained in:
@@ -1,6 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
SRCPATH=$(readlink -f "../../")
|
||||
unamestr=`uname`
|
||||
if [[ "$unamestr" == 'Darwin' ]]; then
|
||||
SRCPATH=$(greadlink -f "../../")
|
||||
else
|
||||
SRCPATH=$(readlink -f "../../")
|
||||
fi
|
||||
|
||||
source $SRCPATH"/bin/bash_shared/includes.sh"
|
||||
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
#include <linux/types.h>
|
||||
#endif
|
||||
#endif
|
||||
typedef uint64_t uint64;
|
||||
typedef unsigned long uint64;
|
||||
#endif
|
||||
|
||||
// Note: If you want to use 64-bit refs, change the types of both dtPolyRef & dtTileRef.
|
||||
|
||||
@@ -244,9 +244,9 @@ WrongPass.BanType = 0
|
||||
# section my.ini)
|
||||
# ".;/path/to/unix_socket;username;password;database" - (use Unix sockets on
|
||||
# Unix/Linux)
|
||||
# Default: "127.0.0.1;3306;trinity;trinity;auth"
|
||||
# Default: "127.0.0.1;3306;root;root;auth"
|
||||
|
||||
LoginDatabaseInfo = "127.0.0.1;3306;trinity;trinity;auth"
|
||||
LoginDatabaseInfo = "127.0.0.1;3306;root;root;auth"
|
||||
|
||||
#
|
||||
# LoginDatabase.WorkerThreads
|
||||
|
||||
@@ -444,7 +444,7 @@ void World::LoadConfigSettings(bool reload)
|
||||
///- Read the player limit and the Message of the day from the config file
|
||||
if (!reload)
|
||||
SetPlayerAmountLimit(sConfigMgr->GetIntDefault("PlayerLimit", 100));
|
||||
SetMotd(sConfigMgr->GetStringDefault("Motd", "Welcome to a Sunwell Core Server."));
|
||||
SetMotd(sConfigMgr->GetStringDefault("Motd", "Welcome to an AzerothCore server"));
|
||||
|
||||
///- Read ticket system setting from the config file
|
||||
m_bool_configs[CONFIG_ALLOW_TICKETS] = sConfigMgr->GetBoolDefault("AllowTickets", true);
|
||||
|
||||
@@ -83,13 +83,13 @@ LogsDir = ""
|
||||
# section my.ini)
|
||||
# ".;/path/to/unix_socket;username;password;database" - (use Unix sockets on
|
||||
# Unix/Linux)
|
||||
# Default: "127.0.0.1;3306;trinity;trinity;auth" - (LoginDatabaseInfo)
|
||||
# "127.0.0.1;3306;trinity;trinity;world" - (WorldDatabaseInfo)
|
||||
# "127.0.0.1;3306;trinity;trinity;characters" - (CharacterDatabaseInfo)
|
||||
# Default: "127.0.0.1;3306;root;root;auth" - (LoginDatabaseInfo)
|
||||
# "127.0.0.1;3306;root;root;world" - (WorldDatabaseInfo)
|
||||
# "127.0.0.1;3306;root;root;characters" - (CharacterDatabaseInfo)
|
||||
|
||||
LoginDatabaseInfo = "127.0.0.1;3306;trinity;trinity;auth"
|
||||
WorldDatabaseInfo = "127.0.0.1;3306;trinity;trinity;world"
|
||||
CharacterDatabaseInfo = "127.0.0.1;3306;trinity;trinity;characters"
|
||||
LoginDatabaseInfo = "127.0.0.1;3306;root;root;auth"
|
||||
WorldDatabaseInfo = "127.0.0.1;3306;root;root;world"
|
||||
CharacterDatabaseInfo = "127.0.0.1;3306;root;root;characters"
|
||||
|
||||
#
|
||||
# LoginDatabase.WorkerThreads
|
||||
|
||||
Reference in New Issue
Block a user