aboutsummaryrefslogtreecommitdiff
path: root/src/trinityrealm
diff options
context:
space:
mode:
Diffstat (limited to 'src/trinityrealm')
-rw-r--r--src/trinityrealm/AuthSocket.cpp4
-rw-r--r--src/trinityrealm/Main.cpp4
-rw-r--r--src/trinityrealm/Makefile.am72
-rw-r--r--src/trinityrealm/RealmList.cpp4
-rw-r--r--src/trinityrealm/TrinityRealm.icobin136606 -> 0 bytes
-rw-r--r--src/trinityrealm/TrinityRealm.rc85
-rw-r--r--src/trinityrealm/trinityrealm.conf.dist116
7 files changed, 6 insertions, 279 deletions
diff --git a/src/trinityrealm/AuthSocket.cpp b/src/trinityrealm/AuthSocket.cpp
index 3dc6b3a5c28..dd7bc31e45b 100644
--- a/src/trinityrealm/AuthSocket.cpp
+++ b/src/trinityrealm/AuthSocket.cpp
@@ -1,7 +1,7 @@
/*
- * Copyright (C) 2005-2008 MaNGOS <http://www.mangosproject.org/>
+ * Copyright (C) 2005-2009 MaNGOS <http://getmangos.com/>
*
- * Copyright (C) 2008 Trinity <http://www.trinitycore.org/>
+ * Copyright (C) 2008-2009 Trinity <http://www.trinitycore.org/>
*
* 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
diff --git a/src/trinityrealm/Main.cpp b/src/trinityrealm/Main.cpp
index 05fd704c10b..8c2c199b2f4 100644
--- a/src/trinityrealm/Main.cpp
+++ b/src/trinityrealm/Main.cpp
@@ -1,7 +1,7 @@
/*
- * Copyright (C) 2005-2008 MaNGOS <http://www.mangosproject.org/>
+ * Copyright (C) 2005-2009 MaNGOS <http://getmangos.com/>
*
- * Copyright (C) 2008 Trinity <http://www.trinitycore.org/>
+ * Copyright (C) 2008-2009 Trinity <http://www.trinitycore.org/>
*
* 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
diff --git a/src/trinityrealm/Makefile.am b/src/trinityrealm/Makefile.am
deleted file mode 100644
index 9baeed6c2b1..00000000000
--- a/src/trinityrealm/Makefile.am
+++ /dev/null
@@ -1,72 +0,0 @@
-# Copyright (C) 2005-2008 MaNGOS <http://www.mangosproject.org/>
-#
-# Copyright (C) 2008 Trinity <http://www.trinitycore.org/>
-#
-# 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 Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
-## Process this file with automake to produce Makefile.in
-
-## Build realm list daemon as standalone program
-bin_PROGRAMS = trinity-realm
-
-## Preprocessor flags
-trinity_realm_CPPFLAGS = \
-$(MYSQL_INCLUDES) \
-$(POSTGRE_INCLUDES) \
-$(TRINI_INCLUDES) \
--I$(top_srcdir)/dep/include \
--I$(top_srcdir)/src/framework \
--I$(top_srcdir)/src/shared \
--D_TRINITY_REALM_CONFIG='"$(sysconfdir)/trinityrealm.conf"'
-
-## Sources
-trinity_realm_SOURCES = \
-$(srcdir)/AuthCodes.h \
-$(srcdir)/AuthSocket.cpp \
-$(srcdir)/AuthSocket.h \
-$(srcdir)/Main.cpp \
-$(srcdir)/RealmList.cpp \
-$(srcdir)/RealmList.h
-
-## Convenience libs to add
-trinity_realm_LDADD = \
-$(top_builddir)/src/shared/libshared.a \
-$(top_builddir)/src/framework/libmangosframework.a \
-$(top_builddir)/dep/src/sockets/libmangossockets.a \
-$(top_builddir)/dep/src/zthread/libZThread.la
-
-## Linker flags
-trinity_realm_LDFLAGS = $(MYSQL_LIBS) $(POSTGRE_LIBS) $(ZLIB) $(COMPATLIB) $(SSLLIB) $(TRINI_LIBS)
-
-## Additional files to install
-sysconf_DATA = \
- trinityrealm.conf.dist
-
-## Prevend overwrite of the config file, if its already installed
-install-data-hook:
- @list='$(sysconf_DATA)'; for p in $$list; do \
- dest=`echo $$p | sed -e s/.dist//`; \
- if test -f $(DESTDIR)$(sysconfdir)/$$dest; then \
- echo "$@ will not overwrite existing $(DESTDIR)$(sysconfdir)/$$dest"; \
- else \
- echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(sysconfdir)/$$dest"; \
- $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(sysconfdir)/$$dest; \
- fi; \
- done
-
-## Additional files to include when running 'make dist'
-EXTRA_DIST = trinityrealm.conf.dist
-
-
diff --git a/src/trinityrealm/RealmList.cpp b/src/trinityrealm/RealmList.cpp
index ca4dc9271b7..692f457b1a8 100644
--- a/src/trinityrealm/RealmList.cpp
+++ b/src/trinityrealm/RealmList.cpp
@@ -1,7 +1,7 @@
/*
- * Copyright (C) 2005-2008 MaNGOS <http://www.mangosproject.org/>
+ * Copyright (C) 2005-2009 MaNGOS <http://getmangos.com/>
*
- * Copyright (C) 2008 Trinity <http://www.trinitycore.org/>
+ * Copyright (C) 2008-2009 Trinity <http://www.trinitycore.org/>
*
* 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
diff --git a/src/trinityrealm/TrinityRealm.ico b/src/trinityrealm/TrinityRealm.ico
deleted file mode 100644
index da318f48a8c..00000000000
--- a/src/trinityrealm/TrinityRealm.ico
+++ /dev/null
Binary files differ
diff --git a/src/trinityrealm/TrinityRealm.rc b/src/trinityrealm/TrinityRealm.rc
deleted file mode 100644
index 33c7eef719a..00000000000
--- a/src/trinityrealm/TrinityRealm.rc
+++ /dev/null
@@ -1,85 +0,0 @@
-/*
- * Copyright (C) 2005-2008 MaNGOS <http://www.mangosproject.org/>
- *
- * 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 Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
- */
-
-#include "resource.h"
-
-#define APSTUDIO_READONLY_SYMBOLS
-/////////////////////////////////////////////////////////////////////////////
-//
-// Generated from the TEXTINCLUDE 2 resource.
-//
-#include "windows.h" //"afxres.h"
-
-/////////////////////////////////////////////////////////////////////////////
-#undef APSTUDIO_READONLY_SYMBOLS
-
-/////////////////////////////////////////////////////////////////////////////
-//
-// Icon
-//
-
-// Icon with lowest ID value placed first to ensure application icon
-// remains consistent on all systems.
-IDI_APPICON ICON "TrinityRealm.ico"
-
-/////////////////////////////////////////////////////////////////////////////
-// Neutre (Par défaut système) resources
-
-#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_NEUSD)
-#ifdef _WIN32
-LANGUAGE LANG_NEUTRAL, SUBLANG_SYS_DEFAULT
-#pragma code_page(1252)
-#endif //_WIN32
-
-/////////////////////////////////////////////////////////////////////////////
-//
-// Version
-//
-
-VS_VERSION_INFO VERSIONINFO
- FILEVERSION 0,4,6743,685
- PRODUCTVERSION 0,4,6743,685
- FILEFLAGSMASK 0x17L
-#ifdef _DEBUG
- FILEFLAGS 0x1L
-#else
- FILEFLAGS 0x0L
-#endif
- FILEOS 0x0L
- FILETYPE 0x0L
- FILESUBTYPE 0x0L
-BEGIN
- BLOCK "StringFileInfo"
- BEGIN
- BLOCK "080004b0"
- BEGIN
- VALUE "FileDescription", "TrinityRealm"
- VALUE "FileVersion", "0, 4, 6743, 685"
- VALUE "InternalName", "TrinityRealm"
- VALUE "LegalCopyright", "Copyright (C) 2008"
- VALUE "OriginalFilename", "TrinityRealm.exe"
- VALUE "ProductName", "TrinityRealm"
- VALUE "ProductVersion", "0, 4, 6743, 685"
- END
- END
- BLOCK "VarFileInfo"
- BEGIN
- VALUE "Translation", 0x800, 1200
- END
-END
-#endif
diff --git a/src/trinityrealm/trinityrealm.conf.dist b/src/trinityrealm/trinityrealm.conf.dist
deleted file mode 100644
index 72ef1c9012e..00000000000
--- a/src/trinityrealm/trinityrealm.conf.dist
+++ /dev/null
@@ -1,116 +0,0 @@
-##########################################
-# Trinity Core realmd configuration file #
-##########################################
-ConfVersion=2007062001
-
-###################################################################################################################
-# REALMD SETTINGS
-#
-# LoginDatabaseInfo
-# Database connection settings for the realm server.
-# Default: hostname;port;username;password;database
-# .;somenumber;username;password;database - use named pipes at Windows
-# Named pipes: mySQL required adding "enable-named-pipe" to [mysqld] section my.ini
-# .;/path/to/unix_socket;username;password;database - use Unix sockets at Unix/Linux
-# Unix sockets: experimental, not tested
-#
-# LogsDir
-# Logs directory setting.
-# Important: Logs dir must exists, or all logs be disable
-# Default: "" - no log directory prefix, if used log names isn't absolute path then logs will be
-# stored in current directory for run program.
-#
-# MaxPingTime
-# Settings for maximum database-ping interval (minutes between pings)
-#
-# RealmServerPort
-# Default RealmServerPort
-#
-# BindIP
-# Bind Realm Server to IP/hostname
-#
-# PidFile
-# Realmd daemon PID file
-# Default: "" - do not create PID file
-# "./realmd.pid" - create PID file (recommended name)
-#
-# LogLevel
-# Server console level of logging
-# 0 = Minimum; 1 = Error; 2 = Detail; 3 = Full/Debug
-# Default: 0
-#
-# LogTime
-# Include time in server console output [hh:mm:ss]
-# Default: 0 (no time)
-# 1 (print time)
-#
-# LogFile
-# Logfile name
-# Default: "realmd.log"
-# "" - empty name disable creating log file
-#
-# LogTimestamp
-# Logfile with timestamp of server start in name
-# Default: 0 - no timestamp in name
-# 1 - add timestamp in name in form Logname_YYYY-MM-DD_HH-MM-SS.Ext for Logname.Ext
-#
-# LogFileLevel
-# Server file level of logging
-# 0 = Minimum; 1 = Error; 2 = Detail; 3 = Full/Debug
-# Default: 0
-#
-# LogColors
-# 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,
-# 8 - YELLOW, 9 - LRED, 10 - LGREEN, 11 - LBLUE, 12 - LMAGENTA, 13 - LCYAN, 14 - WHITE
-# Default: "" - none colors
-# "13 7 11 9" - for example :)
-#
-# UseProcessors
-# Used processors mask for multi-processors system (Used only at Windows)
-# Default: 0 (selected by OS)
-# number (bitmask value of selected processors)
-#
-# ProcessPriority
-# Process proirity setting (Used only at Windows)
-# Default: 1 (HIGH)
-# 0 (Normal)
-#
-# RealmsStateUpdateDelay
-# Realm list Update up delay (updated at realm list request if delay expired).
-# Default: 20
-# 0 (Disabled)
-#
-# WrongPass.MaxCount
-# Number of login attemps with wrong password before the account or IP is banned
-# Default: 0 (Never ban)
-#
-# WrongPass.BanTime
-# Duration of the ban in seconds (0 means permanent ban)
-# Default: 600
-#
-# WrongPass.BanType
-# Ban the IP or account on which login is attempted
-# Default: 0 (Ban IP)
-# 1 (Ban Account)
-#
-###################################################################################################################
-
-LoginDatabaseInfo = "127.0.0.1;3306;trinity;trinity;realmd"
-LogsDir = ""
-MaxPingTime = 30
-RealmServerPort = 3724
-BindIP = "0.0.0.0"
-PidFile = ""
-LogLevel = 0
-LogTime = 0
-LogFile = "realmd.log"
-LogTimestamp = 0
-LogFileLevel = 0
-LogColors = ""
-UseProcessors = 0
-ProcessPriority = 1
-RealmsStateUpdateDelay = 20
-WrongPass.MaxCount = 0
-WrongPass.BanTime = 600
-WrongPass.BanType = 0