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!

Druidic Spells Final-all 16 spells - updated 6th Jan 04

Status
Not open for further replies.

felius

Wanderer
i have this erro:
[code:1] - Error: Scripts\Druid\MushroomCircleSpell.cs: CS0117: (line 21, column 13) 'Se
rver.Spells.Reagent' does not contain a definition for 'SpringWater'
- Error: Scripts\Druid\MushroomGatewaySpell.cs: CS0117: (line 20, column 5) 'Se
rver.Spells.Reagent' does not contain a definition for 'SpringWater'
- Error: Scripts\Druid\PackOfBeastSpell.cs: CS0117: (line 18, column 13) 'Serve
r.Spells.Reagent' does not contain a definition for 'PetrafiedWood'
- Error: Scripts\Druid\RestorativeSoilSpell.cs: CS0117: (line 20, column 13) 'S
erver.Spells.Reagent' does not contain a definition for 'SpringWater'
- Error: Scripts\Druid\ShieldOfEarthSpell.cs: CS0117: (line 18, column 13) 'Ser
ver.Spells.Reagent' does not contain a definition for 'SpringWater'
- Error: Scripts\Druid\SpringOfLifeSpell.cs: CS0117: (line 18, column 13) 'Serv
er.Spells.Reagent' does not contain a definition for 'SpringWater'
- Error: Scripts\Druid\SpringOfLifeSpell.cs: CS0117: (line 19, column 13) 'Serv
er.Spells.Reagent' does not contain a definition for 'SpringWater'
- Error: Scripts\Druid\SummonFireflySpell.cs: CS0117: (line 17, column 13) 'Ser
ver.Spells.Reagent' does not contain a definition for 'DestroyingAngel'
- Error: Scripts\Druid\SwarmofInsectsSpell.cs: CS0117: (line 19, column 13) 'Se
rver.Spells.Reagent' does not contain a definition for 'DestroyingAngel'
- Error: Scripts\Druid\TreefellowSpell.cs: CS0117: (line 18, column 13) 'Server
.Spells.Reagent' does not contain a definition for 'PetrafiedWood'
- Error: Scripts\Druid\VolcanicEruption.cs: CS0117: (line 18, column 13) 'Serve
r.Spells.Reagent' does not contain a definition for 'DestroyingAngel'
[/code:1]
 

wolf

Wanderer
felius said:
i have this erro:
[code:1] - Error: Scripts\Druid\MushroomCircleSpell.cs: CS0117: (line 21, column 13) 'Se
rver.Spells.Reagent' does not contain a definition for 'SpringWater'
- Error: Scripts\Druid\MushroomGatewaySpell.cs: CS0117: (line 20, column 5) 'Se
rver.Spells.Reagent' does not contain a definition for 'SpringWater'
- Error: Scripts\Druid\PackOfBeastSpell.cs: CS0117: (line 18, column 13) 'Serve
r.Spells.Reagent' does not contain a definition for 'PetrafiedWood'
- Error: Scripts\Druid\RestorativeSoilSpell.cs: CS0117: (line 20, column 13) 'S
erver.Spells.Reagent' does not contain a definition for 'SpringWater'
- Error: Scripts\Druid\ShieldOfEarthSpell.cs: CS0117: (line 18, column 13) 'Ser
ver.Spells.Reagent' does not contain a definition for 'SpringWater'
- Error: Scripts\Druid\SpringOfLifeSpell.cs: CS0117: (line 18, column 13) 'Serv
er.Spells.Reagent' does not contain a definition for 'SpringWater'
- Error: Scripts\Druid\SpringOfLifeSpell.cs: CS0117: (line 19, column 13) 'Serv
er.Spells.Reagent' does not contain a definition for 'SpringWater'
- Error: Scripts\Druid\SummonFireflySpell.cs: CS0117: (line 17, column 13) 'Ser
ver.Spells.Reagent' does not contain a definition for 'DestroyingAngel'
- Error: Scripts\Druid\SwarmofInsectsSpell.cs: CS0117: (line 19, column 13) 'Se
rver.Spells.Reagent' does not contain a definition for 'DestroyingAngel'
- Error: Scripts\Druid\TreefellowSpell.cs: CS0117: (line 18, column 13) 'Server
.Spells.Reagent' does not contain a definition for 'PetrafiedWood'
- Error: Scripts\Druid\VolcanicEruption.cs: CS0117: (line 18, column 13) 'Serve
r.Spells.Reagent' does not contain a definition for 'DestroyingAngel'
[/code:1]

you need to get the regs from the forum use this link http://www.runuo.com/forum/viewtopic.php?t=26205&highlight=druid
_____________
Wolf Owner Of Army Of Darkness
www.freewebs.com/deadlyalliancei/
:twisted:
 

wraith

Wanderer
Try this one, just replace your old Reagent.cs file. back it up first.

Reagent.cs
[code:1]using System;
using Server.Items;

namespace Server.Spells
{
public class Reagent
{
private static Type[] m_Types = new Type[16]
{
typeof( BlackPearl ),
typeof( Bloodmoss ),
typeof( Garlic ),
typeof( Ginseng ),
typeof( MandrakeRoot ),
typeof( Nightshade ),
typeof( SulfurousAsh ),
typeof( SpidersSilk ),
typeof( BatWing ),
typeof( GraveDust ),
typeof( DaemonBlood ),
typeof( NoxCrystal ),
typeof( PigIron ),
typeof( DestroyingAngel ),
typeof( PetrafiedWood ),
typeof( SpringWater )
};

public Type[] Types
{
get{ return m_Types; }
}

public static Type BlackPearl
{
get{ return m_Types[0]; }
set{ m_Types[0] = value; }
}

public static Type Bloodmoss
{
get{ return m_Types[1]; }
set{ m_Types[1] = value; }
}

public static Type Garlic
{
get{ return m_Types[2]; }
set{ m_Types[2] = value; }
}

public static Type Ginseng
{
get{ return m_Types[3]; }
set{ m_Types[3] = value; }
}

public static Type MandrakeRoot
{
get{ return m_Types[4]; }
set{ m_Types[4] = value; }
}

public static Type Nightshade
{
get{ return m_Types[5]; }
set{ m_Types[5] = value; }
}

public static Type SulfurousAsh
{
get{ return m_Types[6]; }
set{ m_Types[6] = value; }
}

public static Type SpidersSilk
{
get{ return m_Types[7]; }
set{ m_Types[7] = value; }
}

public static Type BatWing
{
get{ return m_Types[8]; }
set{ m_Types[8] = value; }
}

public static Type GraveDust
{
get{ return m_Types[9]; }
set{ m_Types[9] = value; }
}

public static Type DaemonBlood
{
get{ return m_Types[10]; }
set{ m_Types[10] = value; }
}

public static Type NoxCrystal
{
get{ return m_Types[11]; }
set{ m_Types[11] = value; }
}

public static Type PigIron
{
get{ return m_Types[12]; }
set{ m_Types[12] = value; }
}

public static Type DestroyingAngel
{
get{ return m_Types[13]; }
set{ m_Types[13] = value; }
}
public static Type PetrafiedWood

{
get{ return m_Types[14]; }
set{ m_Types[14] = value; }
}

public static Type SpringWater
{
get{ return m_Types[15]; }
set{ m_Types[15] = value; }

}
}
}
[/code:1]

hope it helps out
 

stars123

Wanderer
i got this error for the spells and i dunno why

[code:1]
Scripts: Compiling C# scripts...failed (16 errors, 1 warnings)
- Error: Scripts\New Folder\DruidicSpellBook.cs: CS0117: (line 10, column 64) '
Server.Items.SpellbookType' does not contain a definition for 'Druidic'
- Error: Scripts\New Folder\EnchantedGrove.cs: CS0117: (line 20, column 13) 'Se
rver.Spells.Reagent' does not contain a definition for 'PetrafiedWood'
- Error: Scripts\New Folder\EnchantedGrove.cs: CS0117: (line 21, column 13) 'Se
rver.Spells.Reagent' does not contain a definition for 'SpringWater'
- Error: Scripts\New Folder\GraspingRootsSpell.cs: CS0117: (line 17, column 13)
'Server.Spells.Reagent' does not contain a definition for 'SpringWater'
- Error: Scripts\New Folder\LureStoneSpell.cs: CS0117: (line 22, column 13) 'Se
rver.Spells.Reagent' does not contain a definition for 'SpringWater'
- Error: Scripts\New Folder\MushroomCircleSpell.cs: CS0117: (line 21, column 13
) 'Server.Spells.Reagent' does not contain a definition for 'SpringWater'
- Error: Scripts\New Folder\MushroomGatewaySpell.cs: CS0117: (line 20, column 5
) 'Server.Spells.Reagent' does not contain a definition for 'SpringWater'
- Error: Scripts\New Folder\PackOfBeastSpell.cs: CS0117: (line 18, column 13) '
Server.Spells.Reagent' does not contain a definition for 'PetrafiedWood'
- Error: Scripts\New Folder\RestorativeSoilSpell.cs: CS0117: (line 20, column 1
3) 'Server.Spells.Reagent' does not contain a definition for 'SpringWater'
- Error: Scripts\New Folder\ShieldOfEarthSpell.cs: CS0117: (line 18, column 13)
'Server.Spells.Reagent' does not contain a definition for 'SpringWater'
- Error: Scripts\New Folder\SpringOfLifeSpell.cs: CS0117: (line 18, column 13)
'Server.Spells.Reagent' does not contain a definition for 'SpringWater'
- Error: Scripts\New Folder\SpringOfLifeSpell.cs: CS0117: (line 19, column 13)
'Server.Spells.Reagent' does not contain a definition for 'SpringWater'
- Error: Scripts\New Folder\SummonFireflySpell.cs: CS0117: (line 17, column 13)
'Server.Spells.Reagent' does not contain a definition for 'DestroyingAngel'
- Error: Scripts\New Folder\SwarmofInsectsSpell.cs: CS0117: (line 19, column 13
) 'Server.Spells.Reagent' does not contain a definition for 'DestroyingAngel'
- Error: Scripts\New Folder\TreefellowSpell.cs: CS0117: (line 18, column 13) 'S
erver.Spells.Reagent' does not contain a definition for 'PetrafiedWood'
- Error: Scripts\New Folder\VolcanicEruption.cs: CS0117: (line 18, column 13) '
Server.Spells.Reagent' does not contain a definition for 'DestroyingAngel'
Scripts: One or more scripts failed to compile or no script files were found.

[/code:1]
 

stars123

Wanderer
Okay i put in the new regs and i got this


[code:1]
Scripts: Compiling C# scripts...failed (1 errors, 1 warnings)
- Warning: Scripts\Custom2\MOTD.cs: CS0183: (line 205, column 49) The given exp
ression is always of the provided ('Server.Mobiles.PlayerMobile') type
- Error: Scripts\Druid\DruidicSpellBook.cs: CS0117: (line 10, column 64) 'Serve
r.Items.SpellbookType' does not contain a definition for 'Druidic'
Scripts: One or more scripts failed to compile or no script files were found.
- Press return to exit, or R to try again.
[/code:1]
 

Voran

Wanderer
You need the spellbook types. If they aren't in the zip for this, they'll be in the zip with the UVII spells.
 

Brazen

Wanderer
Considering this thread is 12 pages long.....

Pretend I'ma n00b.

Tell me exactly which files go where, and which ones need edited for B36 in one simple message please?

You all lost me with all these corrections, changes, retractions etc.

THANKS LOADS!!

Brazen
 

Voran

Wanderer
Easy - download the zip file, follow the instructions on the first page, then include the reagents file posted on the previous page (this zip was always an update of a previous script containing 8 spells), and include the spellbook cs from the UVII spells. You don't need to include the UVII set, just the spellbook.cs
 

KillerBeeZ

Knight
ok I am thinking I need to delete all the druid files and start over because I am at a loss as to why this is not working

I tested all the spells and the ones commented out are those that cause a server crash... even with the register commented out it crashes

// Register( 301, typeof( Druid.SheildOfEarthSpell ) );
Register( 302, typeof( Druid.HollowReedSpell ) );
Register( 303, typeof( Druid.PackOfBeastSpell ) );
// Register( 304, typeof( Druid.SpringOfLifeSpell ) );
// Register( 305, typeof( Druid.GraspingRootsSpell ) );
Register( 306, typeof( Druid.BlendWithForestSpell ) );
Register( 307, typeof( Druid.SwarmOfInsectsSpell ) );
Register( 308, typeof( Druid.VolcanicEruptionSpell ) );
Register( 309, typeof( Druid.TreefellowSpell ) );
// Register( 310, typeof( Druid.StoneCircleSpell ) );
// Register( 311, typeof( Druid.EnchantedGroveSpell ) );
// Register( 312, typeof( Druid.LureStoneSpell ) );
Register( 313, typeof( Druid.NaturesPassageSpell ) );
// Register( 314, typeof( Druid.MushroomGatewaySpell ) );
// Register( 315, typeof( Druid.RestorativeSoilSpell ) );
Register( 316, typeof( Druid.FireflySpell ) );

This is the error I get

[code:1]Server Crash Report
===================

Operating System: Microsoft Windows NT 5.0.2195.0
.NET Framework: 1.1.4322.573
Time: 1/5/2004 8:06:29 AM

Exception:
System.TypeInitializationException: The type initializer for "Server.Spells.Druid.StoneCircleSpell" threw an exception. ---> System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Server.Spells.Reagent.get_SpringWater()
at Server.Spells.Druid.StoneCircleSpell..cctor()
--- End of inner exception stack trace ---
at Server.Spells.Druid.StoneCircleSpell..ctor(Mobile caster, Item scroll)
at Server.Gumps.DruidicSpellbookGump.OnResponse(NetState state, RelayInfo info)
at Server.Network.PacketHandlers.DisplayGumpResponse(NetState state, PacketReader pvSrc)
at Server.Network.MessagePump.HandleReceive(NetState ns)
at Server.Network.MessagePump.Slice()
at Server.Core.Main(String[] args)[/code:1]

is there an easy fix or shall I just start over?
 

Voran

Wanderer
I'd opt for deleteing and reisntalling them - I've never had any crashes due to the spells, and I've got at least two druids that I know with full books and GM Lore/Taming on my shard.
 

KillerBeeZ

Knight
Voran said:
I'd opt for deleteing and reisntalling them - I've never had any crashes due to the spells, and I've got at least two druids that I know with full books and GM Lore/Taming on my shard.

would it be possible to add to the Zip all the files for this system, I think maybe going here for a file then there for a file has a lot to do with this. Also the Spellbook.cs was not in the Zip so I used the one from Ultima VII like instructed... no avail.

I am sure that if I had all the correct files I'd have no problem... as it is I have to guess at what goes where and which files need to be downloaded from which topic and which ones need to be edited.

If this is not possible, I understand, I will try once more to peice this together. if it doesnt work, no biggie, I would like the Druid spells but I dont need them.
 

Voran

Wanderer
I'm loth to include them - the first time I released the zip with the files in, I got a flood of PMs asking me why the spellbook.cs was giving them "already found" errors - added to which, releasing the reagent.cs would mean editing a lot out of mine. I don't want to sound lazy, but I'd rather you did use the spellbook.cs from the UVII spells and the reagents.cs posted above.
The spellbook.cs in the UVII zip is the same one I've been using on my shard with the Druidic and UVII spells.
 

Thiago A.

Wanderer
ten minutes after posting i tryed to put in my char 1000 in allskills and worked
but here
i find a bug ...
when i cast volcanic eruption sometimes generate "orc capitains" ... estrange ... but only sometimes ....

but i liked very much this script
thanx voran

just a quastion
it uses animal lore and animal taming not magery isnt it ?
 

Thiago A.

Wanderer
ten minutes after posting i tryed to put in my char 1000 in allskills and worked
but here
i find a bug ...
when i cast volcanic eruption sometimes generate "orc capitains" ... estrange ... but only sometimes ....

but i liked very much this script
thanx voran

just a quastion
it uses animal lore and animal taming not magery isnt it ?
 

Voran

Wanderer
Yep, animal lore is the "magery" and taming is the "eval".
And Volcanic Erruption must be hitting an Orc Brute, so he's throwing Orc Lords at you.
 

Thiago A.

Wanderer
hhahhaha
could be !!!!
when i tested the screen had 2 orc brutes
sorry for this !!!!!


but ...
i like so much ur script ... u dont even know !!!!

it completed my shgard idea
thanx !!!
 
Status
Not open for further replies.
Top