 |
Vitae Enchanter

Joined: 17 Jun 2005 Posts: 673 Location: New York
|
Posted: Thu Jul 17, 2008 1:51 pm
Haven't tracked cmuds changes but have a question |
Has anyone made a converter from the horrid xml output to a zmud type output yet?
THANKFULLY it looks better now than it did before, but i still see no point to needing to export a script so that I can read on the train and have a one line trigger be 5 lines or so... |
|
|
|
 |
Rorso Wizard
Joined: 14 Oct 2000 Posts: 1368
|
Posted: Thu Jul 17, 2008 3:33 pm |
The problem is that zScript in cMUD seem to not be that well defined when you look at the documentation. For example an alias can be marked as "auto append" in the trigger editor, but there appears to be no syntax for that so you can't create an alias from a script that supports "auto append".
|
|
|
|
 |
Zugg MASTER

Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Thu Jul 17, 2008 4:40 pm |
Rorso is correct. There is no way to convert the CMUD XML to the zMUD text format. If there was a way to do that, then CMUD would already do it. There are *many* features in CMUD that cannot be converted into the old zMUD text format, because the zMUD text format was not structured properly and did not support extensible options. For example, multi-state buttons and triggers have various options not supported by zMUD. Nested menus cannot be handled by the text format, etc.
Even zMUD itself didn't handle it's text format correctly in all cases. The zMUD text format required scripts to be all on one line, which made multi-line scripts a real pain to read. And in some cases, converting a script to this one-line format would mess up the script.
Sorry, but if you want to read it offline you'll need to get used to the XML format. It really isn't bad once you get used to it. And just think...by learning how to read XML you are learning a new skill with a *standard* web protocol that might be useful in other jobs. |
|
|
|
 |
Vitae Enchanter

Joined: 17 Jun 2005 Posts: 673 Location: New York
|
Posted: Thu Jul 17, 2008 5:58 pm |
Funny thing is that I could read the text format PERFECTLY fine...print it out, work with it on the train, fixing errors, etc...this way...*shrug*
I'll pull out a ream of paper everytime I want to take a look at my spellup script.
*sigh*
yeah, think i'll be with zmud until i die.
Thanks. Feel free to lock this post i guess. |
|
|
|
 |
|
|
|