About Us
Products
Purchase
Downloads
Support
Forums
Contact Us
Site
 Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion Goto page 1, 2  Next
cazador
Apprentice


Joined: 08 Dec 2005
Posts: 108

PostPosted: Mon Nov 17, 2008 3:20 am   

Aardwolf telnet 102 triggers
 
I can't seem to be able to see any of the telnet 102 triggers from aardwolf. Bellow is my code that I am using to see the triggers. Has any one been able to get the telnet triggers to work for aardwolf? If so how did you do that?

Code:

<trigger type="Telnet" param="102" priority="12980" id="1298">
  <pattern>*</pattern>
  <value>#say 102 trigger %params</value>
</trigger>
Reply with quote
Fang Xianfu
GURU


Joined: 26 Jan 2004
Posts: 5155
Location: United Kingdom

PostPosted: Mon Nov 17, 2008 2:09 pm   
 
Sometime displaying things like this won't work because telnet suboption text comes in the middle of lines. What you should do is open the script debugger, making sure you have i (raw input/output) messages turned on, and then connect.

You should see the server and client communicating, the server saying IAC WILL 102 and CMUD replying IAC DO 102 - this means that both the client and server have reported that they're able to send and receive data on suboption 102. Then you'll be able to see in the debugger whenever something comes in or goes out over the suboption.

In looks like 0.4031 | i MudName <<IAC><SB><102>Text to trigger on here<LF> and out looks like i MudName ><IAC><SB><102>text sent to MUD here<LF>. You send text over suboptions using the #sendsb command.
_________________
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
Reply with quote
cazador
Apprentice


Joined: 08 Dec 2005
Posts: 108

PostPosted: Mon Nov 17, 2008 2:58 pm   
 
Thanks for the heads up on the debuger. I worked with Charneous last night, and we weren't able to get anywhere on my end. I am able to see the initial <102><do> and <102><will> at the beggining of the session. But after that I am not able to see any more come in to my session using the debugger. Just to make sure that might settings weren't fubared. I tried sending a <102> to the mud and that worked just fine.
Thanks in advance.
Reply with quote
charneus
Wizard


Joined: 19 Jun 2005
Posts: 1876
Location: California

PostPosted: Mon Nov 17, 2008 4:50 pm   
 
Yeah. I spent quite a bit of time with him, checking his CMUD setup compared to mine. Everything matched perfectly. Had him run the script debugger, set the same messages as mine, ran some tests, not once did he see the telopts prompts.

He did do a reinstall, but one thing I didn't suggest is any .ini files associated with CMUD that might cause them to not appear on the screen. Either way, it's very weird for it not to show up on his when it shows up on mine with the same settings.

Charneus
Reply with quote
intoK
Apprentice


Joined: 18 Feb 2007
Posts: 190

PostPosted: Mon Nov 17, 2008 5:33 pm   
 
cmud does not ack 102 chan on its own, try manually sending iac do 102
sendraw("\255\253\102\r")
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Mon Nov 17, 2008 5:46 pm   
 
If you have a trigger assigned to telnet option 102, then CMUD *should* send the IAC DO. And Cazador mentioned that he is seeing the DO and WILL at the beginning of the session.

Isn't there a command on Aardwolf that you need to enter to enable all of this <102> stuff? It sounds like it's working differently for Charneus and Cazador even though they are using the same settings, so that's what made me think about whether there is a command on the MUD that needs to be used to activate this feature.
Reply with quote
charneus
Wizard


Joined: 19 Jun 2005
Posts: 1876
Location: California

PostPosted: Mon Nov 17, 2008 6:28 pm   
 
Right. I should have mentioned that I did make sure he had the telopts command enabled, so that wasn't the problem. He even created another character, enabled the telopts, still nothing.

Charneus
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Mon Nov 17, 2008 7:53 pm   
 
Have you tried creating a new session on your computer with a stripped-down version of your Telnet triggers? Once you have it working on your system in a small test package then you can send him your exact PKG file and see what happens on his system. I suppose you could even send your CMUD.INI file with the global preferences to see if there is some difference there.

If you can pin it down to a problem in CMUD then I can add it to the bug list, but for now I'm as clueless as everyone else as to why it works for you and not him.
Reply with quote
intoK
Apprentice


Joined: 18 Feb 2007
Posts: 190

PostPosted: Mon Nov 17, 2008 10:04 pm   
 
nopers, it sends iac will not iac do, and aard likes it to be iac do from client to send over 102
you have to manually send iac do Cool
btw, telopts has _nothing_ to do with it
Reply with quote
Fang Xianfu
GURU


Joined: 26 Jan 2004
Posts: 5155
Location: United Kingdom

PostPosted: Mon Nov 17, 2008 11:05 pm   
 
You're right actually, CMUD is sending IAC WILL 102, but this is correct. Technically either party can send either WILL or DO and that's correct - most of the time servers send DO and clients send WILL, though. Aard should fix this. From RFC 855:

Code:
   The first step, agreeing to discuss the parameters, takes place in
   the normal manner; one party proposes use of the option by sending a
   DO (or WILL) followed by the option code, and the other party accepts
   by returning a WILL (or DO) followed by the option code.
_________________
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Mon Nov 17, 2008 11:54 pm   
 
Yes, you should tell Aardwolf about this. It is very common for MUD servers to get this wrong. If the MUD sends an IAC WILL, then the client is supposed to send IAC DO. If the MUD sends IAC DO then the client responds with IAC WILL.

So check to see what Aardwolf is sending. If they are sending IAC DO, then CMUD is responding correctly and they should fix their server to respond to IAC WILL from the client. (You can see what the MUD is sending with the Raw Input message in the Script debugger)

But I still don't think this has anything to do with the problem since Charneus has said that it's working fine for him.
Reply with quote
cazador
Apprentice


Joined: 08 Dec 2005
Posts: 108

PostPosted: Tue Nov 18, 2008 1:31 am   
 
intoK wrote:
cmud does not ack 102 chan on its own, try manually sending iac do 102
sendraw("\255\253\102\r")


I tried to do #sendraw("\255\253\102\r") and cmud gave me an error parsing command
What should teh iac do 102 be?
Reply with quote
cazador
Apprentice


Joined: 08 Dec 2005
Posts: 108

PostPosted: Tue Nov 18, 2008 1:42 am   
 
My telnet negotiation sequence

i Aardwolf ><IAC><DO><86>
i Aardwolf <<IAC><SB><86><IAC><SE>
i Aardwolf *<IAC><WILL><86><IAC><WILL><85><IAC><DO><102><IAC><DONT><103><IAC><WILL><102>#############################################################################<LF><CR>
##[ --- Welcome to Aardwolf MUD --- ]##########################<LF><CR>
##[ ]############ /" #########<LF><CR>
.
.
.
################# / ; #################<LF><CR>
############### / ; ##################<LF><CR>
-----------------------------------------------------------------------------<LF><CR>
What be thy name, adventurer?
i Aardwolf ><IAC><DONT><85>
i Aardwolf ><IAC><WILL><102>
Reply with quote
cazador
Apprentice


Joined: 08 Dec 2005
Posts: 108

PostPosted: Tue Nov 18, 2008 4:17 am   
 
I worked some more with Charneus, It looks like this is is a mud issue. He was able to get it to work with his character w/ my settings. then he tried a creating a new char, and it didn't work at that point. Thanks everyone for your help
Reply with quote
intoK
Apprentice


Joined: 18 Feb 2007
Posts: 190

PostPosted: Tue Nov 18, 2008 8:13 am   
 
run above from lua comm line mate, wo # Razz with zscript cmd youd need something like #sendraw %char(255)%char(253)%char(102)%char(13)

aardwolf should be doing lots of things differently, starting with not tailoring build in features for poorly written scripts shipped with its 'customized' client and either expanding telnet on whole front or moving to standardized mxp stead custom tags, unfortunately lasher has too many clappers around and voices of reason tend to get ignored.
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Tue Nov 18, 2008 6:04 pm   
 
The #sendraw command does not recognize the \nnn syntax. intoK is correct that using the %char function in CMUD is correct. But you don't need the %char(13) at the end. Telnet option sequences do not need to be terminated by any newline.

Cazador: It looks like you stopped the debug output too soon. I see that Aardwolf is sending both IAC DO 102 and IAC WILL 102 and then sending IAC WILL 102 *again* at your name prompt. But I don't see the following text that shows what CMUD is sending back in return.

Also, it looks like it might be a problem with their MCCP compression implementation. The package that has the Welcome to Aardwolf data is compressed (indicated by the * at the beginning of the line). But the IAC DONT 85 and IAC WILL 102 at the end are not compressed. So try turning off MCCP compression in your CMUD Preferences to see if that makes any difference.

Just so you can understand the Script Debugger output for the "i" message (raw input/output), the first character can be a > or < or * character. The < character indicates a normal package received from the MUD. The > character indicates a packet send TO the MUD by CMUD, and a * indicates a compressed packet received from the MUD.

If we can pin this down to something specific Aardwolf is doing wrong, then I can contact Lasher myself and point him to this thread. I'm sure he wants to make sure this all works on zMUD and CMUD.


Last edited by Zugg on Tue Nov 18, 2008 7:50 pm; edited 1 time in total
Reply with quote
cazador
Apprentice


Joined: 08 Dec 2005
Posts: 108

PostPosted: Tue Nov 18, 2008 7:16 pm   
 
I turned mccp off, and no luck. A longer version of the log is bellow. I Also tried doing what intoK suggested, and had no luck doing that.

Code:


i  Aardwolf <<IAC><WILL><86><IAC><WILL><85><IAC><DO><102><IAC><DONT><103><IAC><WILL><102>#############################################################################<LF><CR>
##[        --- Welcome to Aardwolf MUD ---        ]##########################<LF><CR>
##[                                               ]############ /"  #########<LF><CR>
##[         Players Currently Online: 323         ]########  _-`"""', #######<LF><CR>
.
.
.
.
###############  /                                       ; ##################<LF><CR>
-----------------------------------------------------------------------------<LF><CR>
What be thy name, adventurer?
i  Aardwolf ><IAC><DONT><86>
i  Aardwolf ><IAC><DONT><85>
i  Aardwolf ><IAC><WILL><102>
---
i  Aardwolf >mazzi<CR><LF>
i  Aardwolf <<LF><CR>
Existing profile loaded - please enter your password.<LF><CR><LF><CR>
Password: <IAC><WILL><1>
i  Aardwolf ><IAC><DO><1>
---
i  Aardwolf >DON'T you wish this was real<CR><LF>
i  Aardwolf <<IAC><WONT><1><ESC>[0;36mLast on from <ESC>[0;37m24.91.251.80 (24.91.251.80)<ESC>[0;36m at <ESC>[0;37mMon Nov 17 23:21:06 2008<LF><LF><CR>
<ESC>[1;37m--------------------------------------------------------------------------<CR><LF>
<ESC>[1;36m  <ESC>[1;31m*<ESC>[1;37mV3<ESC>[1;31m*<ESC>[0;37m  <ESC>[1;32m*<ESC>[1;33mV3<ESC>[1;32m*  <ESC>[1;36m*<ESC>[1;35mV3<ESC>[1;36m*           <ESC>[1;33mPLEASE READ THIS<ESC>[0;37m           <ESC>[1;36m*<ESC>[1;35mV3<ESC>[1;36m*<ESC>[0;37m  <ESC>[1;32m*<ESC>[1;33mV3<ESC>[1;32m*  <ESC>[1;31m*<ESC>[1;37mV3<ESC>[1;31m*<ESC>[0;37m<CR><LF>
<ESC>[1;37m--------------------------------------------------------------------------<CR><LF><CR><LF>
<ESC>[0;37mFor the main changes in V3 at time of go-live (March 6th 2008), see:<CR><LF>
<ESC>[1;37m<CR><LF>
<ESC>[1;36m                    http://www.aardwolf.com/v3.html<CR><LF>
<ESC>[1;37m<CR><LF>
<ESC>[0;37mMore recent changes are on the announcement board and at aardwolf.com.<CR><LF>
<ESC>[0;37m<CR><LF>
<ESC>[0;37mFor more detailed discussion and news on Aardwolf, visit our blog at:<CR><LF>
<ESC>[1;37m<CR><LF>
<ESC>[1;37m                    http://www.aardwolf.com/blog<CR><LF>
<ESC>[1;37m<CR><LF>
<ESC>[0;37m    Welcome to Aardwolf. Please enjoy yourself and help create an<CR><LF>
<ESC>[0;37m            atmosphere in which others can do the same.<CR><LF>
<ESC>[0;37m<CR><LF>
<ESC>[1;37m--------------------------------------------------------------------------<CR><LF>
<ESC>[1;31m  ## <ESC>[1;33mPlease vote for Aardwolf at www.aardwolf.com -> 'vote Aardwolf'  <ESC>[1;31m##<CR><LF>
<ESC>[1;31m  ## <ESC>[1;33m      You can vote every 13 hours to help make Aardwolf #1!      <ESC>[1;31m##<CR><LF><CR><LF>
i  Aardwolf ><IAC><DONT><1>
---
i  Aardwolf >stand<CR><LF>
i  Aardwolf <<LF><CR>
<ESC>[1;37mWelcome to Aardwolf. May your adventures be mystical, challenging and rewarding.<ESC>[0;37m<LF><CR>
{rname}<ESC>[1;32mAeleron's Alchemy Supplies<ESC>[0;37m<LF><CR>
{coords}0,30,20<LF><CR>
{rdesc}<LF><CR>
  <ESC>[0;37mThis small stand is surrounded by an average sized fence, which has<LF><CR>
only three <ESC>[0;37mopenings to let customers into the shop.  The small fence<LF><CR>
contains a vast <ESC>[0;37mnumber of cauldrons boiling and bubbling with liquids of<LF><CR>
reds, blues, <ESC>[0;37mmagentas, and greens.  Many signs sit everywhere, saying,<LF><CR>
"<ESC>[1;33mDo not touch!<ESC>[0;37m",  "<ESC>[1;32mLeave it alone!<ESC>[0;37m",  and "<ESC>[1;36mHands to Yourself!<ESC>[0;37m".<LF><CR>
A small, old gnome stands on a step stool, busily pouring a bubbling gel<LF><CR>
into a small flask.<LF><CR>
{/rdesc}<LF><CR><LF><CR>
<MAPSTART><LF><CR>
<ESC>[1;32mAeleron's Alchemy Supplies<LF><CR>
 <LF><CR>
<ESC>[0;37m <LF><CR>
<ESC>[0;37m      0   1   2   3   4   5   6 <LF><CR>
<ESC>[0;33m    <ESC>[0;33m|<ESC>[0;37m. <ESC>[0;37m.<ESC>[0;33m|                 <LF><CR>
<ESC>[0;33m ---     ---------------     <LF><CR>
<ESC>[0;33m <ESC>[1;33m*<ESC>[1;32m$<ESC>[1;33m*<ESC>[0;33m <ESC>[1;31m(<ESC>[1;37m~<ESC>[1;31m)<ESC>[0;33m <ESC>[1;33m*<ESC>[1;31m*<ESC>[1;33m*<ESC>[0;33m <ESC>[1;31m(<ESC>[1;33m!<ESC>[1;31m)<ESC>[0;33m <ESC>[1;33m*<ESC>[1;32m$<ESC>[1;33m*<ESC>[0;33m <ESC>[1;31m(<ESC>[1;37m~<ESC>[1;31m)<ESC>[0;33m| <LF><CR>
<ESC>[0;33m                        <ESC>[0;33m|    <LF><CR>
<ESC>[0;33m <ESC>[1;31m(<ESC>[1;33m!<ESC>[1;31m)<ESC>[0;33m <ESC>[1;33m*<ESC>[1;32m!<ESC>[1;33m*<ESC>[0;33m <ESC>[1;31m(<ESC>[1;37m~<ESC>[1;31m)<ESC>[0;33m <ESC>[1;33m*<ESC>[1;35m#<ESC>[1;33m*<ESC>[0;33m <ESC>[1;31m(<ESC>[1;33m!<ESC>[1;31m)<ESC>[0;33m <ESC>[1;32m$<ESC>[0;37m<ESC>[1;32m$<ESC>[0;37m<ESC>[1;32m$<ESC>[0;37m<ESC>[0;33m| <LF><CR>
<ESC>[0;33m ---     -------     ---     <LF><CR>
<ESC>[0;33m    <ESC>[0;33m|<ESC>[0;37m.<ESC>[1;33m
g  Aardwolf =Aeleron's Alchemy Supplies
g  Aardwolf |-> Line 55 gagged
g  Aardwolf =
g  Aardwolf =
i  Aardwolf <!<ESC>[0;37m.<ESC>[0;33m|       <ESC>[0;33m|<ESC>[0;37m.<ESC>[1;32m!<ESC>[0;37m.<ESC>[0;33m|     <LF><CR>
<ESC>[0;33m ---                         <LF><CR>
<ESC>[0;33m <ESC>[0;33m. <ESC>[0;33m.<ESC>[0;33m <ESC>[1;37m< <ESC>[0;33m.<ESC>[0;33m         <ESC>[0;33m. <ESC>[0;33m.<ESC>[0;33m      <LF><CR>
<ESC>[0;33m ---                         <LF><CR>
<ESC>[0;37m<ESC>[0;37m <LF><CR>
<ESC>[1;32m[<ESC>[1;37m Exits<ESC>[1;32m: N E W ]<ESC>[0;37m<ESC>[0;37m<LF><CR>
<MAPEND><LF><CR>
{exits}<ESC>[1;32m[Exits: north east west]<ESC>[0;37m<LF><CR>
<ESC>[1;37m(W) <ESC>[1;33mA gray-haired, old gnome is enveloped in smoke as an attempt to bottle 'immolation' goes awry.<ESC>[1;33m<ESC>[0;37m<LF><CR>
<ESC>[1;37mThere are <ESC>[1;31m346 <ESC>[1;37mcharacters on, the most on this reboot was <ESC>[1;31m417.<ESC>[0;37m<LF><CR>
<ESC>[1;37mThere are <ESC>[1;31m309<ESC>[1;37m characters using compression.<ESC>[0;37m<LF><CR><LF><CR>
<ESC>[1;31mINFO: <ESC>[0;37mDouble experience is running in honor of Losstarot reaching superhero. - <ESC>[1;33m2<ESC>[0;37m minutes left.<LF><CR><LF><CR>
<ESC>[1;36mLOTTERY <ESC>[0;37m: Current lottery jackpot is at <ESC>[1;33m4,000,000<ESC>[0;37m gold.<LF><CR>
<301/301hp 332/332mn 640/640mv 0qt 395tnl> <ESC>[0;37m<ESC>[1;31m*[NOEXP]*<ESC>[0;37m <LF><CR>
{stats}16/14,33/30,29/25,19/12,36/25,32/23,100,100,100,61,29,You are Standing.,9999,301/301,332/332,640/640,18143,283,0,670,395,10,5<LF><CR>
g  Aardwolf =[Exits: north east west]
---
i  Aardwolf >sit<CR><LF>
i  Aardwolf <You sit down.<LF><CR>
<301/301hp 332/332mn 640/640mv 0qt 395tnl> <ESC>[0;37m<ESC>[1;31m*[NOEXP]*<ESC>[0;37m <LF><CR>
{stats}16/14,33/30,29/25,19/12,36/25,32/23,100,100,100,61,29,You are Sitting.,9999,301/301,332/332,640/640,18143,283,0,670,395,10,3<LF><CR>
i  Aardwolf <<LF><CR>
<ESC>[1;32mAvaris answers 'buy the green herbal teas.. also good healng pots.. little pricy.. 25 cost about 20k gold'<ESC>[0;37m<LF><CR>
i  Aardwolf <<ESC>[1;33m[<ESC>[1;35mNewbie<ESC>[1;33m] <ESC>[1;33mMarkk: can someone help me get my corpse please<ESC>[0;37m<LF><CR>
g  Aardwolf |-> Line 101 gagged
i  Aardwolf <<ESC>[1;33m[<ESC>[1;35mNewbie<ESC>[1;33m] <ESC>[1;37m(<ESC>[1;32mHelper<ESC>[1;37m)<ESC>[1;33m <ESC>[1;33mTenlorn: absolutely<ESC>[0;37m<LF><CR>
g  Aardwolf |-> Line 101 gagged

Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Tue Nov 18, 2008 7:54 pm   
 
OK, sorry I made a mistake in my < vs > comment. I have fixed my post above. The < means a line received FROM the MUD, and the > is a line sent TO the MUD.

So again, it looks like CMUD is sending the IAC WILL 102 in response to the MUD sending IAC DO 102. Once this has been done, CMUD is ignoring the IAC WILL 102 from the MUD because CMUD knows that it has already negotiated that telnet option and it is trying to avoid infinite-loop telnet negotiation.

I will contact Lasher about this. Aardwolf should NOT be sending both IAC DO 102 and IAC WILL 102. It needs to pick one or the other. Otherwise they are just going to have more problems with other telnet and MUD clients.

I still don't understand why it works for an existing character but not for a new character on Aardwolf. Makes me think that something has changed recently on the MUD or something. Right now I'm in the middle of the mapper coding, so I haven't had time to look into this myself. But I'll try to test it on my own Aardwolf character.
Reply with quote
intoK
Apprentice


Joined: 18 Feb 2007
Posts: 190

PostPosted: Tue Nov 18, 2008 9:32 pm   
 
strange, just tested with my alt and new char, both on empty sessions and #sendraw %char(255)%char(253)%char(102) enabled them just fine in both cases

do some debugger logging from pasting that and doing sit stand after?
Reply with quote
cazador
Apprentice


Joined: 08 Dec 2005
Posts: 108

PostPosted: Tue Nov 18, 2008 10:10 pm   
 
Now this is odd.
intoK suggestion worked this time for me. After I logged in w/ my character I did the #sendraw command
I started getting things like
i Aardwolf <<IAC><SB><102>e<1><IAC><SE>
i Aardwolf <<IAC><SB><102>e<1><IAC><SE>

So the next question is how do I get it to trigger on a specific return sequence.
bellow are the supported codes

100,1 At login screen, no player yet
100,2 Player at MOTD or other login sequence
100,3 Player fully active and able to receive MUD commands
100,4 Player AFK
100,5 Player in note mode
100,6 Player in Building/Edit mode
100,7 Player at paged output prompt
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Tue Nov 18, 2008 10:48 pm   
 
Right. It works because the code that intoK gave was for IAC DO 102, whereas CMUD is normally sending IAC WILL 102. I have emailed Lasher, so hopefully he can look into this.

For now, just do the #SENDRAW from within your Telnet 102 trigger. Set the "Prompt" option and that will cause the trigger to only fire during the telnet option negotiation.

In other words, when the MUD sends a DO/WILL, CMUD will send a WILL/DO and will call your trigger with the Prompt option (like a Prompt trigger). Then, when CMUD receives the IAC SB 102 suboption data, it will call your Telnet 102 trigger with the "Newline" option set.

The data sent by the MUD between the IAC SB 102 and the IAC SE is used as the trigger pattern for your option 102 trigger. So you'll need details on exactly what data the MUD is sending for you to create a trigger pattern that fires on that data.
Reply with quote
cazador
Apprentice


Joined: 08 Dec 2005
Posts: 108

PostPosted: Wed Nov 19, 2008 2:07 am   
 
I made the following trigger to catch the WILL, but it isn't catching did i get my pattern incorrect?
Code:

<trigger name="102 not negotiation" type="Telnet" param="102" priority="12810" newline="false" prompt="true" id="1298">
  <pattern>%char(251)</pattern>
  <value>#sendraw %char(255)%char(253)%char(102)
#say telnet 102, not %ascii(%1)</value>
</trigger>
Reply with quote
Fang Xianfu
GURU


Joined: 26 Jan 2004
Posts: 5155
Location: United Kingdom

PostPosted: Wed Nov 19, 2008 4:05 am   
 
Firstly, there won't be a %1 in this script - I'm not sure what you're trying to do there. Secondly, you shouldn't have spaces in your setting names. Thirdly, you shouldn't need a pattern for the trigger.
_________________
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Wed Nov 19, 2008 4:28 pm   
 
If you set the prompt="true" option, then you don't need any pattern at all. The data is only sent to the trigger when receiving an IAC SB 102 from the MUD. When receiving a IAC WILL, your Prompt trigger is called without any pattern. So just leave the pattern blank.

Oh yeah, so "what Fang said". ;)
Reply with quote
cazador
Apprentice


Joined: 08 Dec 2005
Posts: 108

PostPosted: Wed Nov 19, 2008 5:48 pm   
 
I had tried that, but the trigger kept fireing on all the IAC SB 102 commands comming from the mud, not just the WILL. At least for now I just added it to my onconnect event, and waited 10 ms. That seemed to work just fine for me.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD General Discussion All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net