Go Back   RunUO - Ultima Online Emulation > RunUO > Custom Script Release Archive

Custom Script Release Archive This is a pre-script database archive of what our users had released.

 
 
Thread Tools Display Modes
Old 04-19-2006, 07:08 PM   #1 (permalink)
Forum Novice
 
espcevan's Avatar
 
Join Date: Feb 2006
Location: FL, New York
Age: 20
Posts: 130
Send a message via AIM to espcevan Send a message via Yahoo to espcevan
Default Full spell books

Ok so heres the deal, I couldent find the full spell books for necro or mage. I asked a friend and he sent me them. Sorry for whoever made it but I looked everywhere and I couldent find it so im posting it again. Thanks


Install: Well, Just place it in your custom folder thats should be in your scripts folder that is in your RunUo folder. Not that hard
Attached Files
File Type: cs Full Spellbook.cs (548 Bytes, 249 views)
File Type: cs Full Necromancer Spellboook.cs (602 Bytes, 191 views)
__________________
Do not judge what you cannot comprehend.

In the name of god, impure souls of the living dead shall be banished into eternal damnation amen.

Last edited by espcevan; 04-19-2006 at 07:09 PM. Reason: miss spelled word
espcevan is offline  
Old 04-19-2006, 07:12 PM   #2 (permalink)
Forum Novice
 
Join Date: Feb 2006
Location: at my computer
Posts: 117
Send a message via ICQ to tindin156 Send a message via MSN to tindin156
Default

the necro book is buged just so you know...it adds 2 bad spells to the list.

the porper value for necro book is 65535 (0xffff)
__________________
some peaple search for what they want others have it handed to them....

Yes i know my spelling sucks.....
tindin156 is offline  
Old 04-19-2006, 07:27 PM   #3 (permalink)
Forum Novice
 
espcevan's Avatar
 
Join Date: Feb 2006
Location: FL, New York
Age: 20
Posts: 130
Send a message via AIM to espcevan Send a message via Yahoo to espcevan
Default

OK i cant figure out how to fix that sorry, i got it from a friend.
__________________
Do not judge what you cannot comprehend.

In the name of god, impure souls of the living dead shall be banished into eternal damnation amen.
espcevan is offline  
Old 04-19-2006, 08:27 PM   #4 (permalink)
Forum Novice
 
marvin3634's Avatar
 
Join Date: Feb 2006
Location: oklahoma
Age: 29
Posts: 110
Send a message via ICQ to marvin3634 Send a message via Yahoo to marvin3634
Default I looked for a few weeks and finally.

thanks to Lucid Nagual who has this script that Has the perfect answer i have full necro and mage spellbooks.. i am only posting this because we are trying to help eachother not to take credit from you. You are doing great to help.
and thanks.

name your new file FullSpellbooks.cs

Code:
// Created By Lucid Nagual - Admin of The Conjuring

using System; 
using Server; 


//--Magery Full Spellbook Start-----------------------------------------------------------

namespace Server.Items 
{ 
   public class FullMagerySpellbook : Spellbook
   { 

      [Constructable] 
      public FullMagerySpellbook()
      { 
            this.Content = ulong.MaxValue; 
      } 

      public FullMagerySpellbook( Serial serial ) : base( serial ) 
      { 
      } 

      public override void Serialize( GenericWriter writer ) 
      { 
         base.Serialize( writer ); 
         writer.Write( (int) 0 ); 
      } 

      public override void Deserialize( GenericReader reader ) 
      { 
         base.Deserialize( reader ); 
         int version = reader.ReadInt(); 
      } 
   } 
}


//--Full Necromancer Spellbook Start--------------------------------------------------------

namespace Server.Items
{
	public class FullNecroSpellbook : Spellbook
	{
		public override SpellbookType SpellbookType{ get{ return SpellbookType.Necromancer; } }
		public override int BookOffset{ get{ return 100; } }
		public override int BookCount{ get{ return 16; } }

		public override Item Dupe( int amount )
		{
			Spellbook book = new FullNecroSpellbook();
			book.Content = this.Content;
			return base.Dupe( book, amount );
		}

		[Constructable]
		public FullNecroSpellbook() : this( (ulong)0xFFFF )
		{
		}

		[Constructable]
		public FullNecroSpellbook( ulong content ) : base( content, 0x2253 )
		{
			Layer = Layer.Invalid;
		}

		public FullNecroSpellbook( Serial serial ) : base( serial )
		{
		}

		public override void Serialize( GenericWriter writer )
		{
			base.Serialize( writer );
			writer.Write( (int) 0 ); // version
		}

		public override void Deserialize( GenericReader reader )
		{
			base.Deserialize( reader );
			int version = reader.ReadInt();
			Layer = Layer.Invalid;
		}
	}
}


//--The End--------------------------------------------------------------------------
__________________
If at first you don't succede , Destroy all the evidence that you tried. ;)

Last edited by marvin3634; 04-19-2006 at 08:37 PM.
marvin3634 is offline  
Old 04-22-2006, 02:56 PM   #5 (permalink)
 
Join Date: Dec 2005
Posts: 1
Default How to fill a SB/NB

Quote:
Originally Posted by espcevan
I couldent find the full spell books for necro or mage.
Well the thing is, there's no item called "Full spellbook". There's only spellbook with all spells. And RunUO *has* a command to make a FullSB. just [add spellbook or necrospellbook and use the [allspells command. Click on the SB/NB and *poof*--- there's the full SB/NB
spideyx is offline  
Old 04-25-2006, 11:52 PM   #6 (permalink)
Forum Novice
 
marvin3634's Avatar
 
Join Date: Feb 2006
Location: oklahoma
Age: 29
Posts: 110
Send a message via ICQ to marvin3634 Send a message via Yahoo to marvin3634
Wink The code Added above

Make a new text file and paste the full script from above. It will add the full spellbooks and necro books without any bad spells. then change it from newfile.txt to fullspellbooks.cs and add it to customs.
__________________
If at first you don't succede , Destroy all the evidence that you tried. ;)
marvin3634 is offline  
 

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 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5