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!

[RunUO SVN] Sphere-like Spell System [No precasting]

lokis

Sorceror
[RunUO SVN] Sphere-like Spell System [No precasting]

Hello everyone,

I used to play UO on sphere shards back in 2001-2005, now I decided to make a sphere-like shard using RunUO, this is one of my first scripts, it's not complete yet.


Description: Sphere-like spell system, no precasting and target for almost everything. It only works for the Magery Spells (8 circles). SVN538


Installation: Just copy the Spells folder and put it under the Scripts folder overwriting everything.


If you want to use the RunUO system just change this line on MagerySpell.cs:
Code:
public virtual bool UseSphereSystem { get { return true; } }
to:
Code:
public virtual bool UseSphereSystem { get { return false; } }


Also, you can choose the system each spell is going to use, just put this line on the spell's
class, for example, if you want the Bless Spell to use the RunUO system, open Bless.cs and put this line
on the BlessSpell class:

Code:
public override bool UseSphereSystem { get { return false; } }


Please report any bugs and make sugestions.
---

30/11/10 - v0.1 - First release.

--
TODO: Work on the summons and fix some delays.
 

Attachments

  • SphereSpellSystem.rar
    104.5 KB · Views: 121

wiccawolves

Sorceror
Code:
RunUO - [www.runuo.com] Version 2.1, Build 3948.24300
Core: Running on .NET Framework Version 2.0.50727
Scripts: Compiling C# scripts...failed (1 errors, 2 warnings)
Warnings:
 + Items/Jewels/BaseJewel.cs:
    CS0162: Line 258: Unreachable code detected
 + Customs/Stygian Abyss/SA Customs/Facet Command/FacetGump.cs:
    CS0219: Line 18: The variable 'initialState' is assigned but its value is ne
ver used
Errors:
 + Customs/Mondain's Legacy/Items/Talismans/BaseTalisman.cs:
    CS0117: Line 1077: 'Server.Spells.Fifth.MagicReflectSpell' does not contain
a definition for 'EndReflect'
    CS0117: Line 1078: 'Server.Spells.First.ReactiveArmorSpell' does not contain
 a definition for 'EndArmor'
    CS0117: Line 1079: 'Server.Spells.Second.ProtectionSpell' does not contain a
 definition for 'EndProtection'
Scripts: One or more scripts failed to compile or no script files were found.
 - Press return to exit, or R to try again.

i got this error after i put this in
 

lokis

Sorceror
wiccawolves;868286 said:
Code:
RunUO - [www.runuo.com] Version 2.1, Build 3948.24300
Core: Running on .NET Framework Version 2.0.50727
Scripts: Compiling C# scripts...failed (1 errors, 2 warnings)
Warnings:
 + Items/Jewels/BaseJewel.cs:
    CS0162: Line 258: Unreachable code detected
 + Customs/Stygian Abyss/SA Customs/Facet Command/FacetGump.cs:
    CS0219: Line 18: The variable 'initialState' is assigned but its value is ne
ver used
Errors:
 + Customs/Mondain's Legacy/Items/Talismans/BaseTalisman.cs:
    CS0117: Line 1077: 'Server.Spells.Fifth.MagicReflectSpell' does not contain
a definition for 'EndReflect'
    CS0117: Line 1078: 'Server.Spells.First.ReactiveArmorSpell' does not contain
 a definition for 'EndArmor'
    CS0117: Line 1079: 'Server.Spells.Second.ProtectionSpell' does not contain a
 definition for 'EndProtection'
Scripts: One or more scripts failed to compile or no script files were found.
 - Press return to exit, or R to try again.

i got this error after i put this in

I see that you're running the RunUO with some modified scripts, I think you're using this package: http://www.runuo.com/forums/custom-script-releases/81922-runuo-2-0-svn-osi-mondains-legacy.html
right?!

If yes, I'll see if I can patch these spells for you.
 

lokis

Sorceror
wiccawolves;868286 said:
Code:
RunUO - [www.runuo.com] Version 2.1, Build 3948.24300
Core: Running on .NET Framework Version 2.0.50727
Scripts: Compiling C# scripts...failed (1 errors, 2 warnings)
Warnings:
 + Items/Jewels/BaseJewel.cs:
    CS0162: Line 258: Unreachable code detected
 + Customs/Stygian Abyss/SA Customs/Facet Command/FacetGump.cs:
    CS0219: Line 18: The variable 'initialState' is assigned but its value is ne
ver used
Errors:
 + Customs/Mondain's Legacy/Items/Talismans/BaseTalisman.cs:
    CS0117: Line 1077: 'Server.Spells.Fifth.MagicReflectSpell' does not contain
a definition for 'EndReflect'
    CS0117: Line 1078: 'Server.Spells.First.ReactiveArmorSpell' does not contain
 a definition for 'EndArmor'
    CS0117: Line 1079: 'Server.Spells.Second.ProtectionSpell' does not contain a
 definition for 'EndProtection'
Scripts: One or more scripts failed to compile or no script files were found.
 - Press return to exit, or R to try again.

i got this error after i put this in

Are you some custom scripts, right?
The spell system only works with the clean RunUO, but I'm going to check this out for you
 
Top