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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
Guinn
Wizard


Joined: 03 Mar 2001
Posts: 1127
Location: London

PostPosted: Sat Aug 06, 2005 9:53 pm   

#CW using the wrong colour
 
I have a number of things coloured in the game I play. One of them is player names, coloured yellow(ish), using a trigger on {@whoList} to #CW $C08040.

Most of the time this works, but occasionally a player name will be coloured green, #CW $008000 (incidentally the colour I use for industries). I've exported all the settings to a text file and searched for every instance of #CW, and none colour a player name apart from the @whoList trigger. I've also checked through all the variables to be sure that none of the player names exist elsewhere that might be coloured.

Has anyone else seen this behaviour, or might know how to cure it? I've got the same mud file running for a number of characters and on two PCs, and they all seem to be doing the same. It's maybe 5% that gets coloured incorrectly, but it's a bit annoying, and very puzzling.

Edit: The same players are not always coloured incorrectly every time, even during the same session. So Guinn might be yellow 5 times, then green, then yellow again.

Guinn
Reply with quote
nexela
Wizard


Joined: 15 Jan 2002
Posts: 1644
Location: USA

PostPosted: Sat Aug 06, 2005 11:01 pm   
 
Could the string Guinn be found inside one of the patterns for the industries?
_________________
Zmud Support Library
Zmud Knowledge Base
Reply with quote
Guinn
Wizard


Joined: 03 Mar 2001
Posts: 1127
Location: London

PostPosted: Sat Aug 06, 2005 11:44 pm   
 
Thanks, but no luck, I'd checked that. The values appear only once, inside @whoList.
_________________
CMUD Pro, Windows Vista x64
Core2 Q6600, 4GB RAM, GeForce 8800GT
Because you need it for text... ;)
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Sun Aug 07, 2005 2:02 am   
 
Sometimes it's not the actual value, but the trigger pattern used. In addition, it could also be an issue of two triggers firing on the same line; since all active triggers are compared to the output to test for matches, it's possible that two or more are firing and occasionally one will finish the other while mostly it's vice versa.
_________________
EDIT: I didn't like my old signature
Reply with quote
Guinn
Wizard


Joined: 03 Mar 2001
Posts: 1127
Location: London

PostPosted: Sun Aug 07, 2005 8:33 am   
 
I can't see where that'd be though, there's only one trigger throughout my settings that colours words the colour that's firing. No #PCOL or anything either.

Code:
#REGEX {\b(?:@whoList)\b} {#CW $C08040}
#REGEX {\b(?:@industries)\b} {#CW $008000}
#VAR whoList {Rit|Azar|Trind|Hrothgar|Aughum|Rigby|Pewter|Dakif|Volcom|Rainbow|Vallerie|Boruk|Malik|Juuhachi|Leonassan|Mutikab|Zalream|Morgak|Dinesen|Helena} {}
#VAR industries {bakers|bank|brewery|butchers|carpenters|charcoal burner|construction warehouse|fishmongers|furriers|glass blowers|greengrocers|greenhouse|guardtower|leatherworkers|library|mint|materials warehouse|meat warehouse|metals warehouse|metalsmiths|mine|ore refinery|plot|produce warehouse|quarry|sawmill|sugar refinery|spinning mill|water tank|weaving mill|well|windmill|yeast tank}
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion 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