From ebf0ba7ddf1ef2c10515a1607ce7d4316e001a61 Mon Sep 17 00:00:00 2001
From: zephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec>
Date: Sun, 2 Mar 2008 23:03:22 +0000
Subject: - The last, i hope, fix to the mail system.

* kRO have a possible way to read mail by just sending the open mail window packet to the client.
This protection adds a mapflag town, to set the only maps that allow mail operations.
because there is no way to know when client closes the mail inbox window. *

git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12279 54d463be-8e91-2dee-dedb-b68131a5f0ec
---
 npc/other/mail.txt | 29 +++++++++++++++++++++++++++--
 1 file changed, 27 insertions(+), 2 deletions(-)

(limited to 'npc/other')

diff --git a/npc/other/mail.txt b/npc/other/mail.txt
index 9dab1f409..7cf983c66 100644
--- a/npc/other/mail.txt
+++ b/npc/other/mail.txt
@@ -3,7 +3,7 @@
 //===== By: ==================================================
 //= L0ne_W0lf
 //===== Current Version: =====================================
-//= 1.3a
+//= 1.4
 //===== Compatible With: =====================================
 //= eAthena SVN
 //===== Description: ========================================= 
@@ -15,7 +15,32 @@
 //= 1.2 Swapped "atcommand" for "Openmail". [L0ne_W0lf]
 //= 1.3 Added Veins mail box. [L0ne_W0lf]
 //= 1.3a Corrected a typo error. (bugreport:798) [Samuray22]
-//============================================================
+//= 1.4 Added a Mapflag to prevent mail operations in other maps [Zephyrus]
+//============================================================
+
+// Allow Mail Inbox reading from
+//============================================================
+prontera	mapflag	town
+izlude	mapflag	town
+morocc	mapflag	town
+geffen	mapflag	town
+payon	mapflag	town
+pay_arche	mapflag	town
+alberta	mapflag	town
+aldebaran	mapflag	town
+yuno	mapflag	town
+lighthalzen	mapflag	town
+einbroch	mapflag	town
+einbech	mapflag	town
+comodo	mapflag	town
+umbala	mapflag	town
+amatsu	mapflag	town
+gonryun	mapflag	town
+ayothaya	mapflag	town
+louyang	mapflag	town
+hugel	mapflag	town
+rachel	mapflag	town
+veins	mapflag	town
 
 // Prontera
 //============================================================
-- 
cgit v1.2.3-70-g09d2