SA-MP Forums Archive
MySQL Register/Login - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: MySQL Register/Login (/showthread.php?tid=653968)



MySQL Register/Login - KamilPolska - 17.05.2018

Has someone has a script for registration / login [DIALOG] to the latest MySQL BlueG. Register, saving, loading: UID, Name, Money and Score. Because I can not find it.


Re: MySQL Register/Login - Vennox - 17.05.2018

You can start a gamemode with this register / login system made by me:
Is not the latest version of MySQL, but is ok.

Gamemode + .sql file + MySQL plugin > https://www55.zippyshare.com/v/3O4ezEla/file.html

Pastebin (gamemode) > https://pastebin.com/EU9f5y2z

I only made the score saving part. Use the function Update(playerid, pScorex); to update the score into the database.
Try to copy the script for score saving and making it for money.


Re: MySQL Register/Login - Banditul18 - 18.05.2018

https://github.com/pBlueG/SA-MP-MySQ...stem-cache.pwn


Re: MySQL Register/Login - KamilPolska - 18.05.2018

Thanks!. Will someone help me remove "Salt"?


Re: MySQL Register/Login - Verc - 18.05.2018

Why? I don't see anything wrong with salt. It's a great method to keep your password safe.


Re: MySQL Register/Login - KamilPolska - 18.05.2018

Yes. But how a player forgets the password is how to get it back.


Re: MySQL Register/Login - Verc - 18.05.2018

It's the same.
Usually,we remove the password once the player confirmed it's his account,there might be better method.


Re: MySQL Register/Login - KamilPolska - 18.05.2018

Right. Thanks!


Re: MySQL Register/Login - KamilPolska - 18.05.2018

<REMOVED>


Re: MySQL Register/Login - KamilPolska - 19.05.2018

Problem solved !