Raised This Month: $51 Target: $400
 12% 

Telnet Relay 0.3 - Control your server from telnet


Post New Thread Reply   
 
Thread Tools Display Modes
Icettiflow
Senior Member
Join Date: Jan 2009
Old 04-05-2009 , 13:15   Re: ChatServ 0.1 - Control your server from telnet
Reply With Quote #11

My guess is that it just doesn't like the terminal from my Mac. Once I telnet and get the welcome message it doesn't respond to anything else.

Oh well, thanks anyway
Icettiflow is offline
Icettiflow
Senior Member
Join Date: Jan 2009
Old 04-05-2009 , 14:10   Re: ChatServ 0.1 - Control your server from telnet
Reply With Quote #12

Update, this does the same thing when telnetting from a Windows box in a completely different location.

Does this plugin work when it's installed on a Windows server?
Icettiflow is offline
MikeJS
Senior Member
Join Date: Nov 2008
Old 04-05-2009 , 14:27   Re: ChatServ 0.1 - Control your server from telnet
Reply With Quote #13

It worked for me when I used it on a Windows server. Only other thing I can think of is hitting enter more than once to see if that does anything.
__________________
MikeJS is offline
sfPlayer
Senior Member
Join Date: Dec 2007
Location: Germany
Old 04-05-2009 , 14:58   Re: ChatServ 0.1 - Control your server from telnet
Reply With Quote #14

The client might not send complete lines, you probably have to assemble (buffer, concatenate) the packets manually until you reach a newline character.
sfPlayer is offline
MikeJS
Senior Member
Join Date: Nov 2008
Old 04-05-2009 , 16:23   Re: ChatServ 0.1 - Control your server from telnet
Reply With Quote #15

It already does that
__________________
MikeJS is offline
Icettiflow
Senior Member
Join Date: Jan 2009
Old 04-05-2009 , 17:03   Re: ChatServ 0.1 - Control your server from telnet
Reply With Quote #16

Something in the most recent version made a difference, but it's like it's only displaying half of what it should.

Code:
imac:~ Ice$ telnet 174.34.146.x 23
Trying 174.34.146.x...
Connected to 174.34.146.x.
Escape character is '^]'.
ChatServ version: 0.1
Welcome to SBA Gaming Administration
Username (NEW for a new user):
NEW

Password:
You can see the additional line breaks where I waited for a few moments and tried return again.

However:

Code:
L 04/05/2009 - 13:46:25: Info (map "l4d_hospital03_sewers") (file "errors_20090405.log")
L 04/05/2009 - 13:46:25: [chatserv.smx] Child socket error: 6 (#0)
L 04/05/2009 - 13:46:25: [chatserv.smx] Child socket error: 6 (#0)
L 04/05/2009 - 13:46:25: [chatserv.smx] Child socket error: 6 (#0)
L 04/05/2009 - 13:46:25: [chatserv.smx] Child socket error: 6 (#0)
L 04/05/2009 - 13:46:25: [chatserv.smx] Child socket error: 6 (#0)
L 04/05/2009 - 13:50:09: Error log file session closed.

Last edited by Icettiflow; 04-05-2009 at 17:07. Reason: Added error log
Icettiflow is offline
MikeJS
Senior Member
Join Date: Nov 2008
Old 04-05-2009 , 17:09   Re: ChatServ 0.1 - Control your server from telnet
Reply With Quote #17

It's accepting "NEW" as a username for some reason. I have a feeling it's to do with the line endings being different on different operating systems, but I've got no clue how to fix it.
__________________
MikeJS is offline
recon0
Veteran Member
Join Date: Sep 2007
Location: US
Old 04-05-2009 , 19:46   Re: ChatServ 0.1 - Control your server from telnet
Reply With Quote #18

Neat
__________________
recon0 is offline
Dragonshadow
BANNED
Join Date: Jun 2008
Old 04-08-2009 , 11:23   Re: ChatServ 0.1 - Control your server from telnet
Reply With Quote #19

Quote:
Originally Posted by MikeJS View Post
It's accepting "NEW" as a username for some reason. I have a feeling it's to do with the line endings being different on different operating systems, but I've got no clue how to fix it.
If you can figure out the line ending diffrences, is it possible for the plugin to detect what OS the server is running on and then choose based on that?
Dragonshadow is offline
MikeJS
Senior Member
Join Date: Nov 2008
Old 04-08-2009 , 12:45   Re: ChatServ 0.1 - Control your server from telnet
Reply With Quote #20

At the moment it checks for \r\n, \r and \n, which I think is all it needs to check. I'm not sure if it's possible to get the server OS with sourcemod.
__________________
MikeJS is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 01:12.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode