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
Guinn
Wizard


Joined: 03 Mar 2001
Posts: 1127
Location: London

PostPosted: Fri Dec 07, 2007 7:36 pm   

[2.16] #CW inefficiencies?
 
I noticed in the script debugger I'm getting a lot of spam from one trigger
#TR {{@whoList}} {#CW gold}
where whoList is a stringlist containing 1-30 or so names of people online.

In the script debugger I see the following a lot
Code:

0.2861 | a  ElysiumL |                        +Anolina                       
0.0008 | f  ElysiumL |  Pattern: ^     %s+(%w)%s$ : (%1="Anolina")
0.0011 | c  ElysiumL |  exec : Pattern "^     %s+(%w)%s$" : #ADDITEM whoNew %1 #GAG
0.0024 | f  ElysiumL |  Pattern: %q{@whoList}%q : (%1="Anolina")
0.0011 | c  ElysiumL |  exec : Pattern "%q{@whoList}%q" : #CW gold
0.0007 | g  ElysiumL =                        +Anolina                       
0.0016 | g  ElysiumL |-> Line 289 gagged
0.0007 | a  ElysiumL |                        +Morairus                       
0.0007 | f  ElysiumL |  Pattern: ^     %s+(%w)%s$ : (%1="Morairus")
0.0022 | c  ElysiumL |  exec : Pattern "^     %s+(%w)%s$" : #ADDITEM whoNew %1 #GAG
0.0008 | f  ElysiumL |  Pattern: %q{@whoList}%q : (%1="Morairus")
0.0011 | c  ElysiumL |  exec : Pattern "%q{@whoList}%q" : #CW gold
0.0006 | g  ElysiumL =                        +Morairus                      
0.0064 | g  ElysiumL |-> Line 289 gagged
0.0133 | a  ElysiumL |                        +Rajier                 
0.0119 | f  ElysiumL |  Pattern: ^     %s+(%w)%s$ : (%1="Rajier")
0.0062 | c  ElysiumL |  exec : Pattern "^     %s+(%w)%s$" : #ADDITEM whoNew %1 #GAG
0.0031 | f  ElysiumL |  Pattern: %q{@whoList}%q : (%1="Rajier")
0.0043 | c  ElysiumL |  exec : Pattern "%q{@whoList}%q" : #CW gold
0.0051 | g  ElysiumL =                        +Rajier                
0.0060 | g  ElysiumL |-> Line 289 gagged
0.0038 | a  ElysiumL |                        +Helena                 
0.0152 | f  ElysiumL |  Pattern: ^     %s+(%w)%s$ : (%1="Helena")
0.0070 | c  ElysiumL |  exec : Pattern "^     %s+(%w)%s$" : #ADDITEM whoNew %1 #GAG
0.0034 | f  ElysiumL |  Pattern: %q{@whoList}%q : (%1="Helena")
0.0047 | c  ElysiumL |  exec : Pattern "%q{@whoList}%q" : #CW gold
0.0045 | g  ElysiumL =                        +Helena                
0.0062 | g  ElysiumL |-> Line 289 gagged
0.0139 | a  ElysiumL |                        +Yrtalien                       
0.0083 | f  ElysiumL |  Pattern: ^     %s+(%w)%s$ : (%1="Yrtalien")
0.0389 | c  ElysiumL |  exec : Pattern "^     %s+(%w)%s$" : #ADDITEM whoNew %1 #GAG
0.0032 | f  ElysiumL |  Pattern: %q{@whoList}%q : (%1="Yrtalien")
0.0069 | c  ElysiumL |  exec : Pattern "%q{@whoList}%q" : #CW gold
0.0030 | g  ElysiumL =                        +Yrtalien                      
0.0064 | g  ElysiumL |-> Line 289 gagged
0.0044 | a  ElysiumL |                        +Kaazal                 
0.0166 | f  ElysiumL |  Pattern: ^     %s+(%w)%s$ : (%1="Kaazal")
0.0046 | c  ElysiumL |  exec : Pattern "^     %s+(%w)%s$" : #ADDITEM whoNew %1 #GAG
0.0048 | f  ElysiumL |  Pattern: %q{@whoList}%q : (%1="Kaazal")
0.0033 | c  ElysiumL |  exec : Pattern "%q{@whoList}%q" : #CW gold
0.0056 | g  ElysiumL =                        +Kaazal                
0.0054 | g  ElysiumL |-> Line 289 gagged
0.0053 | a  ElysiumL |                        +Sirine                 
0.0147 | f  ElysiumL |  Pattern: ^     %s+(%w)%s$ : (%1="Sirine")
0.0040 | c  ElysiumL |  exec : Pattern "^     %s+(%w)%s$" : #ADDITEM whoNew %1 #GAG
0.0067 | f  ElysiumL |  Pattern: %q{@whoList}%q : (%1="Sirine")
0.0033 | c  ElysiumL |  exec : Pattern "%q{@whoList}%q" : #CW gold
0.0048 | g  ElysiumL =                        +Sirine                
0.0064 | g  ElysiumL |-> Line 289 gagged


Seems like a lot of color codes for a single word...
_________________
CMUD Pro, Windows Vista x64
Core2 Q6600, 4GB RAM, GeForce 8800GT
Because you need it for text... ;)
Reply with quote
Zugg
MASTER


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

PostPosted: Tue Dec 11, 2007 5:58 pm   
 
Actually, it's just a problem in the routine that tries to reconstruct the original ANSI text. In order to handle Styles (which are not part of the original ANSI text), CMUD uses it's own internal ESC [ nnn S syntax to reference style #nnn. The routine used to display the ANSI codes in the debugger isn't working correctly and is causing all of these extra style references.

But this is only a problem for the debugger (and potentially ANSI color triggers). It's not actually storing all of that extra data or anything like that.

Anyway, this issue has been added to the bug list.
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