Reply to this subject
Start a new subject
 
Refresh page
| Posted by |
TDM
(1 post) bio
|
| Date |
Tue 18 May 2004 04:54 PM (UTC) [ quote
] |
| Message |
After getting MXP to successfuly install on my windows version of ROM (compiled in MSVC6) It works as it should for everyone, the only problem I have is when a player is being snooped the diffrent symbols aren't displayed properly. The <, >, and & Show up as <, >, &
And the mxp tags are fully shown instead of being hidden and ignored.
Any ideas, or pointers as to what and where I would need to tweak these? | top |
|
| Posted by |
Nick Gammon
Australia (18,769 posts) bio
Forum Administrator |
| Date |
Reply #1 on Tue 18 May 2004 09:42 PM (UTC) [ quote
] |
| Message |
Sounds like they are being converted twice.
Judging by the SMAUG source, which is probably similar in the output area, the snooping is done at the "flush_buffer" stage, which is *after* < becomes <.
This makes things a bit messy because you have four possibilities here:
- Neither of you are using MXP
- The snoopee is using MXP but not the snooper
- The snooper is using MXP but not the snoopee
- You are both using MXP
I think in the last case you would see tags converted twice, (eg. < becomes < ) and in the first case it wouldn't matter.
I think the solution is to move the snoop code from flush_buffer, to write_to_buffer.
That way the decision about how to process MXP tags is done for the target of the write, and not done twice. |
- 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.
1,129 views.
Reply to this subject
Start a new subject
 
Refresh page
top
Comments to:
Gammon Software support
Forum RSS feed ( http://www.gammon.com.au/rss/forum.xml )