Changeset 44 for trunk/src/trinitycore

Show
Ignore:
Timestamp:
11/19/08 13:27:40 (17 years ago)
Author:
yumileroy
Message:

[svn] * Merge Temp dev SVN with Assembla.
* Changes include:

  • Implementation of w12x's Outdoor PvP and Game Event Systems.
  • Temporary removal of IRC Chat Bot (until infinite loop when disabled is fixed).
  • All mangos -> trinity (to convert your mangos_string table, please run mangos_string_to_trinity_string.sql).
  • Improved Config cleanup.
  • And many more changes.

Original author: Seline
Date: 2008-10-14 11:57:03-05:00

Location:
trunk/src/trinitycore
Files:
11 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/trinitycore/CliRunnable.cpp

    r41 r44  
    11/* 
    2  * Copyright (C) 2005-2008 MaNGOS <http://www.mangosproject.org/> 
     2 * Copyright (C) 2008 Trinity <http://www.trinitycore.org/> 
     3 * 
     4 * Thanks to the original authors: MaNGOS <http://www.mangosproject.org/> 
    35 * 
    46 * This program is free software; you can redistribute it and/or modify 
     
    911 * This program is distributed in the hope that it will be useful, 
    1012 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
    11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 
    1214 * GNU General Public License for more details. 
    1315 * 
    1416 * You should have received a copy of the GNU General Public License 
    1517 * along with this program; if not, write to the Free Software 
    16  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
     18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 
    1719 */ 
    1820 
    19 /// \addtogroup mangosd 
     21/// \addtogroup Trinityd 
    2022/// @{ 
    2123/// \file 
     
    3739#include "PlayerDump.h" 
    3840#include "Player.h" 
    39 #include "IRCClient.h" 
    4041 
    4142//CliCommand and CliCommandHolder are defined in World.h to avoid cyclic deps 
     
    315316    sWorld.SendWorldText(LANG_SYSTEMMESSAGE,textUtf8.c_str()); 
    316317    zprintf("Broadcasting to the world: %s\r\n",textUtf8.c_str()); 
    317  
    318     if((sIRC.BOTMASK & 256) != 0) 
    319     { 
    320         std::string ircchan = "#"; 
    321         ircchan += sIRC._irc_chan[sIRC.anchn].c_str(); 
    322         sIRC.Send_IRC_Channel(ircchan, sIRC.MakeMsg("\00304,08\037/!\\\037\017\00304 System Message \00304,08\037/!\\\037\017 %s", "%s", text), true); 
    323     } 
    324  
    325318} 
    326319 
     
    641634} 
    642635 
    643 /// Display %MaNGOS version 
     636/// Display %TrinIty version 
    644637void CliVersion(char*,pPrintf zprintf) 
    645638{ 
     
    948941    if (!result) 
    949942    { 
    950         zprintf(objmgr.GetMangosStringForDBCLocale(LANG_COMMAND_TELE_NOTFOUND),"\r\n"); 
     943        zprintf(objmgr.GetTrinityStringForDBCLocale(LANG_COMMAND_TELE_NOTFOUND),"\r\n"); 
    951944        return; 
    952945    } 
     
    962955    if(!MapManager::IsValidMapCoord(mapid,x,y,z,ort)) 
    963956    { 
    964         zprintf(objmgr.GetMangosStringForDBCLocale(LANG_INVALID_TARGET_COORD),"\r\n",x,y,mapid); 
     957        zprintf(objmgr.GetTrinityStringForDBCLocale(LANG_INVALID_TARGET_COORD),"\r\n",x,y,mapid); 
    965958        return; 
    966959    } 
     
    972965        if(chr->IsBeingTeleported()==true) 
    973966        { 
    974             zprintf(objmgr.GetMangosStringForDBCLocale(LANG_IS_TELEPORTED),"\r\n",chr->GetName()); 
     967            zprintf(objmgr.GetTrinityStringForDBCLocale(LANG_IS_TELEPORTED),"\r\n",chr->GetName()); 
    975968            return; 
    976969        } 
     
    978971        if(chr->isInFlight()) 
    979972        { 
    980             zprintf(objmgr.GetMangosStringForDBCLocale(LANG_CHAR_IN_FLIGHT),"\r\n",chr->GetName()); 
     973            zprintf(objmgr.GetTrinityStringForDBCLocale(LANG_CHAR_IN_FLIGHT),"\r\n",chr->GetName()); 
    981974            return; 
    982975        } 
    983976 
    984         zprintf(objmgr.GetMangosStringForDBCLocale(LANG_TELEPORTING_TO),"\r\n",chr->GetName(),"", location.c_str()); 
     977        zprintf(objmgr.GetTrinityStringForDBCLocale(LANG_TELEPORTING_TO),"\r\n",chr->GetName(),"", location.c_str()); 
    985978 
    986979        chr->SaveRecallPosition(); 
     
    990983    else if (uint64 guid = objmgr.GetPlayerGUIDByName(name.c_str())) 
    991984    { 
    992         zprintf(objmgr.GetMangosStringForDBCLocale(LANG_TELEPORTING_TO),"\r\n",name.c_str(), objmgr.GetMangosStringForDBCLocale(LANG_OFFLINE), location.c_str()); 
     985        zprintf(objmgr.GetTrinityStringForDBCLocale(LANG_TELEPORTING_TO),"\r\n",name.c_str(), objmgr.GetTrinityStringForDBCLocale(LANG_OFFLINE), location.c_str()); 
    993986        Player::SavePositionInDB(mapid,x,y,z,ort,MapManager::Instance().GetZoneId(mapid,x,y),guid); 
    994987    } 
    995988    else 
    996         zprintf(objmgr.GetMangosStringForDBCLocale(LANG_NO_PLAYER),"\r\n",name.c_str()); 
     989        zprintf(objmgr.GetTrinityStringForDBCLocale(LANG_NO_PLAYER),"\r\n",name.c_str()); 
    997990} 
    998991 
     
    10981091    ///- Save players 
    10991092    ObjectAccessor::Instance().SaveAllPlayers(); 
    1100     zprintf( objmgr.GetMangosStringForDBCLocale(LANG_PLAYERS_SAVED) ); 
     1093    zprintf( objmgr.GetTrinityStringForDBCLocale(LANG_PLAYERS_SAVED) ); 
    11011094 
    11021095    ///- Send a message 
  • trunk/src/trinitycore/CliRunnable.h

    r2 r44  
    11/*  
    2  * Copyright (C) 2005-2008 MaNGOS <http://www.mangosproject.org/> 
     2 * Copyright (C) 2008 Trinity <http://www.trinitycore.org/> 
     3 * 
     4 * Thanks to the original authors: MaNGOS <http://www.mangosproject.org/> 
    35 * 
    46 * This program is free software; you can redistribute it and/or modify 
     
    911 * This program is distributed in the hope that it will be useful, 
    1012 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
    11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 
    1214 * GNU General Public License for more details. 
    1315 * 
    1416 * You should have received a copy of the GNU General Public License 
    1517 * along with this program; if not, write to the Free Software 
    16  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
     18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 
    1719 */ 
    1820 
    19 /// \addtogroup mangosd 
     21/// \addtogroup Trinityd 
    2022/// @{ 
    2123/// \file 
  • trunk/src/trinitycore/Main.cpp

    r39 r44  
    11/*  
    2  * Copyright (C) 2005-2008 MaNGOS <http://www.mangosproject.org/> 
     2 * Copyright (C) 2008 Trinity <http://www.trinitycore.org/> 
     3 * 
     4 * Thanks to the original authors: MaNGOS <http://www.mangosproject.org/> 
    35 * 
    46 * This program is free software; you can redistribute it and/or modify 
     
    911 * This program is distributed in the hope that it will be useful, 
    1012 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
    11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 
    1214 * GNU General Public License for more details. 
    1315 * 
    1416 * You should have received a copy of the GNU General Public License 
    1517 * along with this program; if not, write to the Free Software 
    16  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
     18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 
    1719 */ 
    1820 
    19 /// \addtogroup mangosd Mangos Daemon 
     21/// \addtogroup Trinityd Trinity Daemon 
    2022/// @{ 
    2123/// \file 
     
    2628#include "Log.h" 
    2729#include "Master.h" 
    28 #include "../game/IRCConf.h" 
    29 #include "../game/IRCClient.h" 
    3030 
    3131#ifndef _TRINITY_CORE_CONFIG 
     
    4141#ifdef WIN32 
    4242#include "ServiceWin32.h" 
    43 char serviceName[] = "mangosd"; 
    44 char serviceLongName[] = "MaNGOS world service"; 
     43char serviceName[] = "Trinityd"; 
     44char serviceLongName[] = "Trinity core service"; 
    4545char serviceDescription[] = "Massive Network Game Object Server"; 
    4646/* 
     
    7373} 
    7474 
    75 /// Launch the mangos server 
     75/// Launch the Trinity server 
    7676extern int main(int argc, char **argv) 
    7777{ 
    7878    ///- Command line parsing to get the configuration file name 
    7979    char const* cfg_file = _TRINITY_CORE_CONFIG; 
    80     char const* mc_cfg_file = _TRINITY_CORE_CONFIG; 
    8180    int c=1; 
    8281    while( c < argc ) 
     
    140139    } 
    141140 
    142     sIRC.SetCfg(mc_cfg_file); 
    143141    sLog.outString("Using configuration file %s.", cfg_file); 
    144142     
     
    163161    // 0 - normal shutdown 
    164162    // 1 - shutdown at error 
    165     // 2 - restart command used, this code can be used by restarter for restart mangosd 
     163    // 2 - restart command used, this code can be used by restarter for restart Trinityd 
    166164} 
    167165 
  • trunk/src/trinitycore/Makefile.am

    r23 r44  
    55# This program is free software; you can redistribute it and/or modify 
    66# it under the terms of the GNU General Public License as published by 
    7 # the Free Software Foundation; either version 3 of the License, or 
     7# the Free Software Foundation; either version 2 of the License, or 
    88# (at your option) any later version. 
    99# 
     
    8383        done 
    8484 
     85 
  • trunk/src/trinitycore/Master.cpp

    r39 r44  
    11/*  
    2  * Copyright (C) 2005-2008 MaNGOS <http://www.mangosproject.org/> 
     2 * Copyright (C) 2008 Trinity <http://www.trinitycore.org/> 
     3 * 
     4 * Thanks to the original authors: MaNGOS <http://www.mangosproject.org/> 
    35 * 
    46 * This program is free software; you can redistribute it and/or modify 
     
    911 * This program is distributed in the hope that it will be useful, 
    1012 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
    11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 
    1214 * GNU General Public License for more details. 
    1315 * 
    1416 * You should have received a copy of the GNU General Public License 
    1517 * along with this program; if not, write to the Free Software 
    16  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
     18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 
    1719 */ 
    1820 
    1921/** \file 
    20     \ingroup mangosd 
     22    \ingroup Trinityd 
    2123*/ 
    2224 
     
    3941#include "ScriptCalls.h" 
    4042#include "Util.h" 
    41 #include "IRCClient.h" 
    4243 
    4344#include "sockets/TcpSocket.h" 
     
    156157        ipaddr_t raip; 
    157158        if (!Utility::u2ip (stringip, raip)) 
    158           sLog.outError ("MaNGOS RA can not bind to ip %s", stringip.c_str ()); 
     159          sLog.outError ("Trinity RA can not bind to ip %s", stringip.c_str ()); 
    159160        else if (RAListenSocket.Bind (raip, raport)) 
    160           sLog.outError ("MaNGOS RA can not bind to port %d on %s", raport, stringip.c_str ()); 
     161          sLog.outError ("Trinity RA can not bind to port %d on %s", raport, stringip.c_str ()); 
    161162        else 
    162163          { 
     
    228229        return 1; 
    229230 
    230     ///- Load IRC Config (need DB for gm levels, AutoBroadcast uses world timers) 
    231     sIRC.LoadConfig(sIRC.CfgFile); 
    232  
    233231    ///- Initialize the World 
    234232    sWorld.SetInitialWorldSettings(); 
     
    243241    // set server online 
    244242    loginDatabase.PExecute("UPDATE realmlist SET color = 0, population = 0 WHERE id = '%d'",realmID); 
    245  
    246         // Create table: has_logged_in_before - used for certain custom options 
    247         sLog.outBasic("ImpConfig: Creating/Checking table 'has_logged_in_before'..."); 
    248         CharacterDatabase.PExecute("CREATE TABLE IF NOT EXISTS `has_logged_in_before` (`guid` int(11) unsigned NOT NULL default '0', PRIMARY KEY (`guid`)) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='ImpConfig check';"); 
    249         sLog.outBasic("ImpConfig: Done..."); 
    250243 
    251244#ifdef WIN32 
     
    278271                if(!curAff ) 
    279272                { 
    280                     sLog.outError("Processors marked in UseProcessors bitmask (hex) %x not accessible for mangosd. Accessible processors bitmask (hex): %x",Aff,appAff); 
     273                    sLog.outError("Processors marked in UseProcessors bitmask (hex) %x not accessible for Trinityd. Accessible processors bitmask (hex): %x",Aff,appAff); 
    281274                } 
    282275                else 
     
    299292                sLog.outString("TrinityCore process priority class set to HIGH"); 
    300293            else 
    301                 sLog.outError("ERROR: Can't set mangosd process priority class."); 
     294                sLog.outError("ERROR: Can't set Trinityd process priority class."); 
    302295            sLog.outString(); 
    303296        } 
     
    313306    uint32 numLoops = (sConfig.GetIntDefault( "MaxPingTime", 30 ) * (MINUTE * 1000000 / socketSelecttime)); 
    314307    uint32 loopCounter = 0; 
    315  
    316     // Start up IRC bot 
    317     ZThread::Thread irc(new IRCClient); 
    318     irc.setPriority ((ZThread::Priority )2); 
    319  
    320  
    321308 
    322309    ///- Start up freeze catcher thread 
  • trunk/src/trinitycore/Master.h

    r2 r44  
    11/*  
    2  * Copyright (C) 2005-2008 MaNGOS <http://www.mangosproject.org/> 
     2 * Copyright (C) 2008 Trinity <http://www.trinitycore.org/> 
     3 * 
     4 * Thanks to the original authors: MaNGOS <http://www.mangosproject.org/> 
    35 * 
    46 * This program is free software; you can redistribute it and/or modify 
     
    911 * This program is distributed in the hope that it will be useful, 
    1012 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
    11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 
    1214 * GNU General Public License for more details. 
    1315 * 
    1416 * You should have received a copy of the GNU General Public License 
    1517 * along with this program; if not, write to the Free Software 
    16  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
     18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 
    1719 */ 
    1820 
    19 /// \addtogroup mangosd 
     21/// \addtogroup Trinityd 
    2022/// @{ 
    2123/// \file 
     
    4648}; 
    4749 
    48 #define sMaster MaNGOS::Singleton<Master>::Instance() 
     50#define sMaster Trinity::Singleton<Master>::Instance() 
    4951#endif 
    5052/// @} 
  • trunk/src/trinitycore/RASocket.cpp

    r41 r44  
    11/* 
    2  * Copyright (C) 2005-2008 MaNGOS <http://www.mangosproject.org/> 
     2 * Copyright (C) 2008 Trinity <http://www.trinitycore.org/> 
     3 * 
     4 * Thanks to the original authors: MaNGOS <http://www.mangosproject.org/> 
    35 * 
    46 * This program is free software; you can redistribute it and/or modify 
     
    911 * This program is distributed in the hope that it will be useful, 
    1012 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
    11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 
    1214 * GNU General Public License for more details. 
    1315 * 
    1416 * You should have received a copy of the GNU General Public License 
    1517 * along with this program; if not, write to the Free Software 
    16  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
     18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 
    1719 */ 
    1820 
    1921/** \file 
    20     \ingroup mangosd 
     22    \ingroup Trinityd 
    2123*/ 
    2224 
  • trunk/src/trinitycore/RASocket.h

    r2 r44  
    11/* 
    2  * Copyright (C) 2005-2008 MaNGOS <http://www.mangosproject.org/> 
     2 * Copyright (C) 2008 Trinity <http://www.trinitycore.org/> 
     3 * 
     4 * Thanks to the original authors: MaNGOS <http://www.mangosproject.org/> 
    35 * 
    46 * This program is free software; you can redistribute it and/or modify 
     
    911 * This program is distributed in the hope that it will be useful, 
    1012 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
    11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 
    1214 * GNU General Public License for more details. 
    1315 * 
    1416 * You should have received a copy of the GNU General Public License 
    1517 * along with this program; if not, write to the Free Software 
    16  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
     18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 
    1719 */ 
    1820 
    19 /// \addtogroup mangosd 
     21/// \addtogroup Trinityd 
    2022/// @{ 
    2123/// \file 
  • trunk/src/trinitycore/WorldRunnable.cpp

    r6 r44  
    11/*  
    2  * Copyright (C) 2005-2008 MaNGOS <http://www.mangosproject.org/> 
     2 * Copyright (C) 2008 Trinity <http://www.trinitycore.org/> 
     3 * 
     4 * Thanks to the original authors: MaNGOS <http://www.mangosproject.org/> 
    35 * 
    46 * This program is free software; you can redistribute it and/or modify 
     
    911 * This program is distributed in the hope that it will be useful, 
    1012 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
    11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 
    1214 * GNU General Public License for more details. 
    1315 * 
    1416 * You should have received a copy of the GNU General Public License 
    1517 * along with this program; if not, write to the Free Software 
    16  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
     18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 
    1719 */ 
    1820 
    1921/** \file 
    20     \ingroup mangosd 
     22    \ingroup Trinityd 
    2123*/ 
    2224 
  • trunk/src/trinitycore/WorldRunnable.h

    r2 r44  
    11/*  
    2  * Copyright (C) 2005-2008 MaNGOS <http://www.mangosproject.org/> 
     2 * Copyright (C) 2008 Trinity <http://www.trinitycore.org/> 
     3 * 
     4 * Thanks to the original authors: MaNGOS <http://www.mangosproject.org/> 
    35 * 
    46 * This program is free software; you can redistribute it and/or modify 
     
    911 * This program is distributed in the hope that it will be useful, 
    1012 * but WITHOUT ANY WARRANTY; without even the implied warranty of 
    11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 
    1214 * GNU General Public License for more details. 
    1315 * 
    1416 * You should have received a copy of the GNU General Public License 
    1517 * along with this program; if not, write to the Free Software 
    16  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
     18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 
    1719 */ 
    1820 
    19 /// \addtogroup mangosd 
     21/// \addtogroup Trinityd 
    2022/// @{ 
    2123/// \file 
  • trunk/src/trinitycore/trinitycore.conf.dist

    r41 r44  
    300300LogSQL = 1 
    301301PidFile = "" 
    302 LogLevel = 3 
     302LogLevel = 1 
    303303LogTime = 0 
    304304LogFile = "server.log" 
     
    808808#        Visibility grey distance for creatures/players (fast changing objects) 
    809809#        addition to appropriate object type Visibility.Distance.* use in case visibility removing to 
    810 #        object (except corpse around distences) If ᅵ is distance and G is grey distance then object 
     810#        object (except corpse around distences) If ? is distance and G is grey distance then object 
    811811#        make visible if distance to it <= D but make non visible if distance > D+G 
    812812#        Default: 1 (yard) 
     
    11341134#               Players will start with all flight paths (Note: ALL flight paths, not only player's team) 
    11351135# 
    1136 #       AntiCheat.GMIsland 
    1137 #               If a player enters GM island, he will get teleported away. This will prevent cheaters from buying GM stuff 
    1138 #               on servers with a GM mall. GM's will not get teleported away. 
    1139 # 
    11401136#       GamemasterStartLevel 
    11411137#               GM starting level 
     
    11501146#               If enabled, "L70ETC - Power of the horde" will be played when BG starts ;) 
    11511147# 
    1152 #       EnableQueueForGMs 
    1153 #      NOTE: This option currently does not work due to ACE patch 
    1154 #               GMs will also be added to the login queue (not gmlvl 3+) if enabled. Useful for GM servers. 
    1155 #               Default: 0 - off 
    1156 #                                1 - on 
    1157 # 
    11581148#       HonorPointsAfterDuel 
    11591149#               The amount of honor points the duel winner will get after a duel. 
     
    11621152#       DisableWaterBreath 
    11631153#               Disable/enable waterbreathing for players 
    1164 # 
    1165 #       DisableResurrectSickness 
    1166 #               Players wont get any resurrect sickness when speaking with a spirit healer if this is enabled+ 
    11671154# 
    11681155#       AlwaysMaxWeaponSkill 
     
    11881175#       NoResetTalentsCost 
    11891176#               Enable or disable no cost when reseting talents 
     1177# 
     1178#   ForbiddenMaps 
     1179#       map ids that users below SEC_GAMEMASTER cannot enter, with delimiter ',' 
     1180#       Default: "" 
     1181#       example: "538,90" 
     1182#       Note that it's HIGHLY DISCOURAGED to forbid starting maps (0, 1, 530)! 
    11901183# 
    11911184################################################################################################################### 
     
    11981191PlayerStart.MapsExplored = 0 
    11991192PlayerStart.AllFlightPaths = 0 
    1200 AntiCheat.GMIsland = 0 
    12011193GamemasterStartLevel = 70 
    12021194PlayerInstantLogout = 0 
    12031195MusicInBattleground = 0 
    1204 EnableQueueForGMs = 0 
    12051196HonorPointsAfterDuel = 0 
    12061197DisableWaterBreath = 0 
    1207 DisableResurrectSickness = 0 
    12081198AlwaysMaxWeaponSkill = 0 
    12091199PvPToken.Enable = 0 
     
    12131203NoResetTalentsCost = 0 
    12141204 
    1215 ################################################################################################################### 
    1216 # IRC SYSTEM CONFIG 
    1217 # 
    1218 # irc.active 
    1219 #     Enable IRC bot/system 
    1220 #     Default: 0 - Disable 
    1221 #              0 - Enable 
    1222 # irc.icc 
    1223 #     IRC connect code 
    1224 #     Default: 001 - Welcome To Network msg 
    1225 #              375 - Beginning Of MOTD 
    1226 #              376 - End Of MOTD 
    1227 # 
    1228 # irc.host 
    1229 #     IRC server to connect to 
    1230 # 
    1231 # irc.port 
    1232 #     IRC server port to use 
    1233 #     Default: "6667" - Semi-standard IRC port 
    1234 # 
    1235 # irc.user 
    1236 #     The username/ident to use when connecting to the IRC server 
    1237 # 
    1238 # irc.nick 
    1239 #     IRC nickname to be used by the bot 
    1240 # 
    1241 # irc.pass 
    1242 #     The password to be used to identify to NickServ 
    1243 # 
    1244 # irc.auth 
    1245 #     IRC Authentication Method 
    1246 #     Default: 0 - Disable 
    1247 #              1 - NickServ - Normal Method - PRIVMSG NickServ :IDENTIFY Password 
    1248 #              2 - NickServ - Alternate Method To Identify To A Different Nick - PRIVMSG NickServ :IDENTIFY irc.auth.nick Password 
    1249 #              3 - QuakeNet - Normal Method - PRIVMSG Q@CServe.quakenet.org :AUTH irc.nick Password 
    1250 #              4 - QuakeNet - Alternate Method To Identify To A Different Nick - PRIVMSG Q@CServe.quakenet.org :AUTH irc.auth.nick Password 
    1251 # 
    1252 # irc.auth.nick 
    1253 #     IRC Nickname to use if Auth method 2 or 4 is used 
    1254 # 
    1255 # irc.ldef 
    1256 #     Leave a defined IRC channel on server connect 
    1257 #     Default: 0 - Disable 
    1258 #              1 - Enable 
    1259 # irc.defchan 
    1260 #     IRC channel to leave on server connect if irc.ldef is on 
    1261 # 
    1262 # irc.wct 
    1263 #     Time to wait before (re)attemptimg connection to IRC server 
    1264 #     Default: 30000 - (30 Seconds) 
    1265 # 
    1266 # irc.maxattempt 
    1267 #     Maximum attempts to try IRC server 
    1268 #     Default: 20 
    1269 # 
    1270 # irc.auto.announce 
    1271 #     Time to wait in Minutes to announce random messages from database. 
    1272 #     Default: 30 - (30 Minutes) 
    1273 # 
    1274 # irc.autojoin_kick 
    1275 #     Autojoin IRC channel if kicked 
    1276 #     Default: 1 - Enable 
    1277 #              0 - Disable 
    1278 # 
    1279 # irc.command_prefix 
    1280 #     IRC command prefix 
    1281 #     Example: (.)online all 
    1282 # 
    1283 # irc.joinmsg 
    1284 # irc.rstmsg 
    1285 # irc.kickmsg 
    1286 #     Bot join/restart/kick messages 
    1287 # 
    1288 # irc.chan_# 
    1289 # wow.chan_# 
    1290 #     IRC and WOW channels to link. Leave # out of IRC channel. Both channels _ARE_ case sensitive 
    1291 #     Example: irc.chan_1 = "Trinity" 
    1292 #              irc.chan_2 = "trinity2" 
    1293 #              wow.chan_1 = "world" 
    1294 #              wow.chan_2 = "LookingForGroup" 
    1295 # 
    1296 # irc.StatusChannel 
    1297 #     Channel Number To Display Status Messages In (AuctionHouse, Levels, Deaths, Etc) 
    1298 #     Default: 1 - Channel ID 1 
    1299 # 
    1300 # irc.AnnounceChannel 
    1301 #     Channel Number To Display Announcements In (Announces, Notifies, Event) 
    1302 #     Default: 1 - Channel ID 1 
    1303 # 
    1304 # irc.op_gm_login 
    1305 #     Op The GM In All Channels The Bot Is On When They Log In 
    1306 #     Default: 0 - Disable 
    1307 #              1 - Enable 
    1308 # 
    1309 # irc.op_gm_level 
    1310 #     The Minimum GM Level Required To Have The Bot Op The User 
    1311 #     Default: 5 - GM Level 5 
    1312 # 
    1313 # irc.ajoin (Experimental/Under Development) 
    1314 #     Force players to autojoin an in game channel 
    1315 #     Atleast one player must be in the channel on server start, and atleast one person online for invite to work 
    1316 #     Default: 0 - Disable 
    1317 #              1 - Enable 
    1318 # irc.ajchan 
    1319 #     Channel to join if above is Enabled. 
    1320 # 
    1321 # irc.online.result 
    1322 #     Maximum number of results per line for the online command 
    1323 # 
    1324 # chat.*** (Defineable Strings) 
    1325 #     wow_* - String is displayed in IRC channel 
    1326 #     irc_* - String is displayed in WOW channel 
    1327 #     Options: $Name, $Level, $Msg, $GM (not all options work in every string) 
    1328 # 
    1329 # Botmask 
    1330 #     This defines what the bot announces, if its 0 everything is disabled 
    1331 #     simply add the values of the elements you want to create this mask. 
    1332 #     Example: WoW join/leaves are 1 and IRC join/leaves are 2, if you want both of these active then the BotMask is 3. 
    1333 #       (1)Display WoW Chan Join/Leaves In IRC 
    1334 #       (2)Display IRC Chan Join/Leaves/NickChanges In WoW 
    1335 #       (4)Display Unknown Command Message When Trigger Is Used And No Command Exists 
    1336 #       (8)Announce Security Level > 0 As GM At Login 
    1337 #       (16)Announce GM In GM ON State AS GM At Login 
    1338 #       (32)Return Errors To Notice. (If disabled then default is Private Message) 
    1339 #       (64)Display WoW Status Messages (Levels/Deaths) 
    1340 #       (128)Display Nick Changes From IRC In WOW 
    1341 #       (256)Display WoW Announces/Notifies In IRC 
    1342 #       (512)Do Not Let Players Use Commands On Higher GM Level Players 
    1343 #       (1024)Enable AuctionHouse Announcements 
    1344 # 
    1345 # irc.gmlog 
    1346 #     Minimum GM level to not show login/pass info in IRC logs 
    1347 # 
    1348 # irc.logfile.prefix 
    1349 #     The prefix of the IRC logfile. Directories can be added here. 
    1350 #     Example: "IRC/IRC_" outputs IRC_YYYY-MM-DD.log to the IRC subdirectory in your logs dir 
    1351 # 
    1352 # irc.fun.games (Experimental/Under Development) 
    1353 #     Enable IRC games 
    1354 #     Default: 0 - Disable 
    1355 #              1 - Enable 
    1356 # irc.gm# 
    1357 #     GM tag to append to (GM onjoin / online command) IRC color codes are acceptable 
    1358 # 
    1359 ################################################################################################################### 
    1360  
    1361 irc.active = 0 
    1362 irc.icc = 001 
    1363 irc.host = "" 
    1364 irc.port = "6667" 
    1365 irc.user = "TC" 
    1366 irc.nick = "TrinityCoreBot" 
    1367 irc.pass = "" 
    1368 irc.auth = 0 
    1369 irc.auth.nick = "TrinityCoreBot" 
    1370 irc.ldef = 0 
    1371 irc.defchan = "lobby" 
    1372 irc.wct = 30000 
    1373 irc.maxattempt = 20 
    1374 irc.auto.announce = 30 
    1375 irc.autojoin_kick = 1 
    1376 irc.command_prefix = "-" 
    1377 irc.joinmsg = "Trinity Core running. Command trigger is $Trigger." 
    1378 irc.rstmsg  = "Trinity Core is restarting..." 
    1379 irc.kickmsg = "Do not kick me." 
    1380 irc.chan_1 = "mangos" 
    1381 wow.chan_1 = "world" 
    1382 irc.StatusChannel = 1 
    1383 irc.AnnounceChannel = 1 
    1384 irc.op_gm_login = 0 
    1385 irc.op_gm_level = 3 
    1386 irc.ajoin = 1 
    1387 irc.ajchan = "World" 
    1388 irc.online.result = 30 
    1389 chat.wow_irc = "-WoW-$Name [$Level]: $Msg" 
    1390 chat.irc_wow = "-IRC-$Name: $Msg" 
    1391 chat.join_wow = "[$GM] $Name has joined IRC." 
    1392 chat.leave_wow = "[$GM] $Name has left IRC." 
    1393 Botmask = 1023 
    1394 irc.gmlog = 1 
    1395 irc.logfile.prefix = "irc_" 
    1396 irc.fun.games = 0 
    1397 irc.gm1 = "[Moderator]" 
    1398 irc.gm2 = "[Game Master]" 
    1399 irc.gm3 = "[BugTracker]" 
    1400 irc.gm4 = "[DevTeam Admin]" 
    1401 irc.gm5 = "[SysOP]"