Jump to content

(login remember me system)Are MTA Serials 'reliably unique'?


LonelyRoad

Recommended Posts

Hey all,

Are MTA Serials reliably unique? I've been developing a login/register system and I was thinking about implementing a remember me option or an autologin based on the user's serial.

I want to know how 'safe' this would be, or if it is better to generate my own hash and identify them based on that instead?

Link to comment

There is a very small risk of serial conflicts. According to Talidan, approximately 500 other players have the same serial - that is a 0.1% conflict rate.

it's statistically possible to have conflicting serials

i did some statistics on it, and estimated a 0.1% conflict rate

so, given our playerbase of 500,000+ users, that means there are probably 500 other players in the world with your serial

Link to comment
Hey all,

Are MTA Serials reliably unique? I've been developing a login/register system and I was thinking about implementing a remember me option or an autologin based on the user's serial.

I want to know how 'safe' this would be, or if it is better to generate my own hash and identify them based on that instead?

You can store data in private files using 'fileCreate'.

Link to comment

Autologin should be optional since some players might join from public computers, to make a unique identification you could probably combine multiple parameters for example serial and ip, otherwise the best solution is probably to store the account data on the users local computer by saving an xml file client side, just remember to encrypt passwords and other secret data.

Link to comment

Don't be lazy, encryption isn't hard at all and some clients can't protect their files in a good way, what if they play on a computer with many other users too etc.. Anyway it's your own choice if you want to deal with angry users who lost their account due to bad security.

Link to comment

It's not about being lazy, it's about who is responsible for what. If they tick a check box to remember details, they should know that anyone with access to the computer can at least log in to their account. That's how things have been done for a long time and I have rarely seen any issues with it so I don't see any real benefit from encrypting the password.

Link to comment

so, given our playerbase of 500,000+ users, that means there are probably 500 other players in the world with your serial

Impossible.

Is it, though? Are you saying you know better than the MTA developers themselves how their own system works? Would be nice if you could justify your opinion. Also, don't forget this is probability, not precise data.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...