 |
Troublemag Wanderer
Joined: 14 Jul 2004 Posts: 83
|
Posted: 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 |
|
|
 |
Zugg MASTER

Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: 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. |
|
|
 |
Troublemag Wanderer
Joined: 14 Jul 2004 Posts: 83
|
Posted: 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 |
|
|
 |
Zugg MASTER

Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: 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. |
|
|
 |
Troublemag Wanderer
Joined: 14 Jul 2004 Posts: 83
|
Posted: 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 |
|
|
 |
Zugg MASTER

Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: 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.
|
|
|
 |
|
|