Issue information

Issue ID
#1800
Status
Working as Intended
Severity
None
Started
Hercules Elf Bot
Jul 5, 2008 21:05
Last Post
Hercules Elf Bot
Jul 5, 2008 21:05
Confirmation
Yes (1)
No (0)

Hercules Elf Bot - Jul 5, 2008 21:05

Originally posted by [b]Gerdal[/b]
http://www.eathena.ws/board/index.php?autocom=bugtracker&showbug=1800

Probably there is an exploit while sending mail in Ragnarok Online. For example if player is in nifflheim he can without any problems send a message to character which is included to his friend list or is a member of his party (you only have to open a friend/party window, select character, click left button at the bottom of window, write topic, add items and send). It gives you a possibility to deacrease your level of weight by sending items to other character (another account). I don't know is this official or bug. If this is bug then this should solve the problem:

CODE
Index: clif.c
===================================================================
--- clif.c    (revision 12914)
+++ clif.c    (working copy)
@@ -11565,6 +11565,13 @@
    struct mail_message msg;
    int body_len;

+    // Below correction makes impossible for player to send mails if he/she isn't in the city (Xarion)
+    if( mail_invalid_operation(sd) ) {
+        clif_displaymessage(sd->fd,"Mails can be send only if you are in city.");
+        clif_Mail_send(fd, true); // fail
+        return;
+    }
+    // End of correction. (Xarion)
    if( sd->state.trading )
        return;


This "bug" is in stable and trunk version. Diff is for stable version.
Sorry for my english. I've tried my best to make no mistakes.

This post has been edited by Gerdal: Jul 5 2008, 02:11 PM