|
||
|
|||||||
| 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 publish them under the GPL licensing terms. 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. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#26 (permalink) |
|
Lurker
Join Date: Oct 2007
Age: 43
Posts: 22
|
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.'
Dwayne |
|
|
|
|
|
#27 (permalink) |
|
Newbie
Join Date: Nov 2007
Age: 27
Posts: 26
|
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. |
|
|
|
|
|
#28 (permalink) |
|
Forum Novice
|
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 |
|
|
|
|
|
#29 (permalink) | |
|
Forum Expert
|
Quote:
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! |
|
|
|
|
|
|
#30 (permalink) |
|
Forum Novice
Join Date: Jan 2003
Age: 37
Posts: 188
|
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" |
|
|
|
|
|
#32 (permalink) |
|
Forum Novice
Join Date: Jan 2003
Age: 37
Posts: 188
|
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" |
|
|
|
|
|
#33 (permalink) |
|
Forum Novice
Join Date: Jan 2003
Age: 37
Posts: 188
|
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" |
|
|
|
|
|
#34 (permalink) |
|
Forum Novice
Join Date: Jan 2003
Age: 37
Posts: 188
|
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" |
|
|
|
|
|
#35 (permalink) |
|
Forum Novice
Join Date: Jan 2003
Age: 37
Posts: 188
|
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" |
|
|
|
|
|
#37 (permalink) | |
|
Forum Expert
|
Quote:
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.) |
|
|
|
|
|
|
#38 (permalink) |
|
Forum Novice
Join Date: Feb 2008
Location: UOResurgence.com
Age: 28
Posts: 211
|
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?)
Add( new GenericBuyInfo( typeof( Bible ), 1, 20, 0x2252, 0x297 ) );
__________________
|
|
|
|
|
|
#41 (permalink) |
|
Forum Expert
|
Update just posted to correct broken attachment:
9/26/2008
|
|
|
|
|
|
#42 (permalink) |
|
Lurker
Join Date: Sep 2008
Age: 44
Posts: 9
|
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 06:16 PM. |
|
|
|
|
|
#43 (permalink) | |
|
Forum Novice
|
Quote:
That link doesn't seem to work anymore, so I wonder if teh .zip files in the OP are the most updated? It seems that the preachers will only say a fixed verse (such as John 3:16-17), can they be set to speak random verses each time when a player approaches them? Last edited by Hawkins; 12-10-2008 at 11:26 PM. |
|
|
|
|
|
|
#44 (permalink) | |
|
Forum Expert
|
Quote:
http://www.runuo.com/forums/faq-forum/90228-how-open-runuo-zip-files.html |
|
|
|
|
|
|
#45 (permalink) | |
|
Forum Expert
|
Quote:
in WanderingPreacher.cs, around line 91, change ReadVerse() as follows: Code:
public void ReadVerse()
{
m_Preaching = true;
Say( "Thus sayeth the Lord:" );
if (Random) Say( BibleReader.GetRandomVerse() )
else Say( BibleReader.GetVerse( m_Book, m_Chapter, m_FirstVerse ) );
m_Preaching = false;
m_NextPreach = DateTime.Now + PreachDelay;
}
|
|
|
|
|
|
|
#46 (permalink) |
|
Forum Novice
Join Date: May 2007
Location: Somewhere In The Sunshine State!
Age: 42
Posts: 682
|
I really love this system because it can be expanded on with other religions as well. Its nice to bring a little faith to the game. Just a little background though, I was looking at the gumps and artwork and I had a bug run up my arse; so I spent the last 10 hours of my life trying to improve your bible.cs gump artwork in an attempt to make it look more like a book instead of a block of grey. Well I got it working somewhat...
![]() The Issues I Am Having: The buttons don't seem to work very well. I used your Bible.cs and didnt deviate other than use code that was generated by GumpStudio for RunUO 2.0. Its funny because all the texts seem to appear in the right areas of the gump, but 1 button does not... the Accept Changes (the graphic I wanted to use was the little yellow pushbutton that says Accept on it) and the NONE of the buttons work. Go figure... this is my luck right. Anyway If you like my artwork... ie the button design and the layout... I polished up that book a bit, made it larger and more clear so it would look good enlarged... and you'd like to incorporate it in the script please do, I think it would make the script 100 times more pleasing to look at. Here is what I was left with the last attempt to boot up my server: ![]() I've enclosed all the files I've been working with... Download Them Here > the gump studio project file I created the layout in... the whole thing is there. > the bitmap artfiles of the new art tiles (in case you want to patch up) > a copy of my gumpart.mul, gumpidx.mul, and tiledata.mul (from client 6.0.11.0 patch 72) in case you want to backup your copies and use mine to see how well it works. ![]() Let me know if you're willing to help restructure the gump. Had this of worked I would have posted the art bitmaps in this forum to allow others to patch up along with a copy of your working bible.cs file with the new layout and design. Unfortunately it didnt work . So I have nothing to show for Anyway this idea stems from the perfectionist side of me and now I think I'm gonna crash cause this is really frustrating and umm - yea I have a headache. ![]() |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|