Game Development Community

TgeLobby login help

by Justin Woodman · in Torque Game Engine · 03/26/2005 (7:37 pm) · 1 replies

I installed TgeLobby into my game, and it works great, only one problem... well, question. I put a username and realname in the first time I started the lobby, and It used that, but the next time i started it, It didn't ask for the login info, it just logged me in. I want it to ask every time for the login info. Any ideas as to where the login info gets stored after the first time, or a quick way to get it to ask every time?

Thanks, Justin

#1
04/15/2005 (3:45 am)
Hi Justin,

Sorry for the late reply but I have been away for a while.

To answer your question I will tell you the login process to help you understand in what tgelobby does during the login process.

How the login works is when you first sign in with your name and password tgelobby creates a guest name that has a random number behind it and then checks the name you typed in to see if it already exists on the irc network. If it does not exist then it changes the guest name into the name you typed and puts that name along with the password in the prefs.cs file so that it will be saved when you exit the program. I know this probably isn't the best way to do a login but didn't know of any better ways without touching the engine source code. Anyway, I hope this answers your question.

I also answered your question here too so you might want to check that out since it has some additional information about the future of tgelobby and stuff.

I hope this answered your question and if you have any further question then please ask.