GhostXoP Posted December 7, 2012 Share Posted December 7, 2012 There is a function for getting an accounts name, how can i get its password? Link to comment
Tete omar Posted December 7, 2012 Share 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") Link to comment
GhostXoP Posted December 7, 2012 Author Share 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? Link to comment
Tete omar Posted December 7, 2012 Share Posted December 7, 2012 (edited) Maybe you meant this: ? getServerPassword if not , then explain better Edited December 7, 2012 by Guest Link to comment
GhostXoP Posted December 7, 2012 Author Share 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. Link to comment
Tete omar Posted December 7, 2012 Share 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? Link to comment
GhostXoP Posted December 7, 2012 Author Share Posted December 7, 2012 Exactly. Is the Password argument in getAccount Optional or not. Link to comment
Castillo Posted December 7, 2012 Share Posted December 7, 2012 Yes, it is, you can use it to check if the password is correct. Link to comment
GhostXoP Posted December 7, 2012 Author Share Posted December 7, 2012 Thank you. That explains its purpose. Link to comment
Tete omar Posted December 7, 2012 Share Posted December 7, 2012 @GhostXoP But the wiki tells you everything , it's an optional argument yes ... Link to comment
GhostXoP Posted December 7, 2012 Author Share Posted December 7, 2012 Question answered. Have a nice day Link to comment
myonlake Posted December 7, 2012 Share 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... 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