[Home] [Downloads] [Search] [Help/forum]

Gammon Software Solutions forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  General
. . -> [Subject]  Omitting server response to ping timer

Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?
(New message)
Subject: Omitting server response to ping timer
Name:
Your forum user name.
Register forum user name
Password:
Your forum password.
Forgotten password?
Message:
Message to be posted (in English, please).
Forum codes:
Check this if your message uses 'forum codes' or templates (auto-detected for new posts).
Forum codes Templates

Save this message ...


Subject review (reverse sequence)

Posted by Dexanth   (5 posts)  [Biography] bio
Date Sat 20 Jun 2009 03:47 AM (UTC)  quote  ]
Message
Perfect! I think that should wrap up everything I wanted in a nice package.

Barring some unexpected failure along the line I think that solves my issue.

Thanks a heap for the help, and for the great client :)
[Go to top] top

Posted by Nick Gammon   Australia  (18,770 posts)  [Biography] bio   Forum Administrator
Date Sat 20 Jun 2009 03:42 AM (UTC)  quote  ]
Message
Use SendNoEcho instead of Send:

http://www.gammon.com.au/scripts/doc.php?function=SendNoEcho

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Dexanth   (5 posts)  [Biography] bio
Date Sat 20 Jun 2009 03:29 AM (UTC)  quote  ]
Message
And then, hopefully last newbie question, how do I go about omitting the blank line from output? The standard timer omit from output doesn't seem to be kicking in unlike with running a gibberish timer.

Or is that simply a blank reply from the server or something similar?
[Go to top] top

Posted by Nick Gammon   Australia  (18,770 posts)  [Biography] bio   Forum Administrator
Date Fri 19 Jun 2009 10:18 PM (UTC)  quote  ]
Message
Set the timer to "send to script" and put the Send () in the "send" box.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Dexanth   (5 posts)  [Biography] bio
Date Fri 19 Jun 2009 08:23 PM (UTC)  quote  ]
Message
Awesome.

So, second dumb question then : How do I set up the Lua to execute that?
[Go to top] top

Posted by Fadedparadox   USA  (91 posts)  [Biography] bio
Date Fri 19 Jun 2009 02:52 PM (UTC)  quote  ]
Message
They get sent. In Lua, I do this: Send ()
[Go to top] top

Posted by Dexanth   (5 posts)  [Biography] bio
Date Fri 19 Jun 2009 02:27 PM (UTC)  quote  ]
Message
Along the lines of just hitting enter, or hitting spacebar + enter?

Apologies on the sudden cluelessness, I was under the impression completely empty lines didn't get sent at all.
[Go to top] top

Posted by Nick Gammon   Australia  (18,770 posts)  [Biography] bio   Forum Administrator
Date Fri 19 Jun 2009 08:11 AM (UTC)  quote  ]
Message
Can't you send just a blank line? Anything would keep Mr. WRT54G happy, and then the server won't respond with an error message.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Dexanth   (5 posts)  [Biography] bio
Date Fri 19 Jun 2009 07:55 AM (UTC)  quote  ]
Message
So, my WRT54G router's firmware is set up in such a way that I can't alter the automatic idle timeout, which disconnects me from MU*s after approximately 10 minutes of idle time.

The only solution for this I've found is setting up a timer to fire every 9 minutes that sends 'ping' to the server and gets a generic 'I don't understand what you mean' response.

I've figured out how to omit the 'ping' from both my output buffer and log, and I would like to omit the generic server reply as well.

Is there any simple way for me to do this?
[Go to top] top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


1,835 views.

[Reply to this subject]  Reply to this subject   [New subject]  Start a new subject   [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

[Home]

Written by Nick Gammon - 5K

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( http://www.gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Internet Contents Rating Association (ICRA) - 2K]    [Web site powered by FutureQuest.Net]