ID:164755
Apr 20 2007, 10:20 pm
|
|
Are u able to detect whether someone is using telnet or dreamseeker, and if so, are you able to support both users on the same server during runtime? I'm wanting to be able to allow for both telnet and dreamseeker users to log into the server. I also want to be able to use the dreamseeker features such as a map window and browser popups for those users who're using dreamseeker. For telnet users these features would not apply, and would be ignored. There would likely be a text interface for telnet and a map/popup interface for dreamseeker.
|
In response to Alathon
|
|
Alathon wrote:
Telnet users' keys are set to their IP - If a . symbol is present in their key, they are using telnet to connect. You mean an @ symbol, right? |
You could do something like this:
client With that, you can just check src.client.connection_type to decide if it can or can't do something. |
In response to Jon88
|
|
Why would he mean at, my IP address doesn't nor has it ever looked like this:
22@255@128@133 There may be some character in there that the user can't see but... -KirbyAllStar |
In response to KirbyAllStar
|
|
Well, the client will be connecting you with "Telnet @22.255.128.133".
|
In response to Keeth
|
|
Ah ok that makes sense then.
|
Telnet users' keys are set to their IP - If a . symbol is present in their key, they are using telnet to connect.