Nich Posted October 18, 2009 Share Posted October 18, 2009 (edited) ....... Edited December 29, 2009 by Guest Link to comment
Gamesnert Posted October 18, 2009 Share Posted October 18, 2009 Here's a scripting guide for you: The basics of MTA scripting - Robhol (read through this first though! ) Here's the page for the MySQL module: (only SQL is supported by default) MTA-MySQL Free resources download center: Community resource download center And of course the forum for any problems you encounter. Link to comment
Nich Posted October 18, 2009 Author Share Posted October 18, 2009 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? Link to comment
robhol Posted October 18, 2009 Share Posted October 18, 2009 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. Link to comment
Nich Posted October 19, 2009 Author Share Posted October 19, 2009 (edited) ....... Edited December 29, 2009 by Guest Link to comment
robhol Posted October 19, 2009 Share Posted October 19, 2009 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. Link to comment
Nich Posted October 19, 2009 Author Share Posted October 19, 2009 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. Link to comment
eAi Posted October 19, 2009 Share Posted October 19, 2009 UCP? If you mean a webpage for administrating users, you can do that from the MTA server itself: https://wiki.multitheftauto.com/wiki/Resource_Web_Access Link to comment
Nich Posted October 20, 2009 Author Share Posted October 20, 2009 (edited) ........ Edited December 29, 2009 by Guest Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now