Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Instant mailbox gdeliveryd

Junior Spellweaver
Joined
Oct 15, 2020
Messages
152
Reaction score
184
In order to get mails instantly you need to modify gdeliveryd:
--------------------------Part 1:
FW/wnet/gdeliveryd/Mailbox.h
Code:
#define MAIL_UNREAD_DELETE 2592000 // 30 days
#define MAIL_READ_DELETE   259200  // 3 days
#define MAIL_ONTHEWAY_TIME 3600    // 3600 seconds
change into:
Code:
#define MAIL_UNREAD_DELETE 2592000 // 30 days
#define MAIL_READ_DELETE   259200  // 3 days
#define MAIL_ONTHEWAY_TIME 0    // 0 seconds
--------------------------Part 2:
FW/wnet/gdeliveryd/Mailbox.cpp
must change content within:
Code:
int MailBox::DelayPolicy( const GMailHeader& mail,time_t now )
{ }
comment what's within the { } using // at the begining of each lines and add:
Code:
return 0;


change it into:

->The images above shows you how it should look like when you edit using notepad+
->As you can see we comment the pieces of codes that we don't need and add whatever code that's required.

Just compile the binary and enjoy!
 
Last edited:
Back
Top