Hey there,
I wanted to ask two questions really, but the main one is the first one:
- How do you make it so admins have their own unique login in-game?
- How do you make it so a certain/site or forum login is the login for users in-game?
Regards
Shaz
Unique logins for admins?
-
shaz
-
leWizard
League Participant
- Posts: 5
- Joined: Wed Jun 12, 2013 6:50 pm
The first can easily be done by using a script connected to any kind of database, where each name-password relation is stored. I'll query you in a minute...
The latter is a little more complex, since you need to access the database of your forum. If your forum isn't running on the same server as the game server is, you'll probably need a script to do the transfer (forum-url.tld/somescript.php?name=whut&pass=omfg).
This is kinda insecure and you should not publish the link to the script, name it rer0j02139rj23oira9jr.php and make it harder to guess. The script itself has to deal with forums database, check your given name and password and return the result in some way. This can be complicated, too, if the forum is using some kind of special password-hashing-functions (which is not a bad thing at all) but it might be disturbing in this special case.
The latter is a little more complex, since you need to access the database of your forum. If your forum isn't running on the same server as the game server is, you'll probably need a script to do the transfer (forum-url.tld/somescript.php?name=whut&pass=omfg).
This is kinda insecure and you should not publish the link to the script, name it rer0j02139rj23oira9jr.php and make it harder to guess. The script itself has to deal with forums database, check your given name and password and return the result in some way. This can be complicated, too, if the forum is using some kind of special password-hashing-functions (which is not a bad thing at all) but it might be disturbing in this special case.
-
shaz
Alright, we discussed using a JSON instead of the database. I hope it's possible and you can complete it soon.
Looking forward to it!
Looking forward to it!
Who is online
Users browsing this forum: No registered users and 1 guest