|
Corleidum Novice
Joined: 30 Apr 2003 Posts: 43 Location: Sweden
|
Posted: Mon May 12, 2003 7:01 pm
ANSIcolor to RGB (HTML) |
Hello, I use zmud to log my stuff in Ansi color and I would like to show my friends those logs. How do I convert them to HTLM files?
P. AC. |
|
|
|
Vijilante SubAdmin
Joined: 18 Nov 2001 Posts: 5182
|
|
|
|
Corleidum Novice
Joined: 30 Apr 2003 Posts: 43 Location: Sweden
|
Posted: Tue May 13, 2003 10:08 am |
thank you but it did not work....
it did it to html but this is how it looked:
SPAN STYLE='text-decoration=blink;'- Alathorn enters.
(HP:159 EP:34)
SPAN STYLE='visibility:hidden;'You can't go that way!
(HP:159 EP:34)
e
e
The main street (w and e)
A trash can
- Alathorn enters.
- Kalathen enters.
(HP:159 EP:34)
e
The main street (w, n, sw, e and s)
- Alathorn enters.
- Kalathen enters.
You hear a footstep nearby. Assassin!! Watch out!
(HP:159 EP:34)
s
The eastern wall (w, n and s)
- Alathorn enters.
- Kalathen enters.
You hear a footstep nearby. Assassin!! Watch out!
(HP:159 EP:34)
s
SPAN STYLE='color:#000000;'s/SPANSPAN STYLE='color:#000000;'
/SPANSPAN STYLE='color:#880000;'A side street /SPANSPAN STYLE='color:#880000;'(/SPANSPAN STYLE='color:#880000;'n and s/SPANSPAN STYLE='color:#880000;')/SPANSPAN STYLE='color:#880000;'
- Alathorn enters.
/SPANSPAN STYLE='color:#888800;'/SPANSPAN STYLE='color:#888800;'- /SPANSPAN STYLE='color:#888800;'/SPANSPAN STYLE='color:#888800;'Kalathen enters./SPANSPAN STYLE='color:#888800;'
/SPANSPAN STYLE='color:#000088;'(/SPANSPAN STYLE='color:#000088;'HP:/SPANSPAN STYLE='color:#000088;'160 /SPANSPAN STYLE='color:#000088;'/SPANSPAN STYLE='color:#000088;'EP:/SPANSPAN STYLE='color:#000088;'/SPANSPAN STYLE='color:#000088;'35/SPANSPAN STYLE='color:#000088;')/SPANSPAN STYLE='color:#000088;'
/SPANSPAN STYLE='color:#008888;'A side street /SPANSPAN STYLE='color:#008888;'(/SPANSPAN STYLE='color:#008888;'w, n and s/SPANSPAN STYLE='color:#008888;')/SPANSPAN STYLE='color:#008888;'
/SPANSPAN STYLE='color:#C0C0C0;'/SPANSPAN STYLE='color:#C0C0C0;'- /SPANSPAN STYLE='color:#C0C0C0;'/SPANSPAN STYLE='color:#C0C0C0;'Alathorn enters./SPANSPAN STYLE='color:#C0C0C0;'
- Kalathen enters.
(HP:160 EP:35)
SPAN STYLE='background-color:#880000;'A side street (w, n and s)
/SPANSPAN STYLE='background-color:#008800;'- Alathorn enters.
/SPANSPAN STYLE='background-color:#888800;'- Kalathen enters.
/SPANSPAN STYLE='background-color:#000088;'(HP:160 EP:35)
Anonymous figure attacks Alathorn.
/SPANSPAN STYLE='background-color:#C0C0C0;'Party say from Alathorn: ränta???
Alathorn misses someone.
Alathorn misses someone.
You shield Alathorn, and Anonymous figure /SPAN/SPANSPAN STYLE='background-color:C0C0C0;'SPAN STYLE='color:#FFFFFF;'/SPANSPAN STYLE='color:#888888;'hits/SPANSPAN STYLE='color:#888888;' you /SPANSPAN STYLE='color:#888888;'very hard./SPANSPAN STYLE='color:#888888;'
Anonymous figure /SPANSPAN STYLE='color:#FF0000;'buries the sword into/SPANSPAN STYLE='color:#FF0000;' Alathorn/SPANSPAN STYLE='color:#FF0000;' with /SPANSPAN STYLE='color:#FF0000;'/SPANSPAN STYLE='color:#FF0000;'deadly/SPANSPAN STYLE='color:#FF0000;'/SPANSPAN STYLE='color:#FF0000;' /SPANSPAN STYLE='color:#FF0000;'/SPANSPAN STYLE='color:#FF0000;'precision./SPANSPAN STYLE='color:#FF0000;'
n
/SPANSPAN STYLE='color:#FFFF00;'n/SPANSPAN STYLE='color:#FFFF00;'
Alathorn /SPANSPAN STYLE='color:#0000FF;'leaves a /SPANSPAN STYLE='color:#0000FF;'/SPANSPAN STYLE='color:#0000FF;'gaping/SPANSPAN STYLE='color:#0000FF;'/SPANSPAN STYLE='color:#0000FF;' slash across/SPANSPAN STYLE='color:#0000FF;' someone's /SPANSPAN STYLE='color:#0000FF;'body/SPANSPAN STYLE='color:#0000FF;'!
/SPANSPAN STYLE='color:#FF00FF;'The /SPANSPAN STYLE='color:#FF00FF;'/SPANSPAN STYLE='color:#FF00FF;'runes/SPANSPAN STYLE='color:#FF00FF;'/SPANSPAN STYLE='color:#FF00FF;' glow dimly as the blade slices /SPANSPAN STYLE='color:#FF00FF;'anonymous figure /SPANSPAN STYLE='color:#FF00FF;'to the /SPANSPAN STYLE='color:#FF00FF;'/SPANSPAN STYLE='color:#FF00FF;'bone!/SPANSPAN STYLE='color:#FF00FF;'
You shield Alathorn, and Anonymous figure /SPANSPAN STYLE='color:#00FFFF;'scratches/SPANSPAN STYLE='color:#00FFFF;' you.
Anonymous figure /SPANSPAN STYLE='color:#FFFFFF;'/SPANSPAN STYLE='color:#FFFFFF;'cuts into/SPANSPAN STYLE='color:#FFFFFF;' Alathorn, /SPANSPAN STYLE='color:#FFFFFF;'/SPANSPAN STYLE='color:#FFFFFF;'leaving a bloody gash./SPANSPAN STYLE='color:#FFFFFF;'
n
P. AC. |
|
|
|
Kjata GURU
Joined: 10 Oct 2000 Posts: 4379 Location: USA
|
Posted: Tue May 13, 2003 2:40 pm |
Disable the use <> for expansion option in the Preferences.
Also, my script was just a temporary solution until someone made a plugin or external program to do it. You should try searching for Charbal's plugin as zScript is just too slow to do the convertions in a reasonable amount of time.
Kjata |
|
|
|
Charbal GURU
Joined: 15 Jun 2001 Posts: 654 Location: USA
|
Posted: Tue May 13, 2003 5:01 pm |
From my announcement post...
quote: I've just finished a plugin that integrates with zMUD and enables both logging to HTML on-the-fly and converting existing logs like ANSI2HTML does. It supports all the attributes I've listed and has a configuration screen quite similar to the zMUD color settings (complete with color pickers so you don't have to know the RGB values). I've also taken a hex editor to zMUD's .col files so the plugin can load them directly and a user can avoid having to pick out their colors twice (once for zMUD, once for the plugin).
...
It defaults to using an embedded style sheet but you can change the options to so it links instead.
...
It's a COM-based plugin so it only works on zMUD 6.x. A run down of its commands:
#HTMLLOG outputfilename [ "Title to use on the webpage outputted" ] [ new ]
The functionality is basically identical to #LOG but with the title (which is optional) added in. Also, #HTMLLOG without parameters will turn off the log but won't turn it back on.
#HTMLSETUP
Displays the configuration screen. This is where you change all the settings.
#HTMLCONVERTLOG inputfilename outputfilename [ "Title to use" ]
Converts an ANSI color log to HTML. The title is optional.
You can basically access all these commands through the menu anyway so you don't really need to know them.
To get color settings set up properly, go to View, Preferences, Colors and then click Save Colors. Once it's saved, close out of the dialog and go to Plugins, HTML Logger, Setup... Here, click the "Load zMUD .col file..." button and select the file you just saved.
Erm, I suppose I should tell you where you can get it.
If you find a bug/have a question/whatever, feel free to tell/ask/whatever.
- Charbal
- Charbal |
|
|
|
|
|
|
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
|
|