![](templates/Classic/images/spacer.gif) |
Celerra7 Novice
Joined: 28 Jan 2010 Posts: 34
|
Posted: Wed Jul 13, 2011 1:40 pm
#CAPTURE problem |
I have a simple trigger that captures communication text (tells, says, auction channels, etc.) and copies to a separate window, so I don't have to scroll back up through my main session window to see recent communication. This was working just fine in 3.33. I have upgraded to 3.34 and find that the #CAP is pulling tags and not using the right colors. Example:
Code:
Code: |
<trigger priority="3340" id="459">
<pattern>%1 tells you '</pattern>
<value>#CAP ComWin
#WIN ComWin {%lf}</value>
</trigger>
|
Main Session Window:
<504hp 312ma 252mv><-3.2ac 36018183xp 207317gp><-10><11>
balance
The teller tells you 'You have 20000000 coins in the bank.'
ComWin Window:
<RDesc>The teller tells you 'You have 20000000 coins in the bank.'
The tag changes, depending on whether a player or an NPC is talking to me. I never saw these tags before, and still don't in the main session window. But now they are preceding every line in the capture window. And the colors are not the same between the 2 windows.
Can someone comment on what might have changed with the update, or a setting that I now have wrong in the new version? |
|
_________________ Celerra7
CMUD Pro v3.34, Win7
slothmud.org:6101 |
|
|
![](templates/Classic/images/spacer.gif) |
Zugg MASTER
![](images/avatars/164475849040f41c23b22fe.gif)
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Wed Jul 13, 2011 3:56 pm |
Click on your ComWin window and then click Prefs to open the preferences for that Window. Make sure the caption of the Preferences says "Preferences for Module: ComWin". Now click the MXP page on the left and make sure the "Capture MXP" option is enabled for that window.
|
|
|
![](templates/Classic/images/spacer.gif) |
Celerra7 Novice
Joined: 28 Jan 2010 Posts: 34
|
Posted: Wed Jul 13, 2011 4:13 pm |
Thank you for the suggestion. Preferences for COMWIN already set to CAPTURE MXP. Any other suggestions I can look at?
|
|
_________________ Celerra7
CMUD Pro v3.34, Win7
slothmud.org:6101 |
|
|
![](templates/Classic/images/spacer.gif) |
Zugg MASTER
![](images/avatars/164475849040f41c23b22fe.gif)
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Sat Jul 16, 2011 4:42 pm |
I would need to see the raw data from the MUD for exactly what you are trying to capture. You should run the Script Debugger window and turn on the Raw Input/Output message and then post the exact data sent from the MUD that you are capturing. The RDesc tag you are seeing is a custom MXP tag that the MUD itself is sending.
|
|
|
![](templates/Classic/images/spacer.gif) |
Celerra7 Novice
Joined: 28 Jan 2010 Posts: 34
|
Posted: Mon Jul 18, 2011 1:13 pm |
Thank you. I will record the debugger and my #CAPTURE output window. Should I post it here, or send it to you directly?
|
|
_________________ Celerra7
CMUD Pro v3.34, Win7
slothmud.org:6101 |
|
|
![](templates/Classic/images/spacer.gif) |
Zugg MASTER
![](images/avatars/164475849040f41c23b22fe.gif)
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Mon Jul 18, 2011 6:03 pm |
Just post it here within CODE tags.
|
|
|
![](templates/Classic/images/spacer.gif) |
Celerra7 Novice
Joined: 28 Jan 2010 Posts: 34
|
Posted: Tue Jul 19, 2011 2:55 am |
Mud situation: Standing in bank, executing 2 commands: a) L for look, and b) BAL for balance. Balance reply triggers bank update AND a copy of the TELL to the COMWIN window
Debug Output:
Code: |
21.214 | c SlothMUD | [7] SlothMUD Comline : start :
0.0006 | a SlothMUD |l
0.0001 | h SlothMUD |<ESC>[2Sl<ESC>[0m
0.0035 | i SlothMUD >l<CR><LF>
0.0001 | d SlothMUD | [7] SlothMUD Comline : stopped
0.3198 | i SlothMUD *<ESC>[0;36m<ESC>[6z<RName>The Bank</RName><ESC>[7z<ESC>[1;32;40m<ESC>[0;36m<ESC>[6z<BR><ESC>[7z<ESC>[1;32;40m<ESC>[0;37m<ESC>[6z<RDesc> The floor of this bank is covered in a rich, red carpet. The walls<LF><CR>
-31.4154 | have been painted a pale white and present a somber mood. Several lanterns<LF><CR>
0.0000 | have been placed strategically around the room to provide ample light in<LF><CR>
0.0000 | every corner. A number of benches have been placed here for people to sit.<LF><CR>
0.0000 | A teller stands behind a window in the back wall that has gold bars running<LF><CR>
0.0000 | vertically within it.</RDesc><ESC>[7z<ESC>[1;32;40m<ESC>[0;37m<ESC>[1;32;40m<LF><CR>
0.0000 | <ESC>[0;36m<ESC>[6z<RExits>Exits: </RExits><ESC>[7z<ESC>[1;32;40m<ESC>[0;36m<ESC>[6z<RExits><SEND "South|look South|scan South" hint="South|South|Look|Scan">South</SEND> <LF><CR>
-30.8593 | </RExits><ESC>[7z<ESC>[1;32;40m<ESC>[0;32m<ESC>[6zA plaque is set in the wall here at eye level.<ESC>[7z<ESC>[1;32;40m<LF><CR>
0.0001 | <ESC>[0;33m<ESC>[6z<RChar>Bal Harbor's only banker stands here, ready to take your gold.<LF><CR>
0.0000 | </RChar><ESC>[7z<ESC>[1;32;40m<ESC>[0m<LF><CR>
0.0000 | <ESC>[0;37m<<ESC>[0;32m504<ESC>[0;37mhp <ESC>[0;32m312<ESC>[0;37mma <ESC>[0;32m255<ESC>[0;37mmv><-6.2ac 37195962xp 101666gp><-2><1><ESC>[0;37m<LF><CR>
-30.6345 | <ESC>[6z<!ENTITY Ac -6.2 PUBLISH><!ENTITY CurrentHP 504 PUBLISH><!ENTITY CurrentMana 312 PUBLISH><!ENTITY CurrentMove 255 PUBLISH><!ENTITY MaxHP 504 PUBLISH><!ENTITY MaxMana 312 PUBLISH><!ENTITY MaxMove 255 PUBLISH><!ENTITY Gold 101666 PUBLISH><!ENTITY CurrentAlign -230 PUBLISH><!ENTITY Bank 21665433 PUBLISH><!ENTITY CurrentXP 37195962 PUBLISH><!ENTITY NextLevelXp 800000 PUBLISH><!ENTITY RegenHP 0 PUBLISH><!ENTITY RegenMana 0 PUBLISH><!ENTITY RegenMove 0 PUBLISH><ESC>[7z
-31.4140 | a SlothMUD |The Bank
0.0001 | h SlothMUD |<ESC>[36mThe Bank<ESC>[0m
0.0006 | a SlothMUD |<RDesc> The floor of this bank is covered in a rich, red carpet. The walls
0.0001 | h SlothMUD |<ESC>[37m The floor of this bank is covered in a rich, red carpet. The walls<ESC>[0m
0.0009 | a SlothMUD |<RDesc>have been painted a pale white and present a somber mood. Several lanterns
0.0001 | h SlothMUD |<ESC>[37mhave been painted a pale white and present a somber mood. Several lanterns<ESC>[0m
0.0010 | a SlothMUD |<RDesc>have been placed strategically around the room to provide ample light in
0.0001 | h SlothMUD |<ESC>[37mhave been placed strategically around the room to provide ample light in<ESC>[0m
0.0005 | a SlothMUD |<RDesc>every corner. A number of benches have been placed here for people to sit.
0.0001 | h SlothMUD |<ESC>[37mevery corner. A number of benches have been placed here for people to sit.<ESC>[0m
0.0010 | a SlothMUD |<RDesc>A teller stands behind a window in the back wall that has gold bars running
0.0001 | h SlothMUD |<ESC>[37mA teller stands behind a window in the back wall that has gold bars running<ESC>[0m
0.0044 | a SlothMUD |vertically within it.
0.0001 | h SlothMUD |<ESC>[37mvertically within it.<ESC>[0m
0.0009 | a SlothMUD |Exits: South
0.0004 | h SlothMUD |<ESC>[36mExits: <ESC>[5SSouth<ESC>[36m <ESC>[0m
0.0004 | a SlothMUD |A plaque is set in the wall here at eye level.
0.0008 | a SlothMUD |<RChar>Bal Harbor's only banker stands here, ready to take your gold.
0.0002 | h SlothMUD |<ESC>[33mBal Harbor's only banker stands here, ready to take your gold.<ESC>[0m
0.0014 | a SlothMUD |<504hp 312ma 255mv><-6.2ac 37195962xp 101666gp><-2><1>
0.0009 | h SlothMUD |<ESC>[37m<<ESC>[32m504<ESC>[37mhp <ESC>[32m312<ESC>[37mma <ESC>[32m255<ESC>[37mmv><-6.2ac 37195962xp 101666gp><-2><1><ESC>[0m
-30.5141 | f SlothMUD | Pattern: <%1hp %2ma %3mv><%4ac %5xp %6gp><%7><%8> : (%1=504, %2=312, %3=255, %4="-6.2", %5=37195962, %6=101666, %7=-2, %8=1)
-31.3982 | c SlothMUD | exec : Pattern "prompt2" : ;#SA firing prompt2 script #VAR rtHP ...
0.0001 | n SlothMUD | Exec Trigger "prompt2"
1.8174 | ---
0.0003 | c SlothMUD | [7] SlothMUD Comline : start :
0.0006 | a SlothMUD |bal
0.0001 | h SlothMUD |<ESC>[2Sbal<ESC>[0m
0.0042 | i SlothMUD >bal<CR><LF>
0.0002 | d SlothMUD | [7] SlothMUD Comline : stopped
0.4456 | i SlothMUD *<ESC>[1;35mThe teller tells you 'You have 21665433 coins in the bank.'<ESC>[1;32;40m<LF><CR>
0.0000 | <ESC>[0m<LF><CR>
0.0000 | <ESC>[0;37m<<ESC>[0;32m504<ESC>[0;37mhp <ESC>[0;32m312<ESC>[0;37mma <ESC>[0;32m255<ESC>[0;37mmv><-6.2ac 37195962xp 101666gp><-2><1><ESC>[0;37m<LF><CR>
-28.3494 | <ESC>[6z<!ENTITY Ac -6.2 PUBLISH><!ENTITY CurrentHP 504 PUBLISH><!ENTITY CurrentMana 312 PUBLISH><!ENTITY CurrentMove 255 PUBLISH><!ENTITY MaxHP 504 PUBLISH><!ENTITY MaxMana 312 PUBLISH><!ENTITY MaxMove 255 PUBLISH><!ENTITY Gold 101666 PUBLISH><!ENTITY CurrentAlign -230 PUBLISH><!ENTITY Bank 21665433 PUBLISH><!ENTITY CurrentXP 37195962 PUBLISH><!ENTITY NextLevelXp 800000 PUBLISH><!ENTITY RegenHP 0 PUBLISH><!ENTITY RegenMana 0 PUBLISH><!ENTITY RegenMove 0 PUBLISH><ESC>[7z
-29.1289 | a SlothMUD |The teller tells you 'You have 21665433 coins in the bank.'
0.0002 | h SlothMUD |<ESC>[1;35mThe teller tells you 'You have 21665433 coins in the bank.'<ESC>[0m
0.0004 | f SlothMUD | Pattern: The teller tells you 'You have %1 coins in the bank.' : (%1=21665433)
0.0005 | c SlothMUD | exec : Pattern "BANK1" : #VAR Bank %1
0.0000 | n SlothMUD | Exec Trigger "BANK1"
0.0003 | f SlothMUD | Pattern: %1 tells you ' : (%1="The teller")
0.0002 | c SlothMUD | exec : Pattern "%1 tells you '" : #CAP ComWin #WIN ComWin {%lf}
0.0001 | n SlothMUD | Exec Trigger "%1 tells you '"
0.0004 | a ComWin |<RDesc><RDesc>The teller tells you 'You have 21665433 coins in the bank.'
0.0003 | h ComWin |<RDesc><RDesc>The teller tells you <ESC>[0m'Y<ESC>[0mou have 21665433 coins in the bank.'
0.0004 | f ComWin | Pattern: The teller tells you 'You have %1 coins in the bank.' : (%1=21665433)
0.0005 | c ComWin | exec : Pattern "BANK1" : #VAR Bank %1
0.0000 | n ComWin | Exec Trigger "BANK1"
0.0026 | a ComWin |
0.0046 | a SlothMUD |
0.0006 | a SlothMUD |<504hp 312ma 255mv><-6.2ac 37195962xp 101666gp><-2><1>
0.0009 | h SlothMUD |<ESC>[37m<<ESC>[32m504<ESC>[37mhp <ESC>[32m312<ESC>[37mma <ESC>[32m255<ESC>[37mmv><-6.2ac 37195962xp 101666gp><-2><1><ESC>[0m
-28.2314 | f SlothMUD | Pattern: <%1hp %2ma %3mv><%4ac %5xp %6gp><%7><%8> : (%1=504, %2=312, %3=255, %4="-6.2", %5=37195962, %6=101666, %7=-2, %8=1)
-29.1158 | c SlothMUD | exec : Pattern "prompt2" : ;#SA firing prompt2 script #VAR rtHP ...
0.0001 | n SlothMUD | Exec Trigger "prompt2"
0.0000 | 28.488 | 0.0406 |
|
The Main Window (SLOTHMUD) shows:
Code: |
<504hp 312ma 255mv><-6.2ac 37195962xp 101666gp><-2><1>
l
The Bank
The floor of this bank is covered in a rich, red carpet. The walls
have been painted a pale white and present a somber mood. Several lanterns
have been placed strategically around the room to provide ample light in
every corner. A number of benches have been placed here for people to sit.
A teller stands behind a window in the back wall that has gold bars running
vertically within it.
Exits: South
A plaque is set in the wall here at eye level.
Bal Harbor's only banker stands here, ready to take your gold.
<504hp 312ma 255mv><-6.2ac 37195962xp 101666gp><-2><1>
bal
The teller tells you 'You have 21665433 coins in the bank.'
<504hp 312ma 255mv><-6.2ac 37195962xp 101666gp><-2><1>
|
The communications window COMWIN shows:
Code: |
<RDesc><RDesc>The teller tells you 'You have 21665433 coins in the bank.'
|
Please let me know if I am missing something. Thanks for taking your time time review all this. |
|
_________________ Celerra7
CMUD Pro v3.34, Win7
slothmud.org:6101 |
|
|
![](templates/Classic/images/spacer.gif) |
Celerra7 Novice
Joined: 28 Jan 2010 Posts: 34
|
Posted: Mon Jul 25, 2011 12:54 pm |
Any thoughts on this? Thanks for your time.
|
|
_________________ Celerra7
CMUD Pro v3.34, Win7
slothmud.org:6101 |
|
|
![](templates/Classic/images/spacer.gif) |
Fizgar Magician
Joined: 07 Feb 2002 Posts: 333 Location: Central Virginia
|
Posted: Mon Jul 25, 2011 8:52 pm |
I'm not using Pro, but if I had to guess, and this is purely a guess, I'd say this is a case of corrupted settings. I play on sloth some times and my captures work fine. Your trigger works fine in my current session. I suggest exporting your package in .xml format, then starting a new session importing the .xml and see if that fixes the behavior.
|
|
_________________ Windows Vista Home Premium SP2 32-bit
AMD Athlon Dual Core 4400+ 2.31 GHz
3 GB RAM
CMUD 3.34 |
|
|
![](templates/Classic/images/spacer.gif) |
Celerra7 Novice
Joined: 28 Jan 2010 Posts: 34
|
Posted: Tue Jul 26, 2011 12:49 pm |
I will certainly try that (doh, should have thought of that before - thanks). The crazy thing is, it will start out for about 5-10 minutes of normal captures and transfers to comwin, but it's like a buffer overflows or something - it just starts sending extraneous tags to the comwin, even though the main session window has everything displayed correctly. Once it starts with the extra tags, it never recovers. All tells, says, gossips, etc. have the extra tags in them, thus making the output difficult to read in the comwin.
I will repost results of just the "tell" capture script imported into a new session. |
|
_________________ Celerra7
CMUD Pro v3.34, Win7
slothmud.org:6101 |
|
|
![](templates/Classic/images/spacer.gif) |
|
|