Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Due to spam on this forum, all posts now need moderator approval.
Entire forum
➜ MUSHclient
➜ Tips and tricks
➜ Limited number of actions for output?
Limited number of actions for output?
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Natasi
(79 posts) Bio
|
Date
| Thu 10 Feb 2005 05:16 AM (UTC) |
Message
| If I'm trying to have an aliases perform more than 21 actions, those following do not go through. I've tested this multiple times with it in my script, sent to world from alias and sent to script from alias and each time, the 22nd command and after is cut off or doesn't go through. This is what I tried....it will only do up to the first CLAP after the EYETWITCH
clap;clap;clap;clap;smile;clap;clap;clap;clap;cackle;clap;clap;clap;clap;sneer;clap;clap;clap;clap;eyetwitch;clap;clap;clap;clap;jump | Top |
|
Posted by
| Shadowfyr
USA (1,790 posts) Bio
|
Date
| Reply #1 on Thu 10 Feb 2005 06:04 PM (UTC) |
Message
| This sounded a bit odd, so I ran a quick test using a little program called Phantom I designed. Phantom merely echos what ever command you send back to the client as input. Makes testing triggers easier sometimes. In any case, I connected to Phantom and sent:
1;2;3;4;5;6;7;8;9;10;11;12;13;14;15;16;17;18;19;20;21;22;23;24;26;27;28;29;30;31;32;33;34;35;36;37;38;39;40
It all got echoed back, so it is, as I figured, not a mushclient issue. Now, that said, most muds have a limited buffer space for commands. If you send more than a certain number the mud simply ignores all following commands. Most muds provide some ways around this, such the one I play at where I could do (though I would probably be yelled at or hibernated for spamming):
4 clap;smile;4 clap;cackle;4 clap;sneer;4 clap;eyetwitch;4 clap;jump
The mud I play on would treat this as 10 commands, not 25. For most muds 20 commands is probably more or less the limit on what can be sent without enough delay between commands for some of them to actually happen. The reason it fails at 22, is because there is probable enough time for the first command to happen, before the 21st command gets sent, so it sneaks in before the mud simply starts ignoring you. If you had a string of 70 commands, likely the 1-21, 41st and 61st commands would show up, but everything else would fail. | Top |
|
Posted by
| Nick Gammon
Australia (23,133 posts) Bio
Forum Administrator |
Date
| Reply #2 on Sat 12 Feb 2005 11:14 PM (UTC) |
Message
| Anyway, with an alias just put them on separate lines. Use Ctrl+Enter to put in a linebreak, and put them under each other. The MUD will probably not object to that as much.
You can also use speedwalking to make it a bit easier, eg.
# 10 (clap)
... assuming that you have # as your speedwalk prefix. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| Shadowfyr
USA (1,790 posts) Bio
|
Date
| Reply #3 on Sun 13 Feb 2005 06:57 PM (UTC) |
Message
| Nah. Breaking them up using ctrl-break won't likely make much difference. The mud will still recieve them at a rate faster than it can execute them and stumble.
Even speedwalk is an issue. A one second delay, depending on the server the mud is on, may be too fast still or too slow, but two seconds is almost always going to be too slow. The problem is that is it hard to tell how many commands the mud does execute in a second, so you might merely delay the bottlenecking a bit, only to get hit by a longer group, or end up acting at a pace as slow as if you typed something like directions manually using the keypad, which isn't much help if you are trying to do something fast. You may have to experiment a bit to strike a balance or find the best way around the problem. | 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.
17,753 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top