mirror of
https://github.com/mangosfour/server.git
synced 2025-12-18 19:37:01 +00:00
Applied new coding standard, see http://github.com/mangos/mangos/wikis/codingstandards for more.
This commit is contained in:
parent
adc46ef907
commit
2483a73253
9 changed files with 100 additions and 100 deletions
|
|
@ -300,7 +300,7 @@ void CliCharDelete(char*command,pPrintf zprintf)
|
||||||
account_id = objmgr.GetPlayerAccountIdByGUID(character_guid);
|
account_id = objmgr.GetPlayerAccountIdByGUID(character_guid);
|
||||||
}
|
}
|
||||||
|
|
||||||
Player::DeleteFromDB(character_guid, account_id, true);
|
Player::DeleteFromDB(character_guid, account_id, true);
|
||||||
zprintf("Player %s (Guid: %u AccountId: %u) deleted\r\n",character_name.c_str(),GUID_LOPART(character_guid),account_id);
|
zprintf("Player %s (Guid: %u AccountId: %u) deleted\r\n",character_name.c_str(),GUID_LOPART(character_guid),account_id);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -904,7 +904,7 @@ void CliKick(char*command,pPrintf zprintf)
|
||||||
std::string name;
|
std::string name;
|
||||||
if(!consoleToUtf8(kickName,name)) // convert from console encoding to utf8
|
if(!consoleToUtf8(kickName,name)) // convert from console encoding to utf8
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if(!normalizePlayerName(name))
|
if(!normalizePlayerName(name))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2005-2008 MaNGOS <http://getmangos.com/>
|
* Copyright (C) 2005-2008 MaNGOS <http://getmangos.com/>
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2005-2008 MaNGOS <http://getmangos.com/>
|
* Copyright (C) 2005-2008 MaNGOS <http://getmangos.com/>
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
|
|
||||||
|
|
@ -22,15 +22,15 @@ AM_CPPFLAGS = $(MANGOS_INCLUDES) -I$(top_builddir)/src/shared -I$(srcdir)/../../
|
||||||
## Build world list daemon as standalone program
|
## Build world list daemon as standalone program
|
||||||
bin_PROGRAMS = mangos-worldd
|
bin_PROGRAMS = mangos-worldd
|
||||||
mangos_worldd_SOURCES = \
|
mangos_worldd_SOURCES = \
|
||||||
CliRunnable.cpp \
|
CliRunnable.cpp \
|
||||||
CliRunnable.h \
|
CliRunnable.h \
|
||||||
Main.cpp \
|
Main.cpp \
|
||||||
Master.cpp \
|
Master.cpp \
|
||||||
Master.h \
|
Master.h \
|
||||||
RASocket.cpp \
|
RASocket.cpp \
|
||||||
RASocket.h \
|
RASocket.h \
|
||||||
WorldRunnable.cpp \
|
WorldRunnable.cpp \
|
||||||
WorldRunnable.h
|
WorldRunnable.h
|
||||||
|
|
||||||
## Link world daemon against the shared library
|
## Link world daemon against the shared library
|
||||||
mangos_worldd_LDADD = ../bindings/universal/libmangosscript.la ../game/libmangosgame.a ../shared/Database/libmangosdatabase.a ../shared/Config/libmangosconfig.a ../shared/Auth/libmangosauth.a ../shared/libmangosshared.a ../shared/vmap/libmangosvmaps.a ../framework/libmangosframework.a ../../dep/src/sockets/libmangossockets.a ../../dep/src/zthread/libZThread.la ../../dep/src/g3dlite/libg3dlite.a
|
mangos_worldd_LDADD = ../bindings/universal/libmangosscript.la ../game/libmangosgame.a ../shared/Database/libmangosdatabase.a ../shared/Config/libmangosconfig.a ../shared/Auth/libmangosauth.a ../shared/libmangosshared.a ../shared/vmap/libmangosvmaps.a ../framework/libmangosframework.a ../../dep/src/sockets/libmangossockets.a ../../dep/src/zthread/libZThread.la ../../dep/src/g3dlite/libg3dlite.a
|
||||||
|
|
@ -39,22 +39,22 @@ mangos_worldd_LDFLAGS = -L../../dep/src/sockets -L../../dep/src/zthread -L../../
|
||||||
## Additional files to include when running 'make dist'
|
## Additional files to include when running 'make dist'
|
||||||
# Include world daemon configuration
|
# Include world daemon configuration
|
||||||
EXTRA_DIST = \
|
EXTRA_DIST = \
|
||||||
mangosd.conf.dist
|
mangosd.conf.dist
|
||||||
|
|
||||||
## Additional files to install
|
## Additional files to install
|
||||||
sysconf_DATA = \
|
sysconf_DATA = \
|
||||||
mangosd.conf.dist
|
mangosd.conf.dist
|
||||||
|
|
||||||
install-data-hook:
|
install-data-hook:
|
||||||
@list='$(sysconf_DATA)'; for p in $$list; do \
|
@list='$(sysconf_DATA)'; for p in $$list; do \
|
||||||
dest=`echo $$p | sed -e s/.dist//`; \
|
dest=`echo $$p | sed -e s/.dist//`; \
|
||||||
if test -f $(DESTDIR)$(sysconfdir)/$$dest; then \
|
if test -f $(DESTDIR)$(sysconfdir)/$$dest; then \
|
||||||
echo "$@ will not overwrite existing $(DESTDIR)$(sysconfdir)/$$dest"; \
|
echo "$@ will not overwrite existing $(DESTDIR)$(sysconfdir)/$$dest"; \
|
||||||
else \
|
else \
|
||||||
echo " $(INSTALL_DATA) $$p $(DESTDIR)$(sysconfdir)/$$dest"; \
|
echo " $(INSTALL_DATA) $$p $(DESTDIR)$(sysconfdir)/$$dest"; \
|
||||||
$(INSTALL_DATA) $$p $(DESTDIR)$(sysconfdir)/$$dest; \
|
$(INSTALL_DATA) $$p $(DESTDIR)$(sysconfdir)/$$dest; \
|
||||||
fi; \
|
fi; \
|
||||||
done
|
done
|
||||||
|
|
||||||
clean-local:
|
clean-local:
|
||||||
rm -f $(sysconf_DATA)
|
rm -f $(sysconf_DATA)
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2005-2008 MaNGOS <http://getmangos.com/>
|
* Copyright (C) 2005-2008 MaNGOS <http://getmangos.com/>
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
|
@ -81,15 +81,15 @@ public:
|
||||||
uint32 curtime = getMSTime();
|
uint32 curtime = getMSTime();
|
||||||
//DEBUG_LOG("anti-freeze: time=%u, counters=[%u; %u]",curtime,Master::m_masterLoopCounter,World::m_worldLoopCounter);
|
//DEBUG_LOG("anti-freeze: time=%u, counters=[%u; %u]",curtime,Master::m_masterLoopCounter,World::m_worldLoopCounter);
|
||||||
|
|
||||||
// There is no Master anymore
|
// There is no Master anymore
|
||||||
// TODO: clear the rest of the code
|
// TODO: clear the rest of the code
|
||||||
// // normal work
|
// // normal work
|
||||||
// if(m_loops != Master::m_masterLoopCounter)
|
// if(m_loops != Master::m_masterLoopCounter)
|
||||||
// {
|
// {
|
||||||
// m_lastchange = curtime;
|
// m_lastchange = curtime;
|
||||||
// m_loops = Master::m_masterLoopCounter;
|
// m_loops = Master::m_masterLoopCounter;
|
||||||
// }
|
// }
|
||||||
// // possible freeze
|
// // possible freeze
|
||||||
// else if(getMSTimeDiff(m_lastchange,curtime) > _delaytime)
|
// else if(getMSTimeDiff(m_lastchange,curtime) > _delaytime)
|
||||||
// {
|
// {
|
||||||
// sLog.outError("Main/Sockets Thread hangs, kicking out server!");
|
// sLog.outError("Main/Sockets Thread hangs, kicking out server!");
|
||||||
|
|
@ -102,7 +102,7 @@ public:
|
||||||
w_lastchange = curtime;
|
w_lastchange = curtime;
|
||||||
w_loops = World::m_worldLoopCounter;
|
w_loops = World::m_worldLoopCounter;
|
||||||
}
|
}
|
||||||
// possible freeze
|
// possible freeze
|
||||||
else if(getMSTimeDiff(w_lastchange,curtime) > _delaytime)
|
else if(getMSTimeDiff(w_lastchange,curtime) > _delaytime)
|
||||||
{
|
{
|
||||||
sLog.outError("World Thread hangs, kicking out server!");
|
sLog.outError("World Thread hangs, kicking out server!");
|
||||||
|
|
@ -250,7 +250,7 @@ int Master::Run()
|
||||||
///- Launch CliRunnable thread
|
///- Launch CliRunnable thread
|
||||||
ZThread::Thread td1(new CliRunnable);
|
ZThread::Thread td1(new CliRunnable);
|
||||||
}
|
}
|
||||||
|
|
||||||
ZThread::Thread td2(new RARunnable);
|
ZThread::Thread td2(new RARunnable);
|
||||||
|
|
||||||
///- Handle affinity for multiple processors and process priority on Windows
|
///- Handle affinity for multiple processors and process priority on Windows
|
||||||
|
|
@ -328,7 +328,7 @@ int Master::Run()
|
||||||
}
|
}
|
||||||
|
|
||||||
sWorldSocketMgr->Wait ();
|
sWorldSocketMgr->Wait ();
|
||||||
|
|
||||||
// set server offline
|
// set server offline
|
||||||
loginDatabase.PExecute("UPDATE realmlist SET color = 2 WHERE id = '%d'",realmID);
|
loginDatabase.PExecute("UPDATE realmlist SET color = 2 WHERE id = '%d'",realmID);
|
||||||
|
|
||||||
|
|
@ -339,7 +339,7 @@ int Master::Run()
|
||||||
// since worldrunnable uses them, it will crash if unloaded after master
|
// since worldrunnable uses them, it will crash if unloaded after master
|
||||||
t.wait();
|
t.wait();
|
||||||
td2.wait ();
|
td2.wait ();
|
||||||
|
|
||||||
///- Clean database before leaving
|
///- Clean database before leaving
|
||||||
clearOnlineAccounts();
|
clearOnlineAccounts();
|
||||||
|
|
||||||
|
|
@ -479,7 +479,7 @@ void Master::clearOnlineAccounts()
|
||||||
loginDatabase.PExecute(
|
loginDatabase.PExecute(
|
||||||
"UPDATE account SET online = 0 WHERE online > 0 "
|
"UPDATE account SET online = 0 WHERE online > 0 "
|
||||||
"AND id IN (SELECT acctid FROM realmcharacters WHERE realmid = '%d')",realmID);
|
"AND id IN (SELECT acctid FROM realmcharacters WHERE realmid = '%d')",realmID);
|
||||||
|
|
||||||
|
|
||||||
CharacterDatabase.Execute("UPDATE characters SET online = 0");
|
CharacterDatabase.Execute("UPDATE characters SET online = 0");
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2005-2008 MaNGOS <http://getmangos.com/>
|
* Copyright (C) 2005-2008 MaNGOS <http://getmangos.com/>
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2005-2008 MaNGOS <http://getmangos.com/>
|
* Copyright (C) 2005-2008 MaNGOS <http://getmangos.com/>
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
|
@ -75,7 +75,7 @@ void WorldRunnable::run()
|
||||||
sWorld.KickAllQueued(); // kick all queued players (and prevent its login at kick in game players)
|
sWorld.KickAllQueued(); // kick all queued players (and prevent its login at kick in game players)
|
||||||
sWorld.KickAll(); // save and kick all players
|
sWorld.KickAll(); // save and kick all players
|
||||||
sWorld.UpdateSessions( 1 ); // real players unload required UpdateSessions call
|
sWorld.UpdateSessions( 1 ); // real players unload required UpdateSessions call
|
||||||
|
|
||||||
sWorldSocketMgr->StopNetwork();
|
sWorldSocketMgr->StopNetwork();
|
||||||
|
|
||||||
MapManager::Instance().UnloadAll(); // unload all grids (including locked in memory)
|
MapManager::Instance().UnloadAll(); // unload all grids (including locked in memory)
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2005-2008 MaNGOS <http://getmangos.com/>
|
* Copyright (C) 2005-2008 MaNGOS <http://getmangos.com/>
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@ ConfVersion=2008080101
|
||||||
# LogsDir
|
# LogsDir
|
||||||
# Logs directory setting.
|
# Logs directory setting.
|
||||||
# Important: Logs dir must exists, or all logs need to be disabled
|
# Important: Logs dir must exists, or all logs need to be disabled
|
||||||
# Default: "" - no log directory prefix, if used log names isn't absolute path
|
# Default: "" - no log directory prefix, if used log names isn't absolute path
|
||||||
# then logs will be stored in current directory for run program.
|
# then logs will be stored in current directory for run program.
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
|
|
@ -67,7 +67,7 @@ BindIP = "0.0.0.0"
|
||||||
#
|
#
|
||||||
# Compression
|
# Compression
|
||||||
# Compression level for update packages sent to client (1..9)
|
# Compression level for update packages sent to client (1..9)
|
||||||
# Default: 1 (speed)
|
# Default: 1 (speed)
|
||||||
# 9 (best compression)
|
# 9 (best compression)
|
||||||
#
|
#
|
||||||
# TcpNoDelay
|
# TcpNoDelay
|
||||||
|
|
@ -134,19 +134,19 @@ BindIP = "0.0.0.0"
|
||||||
# List of ids with delimiter ','
|
# List of ids with delimiter ','
|
||||||
#
|
#
|
||||||
# DetectPosCollision
|
# DetectPosCollision
|
||||||
# Check final move position, summon position, etc for visible collision with other objects or
|
# Check final move position, summon position, etc for visible collision with other objects or
|
||||||
# wall (wall only if vmaps are enabled)
|
# wall (wall only if vmaps are enabled)
|
||||||
# Default: 1 (enable, required more CPU power usage)
|
# Default: 1 (enable, required more CPU power usage)
|
||||||
# 0 (disable, less nice position selection but will less CPU power usage)
|
# 0 (disable, less nice position selection but will less CPU power usage)
|
||||||
#
|
#
|
||||||
# TargetPosRecalculateRange
|
# TargetPosRecalculateRange
|
||||||
# Max distance from movement target point (+moving unit size) and targeted object (+size)
|
# Max distance from movement target point (+moving unit size) and targeted object (+size)
|
||||||
# after that new target movmeent point calculated. Max: melee attack range (5), min: contact range (0.5)
|
# after that new target movmeent point calculated. Max: melee attack range (5), min: contact range (0.5)
|
||||||
# More distance let have better performence, less distance let have more sensitive reaction at target move.
|
# More distance let have better performence, less distance let have more sensitive reaction at target move.
|
||||||
# Default: 1.5
|
# Default: 1.5
|
||||||
#
|
#
|
||||||
# UpdateUptimeInterval
|
# UpdateUptimeInterval
|
||||||
# Update realm uptime period in minutes (for save data in 'uptime' table). Must be > 0
|
# Update realm uptime period in minutes (for save data in 'uptime' table). Must be > 0
|
||||||
# Default: 10 (minutes)
|
# Default: 10 (minutes)
|
||||||
#
|
#
|
||||||
# MaxCoreStuckTime
|
# MaxCoreStuckTime
|
||||||
|
|
@ -252,10 +252,10 @@ AddonChannel = 1
|
||||||
#
|
#
|
||||||
# CharLogDump
|
# CharLogDump
|
||||||
# Write character dump before deleting in Char.log
|
# Write character dump before deleting in Char.log
|
||||||
# For restoration, cut character data from log starting from
|
# For restoration, cut character data from log starting from
|
||||||
# line == START DUMP == to line == END DUMP == (without its) in file and load it using loadpdump command
|
# line == START DUMP == to line == END DUMP == (without its) in file and load it using loadpdump command
|
||||||
# Default: 0 - don't include dumping chars to log
|
# Default: 0 - don't include dumping chars to log
|
||||||
# 1 - include dumping chars to log
|
# 1 - include dumping chars to log
|
||||||
#
|
#
|
||||||
# GmLogFile
|
# GmLogFile
|
||||||
# Log file of gm commands
|
# Log file of gm commands
|
||||||
|
|
@ -268,12 +268,12 @@ AddonChannel = 1
|
||||||
#
|
#
|
||||||
# RaLogFile
|
# RaLogFile
|
||||||
# Log file of RA commands
|
# Log file of RA commands
|
||||||
# Default: "Ra.log"
|
# Default: "Ra.log"
|
||||||
# "" - Empty name for disable
|
# "" - Empty name for disable
|
||||||
#
|
#
|
||||||
# LogColors
|
# LogColors
|
||||||
# Color for messages (format "normal_color details_color debug_color error_color")
|
# Color for messages (format "normal_color details_color debug_color error_color")
|
||||||
# Colors: 0 - BLACK, 1 - RED, 2 - GREEN, 3 - BROWN, 4 - BLUE, 5 - MAGENTA, 6 - CYAN, 7 - GREY,
|
# Colors: 0 - BLACK, 1 - RED, 2 - GREEN, 3 - BROWN, 4 - BLUE, 5 - MAGENTA, 6 - CYAN, 7 - GREY,
|
||||||
# 8 - YELLOW, 9 - LRED, 10 - LGREEN, 11 - LBLUE, 12 - LMAGENTA, 13 - LCYAN, 14 - WHITE
|
# 8 - YELLOW, 9 - LRED, 10 - LGREEN, 11 - LBLUE, 12 - LMAGENTA, 13 - LCYAN, 14 - WHITE
|
||||||
# Default: "" - none colors
|
# Default: "" - none colors
|
||||||
# Example: "13 7 11 9"
|
# Example: "13 7 11 9"
|
||||||
|
|
@ -306,47 +306,47 @@ LogColors = ""
|
||||||
# GameType
|
# GameType
|
||||||
# Server realm style
|
# Server realm style
|
||||||
# 0 = NORMAL;1 = PVP; 4 = NORMAL; 6 = RP; 8 = RPPVP
|
# 0 = NORMAL;1 = PVP; 4 = NORMAL; 6 = RP; 8 = RPPVP
|
||||||
# also custom type: 16 FFA_PVP (free for all pvp mode like arena PvP in all zones except rest
|
# also custom type: 16 FFA_PVP (free for all pvp mode like arena PvP in all zones except rest
|
||||||
# activated places and sanctuaries)
|
# activated places and sanctuaries)
|
||||||
#
|
#
|
||||||
# RealmZone
|
# RealmZone
|
||||||
# Server realm zone (set allowed alphabet in character names/etc). See also Strict*Names options.
|
# Server realm zone (set allowed alphabet in character names/etc). See also Strict*Names options.
|
||||||
#
|
#
|
||||||
# 1 Development - any language (Default)
|
# 1 Development - any language (Default)
|
||||||
# 2 United States - extended-Latin
|
# 2 United States - extended-Latin
|
||||||
# 3 Oceanic - extended-Latin
|
# 3 Oceanic - extended-Latin
|
||||||
# 4 Latin America - extended-Latin
|
# 4 Latin America - extended-Latin
|
||||||
# 5 Tournament - basic-Latin at create, any at login
|
# 5 Tournament - basic-Latin at create, any at login
|
||||||
# 6 Korea - East-Asian
|
# 6 Korea - East-Asian
|
||||||
# 7 Tournament - basic-Latin at create, any at login
|
# 7 Tournament - basic-Latin at create, any at login
|
||||||
# 8 English - extended-Latin
|
# 8 English - extended-Latin
|
||||||
# 9 German - extended-Latin
|
# 9 German - extended-Latin
|
||||||
# 10 French - extended-Latin
|
# 10 French - extended-Latin
|
||||||
# 11 Spanish - extended-Latin
|
# 11 Spanish - extended-Latin
|
||||||
# 12 Russian - Cyrillic
|
# 12 Russian - Cyrillic
|
||||||
# 13 Tournament - basic-Latin at create, any at login
|
# 13 Tournament - basic-Latin at create, any at login
|
||||||
# 14 Taiwan - East-Asian
|
# 14 Taiwan - East-Asian
|
||||||
# 15 Tournament - basic-Latin at create, any at login
|
# 15 Tournament - basic-Latin at create, any at login
|
||||||
# 16 China - East-Asian
|
# 16 China - East-Asian
|
||||||
# 17 CN1 - basic-Latin at create, any at login
|
# 17 CN1 - basic-Latin at create, any at login
|
||||||
# 18 CN2 - basic-Latin at create, any at login
|
# 18 CN2 - basic-Latin at create, any at login
|
||||||
# 19 CN3 - basic-Latin at create, any at login
|
# 19 CN3 - basic-Latin at create, any at login
|
||||||
# 20 CN4 - basic-Latin at create, any at login
|
# 20 CN4 - basic-Latin at create, any at login
|
||||||
# 21 CN5 - basic-Latin at create, any at login
|
# 21 CN5 - basic-Latin at create, any at login
|
||||||
# 22 CN6 - basic-Latin at create, any at login
|
# 22 CN6 - basic-Latin at create, any at login
|
||||||
# 23 CN7 - basic-Latin at create, any at login
|
# 23 CN7 - basic-Latin at create, any at login
|
||||||
# 24 CN8 - basic-Latin at create, any at login
|
# 24 CN8 - basic-Latin at create, any at login
|
||||||
# 25 Tournament - basic-Latin at create, any at login
|
# 25 Tournament - basic-Latin at create, any at login
|
||||||
# 26 Test Server - any language
|
# 26 Test Server - any language
|
||||||
# 27 Tournament - basic-Latin at create, any at login
|
# 27 Tournament - basic-Latin at create, any at login
|
||||||
# 28 QA Server - any language
|
# 28 QA Server - any language
|
||||||
# 29 CN9 - basic-Latin at create, any at login
|
# 29 CN9 - basic-Latin at create, any at login
|
||||||
#
|
#
|
||||||
# Expansion
|
# Expansion
|
||||||
# Allow server use content from expansion
|
# Allow server use content from expansion
|
||||||
# 2 - check expansion 2 maps existence, and if client support expansion 2 and account have
|
# 2 - check expansion 2 maps existence, and if client support expansion 2 and account have
|
||||||
# expansion 2 setting then allow visit expansion 2 maps, allow create new class character)
|
# expansion 2 setting then allow visit expansion 2 maps, allow create new class character)
|
||||||
# Default: 1 - check expansion 1 maps existence, and if client support expansion 1 and account have
|
# Default: 1 - check expansion 1 maps existence, and if client support expansion 1 and account have
|
||||||
# expansion 1 setting then allow visit expansion 1 maps, allow create new races character)
|
# expansion 1 setting then allow visit expansion 1 maps, allow create new races character)
|
||||||
# 0 - not check expansion maps existence, not allow wisit its, not allow create new race or new class
|
# 0 - not check expansion maps existence, not allow wisit its, not allow create new race or new class
|
||||||
# characters, ignore account expansion setting)
|
# characters, ignore account expansion setting)
|
||||||
|
|
@ -357,16 +357,16 @@ LogColors = ""
|
||||||
# 8 = Russian; 255 = Auto Detect (Default)
|
# 8 = Russian; 255 = Auto Detect (Default)
|
||||||
#
|
#
|
||||||
# DeclinedNames
|
# DeclinedNames
|
||||||
# Allow russian clients to set and use declined names
|
# Allow russian clients to set and use declined names
|
||||||
# Default: 0 - do not use declined names, except when the Russian RealmZone is set
|
# Default: 0 - do not use declined names, except when the Russian RealmZone is set
|
||||||
# 1 - use declined names
|
# 1 - use declined names
|
||||||
#
|
#
|
||||||
# StrictPlayerNames
|
# StrictPlayerNames
|
||||||
# Limit player name to language specific symbols set, not allow create characters, and set rename request and disconnect at not allowed symbols name
|
# Limit player name to language specific symbols set, not allow create characters, and set rename request and disconnect at not allowed symbols name
|
||||||
# Default: 0 disable (but limited server timezone dependent client check)
|
# Default: 0 disable (but limited server timezone dependent client check)
|
||||||
# 1 basic latin characters (strict)
|
# 1 basic latin characters (strict)
|
||||||
# 2 realm zone specific (strict). See RealmZone setting.
|
# 2 realm zone specific (strict). See RealmZone setting.
|
||||||
# Note: In any case if you want correctly see character name at client this client must have apporopriate fonts
|
# Note: In any case if you want correctly see character name at client this client must have apporopriate fonts
|
||||||
# (included in client by default, with active official localization or custom localization fonts in clientdir/Fonts).
|
# (included in client by default, with active official localization or custom localization fonts in clientdir/Fonts).
|
||||||
# 3 basic latin characters + server timezone specific
|
# 3 basic latin characters + server timezone specific
|
||||||
#
|
#
|
||||||
|
|
@ -374,8 +374,8 @@ LogColors = ""
|
||||||
# Limit guild/arena team charter names to language specific symbols set, not allow create charters with allowed symbols in name
|
# Limit guild/arena team charter names to language specific symbols set, not allow create charters with allowed symbols in name
|
||||||
# Default: 0 disable
|
# Default: 0 disable
|
||||||
# 1 basic latin characters (strict)
|
# 1 basic latin characters (strict)
|
||||||
# 2 realm zone specific (strict). See RealmZone setting.
|
# 2 realm zone specific (strict). See RealmZone setting.
|
||||||
# Note: In any case if you want correctly see character name at client this client must have apporopriate fonts
|
# Note: In any case if you want correctly see character name at client this client must have apporopriate fonts
|
||||||
# (included in client by default, with active official localization or custom localization fonts in clientdir/Fonts).
|
# (included in client by default, with active official localization or custom localization fonts in clientdir/Fonts).
|
||||||
# 3 basic latin characters + server timezone specific
|
# 3 basic latin characters + server timezone specific
|
||||||
#
|
#
|
||||||
|
|
@ -383,8 +383,8 @@ LogColors = ""
|
||||||
# Limit pet names to language specific symbols set
|
# Limit pet names to language specific symbols set
|
||||||
# Default: 0 disable
|
# Default: 0 disable
|
||||||
# 1 basic latin characters (strict)
|
# 1 basic latin characters (strict)
|
||||||
# 2 realm zone specific (strict). See RealmZone setting.
|
# 2 realm zone specific (strict). See RealmZone setting.
|
||||||
# Note: In any case if you want correctly see character name at client this client must have apporopriate fonts
|
# Note: In any case if you want correctly see character name at client this client must have apporopriate fonts
|
||||||
# (included in client by default, with active official localization or custom localization fonts in clientdir/Fonts).
|
# (included in client by default, with active official localization or custom localization fonts in clientdir/Fonts).
|
||||||
# 3 basic latin characters + server timezone specific
|
# 3 basic latin characters + server timezone specific
|
||||||
#
|
#
|
||||||
|
|
@ -398,7 +398,7 @@ LogColors = ""
|
||||||
# CharactersPerAccount
|
# CharactersPerAccount
|
||||||
# Limit numbers of characters per account (at all realms).
|
# Limit numbers of characters per account (at all realms).
|
||||||
# Note: this setting limit character creating at _current_ realm base at characters amount at all realms
|
# Note: this setting limit character creating at _current_ realm base at characters amount at all realms
|
||||||
# Default: 50
|
# Default: 50
|
||||||
# The number must be >= CharactersPerRealm
|
# The number must be >= CharactersPerRealm
|
||||||
#
|
#
|
||||||
# CharactersPerRealm
|
# CharactersPerRealm
|
||||||
|
|
@ -474,16 +474,16 @@ LogColors = ""
|
||||||
# 0 (instance maps are kept in memory until they are reset)
|
# 0 (instance maps are kept in memory until they are reset)
|
||||||
#
|
#
|
||||||
# Quests.LowLevelHideDiff
|
# Quests.LowLevelHideDiff
|
||||||
# Quest level difference to hide for player low level quests:
|
# Quest level difference to hide for player low level quests:
|
||||||
# if player_level > quest_level + LowLevelQuestsHideDiff then quest "!" mark not show for quest giver
|
# if player_level > quest_level + LowLevelQuestsHideDiff then quest "!" mark not show for quest giver
|
||||||
# Default: 4
|
# Default: 4
|
||||||
# -1 (show all available quests marks)
|
# -1 (show all available quests marks)
|
||||||
#
|
#
|
||||||
# Quests.HighLevelHideDiff
|
# Quests.HighLevelHideDiff
|
||||||
# Quest level difference to hide for player high level quests:
|
# Quest level difference to hide for player high level quests:
|
||||||
# if player_level < quest_min_level - HighLevelQuestsHideDiff then quest "!" mark not show for quest giver
|
# if player_level < quest_min_level - HighLevelQuestsHideDiff then quest "!" mark not show for quest giver
|
||||||
# Default: 7
|
# Default: 7
|
||||||
# -1 (show all available quests marks)
|
# -1 (show all available quests marks)
|
||||||
#
|
#
|
||||||
# MaxPrimaryTradeSkill
|
# MaxPrimaryTradeSkill
|
||||||
# Max count that player can learn the primary trade skill.
|
# Max count that player can learn the primary trade skill.
|
||||||
|
|
@ -571,7 +571,7 @@ Motd = "Welcome to the Massive Network Game Object Server."
|
||||||
# AllowTwoSide.Interaction.Guild
|
# AllowTwoSide.Interaction.Guild
|
||||||
# AllowTwoSide.Interaction.Auction
|
# AllowTwoSide.Interaction.Auction
|
||||||
# AllowTwoSide.Interaction.Mail
|
# AllowTwoSide.Interaction.Mail
|
||||||
# Allow or not common :chat(say,yell);channel(chat)group(join)guild(join);merge all auction houses for players from
|
# Allow or not common :chat(say,yell);channel(chat)group(join)guild(join);merge all auction houses for players from
|
||||||
# different teams, send mail to different team.
|
# different teams, send mail to different team.
|
||||||
# Default: 0 (Not allowed)
|
# Default: 0 (Not allowed)
|
||||||
# 1 (Allowed)
|
# 1 (Allowed)
|
||||||
|
|
@ -587,7 +587,7 @@ Motd = "Welcome to the Massive Network Game Object Server."
|
||||||
# 1 (Allowed)
|
# 1 (Allowed)
|
||||||
#
|
#
|
||||||
# TalentsInspecting
|
# TalentsInspecting
|
||||||
# Allow other players see character talents in inspect dialog (Characters in Gamemaster mode can
|
# Allow other players see character talents in inspect dialog (Characters in Gamemaster mode can
|
||||||
# inspect talents always)
|
# inspect talents always)
|
||||||
# Default: 1 (allow)
|
# Default: 1 (allow)
|
||||||
# 0 (not allow)
|
# 0 (not allow)
|
||||||
|
|
@ -712,7 +712,7 @@ ListenRange.Yell = 300
|
||||||
#
|
#
|
||||||
# ChatFakeMessagePreventing
|
# ChatFakeMessagePreventing
|
||||||
# Chat protection from creating fake messages using a lot spaces (other invisible symbols),
|
# Chat protection from creating fake messages using a lot spaces (other invisible symbols),
|
||||||
# not applied to addon language messages, but can prevent working old addons
|
# not applied to addon language messages, but can prevent working old addons
|
||||||
# that use normal languages for sending data to another clients.
|
# that use normal languages for sending data to another clients.
|
||||||
# Default: 0 (disible fake messages preventing)
|
# Default: 0 (disible fake messages preventing)
|
||||||
# 1 (enabled fake messages preventing)
|
# 1 (enabled fake messages preventing)
|
||||||
|
|
@ -812,7 +812,7 @@ GM.LogTrade = 1
|
||||||
#
|
#
|
||||||
# Visibility.Distance.Creature
|
# Visibility.Distance.Creature
|
||||||
# Visibility.Distance.Player
|
# Visibility.Distance.Player
|
||||||
# Visibility distance for different in game object
|
# Visibility distance for different in game object
|
||||||
# Max limited by active player zone: ~ 166
|
# Max limited by active player zone: ~ 166
|
||||||
# Min limit dependent from objects
|
# Min limit dependent from objects
|
||||||
# Default: 66 (cell size)
|
# Default: 66 (cell size)
|
||||||
|
|
@ -852,7 +852,7 @@ Visibility.Distance.Grey.Object = 10
|
||||||
# SERVER RATES
|
# SERVER RATES
|
||||||
#
|
#
|
||||||
# Rate.Health
|
# Rate.Health
|
||||||
# Rate.Mana
|
# Rate.Mana
|
||||||
# Rate.Rage.Income
|
# Rate.Rage.Income
|
||||||
# Rate.Rage.Loss
|
# Rate.Rage.Loss
|
||||||
# Rate.Focus
|
# Rate.Focus
|
||||||
|
|
@ -908,7 +908,7 @@ Visibility.Distance.Grey.Object = 10
|
||||||
#
|
#
|
||||||
# Rate.Mining.Amount
|
# Rate.Mining.Amount
|
||||||
# Rate.Mining.Next
|
# Rate.Mining.Next
|
||||||
# Mining Rates (Mining.Amount changes minimum/maximum usetimes of a deposit,
|
# Mining Rates (Mining.Amount changes minimum/maximum usetimes of a deposit,
|
||||||
# Mining.Next changes chance to have next use of a deposit)
|
# Mining.Next changes chance to have next use of a deposit)
|
||||||
#
|
#
|
||||||
# Rate.Talent
|
# Rate.Talent
|
||||||
|
|
@ -934,12 +934,12 @@ Visibility.Distance.Grey.Object = 10
|
||||||
# SkillChance.Yellow
|
# SkillChance.Yellow
|
||||||
# SkillChance.Green
|
# SkillChance.Green
|
||||||
# SkillChance.Grey
|
# SkillChance.Grey
|
||||||
# Skill chance values (0..100)
|
# Skill chance values (0..100)
|
||||||
# Default: 100-75-25-0
|
# Default: 100-75-25-0
|
||||||
#
|
#
|
||||||
# SkillChance.MiningSteps
|
# SkillChance.MiningSteps
|
||||||
# SkillChance.SkinningSteps
|
# SkillChance.SkinningSteps
|
||||||
# For skinning and Mining chance decrease with skill level.
|
# For skinning and Mining chance decrease with skill level.
|
||||||
# Default: 0 - no decrease
|
# Default: 0 - no decrease
|
||||||
# 75 - in 2 times each 75 skill points
|
# 75 - in 2 times each 75 skill points
|
||||||
#
|
#
|
||||||
|
|
@ -967,7 +967,7 @@ Visibility.Distance.Grey.Object = 10
|
||||||
#
|
#
|
||||||
# Death.CorpseReclaimDelay.PvP
|
# Death.CorpseReclaimDelay.PvP
|
||||||
# Death.CorpseReclaimDelay.PvE
|
# Death.CorpseReclaimDelay.PvE
|
||||||
# Enabled/disabled increase corpse reclaim delay at often PvP/PvE deaths
|
# Enabled/disabled increase corpse reclaim delay at often PvP/PvE deaths
|
||||||
# Default: 1 (enabled)
|
# Default: 1 (enabled)
|
||||||
# 0 (disabled)
|
# 0 (disabled)
|
||||||
#
|
#
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue