Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Due to spam on this forum, all posts now need moderator approval.
Entire forum
➜ MUSHclient
➜ General
➜ Highlighted strings not saving in log file
Highlighted strings not saving in log file
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| forral
USA (79 posts) Bio
|
Date
| Tue 12 Oct 2010 01:13 AM (UTC) |
Message
| Hi all,
I've been happily logging in full color for a while now, and recently got into PVP so I've gone through to highlight the various strings for damage done to me/the other player, and spells that land/wear off, etc.
My only problem is they highlight just fine in my output (Usually I have inverted green for land, inverted red for miss) but when I go to read my log file the lines are left blank.
I can upload the .html log file if anyone needs a working example.
Thanks!
Forral | Top |
|
Posted by
| Nick Gammon
Australia (23,133 posts) Bio
Forum Administrator |
Date
| Reply #1 on Tue 12 Oct 2010 01:50 AM (UTC) |
Message
| Can you just paste a snippet here? Like, a line which should be highlighted? When you say "blank" do you mean something that should be, say, red on white is all red? Or all white? Or not shown at all? |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| forral
USA (79 posts) Bio
|
Date
| Reply #2 on Tue 12 Oct 2010 01:55 AM (UTC) |
Message
|
Nick Gammon said:
Can you just paste a snippet here? Like, a line which should be highlighted? When you say "blank" do you mean something that should be, say, red on white is all red? Or all white? Or not shown at all?
For instance, a line like: You feel relieved as the poison is burned from your body.
That should be a green background, black text. By "blank" I mean it is not shown at all in the log file. I have a command to send to output "no longer poisoned!" and that shows fine in the log file, just not that actual highlighted string. | Top |
|
Posted by
| Nick Gammon
Australia (23,133 posts) Bio
Forum Administrator |
Date
| Reply #3 on Tue 12 Oct 2010 01:58 AM (UTC) |
Message
| Can you show us the trigger that detects "You feel relieved as the poison is burned from your body."?
 |
For advice on how to copy aliases, timers or triggers from within MUSHclient, and paste them into a forum message, please see Copying XML.
|
|
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| forral
USA (79 posts) Bio
|
Date
| Reply #4 on Tue 12 Oct 2010 02:18 AM (UTC) |
Message
|
Nick Gammon said:
Can you show us the trigger that detects "You feel relieved as the poison is burned from your body."?
(copying)
Here's a screenshot:
http://i54.tinypic.com/2i8em8w.jpg | Top |
|
Posted by
| Nick Gammon
Australia (23,133 posts) Bio
Forum Administrator |
Date
| Reply #5 on Tue 12 Oct 2010 02:29 AM (UTC) |
Message
| OK, now can you make a copy using the instructions in the link, so I can just paste it into a test copy and try it out? |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| forral
USA (79 posts) Bio
|
Date
| Reply #6 on Tue 12 Oct 2010 02:48 AM (UTC) |
Message
|
Nick Gammon said:
OK, now can you make a copy using the instructions in the link, so I can just paste it into a test copy and try it out?
<triggers>
<trigger
custom_colour="3"
enabled="y"
group="Combat"
match="You feel relieved as the poison is burned from your body."
send_to="2"
sequence="100"
>
<send>----- NO LONGER POISONED -----</send>
</trigger>
</triggers>
| Top |
|
Posted by
| Nick Gammon
Australia (23,133 posts) Bio
Forum Administrator |
Date
| Reply #7 on Tue 12 Oct 2010 03:03 AM (UTC) |
Message
| Well I tried your trigger with the test line and it logged OK - see this screenshot of my web browser opening the log file:

So I am guessing that you have another trigger that is omitting some lines from the log file. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| forral
USA (79 posts) Bio
|
Date
| Reply #8 on Tue 12 Oct 2010 03:56 AM (UTC) |
Message
|
Nick Gammon said:
Well I tried your trigger with the test line and it logged OK - see this screenshot of my web browser opening the log file:
(img=logging_issue_screenshot.png)
So I am guessing that you have another trigger that is omitting some lines from the log file.
Hmm, well I have two screenshots here; one is of my output and how its SUPPOSED to look, the other is of my log file (rather ugly, its not capturing colors like its supposed to but I prob messed up the preamble in the logging settings)
Screen output: http://i55.tinypic.com/11vpsv7.jpg
Log file: http://i54.tinypic.com/2qlu52g.jpg
See what the issue is I'm having? | Top |
|
Posted by
| Nick Gammon
Australia (23,133 posts) Bio
Forum Administrator |
Date
| Reply #9 on Tue 12 Oct 2010 04:33 AM (UTC) |
Message
| I see it, but as I said it is possible another trigger is stopping logging. Try turning on Game menu -> Trace and see if another trigger is firing.
Also, which version of MUSHclient are you using? |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| forral
USA (79 posts) Bio
|
Date
| Reply #10 on Wed 13 Oct 2010 12:47 AM (UTC) |
Message
|
Nick Gammon said:
I see it, but as I said it is possible another trigger is stopping logging. Try turning on Game menu -> Trace and see if another trigger is firing.
Also, which version of MUSHclient are you using?
I'm using the latest version, 4.64
Here is a small tidbit of my setting trace 'on'. It burned my eyes to keep up with all the text, but its still amazing to see just how many things go on behind the scenes.
[*][SAFE]<3087hp 2435sp 1626st>
TRACE: Trace on
TRACE: Matched trigger Other_Line
TRACE: Executing trigger script "Other_Line"
AUCTION: Existance bids 150,000 gp on a vertebrae from a dwarven battlerager.
TRACE: Matched trigger "^.+\<(?P<hp>[0-9]{1,4})hp (?P<sp>(?1))sp (?P<st>(?1))st\>"
TRACE: Matched trigger "^(?:.+|)\<(?P<hp>[0-9]{1,4})hp (?P<sp>(?1))sp (?P<st>(?1))st\>"
[*][SAFE]<3087hp 2435sp 1626st>
TRACE: Executing trigger script "do_prompt"
TRACE: Matched trigger "^AUCTION: (.*): going (?:once|twice) (?:\(no bid received yet\)|for .* gp to .*)\.$"
TRACE: Executing trigger script "item_comment"
AUCTION: A vertebrae from a dwarven battlerager: going once for 150,000 gp to Existance.
[CLAN] Sotano: '??Milk?? he got fged 7 times in a row'
TRACE: Matched trigger "^(.*?)[CLAN] (.*)$"
TRACE: Matched trigger Name_Line
TRACE: Executing trigger script "redirect"
TRACE: Executing trigger script "Name_Line"
TRACE: Matched trigger Other_Line
TRACE: Executing trigger script "Other_Line"
TRACE: Matched trigger "^.+\<(?P<hp>[0-9]{1,4})hp (?P<sp>(?1))sp (?P<st>(?1))st\>"
TRACE: Matched trigger "^(?:.+|)\<(?P<hp>[0-9]{1,4})hp (?P<sp>(?1))sp (?P<st>(?1))st\>"
TRACE: Matched trigger Other_Line
[*][SAFE]<3087hp 2455sp 1730st> [ 0 * 20 * 104 ]
TRACE: Executing trigger script "do_prompt"
TRACE: Executing trigger script "Other_Line"
[CLAN] Calastion: 'Chris omg'
TRACE: Matched trigger "^(.*?)[CLAN] (.*)$"
TRACE: Matched trigger Other_Line
TRACE: Executing trigger script "redirect"
TRACE: Executing trigger script "Other_Line"
TRACE: Matched trigger "^.+\<(?P<hp>[0-9]{1,4})hp (?P<sp>(?1))sp (?P<st>(?1))st\>"
TRACE: Matched trigger "^(?:.+|)\<(?P<hp>[0-9]{1,4})hp (?P<sp>(?1))sp (?P<st>(?1))st\>"
[*][SAFE]<3087hp 2455sp 1730st>
TRACE: Executing trigger script "do_prompt"
[CLAN] Example: ''E'x'O by what/azzy?'
TRACE: Matched trigger "^(.*?)[CLAN] (.*)$"
TRACE: Matched trigger Name_Line
TRACE: Executing trigger script "redirect"
TRACE: Executing trigger script "Name_Line"
TRACE: Matched trigger Other_Line
TRACE: Executing trigger script "Other_Line"
TRACE: Matched trigger "^.+\<(?P<hp>[0-9]{1,4})hp (?P<sp>(?1))sp (?P<st>(?1))st\>"
TRACE: Matched trigger "^(?:.+|)\<(?P<hp>[0-9]{1,4})hp (?P<sp>(?1))sp (?P<st>(?1))st\>"
TRACE: Matched trigger Other_Line
[*][SAFE]<3087hp 2455sp 1730st>
TRACE: Executing trigger script "do_prompt"
TRACE: Executing trigger script "Other_Line"
[CLAN] Sotano: '??Milk?? he lost his eye of trigael'
TRACE: Matched trigger "^(.*?)[CLAN] (.*)$"
TRACE: Matched trigger Other_Line
TRACE: Executing trigger script "redirect"
TRACE: Executing trigger script "Other_Line"
TRACE: Matched trigger "^.+\<(?P<hp>[0-9]{1,4})hp (?P<sp>(?1))sp (?P<st>(?1))st\>"
TRACE: Matched trigger "^(?:.+|)\<(?P<hp>[0-9]{1,4})hp (?P<sp>(?1))sp (?P<st>(?1))st\>"
[*][SAFE]<3087hp 2500sp 1730st>
TRACE: Executing trigger script "do_prompt"
TRACE: Trace off
Had to cut it short due to the 6000 character post limit. | Top |
|
Posted by
| Nick Gammon
Australia (23,133 posts) Bio
Forum Administrator |
Date
| Reply #11 on Wed 13 Oct 2010 01:49 AM (UTC) |
Message
| I don't see anything about "You feel relieved as the poison is burned from your body.".
You need to do it (disable the mapper to reduce output) and get that line to appear (or one of the other problem ones) so we can see if another trigger is firing.
Just a few lines around that spot, we don't need thousands of them. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| forral
USA (79 posts) Bio
|
Date
| Reply #12 on Wed 13 Oct 2010 02:45 AM (UTC) |
Message
|
Nick Gammon said:
I don't see anything about "You feel relieved as the poison is burned from your body.".
You need to do it (disable the mapper to reduce output) and get that line to appear (or one of the other problem ones) so we can see if another trigger is firing.
Just a few lines around that spot, we don't need thousands of them.
Here ya go:
TRACE: Matched trigger "^.+\<(?P<hp>[0-9]{1,4})hp (?P<sp>(?1))sp (?P<st>(?1))st\>"
TRACE: Matched trigger "^(?:.+|)\<(?P<hp>[0-9]{1,4})hp (?P<sp>(?1))sp (?P<st>(?1))st\>"
[AWAY][*]<2778hp 2351sp 1711st>
TRACE: Executing trigger script "do_prompt"
You have completed your casting.
A pinch of sulfur flares brightly and vanishes!
Exhopec is outlined by a faint pink glow.
TRACE: Matched trigger "* is outlined by a faint pink glow."
----- Exhopec IS FAERIE FIRED'D -----
Your spellcasting charges the glowing tourmaline gloves of well-being up to 30 units!
Exhopec nimbly backflips out of the way of your first attack.
Exhopec is cut on the leg with your slash causing moderate damage.
TRACE: Matched trigger "* is * on the * with your * causing *."
Exhopec is cut on the wing with your slash causing middling damage.
TRACE: Matched trigger "* is * on the * with your * causing *."
Exhopec is cut on the arm with your slash causing moderate damage.
TRACE: Matched trigger "* is * on the * with your * causing *."
Exhopec fails to hit you with his first attack.
Exhopec fails to hit you with his second attack.
Exhopec fails to hit you with his third attack.
You dodge out of the way of Exhopec's fourth attack.
Exhopec looks pretty beaten up.
TRACE: Matched trigger "^(?P<enemy_name>.+) looks pretty beaten up\.$"
TRACE: Executing trigger script "enemy50"
TRACE: Matched trigger "^.+\<(?P<hp>[0-9]{1,4})hp (?P<sp>(?1))sp (?P<st>(?1))st\>"
TRACE: Matched trigger "^(?:.+|)\<(?P<hp>[0-9]{1,4})hp (?P<sp>(?1))sp (?P<st>(?1))st\>"
[AWAY][*]<2778hp 2331sp 1704st> [ 0 * -20 * -7 ]
TRACE: Executing trigger script "do_prompt"
TRACE: Matched alias "fn"
flee north
You panic, and attempt to flee.
TRACE: Matched trigger "^.+\<(?P<hp>[0-9]{1,4})hp (?P<sp>(?1))sp (?P<st>(?1))st\>"
TRACE: Matched trigger "^(?:.+|)\<(?P<hp>[0-9]{1,4})hp (?P<sp>(?1))sp (?P<st>(?1))st\>"
[AWAY][*]<2778hp 2331sp 1703st>
TRACE: Executing trigger script "do_prompt"
TRACE: Trace off
In this case, the higlighted section is the string: * is outlined by a faint pink glow. | Top |
|
Posted by
| forral
USA (79 posts) Bio
|
Date
| Reply #13 on Wed 13 Oct 2010 02:48 AM (UTC) |
Message
| Err, I quickly saved my log file after fixing my preamble and I think I might have figured it out?
For some reason, the text is THERE but the colors are incorrectly inverted. The text is black, and the background is also black so it makes it seem as if it is omitted from output/log file (neither of which options is selected), so it seems to be a color issue then. | Top |
|
Posted by
| Nick Gammon
Australia (23,133 posts) Bio
Forum Administrator |
Date
| Reply #14 on Wed 13 Oct 2010 05:14 AM (UTC) |
Message
| Your screenshot above of the HTML log however does not show any blank lines. Also when I tested it with green on black, with logging, it logged OK. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
35,475 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top