Go Back   RunUO - Ultima Online Emulation > RunUO > Custom Script Releases

Custom Script Releases This forum is where you can release your custom scripts for other users to use.

Please note: By releasing your scripts here you are submitting them to the public and as such agree to make them public domain. The RunUO Team has made its software GPL for you to use and enjoy you should do the same for anything based off of RunUO.

Reply
 
Thread Tools Display Modes
Old 10-31-2007, 12:12 AM   #26 (permalink)
Newbie
 
Join Date: Oct 2007
Age: 42
Posts: 22
Default

After installing the Bible script my server slows down and I get these two warnings. Am I doing something wrong?

Code:
Warnings:
 + Customs/Scripts/Custom/Bible System/BibleReader.cs:
    CS0618: Line 202: 'System.Collections.CaseInsensitiveHashCodeProvider' is ob
solete: 'Please use StringComparer instead.'
    CS0618: Line 202: 'System.Collections.Hashtable.Hashtable(System.Collections
.IHashCodeProvider, System.Collections.IComparer)' is obsolete: 'Please use Hash
table(IEqualityComparer) instead.'
Thanks
Dwayne
dwayne2700 is offline   Reply With Quote
Old 12-17-2007, 02:46 PM   #27 (permalink)
Newbie
 
Join Date: Nov 2007
Age: 26
Posts: 26
Default

We have recently started a Saturday Night Prayer meeting on our shard and I got to talking with our my shard owner and he is very excited about the new avenue the shard offers. As we got further into the descusion he brought up maybe also holding a bible study as well and I thought I remembered something like this being here.....and here it is. I ICQed him the link and will run this on my test server.

Regardless if this script isnt used by our main group, the fact that it is available for someone who may later join the group who has no other access to a bible is a powerful tool in itself. Thank you for taking the time to care enough to do something like this.

Itll be awhile until I actually start my server up, so is this a KJV bible? Im assuming since it has a concordanance, it is a KJV. Hoping that it is.

Ill try to rotate accounts here and refresh this thread when needed to keep this thread fresh and on the first or second page.

Thanks again.
Pantera_McSlayer is offline   Reply With Quote
Old 04-05-2008, 10:16 PM   #28 (permalink)
Forum Expert
 
drgsldr69's Avatar
 
Join Date: Feb 2003
Location: illinois
Age: 32
Posts: 301
Send a message via ICQ to drgsldr69 Send a message via AIM to drgsldr69 Send a message via MSN to drgsldr69 Send a message via Yahoo to drgsldr69
Default

wondering how hard would it be to change it from the "Bible" to be used for other belief system type bibles? For instance we are using a D&D style shard, with 26 gods. would it be possible to change this to fit each god? What files would we edit to get that done. We wanna make our shard a straight RP shard and this would go a LOOONG way for that!
__________________
My online store - jdvaluestore.com
A D&D shard - dodronline.com
drgsldr69 is offline   Reply With Quote
Old 04-06-2008, 03:43 PM   #29 (permalink)
Forum Expert
 
Lokai's Avatar
 
Join Date: Aug 2003
Location: Bergen, NY (Rochester)
Age: 41
Posts: 1,425
Send a message via ICQ to Lokai Send a message via MSN to Lokai Send a message via Yahoo to Lokai
Default

Quote:
Originally Posted by drgsldr69 View Post
wondering how hard would it be to change it from the "Bible" to be used for other belief system type bibles? For instance we are using a D&D style shard, with 26 gods. would it be possible to change this to fit each god? What files would we edit to get that done. We wanna make our shard a straight RP shard and this would go a LOOONG way for that!
You can change the name, and change the look and feel, if you want, but the index, concordance, topic reader, and quote system are all hard coded to refer to exact passages in the XML bible provided.

If you were a hard-core writer, you could fiddle with the text, leaving passage references in place, but I would fear for your soul... just kidding. But seriously, you could always use the coding examples in the script to extract passages from your favorite texts.

I started writing an XML Book script, but didn't get far with it. You can see from an earlier version of this that it was capable of reading other books, as I provided one in my downloads (a dry French political commentary):

XML Bible

Have fun!
Lokai is offline   Reply With Quote
Old 04-20-2008, 12:59 AM   #30 (permalink)
Forum Novice
 
Join Date: Jan 2003
Age: 36
Posts: 188
Default

I seem to be having an issue downloading this file. When i try to open it in winrar or winzip, I get an error. It says it is a corrupt file.
__________________
"For God so loved the world, that he gave his only begotten son, that who-so-ever believe in him shall not persih, but have everlasting life"
Braun is offline   Reply With Quote
Old 04-20-2008, 07:12 AM   #31 (permalink)
Forum Expert
 
Lokai's Avatar
 
Join Date: Aug 2003
Location: Bergen, NY (Rochester)
Age: 41
Posts: 1,425
Send a message via ICQ to Lokai Send a message via MSN to Lokai Send a message via Yahoo to Lokai
Default

Quote:
Originally Posted by Braun View Post
I seem to be having an issue downloading this file. When i try to open it in winrar or winzip, I get an error. It says it is a corrupt file.
Many people are having this problem on the forums. You can keep trying, or download a safe download manager. The attachment is not corrupt, it seems to be an issue on the forums in general.
Lokai is offline   Reply With Quote
Old 04-20-2008, 11:03 PM   #32 (permalink)
Forum Novice
 
Join Date: Jan 2003
Age: 36
Posts: 188
Default

gotcha, I will give it try with a download manager. Thnx
__________________
"For God so loved the world, that he gave his only begotten son, that who-so-ever believe in him shall not persih, but have everlasting life"
Braun is offline   Reply With Quote
Old 04-20-2008, 11:25 PM   #33 (permalink)
Forum Novice
 
Join Date: Jan 2003
Age: 36
Posts: 188
Default

The download manager worked. Good job with this script, it all installed perfectly.
__________________
"For God so loved the world, that he gave his only begotten son, that who-so-ever believe in him shall not persih, but have everlasting life"
Braun is offline   Reply With Quote
Old 04-21-2008, 12:56 AM   #34 (permalink)
Forum Novice
 
Join Date: Jan 2003
Age: 36
Posts: 188
Default

This is a great script...
Here is what I found...

Using my Admin account, with another staff memeber using thier admin account... I noticed that everytime they changed books , it would change mine to whatever they were looking at. We both had the gump open at the same time and every time one of us would go to another book, it would change both of our gumps to that book.

example: I would be looking at the book of John and she would switch over to the book of revelations and it would change my gump over to revelations as well.

This is not a big deal, just thought I would let you know.

Thanks for the awesome script.
__________________
"For God so loved the world, that he gave his only begotten son, that who-so-ever believe in him shall not persih, but have everlasting life"
Braun is offline   Reply With Quote
Old 04-21-2008, 01:05 AM   #35 (permalink)
Forum Novice
 
Join Date: Jan 2003
Age: 36
Posts: 188
Default

ok we tested this some more and it seems this only happens with staff members, in other words, a staff member can change the book and it will change whoever has it open, but a player can change books and it will not affect anyone elses but thier own. This is cool.
__________________
"For God so loved the world, that he gave his only begotten son, that who-so-ever believe in him shall not persih, but have everlasting life"
Braun is offline   Reply With Quote
Old 05-02-2008, 12:29 AM   #36 (permalink)
Forum Expert
 
drgsldr69's Avatar
 
Join Date: Feb 2003
Location: illinois
Age: 32
Posts: 301
Send a message via ICQ to drgsldr69 Send a message via AIM to drgsldr69 Send a message via MSN to drgsldr69 Send a message via Yahoo to drgsldr69
Default

i have tried a download manager and it still aint working. i have tried winrar, winzip and even 7zip to open it and they all tell me same story corrupt file.
__________________
My online store - jdvaluestore.com
A D&D shard - dodronline.com
drgsldr69 is offline   Reply With Quote
Old 05-02-2008, 04:40 AM   #37 (permalink)
Forum Expert
 
Lokai's Avatar
 
Join Date: Aug 2003
Location: Bergen, NY (Rochester)
Age: 41
Posts: 1,425
Send a message via ICQ to Lokai Send a message via MSN to Lokai Send a message via Yahoo to Lokai
Default

Quote:
Originally Posted by drgsldr69 View Post
i have tried a download manager and it still aint working. i have tried winrar, winzip and even 7zip to open it and they all tell me same story corrupt file.
Have you tried this?

1. Unzip the file "XML Bible System.zip" (izarc can handle it, even though it thinks the file is corrupt.)
2. Delete the file "XML Bible System.zip"
3. Rename the file you just unzipped from "XML Bible System" to "XML Bible System.zip" (by adding .zip to the end.)
4. Unzip "XML Bible System.zip".

This will work for 99% of the files on the forums, and it works for this one too, (I just tested it.)
Lokai is offline   Reply With Quote
Old 05-02-2008, 12:06 PM   #38 (permalink)
Forum Novice
 
Join Date: Feb 2008
Age: 27
Posts: 139
Default

I tried adding the Bible to the NPC Provisioner's SB Info much like I have added other things (runics, socket hammer, hammer of recovery) but I get a compile error.

Code:
Errors:
 + Mobiles/Vendors/SBInfo/SBProvisioner.cs:
    CS0246: Line 73: The type or namespace name 'Bible' could not be 
found (are you missing a using directive or an assembly reference?)
This is the line I added:

Add( new GenericBuyInfo( typeof( Bible ), 1, 20, 0x2252, 0x297 ) );
__________________
Miller. is online now   Reply With Quote
Old 05-02-2008, 12:55 PM   #39 (permalink)
Forum Expert
 
Lokai's Avatar
 
Join Date: Aug 2003
Location: Bergen, NY (Rochester)
Age: 41
Posts: 1,425
Send a message via ICQ to Lokai Send a message via MSN to Lokai Send a message via Yahoo to Lokai
Default

The Bible is in the Server.Custom namespace, so you need to add the following line to top of your script:

Code:
 
using Server.Custom;
Lokai is offline   Reply With Quote
Old 05-02-2008, 04:04 PM   #40 (permalink)
Forum Novice
 
Join Date: Feb 2008
Age: 27
Posts: 139
Default

Worked like a charm, thanks!
__________________
Miller. is online now   Reply With Quote
Old 09-26-2008, 12:36 PM   #41 (permalink)
Forum Expert
 
Lokai's Avatar
 
Join Date: Aug 2003
Location: Bergen, NY (Rochester)
Age: 41
Posts: 1,425
Send a message via ICQ to Lokai Send a message via MSN to Lokai Send a message via Yahoo to Lokai
Default

Update just posted to correct broken attachment:


9/26/2008
  • Removed old attachment due to corruption: XML Bible System.zip (1.26 MB, 382 views)
  • Added new attachments:
    1. XML Bible System.zip - contains all files with folders to add system to your Server
    2. Lokai XML Bible System.zip - contains just the .cs source files
    3. bible.zip - contains just the XML bible
Lokai is offline   Reply With Quote
Old 09-29-2008, 06:26 PM   #42 (permalink)
Lurker
 
Join Date: Sep 2008
Age: 43
Posts: 3
Default crashes

i just added this and it works good i have the preacher but all he says is "no verse found with that refrence" and when i try the configure on it the system crashes. also the bible adds just fine but when i double click it the server crashes. so i figured i needed the bible.zip also, but i cant unzip that file any suggestions is appreciated thanx in advance

ok i got the bible.zip unzipped but i still get the server crash

got it i just deleted everything and started over with the right download and now it works great tyvm

Last edited by Dodger-b; 09-29-2008 at 07:16 PM.
Dodger-b is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5