Felladrin
Sorceror
Introduction:
This is simple a HTML page with a JavaScript code which generates the code of a book for RunUO 2. It's useful to host the page on the site and give acess to staff members.
The idea can be used on automated websystem, e.g. making a form that the player fills and the staff receives, by e-mail, the code ready to use.
Test-Drive: Online Book Code Generator for RunUO
Features:
# Easily sets Book Title, Book Author, File Name and Cover Hue.
# Formats the contents of the book wisely, without wasting space. (Optional)
# Checks if the file name has special characters or accents.
# Allows to change the book cover, via ItemID. (New!)
# Limits the book content to 60,000 characters. (New!)
# Allows to compress the code, if you don't intend to edit later.
# Commented javascript code, intended to be easy to understand.
Usage:
Download the HTML file and open it with your web browser, for single and offline use. But to make it really useful, host it on a website and spread the link to the staff members.
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).
Patchlog:
Version 1.1.0 (February 04, 2011) [Current Version]
Version 1.0.1 (December 10, 2010)
Version 1.0.0 (December 08, 2010) [First Version]
Alternatives:
Online Book Code Generator with Download Option (Version 1.1.0)
Related Custom Scripts:
Read Book From Text by Lokai.
Publisher by Lewism, updated by Liacs and Koluch.
[csbook by Daat99, updated by Magpie.
ToDo:
Make an alternative version using Irian's Pretty ReadBooks.
Some Notes:
If anyone release html pages based on this, here or on a new thread, let me know, so I can link here. Also, tell me if you find any bugs, I'll try to fix as soon as possible.
I hope it's useful to you. Ideas and suggestions are always welcome!
Felladrin.
This is simple a HTML page with a JavaScript code which generates the code of a book for RunUO 2. It's useful to host the page on the site and give acess to staff members.
The idea can be used on automated websystem, e.g. making a form that the player fills and the staff receives, by e-mail, the code ready to use.
Test-Drive: Online Book Code Generator for RunUO
Features:
# Easily sets Book Title, Book Author, File Name and Cover Hue.
# Formats the contents of the book wisely, without wasting space. (Optional)
# Checks if the file name has special characters or accents.
# Allows to change the book cover, via ItemID. (New!)
# Limits the book content to 60,000 characters. (New!)
# Allows to compress the code, if you don't intend to edit later.
# Commented javascript code, intended to be easy to understand.
Usage:
Download the HTML file and open it with your web browser, for single and offline use. But to make it really useful, host it on a website and spread the link to the staff members.
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).
Patchlog:
Version 1.1.0 (February 04, 2011) [Current Version]
Version 1.0.1 (December 10, 2010)
Version 1.0.0 (December 08, 2010) [First Version]
Alternatives:
Online Book Code Generator with Download Option (Version 1.1.0)
Related Custom Scripts:
Read Book From Text by Lokai.
Publisher by Lewism, updated by Liacs and Koluch.
[csbook by Daat99, updated by Magpie.
ToDo:
Make an alternative version using Irian's Pretty ReadBooks.
Some Notes:
If anyone release html pages based on this, here or on a new thread, let me know, so I can link here. Also, tell me if you find any bugs, I'll try to fix as soon as possible.
I hope it's useful to you. Ideas and suggestions are always welcome!
Felladrin.