SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 15/10/2013, 12:08 PM   #1
jetpas
Little Clucker
 
jetpas's Avatar
 
Join Date: Apr 2013
Posts: 12
Reputation: 0
Default REGISTER AND LOGIN SYSTEM [HELP]

hey, i just wanna make a unique login/register system on my server.

so if some people want to play on my server must register at my forum.

i mean, the username and password for forum is same as in the samp game.

Can you help me for the code. Thanks a lot for helping

sorry for my bad english. I;m indonesian
jetpas is offline   Reply With Quote
Old 15/10/2013, 12:10 PM   #2
PrivatioBoni
Gangsta
 
Join Date: May 2013
Location: Ya
Posts: 978
Reputation: 162
Default Re: REGISTER AND LOGIN SYSTEM [HELP]

This will require a lot of code (personally, I'm not even sure if it's possible), and isn't even a good idea.

What if someone cracks/hacks an admin's password in-game? He will be able to cause chaos in-game AND on the forum. And vice versa. Also, if you've forgotten your password in-game, you've forgotten your password on the forum, and vice versa. Also, it is generally safer and more secure to have separate passwords for separate things -- common (internet) sense.

Just use a premade registration system, if anything in your server needs to be "unique", it doesn't have to be the registration system. It's just a compulsory element of your server which has to be done, but doesn't have to be unique.
PrivatioBoni is offline   Reply With Quote
Old 15/10/2013, 12:37 PM   #3
Misiur
High-roller
 
Misiur's Avatar
 
Join Date: Jul 2009
Location: Poland
Posts: 2,539
Reputation: 552
Default Re: REGISTER AND LOGIN SYSTEM [HELP]

First of all, it's not unique, quite common I might add. 99% of forums are using database, not files, so there's your starting point. You need to get hashing algorithm used by your board, and implement it in pawn.

PrivatioBoni concerns aren't too realistic either (of course if you use salted passwords hashes). Though the part about using multiple diffrent passwords is a good tip. You could create player accounts with diffrent passwords linked to main master forum account.
Misiur is offline   Reply With Quote
Old 15/10/2013, 02:13 PM   #4
Mattakil
Gangsta
 
Mattakil's Avatar
 
Join Date: Jan 2012
Location: Canada
Posts: 699
Reputation: 15
Default Re: REGISTER AND LOGIN SYSTEM [HELP]

You'll have to learn about PHP and mysql. The server would have to same to the same sql database that the website register field comes from, though LSRP uses the same thing so its not really unique
Mattakil is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[FilterScript] Register & Login system (verification code + return password + auto login [by ip]) benel1 Filterscripts 20 26/11/2014 09:05 PM
the best login/register system without admin system and show in dialog misho1 Help Archive 2 06/05/2011 12:24 AM
where can i download an admin system and an login and register system dendudes123 Help Archive 3 19/06/2010 06:13 PM


All times are GMT. The time now is 07:52 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.