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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
Troublemag
Wanderer


Joined: 14 Jul 2004
Posts: 83

PostPosted: Sun Jul 06, 2008 6:54 am   

[2.30 Pro] Log icon not showing
 
I have triggers that automatically open a log when I enter into an RP and close it when I lower the RP flag. I get the informational message that the log is being opened or appended to, but the icon in the lower right of the window no longer appears. Is this a bug or working as intended?
_________________
CMUDPro 3.22
Reply with quote
Zugg
MASTER


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

PostPosted: Mon Jul 07, 2008 7:57 pm   
 
No, that sounds like a bug. But when I did this:

#LOG test.txt

the icon appeared properly. So I'm not sure how to reproduce this problem.
Reply with quote
Troublemag
Wanderer


Joined: 14 Jul 2004
Posts: 83

PostPosted: Tue Jul 08, 2008 4:46 am   
 
The command used to open the log is
Code:
#LOG c:/logs/@charname/%time( mmddyyyy).txt
and when it's closed it's done by
Code:
#file {menu|close log}


If I type ctrl/l to open a log, I do get the icon, but I do not get it when the trigger fires.

The logs are working correctly, but there's no icon.
_________________
CMUDPro 3.22
Reply with quote
Zugg
MASTER


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

PostPosted: Tue Jul 08, 2008 4:56 pm   
 
What is the exact trigger being used. When I typed:
Code:
#LOG c:/logs/@charname/%time( mmddyyyy).txt

into my normal MUD session, the icon was displayed normally. The only bug I can find is that when logging is turned off, the icon remains on the command line without the red X through it.
Reply with quote
Troublemag
Wanderer


Joined: 14 Jul 2004
Posts: 83

PostPosted: Tue Jul 08, 2008 11:48 pm   
 
These are the 2 triggers involved.
Code:
<?xml version="1.0" encoding="ISO-8859-1" ?>
<cmud>
  <trigger priority="860">
    <pattern>RP flag has been turned on.$</pattern>
    <value>#LOG c:/logs/@charname/%time( mmddyyyy).txt
#T- {score|Affects}</value>
  </trigger>
  <trigger priority="1210">
    <pattern>RP Flag has been turned off.</pattern>
    <value>#MENU {file|Close Log}
#T+ {score|Affects}
aff</value>
  </trigger>
</cmud>
_________________
CMUDPro 3.22
Reply with quote
Zugg
MASTER


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

PostPosted: Wed Jul 09, 2008 4:37 pm   
 
OK, I reproduced this using your triggers. It seems that #LOG works fine with the icon from the command line, but not from a trigger. Not sure why, but it's on the bug list.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD 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