|
|
#1 |
|
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Apr 2010
Location: Lithuania
Posts: 1,352
Reputation: 131
|
MySQL E-Mail system v1.0 I present you a MySQL E-Mail system i made. Don't ask in this thread if you don't know how to use mysql! There are millions of guides for this. However, this filterscript creates the table by itself. What is it meant for? Players of your server can e-mail each other even if one of them is offline! You can delete a message or reply to a message. Installing First, download the .pwn file below. Second - place it in the filterscripts directory. Then open it with PAWNO and change these defines: pawn Code:
Finally, open server.cfg and add Email to the end of filterscripts. Example: pawn Code:
P.S. You must use a mysql plugin. Works fine with G-sTyLeZzZ Credits mktime - DracoBlue sscanf - Y_Less RyDeR` - replaceChar function. wups - Email system Change Log Code:
v1.0 - Added line seperator. - Fixed SQL Injection bugs. - Removed @EMAIL_NAME.com (now you just have to input the players name). - Some small fixes. v0.9 - Some minor bug fixes. v0.8 - Initial release. Screens ![]() OTHER PICTURES: http://imageshack.us/g/705/samp171tt.png/ Last notes The command for the system is /email If you have any suggestions/complains - post them here. I'll try to help you. Also, trading a cookie to a video! Download Pastebin v1.0 Pastebin v0.9 Last edited by wups; 30/07/2011 at 01:08 PM. |
|
|
|
|
|
#2 |
|
Gangsta
![]() ![]() ![]() ![]() Join Date: Jul 2010
Location: Morocco, Africa
Posts: 607
Reputation: 107
|
First, wow, nice Work good job. i sure will be using this for some reason, now back to reading this topic.
|
|
|
|
|
|
#3 |
|
Huge Clucker
![]() ![]() ![]() Join Date: Jul 2010
Location: Stockholm, Sweden
Posts: 368
Reputation: 4
|
Haha cool. I might use this
|
|
|
|
|
|
#4 |
|
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Apr 2010
Location: Lithuania
Posts: 1,352
Reputation: 131
|
Please report if you find any bugs!
|
|
|
|
|
|
#5 |
|
Little Clucker
![]() Join Date: Jul 2010
Posts: 41
Reputation: 0
|
what can I do with this System? Write a email, and someone else ingame can read it? or can I ingame send a real email to me or s.th
|
|
|
|
|
|
#6 |
|
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Apr 2010
Location: Lithuania
Posts: 1,352
Reputation: 131
|
The reciever can read the message no mater if you are on or off. Also, messages don't disappear after server restart.
The system is only in game. Of course you can make a php version.
|
|
|
|
|
|
#7 |
|
Godfather
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Feb 2010
Location: Ohio, US
Posts: 7,237
Reputation: 533
|
Do the messages store inside of the MySQL database for some sort of logging?
|
|
|
|
|
|
#8 |
|
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Apr 2010
Location: Lithuania
Posts: 1,352
Reputation: 131
|
|
|
|
|
|
|
#9 |
|
Big Clucker
![]() ![]() Join Date: Aug 2010
Posts: 72
Reputation: 25
|
This is kind of nice, might use this for I dont know what :P
|
|
|
|
|
|
#10 |
|
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: May 2009
Location: 127.0.0.1
Posts: 1,078
Reputation: 23
|
Pretty good idea! Not too complicated, but an awesome idea anyway! Never thought about storing messages in a mysql database. Good work!
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [Plugin] PWN Mail Exploder 0.3 | Romanius | Релизы/Releases | 30 | 30/03/2013 02:22 PM |
| [FilterScript] [FS][MAIL] Newsletter system 0.1 | Striker_Moe | Filterscripts | 10 | 07/08/2010 08:49 AM |
| e-mail plugin | denis1999 | Help Archive | 3 | 05/03/2010 05:26 AM |
| [HELP] mail | roleplay501 | Help Archive | 5 | 02/06/2009 02:34 PM |