From 8ea7823761b86aa9fec47a47cc208b7f24ed8f29 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 5 Dec 2018 23:05:07 +0300 Subject: Changes after hercules update Updated some configurations and messages file. --- conf/channels.conf.base | 9 +++++++++ conf/char/char-server.conf | 5 +++++ conf/map/battle/client.conf | 12 ++++++++++++ conf/messages.conf | 4 ++-- 4 files changed, 28 insertions(+), 2 deletions(-) diff --git a/conf/channels.conf.base b/conf/channels.conf.base index c7e372c1..dee7575b 100644 --- a/conf/channels.conf.base +++ b/conf/channels.conf.base @@ -63,5 +63,14 @@ chsys: ( irc_channel_nick_pw: "" /* password to this nick (if any) to identify to nick server on the irc network */ irc_channel_use_ghost: false /* whether to send a GHOST command to the nick server (requires irc_channel_nick_pw to be defined) */ irc_channel_autojoin: true + irc_flood_protection_enabled: true /* Whether to enable anti-flood protection for outgoing messages */ + irc_flood_protection_rate: 1000 /* The delay between messages during anti-flood protection (milliseconds) */ + irc_flood_protection_burst: 3 /* The maximum number of messages that are sent at once burst size before triggering the anti-flood protection */ + + // @channel setopt MessageDelay + // Sets the maximum amount of message delay (in seconds) allowed for a channel. + // Default: 10 + // Max: 255 + channel_opt_msg_delay: 10 } ) diff --git a/conf/char/char-server.conf b/conf/char/char-server.conf index 60b54fc8..9b5f861f 100644 --- a/conf/char/char-server.conf +++ b/conf/char/char-server.conf @@ -152,6 +152,11 @@ char_configuration: { // Set the letters/symbols that you want use with the 'char_name_option' option. // Note: Don't add spaces unless you mean to add 'space' to the list. name_letters: "abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890" + + // Block renaming if character is in a guild or a party? (BOOL) + // Athena: false Aegis: true + // This check is imposed by Aegis to avoid dead entries in databases and is not needed on Hercules, as we clear data properly + use_aegis_rename: false } deletion: { diff --git a/conf/map/battle/client.conf b/conf/map/battle/client.conf index 8df6ea54..59f5fceb 100644 --- a/conf/map/battle/client.conf +++ b/conf/map/battle/client.conf @@ -177,3 +177,15 @@ client_emblem_max_blank_percent: 100 // kRO removed the packet and this re-enables the message. // Official: false. mvp_exp_reward_message: false + +// Displays the same HP value as official servers do when a character is dead. +// (Note 1) +// On official servers, HP are never displayed as 0, but when dead, they +// display the value that will be shown after resurrection (50% HP for novice +// classes, 1 HP for other classes). Athena servers, instead, show the real +// value (0 when dead), to avoid confusion. +// Note: this is only a visual setting, and the server will internally handle +// it as 0 regardless of this. This means that scripts will know that the +// character has 0 HP when dead. +// Default: true (Official behavior) +display_fake_hp_when_dead: false diff --git a/conf/messages.conf b/conf/messages.conf index f791347e..212da118 100644 --- a/conf/messages.conf +++ b/conf/messages.conf @@ -1494,11 +1494,11 @@ 1448: -- Available options 1449: option '%s' is already enabled, if you'd like to disable it type '@channel opt %s 0' 1450: option '%s' is now enabled for channel '%s' -1451: value '%d' for option '%s' is out of range (limit is 0-10) +1451: value '%d' for option '%s' is out of range (limit is 0-%d) 1452: option '%s' is now enabled for channel '%s' with %d seconds 1453: option '%s' is now disabled for channel '%s' 1454: option '%s' is not enabled on channel '%s' -1455: You're talking too fast! +1455: You cannot send a message to this channel for another %d seconds. 1456: -- %s ban 1457: - bans from channel 1458: -- %s banlist -- cgit v1.2.3-60-g2f50