I've created a text-based game by following the mmo tutorials, + i've added some things,
but can anyone help me create a mail box, in which i can send, and read mail from other players in the game? Or maybe that takes to much space in the database?
Yea, i am aware of that, but i mean a mail box within the game. but thx!darspire wrote:you can always put on your website the html code that lets them create an E-mail to send to you
<a href="mailto:email@provider.com">send me an email!</a>
of course replace "email@provider.com" with your email
with my computer it opens up outlook express and lets them send a message.
how do i make it so that it erases the mail after a week or something like that?hallsofvallhalla wrote:just add a table called mail, with fields of
PID
sender
date
read
subject
body
then make a php page with a while statement much like the equipment where it queries select * from mail where pid = player id
if read = 1 then it hasn't been read and make it orange or something, then once you open it do a update and make read = 0
make another new page that they can make a new mail.
I could make a video tut on this but it may be a while.