summaryrefslogtreecommitdiff
path: root/src/login_sql/login.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-11-07 20:56:28 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-11-07 20:56:28 +0000
commitf0fef787616b240f4d4dece0973ec20b3464a0e7 (patch)
treecf8ee0ca6d5890b35f07ac0421ae93153695f728 /src/login_sql/login.c
parent4e7bd03012431ebb2f308e3667db41a883b1041e (diff)
downloadhercules-f0fef787616b240f4d4dece0973ec20b3464a0e7.tar.gz
hercules-f0fef787616b240f4d4dece0973ec20b3464a0e7.tar.bz2
hercules-f0fef787616b240f4d4dece0973ec20b3464a0e7.tar.xz
hercules-f0fef787616b240f4d4dece0973ec20b3464a0e7.zip
- Applied FlavioJs's patch which enables colored console output for Windows systems. It also includes a config setting called "stdout_with_ansisequence" with which you can turn off the color codes (in case you are logging all output)
- Added error reporting when the max number of ground unit cells has been reached (this may be the reason why sometimes it fails to recognize when you step out of a song/dance/encore) - Added passing the Endure effect to other devoted people. Note that the "hit count" is individual for each character, and only when it ends on the Crusader himself will that force it to end on everyone else. It also will not transfer on gvg grounds, but it does transfer in pvp. - Fixed Reflect-Shield triggering Auto-Guard instead on devoted chars. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9168 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/login_sql/login.c')
-rw-r--r--src/login_sql/login.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/login_sql/login.c b/src/login_sql/login.c
index 8dd0bcc48..903b38b35 100644
--- a/src/login_sql/login.c
+++ b/src/login_sql/login.c
@@ -2074,6 +2074,8 @@ int login_config_read(const char *cfgName){
remove_control_chars((unsigned char *) w2);
if(strcmpi(w1,"timestamp_format") == 0) {
strncpy(timestamp_format, w2, 20);
+ } else if(strcmpi(w1,"stdout_with_ansisequence")==0){
+ stdout_with_ansisequence = config_switch(w2);
} else if(strcmpi(w1,"console_silent")==0){
msg_silent = 0; //To always allow the next line to show up.
ShowInfo("Console Silent Setting: %d\n", atoi(w2));