Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Development

Development::Development Forum for development topics and for those interested in EQEMu development. (Not a support forum)

Reply
 
Thread Tools Display Modes
  #1  
Old 09-05-2010, 10:27 PM
wheeljack
Fire Beetle
 
Join Date: Aug 2010
Posts: 18
Default Send mail programmatically?

I'm looking for a way to send an in game mail from within the zone's codebase. One example of a use for this would be to send those "Congrats on leveling up" emails like they do on live.

I *think* that the way mail works is that the client makes an additional connection to the chat server instead of it being handled by the zone server or the world server. I'm also not seeing a relationship available between the zone server and the chat server so I'm guessing that this kind of message forging is uncharted territory, but I'd love to be wrong on this one and have somebody point me in the right direction.

Thanks in advance!
Reply With Quote
  #2  
Old 09-06-2010, 03:32 AM
Secrets's Avatar
Secrets
Demi-God
 
Join Date: May 2007
Location: b
Posts: 1,450
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
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 07:55 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3