View Single Post
  #2  
Old 09-06-2010, 03:32 AM
Secrets's Avatar
Secrets
Demi-God
 
Join Date: May 2007
Location: b
Posts: 1,449
Default

One way you could do this (and I am going to guess this is how live does it too) is send mails from the PC to the PC when they level up. An easy way to do this would be sending some sort of opcode to the UCS that the client normally does when a player levels up. Depending on the set level, they would get a different mail. I think loading these messages would best be done from the database when a player levels up.

Hope that helps. And if there is nothing that client sends already listed, you could always fake a client connecting and sending that mail by constructing a packet for it, or look into how messages are sent from server <-> server. (follow servertalk.h's opcodes)
Reply With Quote