darksiam

Member
I am passing my script from Runuo to the latest version of ServUO in this case it is the Druid I made all the changes but it gives me the following error

Code:
Errors:
+ Spells/Druid/Book/DruidicSpellBook.cs:
    CS1061: Line 12: 'Server.Items.SpellbookType' does not contain a definition
for 'Druidic' and no extension method 'Druidic' accepting a first argument of ty
pe 'Server.Items.SpellbookType' could be found (are you missing a using directiv
e or an assembly reference?)
+ Spells/Druid/Druid Mobiles/EvilDruid.cs:
    CS0266: Line 141: Cannot implicitly convert type 'Server.IDamageable' to 'Se
rver.Mobile'. An explicit conversion exists (are you missing a cast?)
+ Spells/Druid/Spells/EnchantedGrove.cs:
    CS0117: Line 20: 'Server.Spells.Reagent' does not contain a definition for '
PetrifiedWood'
    CS0117: Line 21: 'Server.Spells.Reagent' does not contain a definition for '
SpringWater'
+ Spells/Druid/Spells/GraspingRootsSpell.cs:
    CS0117: Line 17: 'Server.Spells.Reagent' does not contain a definition for '
SpringWater'
+ Spells/Druid/Spells/LureStoneSpell.cs:
    CS0117: Line 21: 'Server.Spells.Reagent' does not contain a definition for '
PetrifiedWood'
    CS0117: Line 22: 'Server.Spells.Reagent' does not contain a definition for '
SpringWater'
+ Spells/Druid/Spells/MushroomGatewaySpell.cs:
    CS0117: Line 20: 'Server.Spells.Reagent' does not contain a definition for '
SpringWater'
+ Spells/Druid/Spells/NaturesPassageSpell.cs:
    CS0117: Line 18: 'Server.Spells.Reagent' does not contain a definition for '
Pumice'
+ Spells/Druid/Spells/PackOfBeastSpell.cs:
    CS0117: Line 18: 'Server.Spells.Reagent' does not contain a definition for '
PetrifiedWood'
+ Spells/Druid/Spells/RestorativeSoilSpell.cs:
    CS0117: Line 18: 'Server.Spells.Reagent' does not contain a definition for '
PetrifiedWood'
    CS0117: Line 20: 'Server.Spells.Reagent' does not contain a definition for '
SpringWater'
+ Spells/Druid/Spells/SpringOfLifeSpell.cs:
    CS0117: Line 18: 'Server.Spells.Reagent' does not contain a definition for '
SpringWater'
    CS0117: Line 19: 'Server.Spells.Reagent' does not contain a definition for '
PetrifiedWood'
+ Spells/Druid/Spells/StoneCircleSpell.cs:
    CS0117: Line 23: 'Server.Spells.Reagent' does not contain a definition for '
SpringWater'
+ Spells/Druid/Spells/SummonFireflySpell.cs:
    CS0117: Line 17: 'Server.Spells.Reagent' does not contain a definition for '
Pumice'
+ Spells/Druid/Spells/SwarmofInsectsSpell.cs:
    CS0117: Line 19: 'Server.Spells.Reagent' does not contain a definition for '
Pumice'
+ Spells/Druid/Spells/TreefellowSpell.cs:
    CS0117: Line 16: 'Server.Spells.Reagent' does not contain a definition for '
SpringWater'
    CS0117: Line 18: 'Server.Spells.Reagent' does not contain a definition for '
PetrifiedWood'
+ Spells/Druid/Spells/VolcanicEruption.cs:
    CS0117: Line 18: 'Server.Spells.Reagent' does not contain a definition for '
Pumice'
Scripts: One or more scripts failed to compile or no script files were found.
- Press return to exit, or R to try again.
 

Attachments

  • Druid.rar
    54.8 KB · Views: 8
spellbook hasn't been defined and Your missing all the reagents looks like You only have part of the script I attached a Druid script I got from somewhere but haven't messed with yet but take a look at it and see if it helps
 

Attachments

  • Druid_Priest SVN.rar
    145.7 KB · Views: 14
more error man :(


Code:
Errors:
+ Items/Equipment/Spellbooks/BookOfMasteries.cs:
    CS0115: Line 97: 'Server.Items.BookOfMasteries.AddProperty(Server.ObjectProp
ertyList)': no suitable method found to override
+ Spells/Druid/Druid Items/FenMoss.cs:
    CS0539: Line 9: 'ICommodity.Description' in explicit interface declaration i
s not a member of interface
    CS0535: Line 7: 'Server.Items.FenMoss' does not implement interface member '
Server.Items.ICommodity.IsDeedable'
+ Spells/Druid/Druid Items/FertileDirt.cs:
    CS0539: Line 9: 'ICommodity.Description' in explicit interface declaration i
s not a member of interface
    CS0535: Line 7: 'Server.Items.FertileDirt1' does not implement interface mem
ber 'Server.Items.ICommodity.IsDeedable'
+ Spells/Druid/Druid Items/PetrifiedWood.cs:
    CS0539: Line 9: 'ICommodity.Description' in explicit interface declaration i
s not a member of interface
    CS0535: Line 7: 'Server.Items.PetrifiedWood' does not implement interface me
mber 'Server.Items.ICommodity.IsDeedable'
+ Spells/Druid/Druid Items/pumice.cs:
    CS0539: Line 9: 'ICommodity.Description' in explicit interface declaration i
s not a member of interface
    CS0535: Line 7: 'Server.Items.Pumice' does not implement interface member 'S
erver.Items.ICommodity.IsDeedable'
+ Spells/Druid/Druid Mobiles/Druid.cs:
    CS1715: Line 10: 'Server.Mobiles.Druid.SBInfos': type must be 'System.Collec
tions.Generic.List<Server.Mobiles.SBInfo>' to match overridden member 'Server.Mo
biles.BaseVendor.SBInfos'
    CS0534: Line 7: 'Server.Mobiles.Druid' does not implement inherited abstract
member 'Server.Mobiles.BaseVendor.SBInfos.get'
+ Spells/Druid/Druid Mobiles/SBDruid.cs:
    CS1715: Line 17: 'Server.Mobiles.SBDruid.BuyInfo': type must be 'System.Coll
ections.Generic.List<Server.Mobiles.GenericBuyInfo>' to match overridden member
'Server.Mobiles.SBInfo.BuyInfo'
    CS0534: Line 7: 'Server.Mobiles.SBDruid' does not implement inherited abstra
ct member 'Server.Mobiles.SBInfo.BuyInfo.get'
+ Spells/Druid/Druid Vendor/DruidVendor.cs:
    CS1715: Line 10: 'Server.Mobiles.DruidVendor.SBInfos': type must be 'System.
Collections.Generic.List<Server.Mobiles.SBInfo>' to match overridden member 'Ser
ver.Mobiles.BaseVendor.SBInfos'
    CS0534: Line 7: 'Server.Mobiles.DruidVendor' does not implement inherited ab
stract member 'Server.Mobiles.BaseVendor.SBInfos.get'
+ Spells/Druid/Druid Vendor/SBDruidVendor.cs:
    CS1715: Line 17: 'Server.Mobiles.SBDruidVendor.BuyInfo': type must be 'Syste
m.Collections.Generic.List<Server.Mobiles.GenericBuyInfo>' to match overridden m
ember 'Server.Mobiles.SBInfo.BuyInfo'
    CS0534: Line 7: 'Server.Mobiles.SBDruidVendor' does not implement inherited
abstract member 'Server.Mobiles.SBInfo.BuyInfo.get'
Scripts: One or more scripts failed to compile or no script files were found.
- Press return to exit, or R to try again.
 
haven't had a chance to realy look at this script don't remember where I got it from but these line
  1. Spells/Druid/Druid Items/PetrifiedWood.cs:
  2. CS0539: Line 9: 'ICommodity.Description' in explicit interface declaration i
  3. s not a member of interface
  4. CS0535: Line 7: 'Server.Items.PetrifiedWood' does not implement interface me
  5. mber 'Server.Items.ICommodity.IsDeedable' is to be able to place them onto commodity deeds so You need to modify commoditys to hold these items or try commenting them out for now
  6. at these lines
    1. Spells/Druid/Druid Mobiles/Druid.cs:
    2. CS1715: Line 10: 'Server.Mobiles.Druid.SBInfos': type must be 'System.Collec
    3. tions.Generic.List<Server.Mobiles.SBInfo>' to match overridden member 'Server.Mo
    4. biles.BaseVendor.SBInfos' You will need to fix this to match what Your vendors have its looking like this came from Runuo which has a different vendor buy section Il try to help as much as I can but My scripting is a lot of trial and error
 
The reagents probably look like this.
Code:
        int ICommodity.DescriptionNumber { get { return LabelNumber; } }
Correct? If so, make them look like this instead..
Code:
        int ICommodity.DescriptionNumber { get { return LabelNumber; } }
        bool ICommodity.IsDeedable { get { return (Core.ML); } }

No need to modify Commodities as was suggested.
 
no man, more error:

Code:
Errors:
+ Items/Equipment/Spellbooks/BookOfMasteries.cs:
    CS0115: Line 97: 'Server.Items.BookOfMasteries.AddProperty(Server.ObjectProp
ertyList)': no suitable method found to override
+ Spells/Druid/Druid Items/FenMoss.cs:
    CS0539: Line 9: 'ICommodity.Description' in explicit interface declaration i
s not a member of interface
+ Spells/Druid/Druid Items/FertileDirt.cs:
    CS0539: Line 9: 'ICommodity.Description' in explicit interface declaration i
s not a member of interface
+ Spells/Druid/Druid Items/PetrifiedWood.cs:
    CS0539: Line 9: 'ICommodity.Description' in explicit interface declaration i
s not a member of interface
+ Spells/Druid/Druid Items/pumice.cs:
    CS0539: Line 9: 'ICommodity.Description' in explicit interface declaration i
s not a member of interface
+ Spells/Druid/Druid Mobiles/Druid.cs:
    CS1715: Line 10: 'Server.Mobiles.Druid.SBInfos': type must be 'System.Collec
tions.Generic.List<Server.Mobiles.SBInfo>' to match overridden member 'Server.Mo
biles.BaseVendor.SBInfos'
    CS0534: Line 7: 'Server.Mobiles.Druid' does not implement inherited abstract
member 'Server.Mobiles.BaseVendor.SBInfos.get'
+ Spells/Druid/Druid Mobiles/SBDruid.cs:
    CS1715: Line 17: 'Server.Mobiles.SBDruid.BuyInfo': type must be 'System.Coll
ections.Generic.List<Server.Mobiles.GenericBuyInfo>' to match overridden member
'Server.Mobiles.SBInfo.BuyInfo'
    CS0534: Line 7: 'Server.Mobiles.SBDruid' does not implement inherited abstra
ct member 'Server.Mobiles.SBInfo.BuyInfo.get'
+ Spells/Druid/Druid Vendor/DruidVendor.cs:
    CS1715: Line 10: 'Server.Mobiles.DruidVendor.SBInfos': type must be 'System.
Collections.Generic.List<Server.Mobiles.SBInfo>' to match overridden member 'Ser
ver.Mobiles.BaseVendor.SBInfos'
    CS0534: Line 7: 'Server.Mobiles.DruidVendor' does not implement inherited ab
stract member 'Server.Mobiles.BaseVendor.SBInfos.get'
+ Spells/Druid/Druid Vendor/SBDruidVendor.cs:
    CS1715: Line 17: 'Server.Mobiles.SBDruidVendor.BuyInfo': type must be 'Syste
m.Collections.Generic.List<Server.Mobiles.GenericBuyInfo>' to match overridden m
ember 'Server.Mobiles.SBInfo.BuyInfo'
    CS0534: Line 7: 'Server.Mobiles.SBDruidVendor' does not implement inherited
abstract member 'Server.Mobiles.SBInfo.BuyInfo.get'
Scripts: One or more scripts failed to compile or no script files were found.
- Press return to exit, or R to try again.
 

Active Shards

Donations

Total amount
$50.00
Goal
$1,000.00
Back