| Mirage Source http://miragesource.net/forums/ |
|
| In-game Mail System http://miragesource.net/forums/viewtopic.php?f=210&t=2993 |
Page 1 of 1 |
| Author: | ShadowMaster [ Tue Nov 06, 2007 11:43 pm ] |
| Post subject: | In-game Mail System |
I think this will be great. Do any of you know how to code one? |
|
| Author: | Rezeyu [ Wed Nov 07, 2007 12:20 am ] |
| Post subject: | Re: In-game Mail System |
I can write one, but it wont be very optimized, and everyone will make fun of me. =( |
|
| Author: | Matt [ Wed Nov 07, 2007 12:39 am ] |
| Post subject: | Re: In-game Mail System |
Rezeyu wrote: I can write one, but it wont be very optimized, and everyone will make fun of me. =( Cause we don't already do it for absolutely no reason what so ever? Lol. A mail system would be pretty simple. Could just set it up to send to the player's name, have the server find out which account that is, save it in a folder for the account and then send it to the player when they check their in game "mail". Simple. |
|
| Author: | ShadowMaster [ Fri Nov 09, 2007 4:49 am ] |
| Post subject: | Re: In-game Mail System |
I have the source code for vbGore that does have mail system, but it is hard to extract it into this game engine |
|
| Author: | Matt [ Fri Nov 09, 2007 1:29 pm ] |
| Post subject: | Re: In-game Mail System |
vbGORE and Mirage are far from the same. They only share in the fact that they both use VB6. I suggest you just learn how to do it. I pretty much told you how you need to do it.. |
|
| Author: | SilentKillzr [ Tue Dec 04, 2007 3:25 pm ] |
| Post subject: | Re: In-game Mail System |
i was coding an ingame gui mail system, i have the sending mail part working, thats easy its mostly the sending the views to the client thats tricky |
|
| Author: | William [ Tue Dec 04, 2007 4:14 pm ] |
| Post subject: | Re: In-game Mail System |
A mail System is very easy actually. 1 map attribute - has mailing and reading. Then when sending you just write it to the playername [name] with getvar/putvar. Then you could have 5 mails in each box. So it checks if: [name] Mail1=Hey Mail2=Hell0 Mail3= Mail4= Mail5= It should basicly check for a free slot in those 5 rows, if there is none. Clear them all and start from Mail1. And just use it when reading. This type takes like 10, top 15 minutes to complete. |
|
| Author: | Matt [ Tue Dec 04, 2007 4:18 pm ] |
| Post subject: | Re: In-game Mail System |
Why would you use a map attribute? |
|
| Author: | William [ Tue Dec 04, 2007 4:38 pm ] |
| Post subject: | Re: In-game Mail System |
Well, I thought he wanted like a post office or something. Where you go and post and also read. Are you guys talking about having it like the inventory and such? If so, just skip the attribute and save yourself 5 minutes of programming. |
|
| Author: | Matt [ Tue Dec 04, 2007 4:44 pm ] |
| Post subject: | Re: In-game Mail System |
It's like all the other games. It's just a message system. Like a PM system on forums. It gets stored and lets you know when there is a new message. Typically, there is no need to go anywhere to send a message. |
|
| Author: | William [ Tue Dec 04, 2007 4:50 pm ] |
| Post subject: | Re: In-game Mail System |
William wrote: Well, I thought he wanted like a post office or something. Where you go and post and also read. Are you guys talking about having it like the inventory and such? If so, just skip the attribute and save yourself 5 minutes of programming.
|
|
| Author: | Matt [ Tue Dec 04, 2007 4:57 pm ] |
| Post subject: | Re: In-game Mail System |
I read your previous post. Had I wanted to read it again, I'd have, I dunno, scrolled up and read it? No need to quote yourself. |
|
| Page 1 of 1 | All times are UTC |
| Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |
|