Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD Beta Forum
Dwoggurd
Wanderer


Joined: 29 Jan 2008
Posts: 63

PostPosted: Sun Jul 19, 2009 4:16 am   

[3.09]HTML logging bugs
 
This is a continuation of this topic: [2.37] HTML logging broken? Still buggy in [3.09]
Most of problems are fixed in 3.09.

But I still notice some bugs with html logging.

Steps to reproduce:

Triggers.
The difference is that "aaa" variant uses standard colors and "bbb" uses custom colors.
Code:

<trigger priority="190" case="true" regex="true" id="19">
  <pattern>===(aaa)===</pattern>
  <value>#CW green
#PCOL red %x1</value>
</trigger>

<trigger priority="200" case="true" regex="true" id="20">
  <pattern>===(bbb)===</pattern>
  <value>#CW #448877
#PCOL #887766 %x1</value>
</trigger>


Alias to invoke:
Code:
<alias name="go" id="10">
  <value>#clr
#show ===aaa===OOO
#show ===bbb===OOO
</value>
</alias>


On the screen everything looks fine
But in a log file "bbb" variant has unclosed tags and is formed in a wierd way (nested tags).

HTML log:
Code:

<span style="color:#00B300;">===</span><span style="color:#800000;">aaa</span><span style="color:#00B300;">===</span>OOO<br/>
<span style="color:#448877;">===<span style="color:#887766;">bbb<span style="color:#448877;">===</span></span>OOO<br/>
Reply with quote
Tech
GURU


Joined: 18 Oct 2000
Posts: 2733
Location: Atlanta, USA

PostPosted: Sun Jul 19, 2009 9:33 pm   
 
Confirmed.
_________________
Asati di tempari!
Reply with quote
Dwoggurd
Wanderer


Joined: 29 Jan 2008
Posts: 63

PostPosted: Sun Jul 19, 2009 10:21 pm   
 
Another bug (or a feature).

User commands are logged with doubled tags.

Steps to reproduce:
Set command color to khaki. Type in any command, for example, "command". Save the buffer to an html log.

Log:
Code:
<span style="color:#F0E68C;"><span style="color:khaki;">command</span></span><br/>


I believe #F0E68C = khaki.
Reply with quote
Zugg
MASTER


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

PostPosted: Mon Jul 20, 2009 5:15 pm   
 
Normally, please create separate topic posts for separate bugs. Otherwise it's hard to track them and it's easy for something to get missed. In this case I have put both issues into the bug database.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD Beta Forum All times are GMT
Page 1 of 1

 
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