View Single Post
Old 06-14-2004, 01:01 AM   #23 (permalink)
x-ray
 
Join Date: May 2004
Age: 29
Posts: 148
Default

Quote:
Originally Posted by DaLaw66
Im a noob with perl, and im not sure what caused this but, when I first ran the script I made some HTML files, but I wasnt happy, so I Did it again (Of course I delete the old files) but when I finished Generating the files it had double the fields, 2 str fields and so on .... Now when I tried it it has like 18 str fields
How do I fix this ?
I Have deleted all the files, including the script!
Any Idea's ?
Its strange, another run of the script OVERWRITE all previously created pages. The page itself created from the template pagebody.tpl Check it for the double fields.
Dont know what to say... Is anybody get the same problem ?

Quote:
Originally Posted by KillerBeeZ
I have a creature called a Rainbow Wyrm which is tamable at 115 skill and uses 15 pet slots, yet the page generated shows a - for the min taming skill (required slots show up fine).
The csmob2html itself is only pattern matching, not the lexical analyzer or interpreter I add only few patterns in it, so it produced about 80%-95% correct ouput pages depends on the syntax style and complexity of the sources. Just send me (or post) wyrm script here, and i will add/fix the pattern.

Quote:
Originally Posted by KillerBeeZ
Also, is there a way to make this so it looks for only Mobile scripts? like BaseCreature?
Sure. Nice idea. Thanks.
I will add option in config file, where you can specifing the parent classes and scripts will generate outpur pages only for the sources with this parents.
x-ray is offline   Reply With Quote