RunUO Community

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Resource icon

Book Code Generator 2.1

No permission to download
Introduction

RunUO 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

GitHub Repository: https://github.com/felladrin/runuo-book-code-generator

This is a remake of a generator I've written in 2010.

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

1.png 2.png 3.png 4.png 5.png 6.png 7.jpg
Author
Felladrin
Downloads
79
Views
461
First release
Last update
Rating
5.00 star(s) 2 ratings

More resources from Felladrin

Latest updates

  1. File download is now made through javascript.

    No more need of php for the download function. By the way, here are all my RunUO custom...
  2. Source code moved to GitHub

    Just moving the code to GitHub: https://github.com/felladrin/runuo-book-code-generator You can...

Latest reviews

Such a fast way to create new in-game books. Works great!
Makes it really easy to add custom books! Only thing is, on the website the book graphics are stretched out in the list. Besides that visual "bug" It deserves a 5 star rating !
Top