summaryrefslogtreecommitdiff
path: root/npc/woe-fe
diff options
context:
space:
mode:
authorEmistry Haoyan <equinox1991@gmail.com>2019-04-13 16:28:16 +0800
committerEmistry Haoyan <equinox1991@gmail.com>2019-04-29 00:44:32 +0800
commit9f6ffd2f9aae9c39eb2fe2be2c60cfd45c18842a (patch)
tree64900c78ff3328e0359a84e7ebe682cad6ffcc0f /npc/woe-fe
parentab81d4012eac5c2c00c485971fc9b89bf69761be (diff)
downloadhercules-9f6ffd2f9aae9c39eb2fe2be2c60cfd45c18842a.tar.gz
hercules-9f6ffd2f9aae9c39eb2fe2be2c60cfd45c18842a.tar.bz2
hercules-9f6ffd2f9aae9c39eb2fe2be2c60cfd45c18842a.tar.xz
hercules-9f6ffd2f9aae9c39eb2fe2be2c60cfd45c18842a.zip
Added *consolemes script command
- deprecated `*debugmes` script command. - added `*consolemes` script command which display the console message based on `type`. - allow map-server console to auto logging into text file depend on type of message.
Diffstat (limited to 'npc/woe-fe')
-rw-r--r--npc/woe-fe/agit_main.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/npc/woe-fe/agit_main.txt b/npc/woe-fe/agit_main.txt
index 5ac5b8e9a..a0db6402b 100644
--- a/npc/woe-fe/agit_main.txt
+++ b/npc/woe-fe/agit_main.txt
@@ -105,7 +105,8 @@ OnAgitBreak:
// Show and log error if an unguilded player breaks the Emperium. (Should NEVER happen)
if (.@GID <= 0) {
.@notice$ = "Character "+strcharinfo(PC_NAME)+" ("+getcharid(CHAR_ID_CHAR)+") broke the Emperium in Castle: "+strnpcinfo(NPC_NAME_HIDDEN)+" while guildless. No data will be saved and Emperium respawned.";
- logmes .@notice$; debugmes .@notice$;
+ logmes .@notice$;
+ consolemes(CONSOLEMES_NOTICE, .@notice$);
donpcevent "Agit#"+strnpcinfo(NPC_NAME_HIDDEN)+"::OnStartArena";
end;
}