A question about Slow_speedwalk plugin

Posted by Phost on Sun 06 Sep 2009 02:51 AM — 4 posts, 15,515 views.

#0
Hi,Sorry to bother you again.
I download and use that plugin and i have a problem here. I play a Chinese mud and i have problems in exit_trigger. Is that this plugin can't use double byte words?
for i want trigger exit is
ÕâÀïÃ÷ÏԵijö¿ÚÊÇ south¡¢east ºÍ north¡£
Which means the the obvious exit is south,east and north

And
ÕâÀïûÓÐÃ÷ÏԵijö¿Ú¡£
Which means there is no obvious exit

So i change the exit_trigger as
<!ENTITY exits_trigger
"^((?P<exits>\\[ÕâÀïÃ÷ÏԵijö¿ÚÊÇ\\s(.*)\\])|(.*)ÕâÀïûÓÐÃ÷ÏԵijö¿Ú¡£)$" >]>

However that can't work.
every time i input !3s
the first step success but the second step always fail with
the message: Speedwalk timed-out
it that the problem i use wrong exits_trigger or because chinese word is double byte?
thanks your reply!
Australia Forum Administrator #1
Are you using UTF-8 on the MUD? Have you checked the Unicode box in the Output window configuration?
Australia Forum Administrator #2
I can't copy and paste your example into my copy of the client - it says "bad UTF-8 sequence". Maybe something got lost in the forum.

Can you please give me an exact copy of what you are receiving? Go to Edit menu -> Debug Packets. Turn that on, do a "look" to get an "exits" line, and then switch to the packet debug window which will have appeared behind the main world window. Copy and paste what you see there into a message here. Then turn Debug Packets off or that window will get very big.

Thank you.
#3
Thanks for your reply,And i have solved the problem.
i delete the exit_trigger. and change the wait_require to


line, wildcards = wait.regexp ("ÕâÀïÃ÷ÏԵijö¿ÚÊÇ", &timeout_secs;)


which in english is
line, wildcards = wait.regexp ("the obvious exit is", &timeout_secs;)


so the problem solved. And thank you.