Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
Palek
Wanderer


Joined: 28 Sep 2005
Posts: 55

PostPosted: Wed Jul 01, 2009 2:49 am   

Telnet Proxy
 
Hello all,

I am trying to connect via telnet proxy, it appears that cMUD is not expanding the %host predefined variable when trying to connect. Here is what the output I see:

Connected to host 65.40.60.14
Telnet Gateway ready=enter computer name to connect to.


host[:port]: %host 6666
%host-Host not found

It appears to be expanding %port but not %host. Not sure how to correct this issue.

Edit: I am using cMUD 2.37 on XP with SP2, the same settings in zMud work fine on this machine.

Thanks,

Jamie
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Wed Jul 01, 2009 4:44 pm   
 
What happens if you select the "Open Offline" action to open your session and then type:

#SHOW %host

on the command line?
Reply with quote
Palek
Wanderer


Joined: 28 Sep 2005
Posts: 55

PostPosted: Thu Jul 02, 2009 12:50 am   
 
Zugg,

When I do #show %host offline it shows swmud.org but if I do a reconnect from there I get the previously stated output.

Jamie
Reply with quote
Palek
Wanderer


Joined: 28 Sep 2005
Posts: 55

PostPosted: Thu Jul 02, 2009 1:12 am   
 
For further troubleshooting I tried with a clean session, no settings at all to make sure my triggers weren't a cause, I opened offline and did #show %host then tried to reconnect and this was the result:

swmud.org
Connected to host swmud.org
Telnet Gateway ready=enter computer name to connect to.


host[:port]: %host 6666
%host-Host not found

Thanks,

Jamie
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Thu Jul 02, 2009 7:55 pm   
 
OK, I'll look into this and add it to the bug list. Are you just using:

%host %port

for your Telnet proxy command string?
Reply with quote
Palek
Wanderer


Joined: 28 Sep 2005
Posts: 55

PostPosted: Fri Jul 03, 2009 12:40 am   
 
Yes sir.
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Fri Jul 03, 2009 5:11 pm   
 
Confirmed and fixed for the next beta version. This bug might effect other situations too. Basically, CMUD was not expanding a system variable at the beginning of a line when expanding a string. This is demonstrated by trying the following command:
Code:
#show %expand("%host %port")

Notice that %host is not expanded in this case. A bit obscure, but it shows that the bug goes beyond just the telnet proxy command setting. Thanks for reporting this.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net