summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-12-05 23:05:07 +0300
committerAndrei Karas <akaras@inbox.ru>2018-12-05 23:05:07 +0300
commit8ea7823761b86aa9fec47a47cc208b7f24ed8f29 (patch)
treebff5f1cd79c7459e60f30ecfc3c930dbef3d3fb2
parenta90aae85fbe508659a400cec961dfca2d1c850cf (diff)
downloadserverdata-8ea7823761b86aa9fec47a47cc208b7f24ed8f29.tar.gz
serverdata-8ea7823761b86aa9fec47a47cc208b7f24ed8f29.tar.bz2
serverdata-8ea7823761b86aa9fec47a47cc208b7f24ed8f29.tar.xz
serverdata-8ea7823761b86aa9fec47a47cc208b7f24ed8f29.zip
Changes after hercules update
Updated some configurations and messages file.
-rw-r--r--conf/channels.conf.base9
-rw-r--r--conf/char/char-server.conf5
-rw-r--r--conf/map/battle/client.conf12
-rw-r--r--conf/messages.conf4
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 <delay>
+ // 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 <channel name> <character name>
1457: - bans <character name> from <channel name> channel
1458: -- %s banlist <channel name>