ID:170950
Nov 26 2004, 4:05 pm
|
|
Hey, what would be the best way to find out when a Player comes online? Should I call a proc that checks every minute until it finds the player in the online list then sends the message? But how would I make that proc loop? Any ideas? Any input would be appreciated, thank you :P
|
Nov 26 2004, 4:06 pm
|
|
In response to Dession
|
|
I mean for a mail system, I'm wanting to make it so that the message is automatically sent when the user comes online.
|
In response to Lenox
|
|
mob |
In response to Dession
|
|
hrm..aiight, thanks, I'll try it.
|
In response to Lenox
|
|
You're welcome. But yeah it was pretty obvious what to do..
|
In response to Dession
|
|
Well, I couldn't think of what to do at Login(), so I just made a list of all the Playernames, and I'll make it loop over and over again somehow until the user comes online. Thanks anyways.
|
In response to Lenox
|
|
Don't do that. If you get alot of players in the game it will lag horribly..Just send a mail to the user at Login(), if you made the mail system you should know how. If you didn't im sure if you look at the coding you can figure it out.
|
In response to Dession
|
|
I did make the mail system, and instead of a looping proc, I'll just check at Login() if the usr has a message in their mailbox, and if they do, I'll notify them and they can read it, if they don't, it'll just "return."
|