|
Palek Wanderer
Joined: 28 Sep 2005 Posts: 55
|
Posted: 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 |
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: 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? |
|
|
|
Palek Wanderer
Joined: 28 Sep 2005 Posts: 55
|
Posted: 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 |
|
|
|
Palek Wanderer
Joined: 28 Sep 2005 Posts: 55
|
Posted: 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 |
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: 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? |
|
|
|
Palek Wanderer
Joined: 28 Sep 2005 Posts: 55
|
Posted: Fri Jul 03, 2009 12:40 am |
Yes sir.
|
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: 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. |
|
|
|
|
|