What would be best for messaging system?
#1

What would be the best saving method to make a messaging system?
Like save it to a file? Or save it to a sql database?

So basically:

DINI or MySQL

By messaging system i mean you can check your inbox for messages of other players, And you can send them
Reply
#2

DINI is for newbies. MySQL, SII or DJSON.
Reply
#3

SII?
Reply
#4

Quote:
Originally Posted by Joe Torran C
SII?
Oh, hmm, I wonder what the search bar is for on the forums.
Reply
#5

Ok well im going to give MySQL a go,
Im reading this tutorial and it shows me this:

pawn Код:
new string[256];
format(string,sizeof(string),"INSERT INTO `users` (`username`, `password`) VALUES ('%s', MD5('%s'))",PlayerName, password);
mysql_query(string);
How can i save what the player typed without hashing it?
Ive tried removing the MD5 bit but isent working
Reply
#6

Quote:
Originally Posted by Joe Torran C
Ok well im going to give MySQL a go,
Im reading this tutorial and it shows me this:

pawn Код:
new string[256];
format(string,sizeof(string),"INSERT INTO `users` (`username`, `password`) VALUES ('%s', MD5('%s'))",PlayerName, password);
mysql_query(string);
How can i save what the player typed without hashing it?
Ive tried removing the MD5 bit but isent working
Try asking in the topic of the plugin.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)