summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2013-11-17 04:07:27 +0100
committerHaru <haru@dotalux.com>2013-11-17 04:19:03 +0100
commite095650d437c81e6ae90a99a3cd1bb0c8c6eba38 (patch)
tree594bf0d9a9f17612fb587e4be276dfe26a8862aa /conf
parentbe6440dfb609b4ce28ca973a8987ab434774c8ed (diff)
downloadhercules-e095650d437c81e6ae90a99a3cd1bb0c8c6eba38.tar.gz
hercules-e095650d437c81e6ae90a99a3cd1bb0c8c6eba38.tar.bz2
hercules-e095650d437c81e6ae90a99a3cd1bb0c8c6eba38.tar.xz
hercules-e095650d437c81e6ae90a99a3cd1bb0c8c6eba38.zip
Added emblem blank pixels check
- Made possible thanks to (and using base code by) Ai4rei - eAthena r15263 and add-on patch http://hercules.ws/board/topic/2974-add-on-patch-for-ea-r15263-commit/ - Modified to allow checking for a percentage of transparent pixels rather than full image transparency. - Tweaked to accept some other bmp formats that are currently allowed by the client. - The performance hit from enabling this check is negligible (benchmarks show that scanning an emblem requires about half the time required to decompress it after it's received), but it does exist, as noted in the configuration file. - Special thanks to Ind. Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'conf')
-rw-r--r--conf/battle/client.conf8
1 files changed, 8 insertions, 0 deletions
diff --git a/conf/battle/client.conf b/conf/battle/client.conf
index eae8aad3b..069dea1a5 100644
--- a/conf/battle/client.conf
+++ b/conf/battle/client.conf
@@ -118,3 +118,11 @@ client_sort_storage: no
// because the client sees multiple commands in succession as spam.
// Default: 0 (means disabled)
client_accept_chatdori: 0
+
+// Limits use of blank (transparent) pixels in guild emblems to a set
+// percentage of the total.
+// Official servers do not enforce this technically to date, but some disallow
+// use of blank emblems in their rules. (Note 2)
+// A value of 100 (allowing 100% blank pixels) disables this check.
+// NOTE: Enabling this option slightly degrades performance.
+client_emblem_max_blank_percent: 100