Search found 1584 matches

by Heiko
Wed Sep 25, 2013 8:22 am
Forum: Help Forum
Topic: Line too long.
Replies: 4
Views: 3435

Re: Line too long.

I'm not sure what you are asking. Are you asking if Mudlet restricts the size of the send buffer? The answer would be no, it doesn't. The buffer size is infinite. I recommend looking at your MUD driver code (too small input buffer) .
by Heiko
Wed Sep 25, 2013 8:06 am
Forum: Mudlet Development
Topic: Bug with Color Triggers
Replies: 8
Views: 7245

Re: Bug with Color Triggers

As far as I can tell, it will match any line containing both the color and the substring in it at any point. So if I wanted to look for a <red>apple, it would match that, but it would also match a <green>apple and a <red>pepper. If I put the substring first, I would expect that, since it would matc...
by Heiko
Wed Sep 25, 2013 7:58 am
Forum: Mudlet Development
Topic: Bug with Color Triggers
Replies: 8
Views: 7245

Re: Bug with Color Triggers

Also, color triggers don't respect order in AND triggers, so having a substring for the first pattern, and a color for the second matches exactly the same as if you reversed them. No, that's not correct. For a detailed explanation of the MSM have a look here: http://mudlet.sourceforge.net/wordpress...
by Heiko
Wed Sep 18, 2013 10:24 am
Forum: General Forum
Topic: Mudlet & screenreaders
Replies: 40
Views: 63153

Re: Mudlet & screenreaders

NVDA's IA2 implementation doesn't help in our case because we're dealing with constantly changing page contend i.e. the displayed text is just a small part of a large fast growing buffer. Updating the displayed text screws NVDA's cursor badly.
by Heiko
Tue Sep 17, 2013 11:39 am
Forum: General Forum
Topic: Mudlet & screenreaders
Replies: 40
Views: 63153

Re: Mudlet & screenreaders

SAPI provides callback funtions to let Mudlet know when a line, word or even phoneme has been read. Thus, Mudlet can feed the speech engine directly with the necessary data. I'd say that a word or line based callback would be all we need.
by Heiko
Tue Sep 17, 2013 9:30 am
Forum: General Forum
Topic: Mudlet & screenreaders
Replies: 40
Views: 63153

Re: Mudlet & screenreaders

1. If the only skipping you allow is using up/down (like you said in the previous message), handle the queue yourself. Gather it, then send it to the screen reader line by line. When the user wants to skip a line, stop speech, and continue to the next loop (I.E. next/previous line based on what key...
by Heiko
Tue Sep 17, 2013 9:13 am
Forum: Help Forum
Topic: creating a new room seems to make a loop which hangs
Replies: 2
Views: 2702

Re: creating a new room seems to make a loop which hangs

local addRoom, setRoomArea, setRoomCoordinates = addRoom, setRoomArea, setRoomCoordinates
What's this supposed to be :)

Put debug messages into your script to find out where Mudlet hangs. If it hangs in any of the mapper functions, post a copy of your map file please.
by Heiko
Tue Sep 17, 2013 8:57 am
Forum: General Forum
Topic: Mudlet & screenreaders
Replies: 40
Views: 63153

Re: Mudlet & screenreaders

Don't press any keys until SAPI is ready and Mudlet starts to read the game text. Then you can use the cursor up and down keys on the left side of the num pad to scroll through the game text, skip lines etc.. control+return forces the cursor to the end of the buffer immediately. control+cursor down ...
by Heiko
Tue Sep 17, 2013 6:55 am
Forum: Help Forum
Topic: Change line for subsequent trigger matching
Replies: 4
Views: 3768

Re: Change line for subsequent trigger matching

Filtering the input stream before triggers run is impossible. Initially, I had this filter feature on my main feature list in the very beginning of Mudlet, but it wasn't implemented because there are way too few use cases and these cases could be better handled on the server side using the ATCP/GMCP...
by Heiko
Fri Sep 13, 2013 9:56 am
Forum: Help Forum
Topic: Change line for subsequent trigger matching
Replies: 4
Views: 3768

Re: Change line for subsequent trigger matching

As a general rule triggers always match against text from the game. Depending on your specific needs you have a variety of ways to address your problem. Here's a new detailed explanation of the trigger engine: http://mudlet.sourceforge.net/wordpress/wp-content/uploads/2013/03/mudlet_technical_refere...