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
➜ General
➜ Problems with trigger in a German Mud
Problems with trigger in a German Mud
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Sarah
Germany (8 posts) Bio
|
Date
| Thu 01 Feb 2007 02:16 PM (UTC) |
Message
| Hello,
I have built the following trigger for a german Mud:
<triggers>
<trigger
enabled="y"
ignore_case="y"
match="* redet zu dir:"
sequence="100"
sound="C:\WINDOWS\Media\chimes.wav"
>
</trigger>
</triggers>
I have triggers and triggersounds enabled, but the trigger does not work. Have I done something wrong or has Mushclient problems with german texts?
Thanks for your help
Sarah | Top |
|
Posted by
| Nick Gammon
Australia (23,133 posts) Bio
Forum Administrator |
Date
| Reply #1 on Thu 01 Feb 2007 06:51 PM (UTC) |
Message
| Can you please paste the exact text that comes from the MUD, that you are trying to match against with this trigger? Copy and paste, not retype. Thanks. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| Sarah
Germany (8 posts) Bio
|
Date
| Reply #2 on Fri 02 Feb 2007 02:14 PM (UTC) |
Message
| Hi,
ok, I now have copied an example of the text from the mud directly.
The text I wish to match upon ist:
Info: Luma betritt FinalFrontier.
Well, Info: should be matched, the rest would be a wildcard.
I already have the trigger for this match:
<triggers>
<trigger
enabled="y"
ignore_case="y"
match="Info: *"
sequence="100"
sound="C:\WINDOWS\Media\chimes.wav"
>
</trigger>
</triggers>
But this trigger does not work, like the others I built for this mud.
I already built triggers for english muds and there I had no problems at all.
Thanks again for your help
Sarah | Top |
|
Posted by
| Nick Gammon
Australia (23,133 posts) Bio
Forum Administrator |
Date
| Reply #3 on Sat 03 Feb 2007 06:55 AM (UTC) |
Message
| I tried that, and it worked.
MUSHclient doesn't know it is getting German text, so there is no real reason it shouldn't work, unless you had some obscure characters in the trigger, however "Info:" seems straightforward enough.
You say no triggers are working, have you accidentally disabled all triggers? On the trigger list there is a checkbox : Enable Triggers. Make sure that is ticked.
Also make sure "Enable Trigger Sounds" is checked.
Also, edit the trigger and see if the match count is greater than zero (about half-way down the screen). Maybe it is matching but not finding the sound to play. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| Sarah
Germany (8 posts) Bio
|
Date
| Reply #4 on Sat 03 Feb 2007 01:04 PM (UTC) |
Message
| Well, enable triggers and triggersounds are checked and the matchcount is zero.
I also used this sound in other muds and there it works without any problems.
| Top |
|
Posted by
| Nick Gammon
Australia (23,133 posts) Bio
Forum Administrator |
Date
| Reply #5 on Sat 03 Feb 2007 07:04 PM (UTC) Amended on Sat 03 Feb 2007 07:05 PM (UTC) by Nick Gammon
|
Message
| Well that is a puzzle. It should work. The line you are matching appears just like that? There is no prompt in front, like this? :
<100/100hp 143/143m 210/210mv 0/343xp> Info: Luma betritt FinalFrontier.
If things are exactly as you describe, then we must dig deeper. Can you please do this:
- Log onto the MUD, and play until roughly when (before) the "Info:" line is about to appear.
- Turn on "packet debug": Edit menu -> Debug Packets.
- Keep playing until the "Info:" line appears.
- Turn off "packet debug": Edit menu -> Debug Packets (uncheck it).
- Another window should have appeared behind the main one - a notepad window, with the packet debug in it.
Scan backwards through that until you see a packet with the "Info:" line in it. It will look something like this:
3/143m .[1;32m21 33 2f 31 34 33 6d 20 1b 5b 31 3b 33 32 6d 32 31
0/210mv .[1;35m0 30 2f 32 31 30 6d 76 20 1b 5b 31 3b 33 35 6d 30
/343xp.[0m>.[0m 2f 33 34 33 78 70 1b 5b 30 6d 3e 1b 5b 30 6d
Incoming packet: 9 (39 bytes)
..Info: Luma bet 0d 0a 49 6e 66 6f 3a 20 4c 75 6d 61 20 62 65 74
ritt FinalFronti 72 69 74 74 20 46 69 6e 61 6c 46 72 6f 6e 74 69
er..... 65 72 2e 0d 0a 0d 0a
Sent packet: 9 (7 bytes)
score.. 73 63 6f 72 65 0d 0a
Incoming packet: 10 (161 bytes)
.[1;37m.[1;31m.[ 1b 5b 31 3b 33 37 6d 1b 5b 31 3b 33 31 6d 1b 5b
I have underlined the relevant bit so you can see what I mean.
- Copy that entire packet and paste into the forum here. I need to see the hex codes, so copy the entire thing, not just the underlined part.
Thank you.
|
- Nick Gammon
www.gammon.com.au, www.mushclient.com | 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.
14,635 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top