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 Goto page 1, 2, 3  Next
nutsnbolts
Apprentice


Joined: 01 May 2002
Posts: 188
Location: USA

PostPosted: Wed Jun 26, 2002 5:56 pm   

Converting ANSI to HTML?
 
Does Zugg have any future plans in incorporating the ability to convert ANSI files into HTML file?

There is an option to capture all ansi coding but once I have it, how do I make it so that I can show it to the world on a webpage (with colors).

Is there any special software out there?

Thank you for everything, it's always appreciated.
Reply with quote
Tarn
GURU


Joined: 10 Oct 2000
Posts: 871
Location: USA

PostPosted: Wed Jun 26, 2002 7:02 pm   
 
A few people around here have rolled their own. It's not actually that hard and could probably be done in a script: Put a <html><body bgcolor=black style="color=white">

tag in the front and a </body></html> tag on the back, and search/replace the escape commands with either nothing (for things that don't mean anything in html) or <font color="whatever">

There is (was?) a web repository for combat logs that did the conversion automatically but I can't find it right now.

http://www.acm.vt.edu/~clint/hell/hell.htm

claims to provide a converter with source code:

http://www.acm.vt.edu/~clint/hell/stuff/ans2html.zip

I haven't tried this one and don't know the author. As usual, be careful with executables from the web.

-Tarn
Reply with quote
nutsnbolts
Apprentice


Joined: 01 May 2002
Posts: 188
Location: USA

PostPosted: Thu Jun 27, 2002 3:22 pm   
 
This actually doesn't work.

Thank you for everything, it's always appreciated.
Reply with quote
Tarn
GURU


Joined: 10 Oct 2000
Posts: 871
Location: USA

PostPosted: Thu Jun 27, 2002 7:06 pm   
 
quote:

This actually doesn't work.



Give me a week to rummage, I'll see what I've got lying around. I presently do this with my own logs as they come in, the problem is going to be pulling the functionality out of a big pile of other junk.

-Tarn
Reply with quote
nutsnbolts
Apprentice


Joined: 01 May 2002
Posts: 188
Location: USA

PostPosted: Thu Jun 27, 2002 7:37 pm   
 
Thanks tarn!!

Looking forward to this. I know one mud client that does this and well I was hoping with the kick arse stuff zmud can do, why not this?

Thank you for everything, it's always appreciated.
Reply with quote
the reverend
Newbie


Joined: 27 Jun 2002
Posts: 8
Location: USA

PostPosted: Thu Jun 27, 2002 11:30 pm   
 
i have a script to do this written already for ZOC http://www.emtec.com/zoc/ . it's available on my website and it does a great job.

regards,
the reverend
icq 83250263
http://thereverend.coastgames.com/tradewars/
Reply with quote
nutsnbolts
Apprentice


Joined: 01 May 2002
Posts: 188
Location: USA

PostPosted: Fri Jun 28, 2002 2:04 am   
 
I don't know what I'm looking at here?

Thank you for everything, it's always appreciated.
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: Fri Jun 28, 2002 2:37 am   
 
Man, that is just rude. Advertising another telnet client on a competing forum. I just vaguely tempted to actually learn half of the html I should know by know so I whip out a script.
Reply with quote
Darker
GURU


Joined: 24 Sep 2000
Posts: 1237
Location: USA

PostPosted: Fri Jun 28, 2002 3:43 pm   
 
Zugg's aware of this reference, and it's not something he's really concerned about. ZOC is a telnet app, but not specialized for mud use, so it's not strictly competing for the same audience.



zMUD 6 Online Help: All the power you'll ever need.
Reply with quote
the reverend
Newbie


Joined: 27 Jun 2002
Posts: 8
Location: USA

PostPosted: Fri Jun 28, 2002 5:05 pm   
 
quote:

Zugg's aware of this reference, and it's not something he's really concerned about. ZOC is a telnet app, but not specialized for mud use, so it's not strictly competing for the same audience.



zMUD 6 Online Help: All the power you'll ever need.



gasp! i'm so sorry. ZOC is pretty much all i know. i am really interested in learning more about zMUD and i was just trying to bring an olive branch to the table in the form of a free ansi converter. (ZOC is shareware and if you need to convert the ansi the script would work for free.) if someone could help me figure out how to make zMUD work with tradewars 2002 i would be glad to figure out the zMUD script language and produce a similar converter.

regards,
the reverend
icq 83250263
http://thereverend.coastgames.com/tradewars/
Reply with quote
nutsnbolts
Apprentice


Joined: 01 May 2002
Posts: 188
Location: USA

PostPosted: Fri Jun 28, 2002 6:11 pm   
 
I downloaded ZOC to see if it converts my ansi which I got from a mud through Zmud. How do I go about running the script in ZOC

Thank you for everything, it's always appreciated.
Reply with quote
the reverend
Newbie


Joined: 27 Jun 2002
Posts: 8
Location: USA

PostPosted: Fri Jun 28, 2002 6:18 pm   
 
quote:

I downloaded ZOC to see if it converts my ansi which I got from a mud through Zmud. How do I go about running the script in ZOC

Thank you for everything, it's always appreciated.



install zoc. then download my script and unzip it into the zoc/script folder. (zoc default installs to c:program fileszoc unless you changed it.)

no need to log into any server or mud - just choose 'Start REXX script' from the 'Script' menu - then choose the ansi converter script and run it. the script will ask you for the filename of your ansi capture file. the script will make a .html file in the same folder as your ansi capture file. let me know if you figure it out.

regards,
the reverend
icq 83250263
http://thereverend.coastgames.com/tradewars/
Reply with quote
nutsnbolts
Apprentice


Joined: 01 May 2002
Posts: 188
Location: USA

PostPosted: Fri Jun 28, 2002 10:20 pm   
 
Where is the script, I"m looking all over the site.

Thank you for everything, it's always appreciated.
Reply with quote
nutsnbolts
Apprentice


Joined: 01 May 2002
Posts: 188
Location: USA

PostPosted: Fri Jun 28, 2002 10:29 pm   
 
Forget it, I searched your tradewinds site and I found it there.

You really should put your scripts on the actualy ZOC site so that we can see what other neat things ZOC can do...with the addition of scripts.

Thank you for everything, it's always appreciated.
Reply with quote
nutsnbolts
Apprentice


Joined: 01 May 2002
Posts: 188
Location: USA

PostPosted: Fri Jun 28, 2002 10:31 pm   
 
On a final note...


Darker...are you going to be making the converter? IF you are can you please let me know when you will have it done? This would be a great thing to have along with zmud.

The Reverand, I think I got it to work. Installed script and ran it, now just have to open it up on html and see what happens.

Thanks in advance!!!

Thank you for everything, it's always appreciated.
Reply with quote
the reverend
Newbie


Joined: 27 Jun 2002
Posts: 8
Location: USA

PostPosted: Fri Jun 28, 2002 10:50 pm   
 
quote:

Where is the script, I"m looking all over the site.

Thank you for everything, it's always appreciated.



http://thereverend.coastgames.com/tradewars/files.html#_ansi_to_html

regards,
the reverend
icq 83250263
http://thereverend.coastgames.com/tradewars/
Reply with quote
Kjata
GURU


Joined: 10 Oct 2000
Posts: 4379
Location: USA

PostPosted: Fri Jun 28, 2002 11:46 pm   
 
Just in case anyone wants it, I decided to make an ANSI to HTML converter script in zMUD. It's not really fast, but it gets the job done. Maybe I'll look into it later on to see what optimizations can be done.

Usage is:
ansiToHtml inputFile outputFile [defCol] [defBgCol]

where inptuFile and outFile are the names of the files (within the zMUD directory) to be read from and written to respectively. defCol is the default text color and defBgCol is the default background color. Both of these are optional and default to a value of 1 and 16 respectively. Their values must be between 1 and 16. For more information on the numbering of colors you can use:
ansiToHtmlColors

Anyway, here it is (instead of copying directly into the command line, this script should be placed in a text file and the imported from inside zMUD):

#CLASS {Converter}
#ALIAS ansiToHtml {
#VARIABLE textCol %if( %3, %3, 1)
#VARIABLE backCol %if( %4, %4, 16)
#IF ((%null( %1)) or (%null( %2))) {
#SAY No output or input file.
#ABORT 1
}
#IF ((@textCol > 16) or (@textCol < 1) or (@backCol > 16) or (@backCol < 1)) {
#SAY Color invalid.
#ABORT 1
}
#VARIABLE progress 0
#VARIABLE open ""
#VARIABLE bright 0
#VARIABLE invert 0
#VARIABLE filesize 0
#FILE 1 %1
#GAG
#VARIABLE filesize %filesize( 1)
#FILE 2 %2
#GAG
#SAY Converting %1 from ANSI to HTML.
#VARIABLE progress 0
#GAUGE conv Converting... @progress 100 90 "" "blue" "green"
#WRITE 2 "<HTML>"
#VARIABLE color @textCol
#VARIABLE bgcolor @backCol
#WRITE 2 %concat( "<BODY TEXT=#", %item( @colors, @textCol), " STYLE='background-color:#", %item( @colors, @backCol), ";'>")
#WRITE 2 "<PRE>"
#LOOP @filesize {
#VARIABLE line %read( 1)
#VARIABLE newline ""
#VARIABLE pos 1
#VARIABLE substr @line
#WHILE (%pos( %char( 27), @substr)) {
#VARIABLE newline %concat( @newline, %copy( @line, @pos, %pos( %char( 27), @substr) - 1))
#ADD pos %pos( %char( 27), @substr))
#VARIABLE char %copy( @line, @pos, 1)
#VARIABLE sequence @char
#WHILE (!%ismember( @char, @endCodes)) {
#ADD pos 1
#VARIABLE char %copy( @line, @pos, 1)
#VARIABLE sequence %concat( @sequence, @char)
}
#IF (@char = "m") {
#VARIABLE sequence %replace( @sequence, ";", "|")
#VARIABLE sequence %leftback( @sequence, 1)
#VARIABLE sequence %right( @sequence, 1)
#FORALL @sequence {#IF (%ismember( %i, @validCodes)) {#EXECUTE %concat( "code", %i)}}
}
#ADD pos 1
#VARIABLE substr %copy( @line, @pos, %len( @line) - @pos + 1)
}
#VARIABLE newline %concat( @newline, @substr)
#WRITE 2 {@newline}
#VARIABLE progress %eval( (%i * 100) / @filesize)
}
#UNBUTTON conv
#GAG
#FORALL @open {#WRITE 2 "</SPAN>"}
#WRITE 2 "</PRE>"
#WRITE 2 "</BODY>"
#WRITE 2 "</HTML>"
#SAY %1 converted from ANSI to HTML
#SAY Output file - %2
#CLOSE 2
#GAG
#CLOSE 1
#GAG
}
#ALIAS ansiToHtmlColors {
#SHOW Valid colors are:
#SHOW 1 - %ansi( 0)black
#SHOW 2 - %ansi( 4)red
#SHOW 3 - %ansi( 2)green
#SHOW 4 - %ansi( 6)yellow
#SHOW 5 - %ansi( 1)blue
#SHOW 6 - %ansi( 5)magenta
#SHOW 7 - %ansi( 3)cyan
#SHOW 8 - %ansi( 7)white
#SHOW 9 - %ansi( 8)bright black
#SHOW 10 - %ansi( 12)bright red
#SHOW 11 - %ansi( 10)bright green
#SHOW 12 - %ansi( 14)bright yellow
#SHOW 13 - %ansi( 9)bright blue
#SHOW 14 - %ansi( 13)bright magenta
#SHOW 15 - %ansi( 11)bright cyan
#SHOW 16 - %ansi( 15)bright white
}
#ALIAS setbgcol {
#IF (%ismember( "5", @open)) {
#VARIABLE reopen ""
#LOOP %ismember( "5", @open),%numitems( @open) {
#VARIABLE newline %concat( @newline, "</SPAN>")
#ADDITEM reopen %item( @open, %i)
}
#DELNITEM reopen 1
#DELNITEM open %ismember( "5", @open)
reopen @reopen
}
#VARIABLE newline %concat( @newline, "<SPAN STYLE='background-color:#", %item( @colors, @bgcolor), ";'>")
#ADDITEM open 5
}
#ALIAS setcol {
#IF (%ismember( "4", @open)) {
#VARIABLE reopen ""
#LOOP %ismember( "4", @open),%numitems( @open) {
#VARIABLE newline %concat( @newline, "</SPAN>")
#ADDITEM reopen %item( @open, %i)
}
#DELNITEM reopen 1
#DELNITEM open %ismember( "4", @open)
reopen @reopen
}
#VARIABLE newline %concat( @newline, "<SPAN STYLE='color:#", %item( @colors, @color), ";'>")
#ADDITEM open 4
}
#ALIAS reopen {#FORALL %1 {#CASE %i {
#NOOP Open underline
#VARIABLE newline %concat( @newline, "<SPAN STYLE='text-decoration:underline;'~>")
} {
#NOOP Open blink
#VARIABLE newline %concat( @newline, "<SPAN STYLE='text-decoration:blink;'~>")
} {
#NOOP Open hidden
#VARIABLE newline %concat( @newline, "<SPAN STYLE='visibility:hidden;'>")
} {
#NOOP Open color
#VARIABLE newline %concat( @newline, "<SPAN STYLE='color:", %item( @colors, @color), ";'>")
} {
#NOOP Open bgcolor
#VARIABLE newline %concat( @newline, "<SPAN STYLE='background-color:", %item( @colors, @bgcolor), ";'>")
}}}
#ALIAS code0 {
#FORALL @open {#VARIABLE newline %concat( @newline, "</SPAN>")}
#VARIABLE open ""
#VARIABLE invert 0
#IF (@textCol > 8) {#VARIABLE bright 1} {#VARIABLE bright 0}
#VARIABLE color @textCol
#VARIABLE bgcolor @backCol
}
#ALIAS code2 {#IF (@bright) {
#VARIABLE bright 0
#IF (@invert) {
#IF (!@bgcolor) {#IF (@backCol < 9) {#VARIABLE bgcolor %eval( @backCol + 8)} {#VARIABLE color @backCol}} {#ADD bgcolor 8}
setbgcol
} {
#IF (!@color) {#IF (@textCol < 9) {#VARIABLE color %eval( @textCol + 8)} {#VARIABLE color @textCol}} {#ADD color 8}
setcol
}
}}
#ALIAS code1 {#IF (!@bright) {
#VARIABLE bright 1
#IF (@invert) {
#IF (!@bgcolor) {#IF (@backCol < 9) {#VARIABLE bgcolor %eval( @backCol + 8)} {#VARIABLE color @backCol}} {#ADD bgcolor 8}
setbgcol
} {
#IF (!@color) {#IF (@textCol < 9) {#VARIABLE color %eval( @textCol + 8)} {#VARIABLE color @textCol}} {#ADD color 8}
setcol
}
}}
#ALIAS code4 {#IF (!%ismember( "1", @open)) {
#VARIABLE newline %concat( @newline, "<SPAN STYLE='text-decoration=underline;'>")
#ADDITEM open 1
}}
#ALIAS code5 {#IF (!%ismember( "2", @open)) {
#VARIABLE newline %concat( @newline, "<SPAN STYLE='text-decoration=blink;'>")
#ADDITEM open 2
}}
#ALIAS code7 {
#VARIABLE invert %bitxor( @invert, 1)
#VARIABLE temp ""
#VARIABLE temp @color
#VARIABLE color @bgcolor
#VARIABLE bgcolor @temp
setbgcol
setcol
}
#ALIAS code8 {#IF (!%ismember( "3", @open)) {
#VARIABLE newline %concat( @newline, "<SPAN STYLE='visibility:hidden;'>")
#ADDITEM open 3
}}
#ALIAS code30 {#IF (@invert) {#IF ((@bgcolor <> 1) or (@bgcolor <> 9)) {
#IF (@bright) {#VARIABLE bgcolor 9} {#VARIABLE bgcolor 1}
setbgcol
}} {#IF ((@color <> 1) or (@color <> 9)) {
#IF (@bright) {#VARIABLE color 9} {#VARIABLE color 1}
setcol
}}}
#ALIAS code31 {#IF (@invert) {#IF ((@bgcolor <> 2) or (@bgcolor <> 10)) {
#IF (@bright) {#VARIABLE bgcolor 10} {#VARIABLE bgcolor 2}
setbgcol
}} {#IF ((@color <> 2) or (@color <> 10)) {
#IF (@bright) {#VARIABLE color 10} {#VARIABLE color 2}
setcol
}}}
#ALIAS code32 {}
#ALIAS code33 {#IF (@invert) {#IF ((@bgcolor <> 4) or (@bgcolor <> 12)) {
#IF (@bright) {#VARIABLE bgcolor 12} {#VARIABLE bgcolor 4}
setbgcol
}} {#IF ((@color <> 4) or (@color <> 12)) {
#IF (@bright) {#VARIABLE color 12} {#VARIABLE color 4}
setcol
}}}
#ALIAS code34 {#IF (@invert) {#IF ((@bgcolor <> 5) or (@bgcolor <> 13)) {
#IF (@bright) {#VARIABLE bgcolor 13} {#VARIABLE bgcolor 5}
setbgcol
}} {#IF ((@color <> 5) or (@color <> 13)) {
#IF (@bright) {#VARIABLE color 13} {#VARIABLE color 5}
setcol
}}}
#ALIAS code35 {#IF (@invert) {#IF ((@bgcolor <> 6) or (@bgcolor <> 14)) {
#IF (@bright) {#VARIABLE bgcolor 14} {#VARIABLE bgcolor 6}
setbgcol
}} {#IF ((@color <> 6) or (@color <> 14)) {
#IF (@bright) {#VARIABLE color 14} {#VARIABLE color 6}
setcol
}}}
#ALIAS code36 {#IF (@invert) {#IF ((@bgcolor <> 7) or (@bgcolor <> 15)) {
#IF (@bright) {#VARIABLE bgcolor 15} {#VARIABLE bgcolor 7}
setbgcol
}} {#IF ((@color <> 7) or (@color <> 15)) {
#IF (@bright) {#VARIABLE color 15} {#VARIABLE color 7}
setcol
}}}
#ALIAS code37 {#IF (@invert) {#IF ((@bgcolor <> 8) or (@bgcolor <> 16)) {
#IF (@bright) {#VARIABLE bgcolor 16} {#VARIABLE bgcolor 8}
setbgcol
}} {#IF ((@color <> 8) or (@color <> 16)) {
#IF (@bright) {#VARIABLE color 16} {#VARIABLE color 8}
setcol
}}}
#ALIAS code40 {#IF (@invert) {#IF (@color <> 1) {
#VARIABLE color 1
setcol
}} {#IF (@bgcolor <> 1) {
#VARIABLE bgcolor 1
setbgcol
}}}
#ALIAS code41 {#IF (@invert) {#IF (@color <> 2) {
#VARIABLE color 2
setcol
}} {#IF (@bgcolor <> 2) {
#VARIABLE bgcolor 2
setbgcol
}}}
#ALIAS code42 {#IF (@invert) {#IF (@color <> 3) {
#VARIABLE color 3
setcol
}} {#IF (@bgcolor <> 3) {
#VARIABLE bgcolor 3
setbgcol
}}}
#ALIAS code43 {#IF (@invert) {#IF (@color <> 4) {
#VARIABLE color 4
setcol
}} {#IF (@bgcolor <> 4) {
#VARIABLE bgcolor 4
setbgcol
}}}
#ALIAS code44 {#IF (@invert) {#IF (@color <> 5) {
#VARIABLE color 5
setcol
}} {#IF (@bgcolor <> 5) {
#VARIABLE bgcolor 5
setbgcol
}}}
#ALIAS code45 {#IF (@invert) {#IF (@color <> 6) {
#VARIABLE color 6
setcol
}} {#IF (@bgcolor <> 6) {
#VARIABLE bgcolor 6
setbgcol
}}}
#ALIAS code47 {#IF (@invert) {#IF (@color <> 8) {
#VARIABLE color 8
setcol
}} {#IF (@bgcolor <> 8) {
#VARIABLE bgcolor 8
setbgcol
}}}
#ALIAS code46 {#IF (@invert) {#IF (@color <> 7) {
#VARIABLE color 7
setcol
}} {#IF (@bgcolor <> 7) {
#VARIABLE bgcolor 7
setbgcol
}}}
#ALIAS code50 {
code1
code30
}
#ALIAS code51 {
code1
code31
}
#ALIAS code52 {
code1
code32
}
#ALIAS code53 {
code1
code33
}
#ALIAS code54 {
code1
code34
}
#ALIAS code55 {
code1
code35
}
#ALIAS code56 {
code1
code36
}
#ALIAS code57 {
code1
code37
}
#ALIAS code60 {code30}
#ALIAS code61 {code34}
#ALIAS code62 {code32}
#ALIAS code63 {code36}
#ALIAS code64 {code31}
#ALIAS code65 {code35}
#ALIAS code66 {code33}
#ALIAS code67 {code37}
#ALIAS code68 {
code1
code30
}
#ALIAS code69 {
code1
code34
}
#ALIAS code70 {
code1
code32
}
#ALIAS code71 {
code1
code36
}
#ALIAS code72 {
code1
code31
}
#ALIAS code73 {
code1
code35
}
#ALIAS code74 {
code1
code33
}
#ALIAS code75 {
code1
code37
}
#ALIAS code76 {code30}
#VARIABLE endCodes {c|n|R|h|l|H|A|B|C|f|s|u|r|D|M|g|K|J|i|p|m}
#VARIABLE colors {000000|880000|008800|888800|000088|880088|008888|C0C0C0|888888|FF0000|00FF00|FFFF00|0000FF|FF00FF|00FFFF|FFFFFF}
#VARIABLE validCodes {0|1|2|4|5|7|8|30|31|32|33|34|35|36|37|40|41|42|43|44|45|46|47|50|51|52|53|54|55|56|57|60|61|62|63|64|65|66|67|68|69|70|71|72|73|74|75|76}
#CLASS 0

Edited on 6/29/2002 - The script is now faster, specially when the input files contains many lines without control codes. Some bugs regarding the ESC[7m code (invert) have been fix and invert should now display properly. Also, I removed a #BREAK left there from the debuggin process.

Edited on 7/1/2002 - Now it's faster.

Edited on 7/1/2002 - Added support for zMUD-specific ANSI codes. The converted file should now look exactly as zMUD displays it. This also made it a little bit slower than the previous update today, since now there are codes that instead of being ignored, are being converted. However, it is still faster than the one before that. Also, I removed some stuff left from debugging, once more.

Kjata
Reply with quote
nutsnbolts
Apprentice


Joined: 01 May 2002
Posts: 188
Location: USA

PostPosted: Sat Jun 29, 2002 12:15 am   
 
Testing it currently. Yes, it is very slow. Considering I'm converting only 30 lines of Ansi.

I'm not complaining just letting you know if you haven't tested this yet. About two minutes of convertion time.

Anyone else would like to contribute. Heck, we may save ZUGG time from actually developing one...hehehe..

Thank you for everything, it's always appreciated.
Reply with quote
nutsnbolts
Apprentice


Joined: 01 May 2002
Posts: 188
Location: USA

PostPosted: Sat Jun 29, 2002 12:21 am   
 
Ok, error..

It's not placing the brackets.

This is what shows after the convertion when views in IE.

SPAN STYLE='color:#880000;'-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-/SPAN


No opening and closing brackets.

Thank you for everything, it's always appreciated.
Reply with quote
Kjata
GURU


Joined: 10 Oct 2000
Posts: 4379
Location: USA

PostPosted: Sat Jun 29, 2002 12:24 am   
 
Whoops, I forgot the most important instructions. You need to go into Preferences->Script Parser and disable these:
Allow [] for eval
Allow <> for expand

Kjata
Reply with quote
nutsnbolts
Apprentice


Joined: 01 May 2002
Posts: 188
Location: USA

PostPosted: Sat Jun 29, 2002 1:21 am   
 
Ok it works...

Bit slow, but it does the job!

Thanks. Anyone else have any other suggestions, speak up!

Thank you for everything, it's always appreciated.
Reply with quote
Drevarr
Beginner


Joined: 19 Dec 2001
Posts: 17
Location: USA

PostPosted: Sat Jun 29, 2002 8:06 am   
 
easy command line converter I've been using for a while created by Deathlok is available here: http://www.thefiresauce.com/ansi.zip

It is not perfect, but it gets the job done.
Reply with quote
Kjata
GURU


Joined: 10 Oct 2000
Posts: 4379
Location: USA

PostPosted: Sat Jun 29, 2002 4:39 pm   
 
I edited the script I posted. Changes are detailed in the reply above.

Kjata
Reply with quote
nutsnbolts
Apprentice


Joined: 01 May 2002
Posts: 188
Location: USA

PostPosted: Sat Jun 29, 2002 7:27 pm   
 
Quick question regarding your converter Kjata.

As you stated, you said to use the import to import the script into zmud. Well basically, when I first import it, it works fine. When I quit out of zmud and I start it back up again and try to do another convertion, it gives me errors.

These errors are in regards with the fact that the separator character is not separating the script into separate lines in the edit window. It's hard to explain...but I hope you get what I mean.

Thank you for everything, it's always appreciated.
Reply with quote
Kjata
GURU


Joined: 10 Oct 2000
Posts: 4379
Location: USA

PostPosted: Sat Jun 29, 2002 7:43 pm   
 
There are no command separator characters in the script. The method I use to import it is to copy everything from the webpage, and pase it into a text file. I give this text file a name and put it in the zMUD folder. Then I open my character offline in zMUD and select Settings|Import|Script (ASCII)... and then select the text file. If it doesn't work for you, try sending me an e-mail and I'll e-mail it to you in a format that perhaps will be better.

Kjata
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Goto page 1, 2, 3  Next
Page 1 of 3

 
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