Jump to content

Roleplay GM dev


Nich

Recommended Posts

Posted

Does MTA use any password encryption or something? I looked at accounts.xml and the password that I entered before was hashed if I remember correctly. If it does I'll have to modify my UCP's registration system.

If it does, then what encryption? MD5?

Posted
Does MTA use any password encryption or something? I looked at accounts.xml and the password that I entered before was hashed if I remember correctly. If it does I'll have to modify my UCP's registration system.

If it does, then what encryption? MD5?

I think it's MD5. MD5 hashing is exposed as a lua function, by the way. But you can also just make your login/registration system wrap around MTA's, in fact that would be better. Take a look at the addAccount and logIn functions.

Posted

You don't actually need a database at all - MTA stores and reads accounts from accounts.xml, you don't need to bother with any SQL for the accounts themselves.

Posted
You don't actually need a database at all - MTA stores and reads accounts from accounts.xml, you don't need to bother with any SQL for the accounts themselves.

I have a UCP which I'm planning to use with my gamemode, that's why I wan't/need to use MySql

I don't need a registration function, only the login function.

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...