[GameMode] Basic MySQL Account Script [MySQL R7, cache functions, easydialog, Whirlpool, salted passwords]
#1

MySQL Example Account Script
WARNING: Not for scripters unfamiliar with MySQL.
About
I quickly made this script to hopefully encourage the use of the most up-to-date methods of MySQL, and to encourage scripters to practice password-salting. This script includes.
  • A very basic dialog-based, login/register feature.
  • Salted passwords, hashed with Whirlpool.
  • Use of threaded queries with the advantage of the cache functions for lighting fast data parsing.
Image
GitHub

Credits
BlueG - MySQL Plugin
RyDeR` - Random string function used as the salt
Emmet_ - Easydialog include
AndreT - His tutorial on the cache functions
****** - Whirlpool
Glint - Tutorial on password salting
VincentDunn - Writing the script

You are free to do whatever you want with this script.
Reply
#2

nice and useful, +3 reps

btw it should be in Filterscripts section no?
Reply
#3

Thanks, will be useful for beginners like me!
Reply
#4

Thanks alot! my friend's been looking for this, don't wanna share my scripts with him :P
Reply
#5

Um Nice Work
Reply
#6

Great And really Helpfull +Rep
Reply
#7

Nice work man
Reply
#8

DB ?
Reply
#9

Quote:
Originally Posted by AliceCullen
View Post
DB ?
Is already on the script.



Thanks it will be useful to begginers in MySQL like me
Reply
#10

Awesome, I was really waiting for MySQL cache examples into a gamemode
Reply
#11

There's not really any need to salt with Whirlpool IMO.
Reply
#12

Nice !!
Reply
#13

Thanks you, but can you please explain this part because i don't get it :/
pawn Код:
#define     posArr{%0}      %0[0], %0[1], %0[2]  
#define     posArrEx{%0}    %0[0], %0[1], %0[2], %0[3]
Reply
#14

It usefull, good work
Reply
#15

Quote:
Originally Posted by Calgon
Посмотреть сообщение
There's not really any need to salt with Whirlpool IMO.
You're lying.

Quote:
Originally Posted by CoDeZ
Посмотреть сообщение
Thanks you, but can you please explain this part because i don't get it :/
pawn Код:
#define     posArr{%0}      %0[0], %0[1], %0[2]  
#define     posArrEx{%0}    %0[0], %0[1], %0[2], %0[3]
http://forum.sa-mp.com/showpost.php?...postcount=3711

Quote:
Originally Posted by XtremeR
Посмотреть сообщение
nice and useful, +3 reps
btw it should be in Filterscripts section no?
This script isn't intended to be used on a public server. It's just to give current MySQL scripters an idea on how to build an account script using threaded queries and the cache functions that were introduced to MySQL R7.
Reply
#16

Quote:
Originally Posted by VincentDunn
Посмотреть сообщение
You're lying.
Try crack an unsalted Whirlpool password.
Reply
#17

Quote:
Originally Posted by Calgon
Посмотреть сообщение
Try crack an unsalted Whirlpool password.
I think you already know I can't.
Reply
#18

I think this script is a good idea, and nonetheless I think it's nice that you're using a lot of different features, such as the "salted" passwords which there are a little arguing going on about, however I think it's nice to draw in such features, the more the better lol, also when people learn from a script like this they should be able to erase the "salted passwords" feature if they think it's a waste of time and work. Definitely going to look into this if I'm going to use MySQL at some point.
Reply
#19

Thanks for this, been waiting for a while for a basic GM that uses R7 cache functions. I'll probably use it to improve my MySQL cache knowledge and eventually build off it!

EDIT: Also noticed that you're using easydialog.inc! Didn't think I'd see a released script using it. Glad you used it though
Reply
#20

run time error 19 file or function is not found
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)