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!

[csbook updated for 2.0

Magpie

Wanderer
[csbook updated for 2.0

All credit for this script goes to daat99, only changes made were to make it work with 2.0

Daat's original for 1.0 and its description can be found here: http://www.runuo.com/forums/showthread.php?t=47263&highlight=csbook

daat99 said:
You can use it with: [csbook and clicking the book you want to turn into a script.
It'll make a file called Book#.cs in your runuo root folder (where you have your crash reports). The # will increase with each book you export.

Please don't remove the credits from the code, however feel free to add your name if you enhance it.
 

Attachments

  • CSBook2.cs
    6.6 KB · Views: 116

snicker7

Sorceror
thats not completely updated, books were changed in function in 2.0, so it doesnt write proper files i believe.
 

Magpie

Wanderer
When I tested it with Runuo 2.0 compiled from the svn as of update 60 it compiled fine, and worked exactly like the original (Runuo 1.0 vers) did. Are you having an issue with it in use?
 

snicker7

Sorceror
no, im just saying. it will WORK yes. but check out how the "defined" books work in RunUO 2.0. They reduce save time dramatically because the information in the book is permanent, so it never has to be serialized. You could update this script to output the book's content in that manner, and it would TRULY be updated for RunUO 2.0 ;p
 
Top