GhostXoP Posted December 7, 2012 Posted December 7, 2012 There is a function for getting an accounts name, how can i get its password?
Tete omar Posted December 7, 2012 Posted December 7, 2012 There's no function called getAccountPassword because it's an illegal thing when you get the people account passwords. if you already know the account name and password then use: getAccount("name","password")
GhostXoP Posted December 7, 2012 Author Posted December 7, 2012 I can get the account easily. From the server, (My server, containing their passwords) how can i, The server, Not the Player, THE SERVER, get CLIENT passwords?
Tete omar Posted December 7, 2012 Posted December 7, 2012 (edited) Maybe you meant this: ? getServerPassword if not , then explain better Edited December 7, 2012 by Guest
GhostXoP Posted December 7, 2012 Author Posted December 7, 2012 English isn't your main language i assume, which is fine as long as you understand what i'm getting at. Ok How about this getAccount SERVERSIDE (as its only available serverside -.-) It says password is optional, but required. It says if its not specified i can still get the account whatever the password is. otherwise the password must match the account. That makes no sense what so ever. Is it optional toward the server or not.
Tete omar Posted December 7, 2012 Posted December 7, 2012 English isn't your main language i assume, which is fine as long as you understand what i'm getting at. Ok How about this It says password is optional, but required. It says if its not specified i can still get the account whatever the password is. otherwise the password must match the account. That makes no sense what so ever. Is it optional toward the server or not. what?
GhostXoP Posted December 7, 2012 Author Posted December 7, 2012 Exactly. Is the Password argument in getAccount Optional or not.
Castillo Posted December 7, 2012 Posted December 7, 2012 Yes, it is, you can use it to check if the password is correct.
GhostXoP Posted December 7, 2012 Author Posted December 7, 2012 Thank you. That explains its purpose.
Tete omar Posted December 7, 2012 Posted December 7, 2012 @GhostXoP But the wiki tells you everything , it's an optional argument yes ...
myonlake Posted December 7, 2012 Posted December 7, 2012 I can get the account easily. From the server, (My server, containing their passwords) how can i, The server, Not the Player, THE SERVER, get CLIENT passwords? Perhaps, but you don't have their passwords. You only have a hashed password which you'd have to unhash to get it, but I think MTA uses much better hashing algorithm than the usual MD5...
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