Jump to content

  •  

Bug Tracker Migration

June 3rd
Good news everyone! The staff has decided that it is time to slowly kill off this Bug Tracker. We will begin the process of slowly migrating from this Bug Tracker over to our Github Issues which can be found here: https://github.com/HerculesWS/Hercules/issues

Over the next couple of days, I will be closing off any opportunity to create new reports. However, I still will keep the opportunity to reply to existing Bug Reports. Doing this will allow us to slowly fix any bug reports we have listed here so that we can easily migrate over to our Issue Tracker.

Update - June 7th 2015: Creating new bug posts has been disabled. Please use our https://github.com/HerculesWS/Hercules/issues tracker to post bugs. Users are still able to reply to existing bug posts.

- Administration

Issue Information

  • #002307

  • 4 - High

  • Fixed

Issue Confirmations

  • Yes (2)No (0)
Photo

Mail attachments bug (possible loss of items)

Posted by Hercules Bot on 05 October 2008 - 04:14 AM

Originally posted by Gepard
http://www.eathena.w...er&showbug=2307

Goes like this:

1. Open your mailbox. Open a mail with attachment.
2. Make map-server disconnect from char-server.
3. Request your attachment. Because there is no char server you won't get the item, but attachment will be removed from mapserver memory.
4. It is now impossible to delete the mail, so it's time to make map-server reconnect to char-server.
5. Now delete the mail. Because that is the mapserver that checks for attachment (and it thinks there is no attachment), the request is processed even though you didn't get the items. Mail is removed, attachment is lost. Players cry :cry:

I'm not sure how to fix it. Some ideas are: reload all mails when char and map reconnect, check for attachment on char-server not only map-server, don't delete attachment on map-server if there is no char-server.

Originally posted by malufett

I'm not sure how to fix it. Some ideas are: reload all mails when char and map reconnect, check for attachment on char-server not only map-server, don't delete attachment on map-server if there is no char-server.


hmm..what if don't process the transaction until char server is available..and let the user try again..

:meow:

Originally posted by mkbu95
I'd go for ultramage suggestion, chrif_isconnected on it.

Originally posted by malufett

I'd go for ultramage suggestion, chrif_isconnected on it.

hahaha..I didn't read the Ultramage post a while ago..anyway same idea..so +1

:meow:

Originally posted by mkbu95
Fixed in [rev=16953].