View previous topic :: View next topic |
Author |
Message |
cwraig
Joined: 12 Sep 2006 Posts: 2
|
Posted: Tue Sep 12, 2006 6:44 Post subject: Can you store Passwords? |
|
|
Ive just written a PHP-MYSQL based character anaylser (just by analysing the text character files) and i want to know if i can send the character passwords to the database straight from the game.
The code ive written will be released Open Source so if anyone wants gimmie a yell
Thanks
Craig Ross |
|
Back to top |
|
|
Acrodania
Joined: 02 Jan 2005 Posts: 208
|
Posted: Tue Sep 12, 2006 7:00 Post subject: |
|
|
You could access the stored passwords, but it might not do what you wish....
1) The GameServer password cannot be done via the database; there is no hook into the server's gui. There is also no individual player passwords for entry by default.
That said:
You CAN use the client's OnEnter script to compare to the database. However, it is clunkier than snot Basically you have to setup a listener of use the speach plugin so that a player can type something and the game can pick it up. Then you would have to check it against the database. This gets more challenging because if you use any form of encryption the NWNX database call cannot de-encrypt it. After you verify the password then you can port them into the main module.
You can't keep players OUT using an alternate authentication, you can just put them somewhere until they authenticate. |
|
Back to top |
|
|
cwraig
Joined: 12 Sep 2006 Posts: 2
|
Posted: Tue Sep 12, 2006 11:38 Post subject: |
|
|
your right its not quite what i wanted but thanks anyway, i dont know if i made my self really clear.when a character is generated on the multiplayer game server a password is created. it is this password (and thefore the character name) that i wish to store in the database.
Thanks anyway ill keep looking if i find anything ill post it back here |
|
Back to top |
|
|
|