Realm set realmlist logon.at-wow.org
AT-Inspiration:Preparing at Open

Rewrited Mail System v2

2020-11-01 @ 09:14 by kvipka

I have rewrited this one of the oldest code (legacy of wowd-mangos-trinity, has been written more then 15 years ago).

Early, when player doing "log in world", server should to do SQL-query with subqueries of all his mails and mail items. Each *** time. 


Mail Init and Mail Items containers



and ofc delete operations with subqueries also 
 

Just try to imagine : what to do with server, if player will collect mails near 20-30k and will spam log in/out ? 
unfortunately, so you can crash all other projects

--
examples of new functions :

 
example from AuctionHouseMgr