aboutsummaryrefslogtreecommitdiff
path: root/src/trinitycore
diff options
context:
space:
mode:
authorXTZGZoReX <none@none>2008-10-12 17:35:16 -0500
committerXTZGZoReX <none@none>2008-10-12 17:35:16 -0500
commitfdcf5cc4069be8584b21fe42ee90d7d6109b3c9a (patch)
tree00ccaf66482a288d57006d4323f507e61c93b616 /src/trinitycore
parenta4ceeacb517d4da05f85ba8230253818d94b9f98 (diff)
[svn] * Random changes/fixes...
* Some fixes to MangChat, more coming. * Cleaning up scripting part and preparing to merge it into the core. --HG-- branch : trunk rename : src/bindings/scripts/README.TXT => src/bindings/scripts/README
Diffstat (limited to 'src/trinitycore')
-rw-r--r--src/trinitycore/CliRunnable.cpp4
-rw-r--r--src/trinitycore/RASocket.cpp4
-rw-r--r--src/trinitycore/trinitycore.conf.dist30
3 files changed, 30 insertions, 8 deletions
diff --git a/src/trinitycore/CliRunnable.cpp b/src/trinitycore/CliRunnable.cpp
index 5f1518483f5..7e4c0e2eeb7 100644
--- a/src/trinitycore/CliRunnable.cpp
+++ b/src/trinitycore/CliRunnable.cpp
@@ -896,7 +896,7 @@ void ParseCommand( pPrintf zprintf, char* input)
}
}
if (!bSuccess)
- zprintf("mangos>");
+ zprintf("TC>");
}
/// Kick a character out of the realm
@@ -1238,7 +1238,7 @@ void CliRunnable::run()
// print this here the first time
// later it will be printed after command queue updates
- printf("mangos>");
+ printf("TC>");
///- As long as the World is running (no World::m_stopEvent), get the command line and handle it
while (!World::m_stopEvent)
diff --git a/src/trinitycore/RASocket.cpp b/src/trinitycore/RASocket.cpp
index 8baa5d34e39..04f2cca4261 100644
--- a/src/trinitycore/RASocket.cpp
+++ b/src/trinitycore/RASocket.cpp
@@ -204,7 +204,7 @@ void RASocket::OnRead()
Sendf("+Logged in.\r\n");
sLog.outRALog("User %s has logged in.\n",szLogin.c_str());
- Sendf("mangos>");
+ Sendf("TC>");
}
else
{
@@ -223,7 +223,7 @@ void RASocket::OnRead()
ParseCommand(&RASocket::zprintf , buff);
}
else
- Sendf("mangos>");
+ Sendf("TC>");
break;
///</ul>
};
diff --git a/src/trinitycore/trinitycore.conf.dist b/src/trinitycore/trinitycore.conf.dist
index b6cdd410a8b..0c23e97610f 100644
--- a/src/trinitycore/trinitycore.conf.dist
+++ b/src/trinitycore/trinitycore.conf.dist
@@ -53,6 +53,28 @@ WorldServerPort = 8085
BindIP = "0.0.0.0"
###################################################################################################################
+# SCRIPTING SETTINGS
+#
+# TScriptDatabaseInfo
+# Database connection settings for the wor
+# .;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
+#
+# Locale
+# Setting for current (DBC) locale to use
+#
+# EventAI Error reporting
+# 0 - Only startup (Default)
+# 1 - Startup errors and Runtime event errors
+# 2 - Startup errors, Runtime event errors, and Creation errors
+###################################################################################################################
+
+Locale = 0
+EAIErrorLevel = 2
+
+###################################################################################################################
# PERFORMANCE SETINGS
#
# UseProcessors
@@ -1351,7 +1373,7 @@ irc.wct = 30000
irc.maxattempt = 20
irc.auto.announce = 30
irc.autojoin_kick = 1
-irc.command_prefix = "."
+irc.command_prefix = "-"
irc.joinmsg = "Trinity Core running. Command trigger is $Trigger."
irc.rstmsg = "Trinity Core is restarting..."
irc.kickmsg = "Do not kick me."
@@ -1362,10 +1384,10 @@ irc.AnnounceChannel = 1
irc.op_gm_login = 0
irc.op_gm_level = 3
irc.ajoin = 1
-irc.ajchan = "world"
+irc.ajchan = "World"
irc.online.result = 30
-chat.wow_irc = "<WoW>$Name [$Level]: $Msg"
-chat.irc_wow = "<IRC>$Name: $Msg"
+chat.wow_irc = "-WoW-$Name [$Level]: $Msg"
+chat.irc_wow = "-IRC-$Name: $Msg"
chat.join_wow = "[$GM] $Name has joined IRC."
chat.leave_wow = "[$GM] $Name has left IRC."
Botmask = 1023