Book Code Generator

Book Code Generator 2.1.0

No permission to download
[It was originally created for RunUO, but is still fully compatible with ServUO]

Introduction


This Book Code Generator allows people to generate the code (C# script) of a book by simply filling out a form in the browser.

Live Demo: http://felladrin.github.io/runuo-book-code-generator

Features
  • Easily sets Book Title, Book Author, File Name and the Book Cover.
  • Formats the contents of the book wisely, without wasting space.
  • Checks if the file name has special characters or accents.
  • Allows to change the book cover via image.
  • Limits the book content to 60,000 characters, to avoid overflow.
  • Allows to compress the code, if you don't intend to edit later.
  • Commented javascript code, intended to be easy to understand.
  • Downloadable book as a CS file.
Usage

Download and unzip this package. Then, for single and offline use, open the index.html file with your favorite web browser. But to make it really useful, host it on a website and spread the link.

After generating the .cs file, put it anywhere in scripts folder, restart the server and use the command in-game: [add cbook

It'll show all the custom books generated by this script (if you didn't change the 'CBook' prefix, of course).

Screenshots













Author
Felladrin
Downloads
51
Views
93
First release
Last update
Rating
4.00 star(s) 1 ratings

More resources from Felladrin

Latest reviews

Yeah this I used int eh past and is a very handy tool. Players like it also and get very creative writing their tales!