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 09-05-2006, 06:49 PM   #76 (permalink)
Forum Expert
 
Lucid Nagual's Avatar
 
Join Date: Nov 2004
Location: Beyond the Gates of Hell
Age: 36
Posts: 3,509
Smile serenity lace

Quote:
Originally Posted by serenity lace
I wanted to check out the farming book first, and i added and filled one and it crashed when i tried to open. heres the debug.

Code:
Server Crash Report
===================
 
RunUO Version 2.0, Build 2357.32527
Operating System: Microsoft Windows NT 5.1.2600 Service Pack 2
.NET Framework: 2.0.50727.42
Time: 9/5/2006 4:21:23 PM
Mobiles: 402
Items: 85931
Clients:
- Count: 1
+ 192.168.1.1: (account = Accident) (mobile = 0x1 'Brigid')
 
Exception:
System.NullReferenceException: Object reference not set to an instance of an object.
   at Server.Gumps.BaseCGump.AddSpells() in c:\Documents and Settings\Serenity\Desktop\Run Uo 2.0\Scripts\Spells\Base\BaseCGump.cs:line 71
   at Server.Gumps.BaseCGump..ctor(Mobile from, Spellbook book) in c:\Documents and Settings\Serenity\Desktop\Run Uo 2.0\Scripts\Spells\Base\BaseCGump.cs:line 53
   at Server.Spells.BookOfFarmingGump..ctor(Mobile from, BookOfFarming book) in c:\Documents and Settings\Serenity\Desktop\Run Uo 2.0\Scripts\Spells\Farming\BookOfFarmingGump.cs:line 43
   at Server.Items.BookOfFarming.OnDoubleClick(Mobile from) in c:\Documents and Settings\Serenity\Desktop\Run Uo 2.0\Scripts\Spells\Farming\BookOfFarming.cs:line 47
   at Server.Mobile.Use(Item item)
   at Server.Network.PacketHandlers.UseReq(NetState state, PacketReader pvSrc)
   at Server.Network.MessagePump.HandleReceive(NetState ns)
   at Server.Network.MessagePump.Slice()
   at Server.Core.Main(String[] args)
Hope this helps
Yeah don't try opening it. That is to keep you from getting errors. That book [system] is still under construction.
__________________
Leader of the Anti-OSI Movement. Inventing a new game experience in an EA Games-free environment.

Don Juan Matus "The basic difference between an ordinary man and a warrior is that a warrior takes everything as a challenge, while an ordinary man takes everything as a blessing or as a curse."


My Customs:
Lucid Nagual is offline   Reply With Quote
Old 09-05-2006, 09:26 PM   #77 (permalink)
Forum Expert
 
serenity lace's Avatar
 
Join Date: Jul 2006
Location: Bartlesville Ok
Age: 33
Posts: 385
Send a message via ICQ to serenity lace Send a message via MSN to serenity lace Send a message via Yahoo to serenity lace
Default ok

ill do some more testing tonight
serenity lace is offline   Reply With Quote
Old 09-05-2006, 11:04 PM   #78 (permalink)
Forum Expert
 
serenity lace's Avatar
 
Join Date: Jul 2006
Location: Bartlesville Ok
Age: 33
Posts: 385
Send a message via ICQ to serenity lace Send a message via MSN to serenity lace Send a message via Yahoo to serenity lace
Default hmm bug i think

the tome. you can now add both cleric and ancient book, but on the gump there are no spells listed for them( the books i dropped in were full). its not giving me any errors
serenity lace is offline   Reply With Quote
Old 09-05-2006, 11:06 PM   #79 (permalink)
Forum Expert
 
Lucid Nagual's Avatar
 
Join Date: Nov 2004
Location: Beyond the Gates of Hell
Age: 36
Posts: 3,509
Smile serenity lace

Quote:
Originally Posted by serenity lace
the tome. you can now add both cleric and ancient book, but on the gump there are no spells listed for them( the books i dropped in were full). its not giving me any errors
Yeah I haven't redone those lists yet But thx for the reminder. I will work on that soon.
__________________
Leader of the Anti-OSI Movement. Inventing a new game experience in an EA Games-free environment.

Don Juan Matus "The basic difference between an ordinary man and a warrior is that a warrior takes everything as a challenge, while an ordinary man takes everything as a blessing or as a curse."


My Customs:
Lucid Nagual is offline   Reply With Quote
Old 09-06-2006, 03:01 PM   #80 (permalink)
Forum Expert
 
Lucid Nagual's Avatar
 
Join Date: Nov 2004
Location: Beyond the Gates of Hell
Age: 36
Posts: 3,509
Exclamation Attention:

~Update Info:~

Releasing................

Version [7].0.2

List of Fixes and Improvements:
  • Added Optional Restrictive System to Aliens Full Spellbook [TomeOfKnowledge]. The book can now restrict scroll and book drops.
  • Fixed the Cleric Spells [they now work].
  • Fixed the AncientSpellbook [it now works and absorbs scrolls].
  • The AncientSpellbook now takes the MassDeath scroll.
  • The SpellRegistry is now equipped to handle 1500 spell IDs for future slots.
  • The Necromancer Spell, Exorsism, has been removed from the Undead Spells and placed in the Necromancer's Initializer. This caused me to have to change the Spell ID #s for the Undead Spells. This time I started the Undead Spells @ #131 to prevent this from happening again.
  • Introducing Farming. I have started to script the Farmer Class and have scripted the BookOfFarming. There are no Farming abilities right now I have just started and it won't be complete til release [7].0.3!
__________________
Leader of the Anti-OSI Movement. Inventing a new game experience in an EA Games-free environment.

Don Juan Matus "The basic difference between an ordinary man and a warrior is that a warrior takes everything as a challenge, while an ordinary man takes everything as a blessing or as a curse."


My Customs:
Lucid Nagual is offline   Reply With Quote
Old 09-06-2006, 06:21 PM   #81 (permalink)
Newbie
 
scrapy's Avatar
 
Join Date: May 2006
Age: 26
Posts: 27
Default



Exception:
System.NullReferenceException: Object reference not set to an instance of an object.
at Server.Spells.Cleric.ClericBanishEvilSpell.Target( Mobile m)
at Server.Spells.Cleric.ClericBanishEvilSpell.Interna lTarget.OnTarget(Mobile from, Object o)
at Server.Targeting.Target.Invoke(Mobile from, Object targeted)
at Server.Network.PacketHandlers.TargetResponse(NetSt ate state, PacketReader pvSrc)
at Server.Network.MessagePump.HandleReceive(NetState ns)
at Server.Network.MessagePump.Slice()
at Server.Core.Main(String[] args)
scrapy is offline   Reply With Quote
Old 09-06-2006, 06:25 PM   #82 (permalink)
Forum Expert
 
Lucid Nagual's Avatar
 
Join Date: Nov 2004
Location: Beyond the Gates of Hell
Age: 36
Posts: 3,509
Smile

Quote:
Originally Posted by scrapy


Exception:
System.NullReferenceException: Object reference not set to an instance of an object.
at Server.Spells.Cleric.ClericBanishEvilSpell.Target( Mobile m)
at Server.Spells.Cleric.ClericBanishEvilSpell.Interna lTarget.OnTarget(Mobile from, Object o)
at Server.Targeting.Target.Invoke(Mobile from, Object targeted)
at Server.Network.PacketHandlers.TargetResponse(NetSt ate state, PacketReader pvSrc)
at Server.Network.MessagePump.HandleReceive(NetState ns)
at Server.Network.MessagePump.Slice()
at Server.Core.Main(String[] args)
That crash has already been fixed and the package has been updated.
__________________
Leader of the Anti-OSI Movement. Inventing a new game experience in an EA Games-free environment.

Don Juan Matus "The basic difference between an ordinary man and a warrior is that a warrior takes everything as a challenge, while an ordinary man takes everything as a blessing or as a curse."


My Customs:
Lucid Nagual is offline   Reply With Quote
Old 09-07-2006, 11:22 PM   #83 (permalink)
Forum Expert
 
serenity lace's Avatar
 
Join Date: Jul 2006
Location: Bartlesville Ok
Age: 33
Posts: 385
Send a message via ICQ to serenity lace Send a message via MSN to serenity lace Send a message via Yahoo to serenity lace
Thumbs up ok lucid.

i have been testing and all seems to work good. i will be losing the net tommorrow for a month, but i will continue to test. thanx for the wonderful scripts.
serenity lace is offline   Reply With Quote
Old 09-08-2006, 02:07 PM   #84 (permalink)
Newbie
 
Join Date: Jan 2006
Posts: 12
Default me too. I also encounting same trouble.

Quote:
Originally Posted by imthewizardlord
i am encountering a strange problem. i have done all the fixes other people have found in case thoes were causing the problem but still i get the same result. anyways your wanting to know the problem now.

Since i added in your all spell system(which is excellent might i add im glad to have this wonderful tool) all of the higher mages spells dont seem to work they fizzle on attempt. this happens even with me when my magery is at 6555 whatever it is.

Thanks in advance for your assistance.
-Wizardlord
First,Thank you for Great Script dear Lucid.

I also encounting like above trouble Mr.Wizardload.
Can Administrator cast all spells?
One of Player Used TravelGates...why?
neoneogi is offline   Reply With Quote
Old 09-08-2006, 02:20 PM   #85 (permalink)
Forum Expert
 
Lucid Nagual's Avatar
 
Join Date: Nov 2004
Location: Beyond the Gates of Hell
Age: 36
Posts: 3,509
Smile neoneogi

Quote:
Originally Posted by neoneogi
First,Thank you for Great Script dear Lucid.

I also encounting like above trouble Mr.Wizardload.
Can Administrator cast all spells?
One of Player Used TravelGates...why?
Update to the current release and let me know if your problems go away.
__________________
Leader of the Anti-OSI Movement. Inventing a new game experience in an EA Games-free environment.

Don Juan Matus "The basic difference between an ordinary man and a warrior is that a warrior takes everything as a challenge, while an ordinary man takes everything as a blessing or as a curse."


My Customs:
Lucid Nagual is offline   Reply With Quote
Old 09-08-2006, 06:00 PM   #86 (permalink)
Newbie
 
Join Date: Jan 2006
Posts: 12
Default Lucid

Quote:
Originally Posted by Lucid Nagual
Update to the current release and let me know if your problems go away.
Thank you for quickly reply
I already upgrade your Script.and,
1) I made a New Character "SAMURAI"..It seems work well.
2) I tried a old Character "Mage"..and casted "Recall",so I succeed once of 8times cast.-->1/8 percent.(INT was 120)..this is reason why..

Sorry BAD English because I am Japanese.
neoneogi is offline   Reply With Quote
Old 09-08-2006, 06:52 PM   #87 (permalink)
Forum Expert
 
Lucid Nagual's Avatar
 
Join Date: Nov 2004
Location: Beyond the Gates of Hell
Age: 36
Posts: 3,509
Question

Quote:
Originally Posted by neoneogi
Thank you for quickly reply
I already upgrade your Script.and,
1) I made a New Character "SAMURAI"..It seems work well.
2) I tried a old Character "Mage"..and casted "Recall",so I succeed once of 8times cast.-->1/8 percent.(INT was 120)..this is reason why..

Sorry BAD English because I am Japanese.
But what was the skill level?
__________________
Leader of the Anti-OSI Movement. Inventing a new game experience in an EA Games-free environment.

Don Juan Matus "The basic difference between an ordinary man and a warrior is that a warrior takes everything as a challenge, while an ordinary man takes everything as a blessing or as a curse."


My Customs:
Lucid Nagual is offline   Reply With Quote
Old 09-08-2006, 08:45 PM   #88 (permalink)
Newbie
 
Join Date: Jan 2006
Posts: 12
Default

Quote:
Originally Posted by Lucid Nagual
But what was the skill level?
my skill level is Magery 100.

Oh perhaps I am stupid!
[ASCC Gump switch was all "disabled".
This setting cannot work all system,can this?

and more sorry,when I command "[GOCC",no object room recalled.
only board.how can I control there?

Thank you,Regards.
neoneogi is offline   Reply With Quote
Old 09-08-2006, 10:39 PM   #89 (permalink)
Forum Expert
 
Lucid Nagual's Avatar
 
Join Date: Nov 2004
Location: Beyond the Gates of Hell
Age: 36
Posts: 3,509
Smile

Quote:
Originally Posted by neoneogi
my skill level is Magery 100.

Oh perhaps I am stupid!
[ASCC Gump switch was all "disabled".
This setting cannot work all system,can this?

and more sorry,when I command "[GOCC",no object room recalled.
only board.how can I control there?

Thank you,Regards.
Don't use the Control Center. It is to be disabled at this point in time and can cause a crash.
__________________
Leader of the Anti-OSI Movement. Inventing a new game experience in an EA Games-free environment.

Don Juan Matus "The basic difference between an ordinary man and a warrior is that a warrior takes everything as a challenge, while an ordinary man takes everything as a blessing or as a curse."


My Customs:
Lucid Nagual is offline   Reply With Quote
Old 09-09-2006, 02:14 AM   #90 (permalink)
Forum Master
 
Lord_Greywolf's Avatar
 
Join Date: Dec 2005
Posts: 6,764
Send a message via Yahoo to Lord_Greywolf
Default

also a note on the skill level

if your cap is at 100 - then does not matter skill level - it will only use the cap until rc2 comes out or you use the newest svn (i believe the newest on has the fix in it for obeycap = false)

so to test it out for higher levels - use a power scroll to 120

or [set skills.magery.cap xxx where xxx equals the valuse you want

then set the skill level also
__________________
http://www.AoAUO.com

:) ..... Come for the Customs, Play for the Fun. Return to see your new Friends ..... :)
Lord_Greywolf is offline   Reply With Quote
Old 09-09-2006, 04:37 AM   #91 (permalink)
Forum Newbie
 
Join Date: May 2006
Posts: 30
Default

Quote:
Originally Posted by neoneogi
Quote:
Originally Posted by imthewizardlord
Originally Posted by imthewizardlord
i am encountering a strange problem. i have done all the fixes other people have found in case thoes were causing the problem but still i get the same result. anyways your wanting to know the problem now.

Since i added in your all spell system(which is excellent might i add im glad to have this wonderful tool) all of the higher mages spells dont seem to work they fizzle on attempt. this happens even with me when my magery is at 6555 whatever it is.

Thanks in advance for your assistance.
-Wizardlord
First,Thank you for Great Script dear Lucid.

I also encounting like above trouble Mr.Wizardload.
Can Administrator cast all spells?
One of Player Used TravelGates...why?
first, wow i posted that a long time ago. sorry off topic but i had to say it.

Next, yeah i found out a way to fix the problem which i think lord_greywolf said but still i have to put in my 2 cents worth.

If you set the skill caps to a higher number EX 120+ all the spells work just fine. i havent experimented much beyond that point so i think thats all thats nessissary to get it to work(i basicly just made a gate that set all my skills to as high as they can go AND their caps to so im assuming thats all that needs to be done.)


so just so i can give the solution i used in case some people still cant get it working heres my miracle solution i am using temporaroly.

If you have lokais advanced player gate make one and have it so it only sets skill caps. Then make it so it sets the skill caps to 120 and place it in a spot anyone can access.

and as far as i can tell from testing it doesnt make it so players can cast spells they shouldnt be able to at their current level so this will still make it so they can only cast spells of their current magery level but that once they hit the appropriate level that they WILL actually be able to without it fizzeling endlessly.

On my server i have the gate in my supply room with a sign next to it basicly telling players if their spells are broken to step into the gate and its worked perfectly since.

So if anyone is still having a problem with casting spells thats my 2 cents worth on a nice easy solution to fixing it.
__________________
Shard Owner = World Of Wizardlord Shard

"In view of the fact that God limited the intelligence of man, it seems unfair that he did not also limit his stupidity." -- Konrad Adenauer

Last edited by imthewizardlord; 09-09-2006 at 05:18 AM.
imthewizardlord is offline   Reply With Quote
Old 09-11-2006, 05:02 PM   #92 (permalink)
Forum Novice
 
Join Date: Feb 2006
Location: Wisconsin USA
Posts: 211
Default All Sells System

Put System In All went good
But if you say bank weather your player are staff shard crashes
before putting system in had no problems
here is crash report please help
Code:
Server Crash Report
===================

RunUO Version 2.0, Build 2357.32527
Operating System: Microsoft Windows NT 5.1.2600 Service Pack 2
.NET Framework: 2.0.50727.42
Time: 9/11/2006 2:53:58 PM
Mobiles: 5560
Items: 110036
Clients:
- Count: 1
+ 192.168.15.100: (account = boulder) (mobile = 0x1 'Boulder')

Exception:
System.NullReferenceException: Object reference not set to an instance of an object.
   at Server.Misc.HearAll.OnSpeech(SpeechEventArgs args)
   at Server.SpeechEventHandler.Invoke(SpeechEventArgs e)
   at Server.EventSink.InvokeSpeech(SpeechEventArgs e)
   at Server.Mobile.DoSpeech(String text, Int32[] keywords, MessageType type, Int32 hue)
   at Server.Mobiles.PlayerMobile.DoSpeech(String text, Int32[] keywords, MessageType type, Int32 hue)
   at Server.Network.PacketHandlers.UnicodeSpeech(NetState state, PacketReader pvSrc)
   at Server.Network.MessagePump.HandleReceive(NetState ns)
   at Server.Network.MessagePump.Slice()
   at Server.Core.Main(String[] args)
Boulder is offline   Reply With Quote
Old 09-11-2006, 05:20 PM   #93 (permalink)
Forum Expert
 
Thistle's Avatar
 
Join Date: Mar 2005
Posts: 1,155
Default

Looks more like a problem with the HearAll script that you're using. Try removing it to see what happens.
__________________
Thistle is offline   Reply With Quote
Old 09-11-2006, 08:19 PM   #94 (permalink)
Forum Novice
 
Join Date: Feb 2006
Location: Wisconsin USA
Posts: 211
Default all spells

thanks i remove hear all now know problem
Boulder is offline   Reply With Quote
Old 09-11-2006, 09:23 PM   #95 (permalink)
Forum Expert
 
Lucid Nagual's Avatar
 
Join Date: Nov 2004
Location: Beyond the Gates of Hell
Age: 36
Posts: 3,509
Smile Boulder

Quote:
Originally Posted by Boulder
Put System In All went good
But if you say bank weather your player are staff shard crashes
before putting system in had no problems
here is crash report please help
Code:
Server Crash Report
===================
 
RunUO Version 2.0, Build 2357.32527
Operating System: Microsoft Windows NT 5.1.2600 Service Pack 2
.NET Framework: 2.0.50727.42
Time: 9/11/2006 2:53:58 PM
Mobiles: 5560
Items: 110036
Clients:
- Count: 1
+ 192.168.15.100: (account = boulder) (mobile = 0x1 'Boulder')
 
Exception:
System.NullReferenceException: Object reference not set to an instance of an object.
   at Server.Misc.HearAll.OnSpeech(SpeechEventArgs args)
   at Server.SpeechEventHandler.Invoke(SpeechEventArgs e)
   at Server.EventSink.InvokeSpeech(SpeechEventArgs e)
   at Server.Mobile.DoSpeech(String text, Int32[] keywords, MessageType type, Int32 hue)
   at Server.Mobiles.PlayerMobile.DoSpeech(String text, Int32[] keywords, MessageType type, Int32 hue)
   at Server.Network.PacketHandlers.UnicodeSpeech(NetState state, PacketReader pvSrc)
   at Server.Network.MessagePump.HandleReceive(NetState ns)
   at Server.Network.MessagePump.Slice()
   at Server.Core.Main(String[] args)
Post your HearAll.cs and I will see if I can help you with it.
__________________
Leader of the Anti-OSI Movement. Inventing a new game experience in an EA Games-free environment.

Don Juan Matus "The basic difference between an ordinary man and a warrior is that a warrior takes everything as a challenge, while an ordinary man takes everything as a blessing or as a curse."


My Customs:
Lucid Nagual is offline   Reply With Quote
Old 09-12-2006, 01:17 AM   #96 (permalink)
Forum Novice
 
Join Date: Feb 2006
Location: Wisconsin USA
Posts: 211
Default All Sells System

This is my hear all script
It was working good before all spell

Code:
using System;
using System.Collections;
using Server;
using Server.Mobiles;
using Server.Commands;


namespace Server.Misc
{
	public class HearAll
	{
		private static bool m_ConsolePrint;
		private static ArrayList m_HearAll = new ArrayList();

		public static void Initialize()
		{
			CommandSystem.Register( "HearAll", AccessLevel.Administrator, new CommandEventHandler( HearAll_OnCommand ) );
			CommandSystem.Register( "ConsoleHearAll", AccessLevel.Administrator, new CommandEventHandler( ConsoleHearAll_OnCommand ) );

			EventSink.Speech += new SpeechEventHandler( OnSpeech );
		}

		private static void OnSpeech( SpeechEventArgs args )
		{
			string msg;
			if ( args.Mobile.Region.Name.Length > 0 )
				msg = String.Format( "{0} ({1}): {2}", args.Mobile.Name, args.Mobile.Region.Name, args.Speech );
			else
				msg = String.Format( "{0}: {1}", args.Mobile.Name, args.Speech );
			if ( m_ConsolePrint )
				Console.WriteLine( msg );

			ArrayList remove = null;
			for(int i=0;i<m_HearAll.Count;i++)
			{
				if ( ((Mobile)m_HearAll[i]).NetState == null )
				{
					if ( remove == null )
						remove = new ArrayList( 1 );
					remove.Add( m_HearAll[i] );
				}
				else
				{
					((Mobile)m_HearAll[i]).SendMessage( msg );
				}
			}

			if ( remove != null )
			{
				for(int i=0;i<remove.Count;i++)
					m_HearAll.Remove( remove[i] );
			}
		}

		private static void HearAll_OnCommand( CommandEventArgs args )
		{
			if ( m_HearAll.Contains( args.Mobile ) )
			{
				m_HearAll.Remove( args.Mobile );
				args.Mobile.SendMessage( "Hear all disabled." );
			}
			else
			{
				m_HearAll.Add( args.Mobile );
				args.Mobile.SendMessage( "Hear all enabled, type [hearall again to disable it." );
			}
		}

		private static void ConsoleHearAll_OnCommand( CommandEventArgs args )
		{
			m_ConsolePrint = !m_ConsolePrint;

			if ( m_ConsolePrint )
				args.Mobile.SendMessage( "Now sending all sp