Book Code Generator

Misc 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

acamo_githubusercontent_com_1268343f076b90a1e60ede78f219ca2091d6d12aaa3d020faa22e868324960725f-png.4920


acamo_githubusercontent_com_3cc090157b11580ce840d25ba25ea7d818acb75b91669a77eee6c5dbed237be9ac-png.4921


acamo_githubusercontent_com_68313991d9608b11ee35d206f8de4afc8245a29428524df2cd92034010dfdda081-png.4922


acamo_githubusercontent_com_4167b8e18f95e917daade2d9743b38da890bca4362083027f539c8181dcbec8b8d-png.4923


acamo_githubusercontent_com_f2fcac0e65d3679bbdb8e189a0e745101c53b28d77b7b6143d5a93694a612d892d-png.4924


acamo_githubusercontent_com_a429131b026b8d3f61348bd83963eff3036095e54c47b85fd4bc140e3f1c99df63-png.4925


acamo_githubusercontent_com_0c13345d7c260e02c94eaec9dd994ee09824669f6b833efbf257b6e17d726a2a4c-jpg.4926
Author
Felladrin
Downloads
87
Views
2,134
First release
Last update
Rating
4.50 star(s) 2 ratings

More resources from Felladrin

Back