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

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • 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