[Release] Mailing System

Newbie Spellweaver
Joined
Jan 3, 2009
Messages
17
Reaction score
1
credits to saints

In-Game Mailing System ( Using Notes ).
a. It checks if the recipent entered is vaild.
b. Charge 1000 mesos per mail sent.
c. Open inbox feature + send mail through notes.
d. Checks For Syntax :D


This is a command, you can add it to your player commands or whatever.
Code:
EDIT2: If you get compiling errors use this -
Credits To RMZero For That Compiling Error Fix Up :D ;)

Remember to define it...
Leave credits to me please, sorry if this is already released before too.
And no redistribution.

EDIT: sorry I set the command to "@" you can change it however you like.
On default: @mail inbox -> checks for notes, @mail send < recipent > < msg > -> sends note.

Screenshots:
leaker - [Release] Mailing System - RaGEZONE Forums

leaker - [Release] Mailing System - RaGEZONE Forums
 
Lol what the hell, I specficially said not to leak it here for a reason.
God dammit.
And kojo, an answer to your question is
Changing in "public void deleteNote(int id)".
PreparedStatement ps = con.prepareStatement("DELETE FROM notes WHERE `id`=?");
To...
PreparedStatement ps = con.prepareStatement("DELETE FROM notes WHERE `id`=? OR timestamp >= subtime(current_timestamp, '5 0:0:0.0')");
Haven't tested but compiled fine o.o
And if you cant compile for the system itself - too bad, all the fixes were mentioned at valhalla.
 
Lol what the hell, I specficially said not to leak it here for a reason.
God dammit.
And kojo, an answer to your question is
Changing in "public void deleteNote(int id)".

To...

Haven't tested but compiled fine o.o
And if you cant compile too bad, all the fixes were mentioned at valhalla.


Haha thanks Saintslan.
 
lol, I don't have any "Note" functions. Sendnote, shownote, anything else I missed.
*meh, I'll try to add it in myself, can't be that hard*
 
Back