Can't get this script to compile:

Errors:
+ Customs/[ServUO.com]-Advanced Archer/Advanced Archer/CBaseRanged.cs:
CS0533: Line 14: 'Server.Items.CBaseRanged.EffectID' hides inherited abstract member 'Server.Items.BaseRanged.EffectID.get'
CS0533: Line 15: 'Server.Items.CBaseRanged.AmmoType' hides inherited abstract member 'Server.Items.BaseRanged.AmmoType.get'
CS0533: Line 16: 'Server.Items.CBaseRanged.Ammo' hides inherited abstract member 'Server.Items.BaseRanged.Ammo.get'
CS0115: Line 60: 'Server.Items.CBaseRanged.OnSwing(Server.Mobile, Server.Mobile)': no suitable method found to override
CS0115: Line 120: 'Server.Items.CBaseRanged.OnHit(Server.Mobile, Server.Mobile, double)': no suitable method found to override
CS0115: Line 701: 'Server.Items.CBaseRanged.OnMiss(Server.Mobile, Server.Mobile)': no suitable method found to override
+ Customs/[ServUO.com]-Advanced Archer/Advanced Archer/Bows/AdvancedBow.cs:
CS0534: Line 19: 'Server.Items.AdvancedBow' does not implement inherited abstract member 'Server.Items.BaseRanged.EffectID.get'
CS0534: Line 19: 'Server.Items.AdvancedBow' does not implement inherited abstract member 'Server.Items.BaseRanged.AmmoType.get'
CS0534: Line 19: 'Server.Items.AdvancedBow' does not implement inherited abstract member 'Server.Items.BaseRanged.Ammo.get'
+ Customs/[ServUO.com]-Advanced Archer/Advanced Archer/Bows/AdvancedCompositeBow.cs:
CS0534: Line 10: 'Server.Items.AdvancedCompositeBow' does not implement inherited abstract member 'Server.Items.BaseRanged.EffectID.get'
CS0534: Line 10: 'Server.Items.AdvancedCompositeBow' does not implement inherited abstract member 'Server.Items.BaseRanged.AmmoType.get'
CS0534: Line 10: 'Server.Items.AdvancedCompositeBow' does not implement inherited abstract member 'Server.Items.BaseRanged.Ammo.get'
+ Customs/[ServUO.com]-Advanced Archer/Advanced Archer/Bows/AdvancedCrossbow.cs:
CS0534: Line 20: 'Server.Items.AdvancedCrossbow' does not implement inherited abstract member 'Server.Items.BaseRanged.EffectID.get'
CS0534: Line 20: 'Server.Items.AdvancedCrossbow' does not implement inherited abstract member 'Server.Items.BaseRanged.AmmoType.get'
CS0534: Line 20: 'Server.Items.AdvancedCrossbow' does not implement inherited abstract member 'Server.Items.BaseRanged.Ammo.get'
+ Customs/[ServUO.com]-Advanced Archer/Advanced Archer/Bows/AdvancedElvenCompositeLongBow.cs:
CS0534: Line 10: 'Server.Items.AdvancedElvenCompositeLongbow' does not implement inherited abstract member 'Server.Items.BaseRanged.EffectID.get'
CS0534: Line 10: 'Server.Items.AdvancedElvenCompositeLongbow' does not implement inherited abstract member 'Server.Items.BaseRanged.AmmoType.get'
CS0534: Line 10: 'Server.Items.AdvancedElvenCompositeLongbow' does not implement inherited abstract member 'Server.Items.BaseRanged.Ammo.get'
+ Customs/[ServUO.com]-Advanced Archer/Advanced Archer/Bows/AdvancedHeavyCrossbow.cs:
CS0534: Line 10: 'Server.Items.AdvancedHeavyCrossbow' does not implement inherited abstract member 'Server.Items.BaseRanged.EffectID.get'
CS0534: Line 10: 'Server.Items.AdvancedHeavyCrossbow' does not implement inherited abstract member 'Server.Items.BaseRanged.AmmoType.get'
CS0534: Line 10: 'Server.Items.AdvancedHeavyCrossbow' does not implement inherited abstract member 'Server.Items.BaseRanged.Ammo.get'
+ Customs/[ServUO.com]-Advanced Archer/Advanced Archer/Bows/AdvancedMagicalShortbow.cs:
CS0534: Line 10: 'Server.Items.AdvancedMagicalShortbow' does not implement inherited abstract member 'Server.Items.BaseRanged.EffectID.get'
CS0534: Line 10: 'Server.Items.AdvancedMagicalShortbow' does not implement inherited abstract member 'Server.Items.BaseRanged.AmmoType.get'
CS0534: Line 10: 'Server.Items.AdvancedMagicalShortbow' does not implement inherited abstract member 'Server.Items.BaseRanged.Ammo.get'
+ Customs/[ServUO.com]-Advanced Archer/Advanced Archer/Bows/AdvancedRepeatingCrossbow.cs:
CS0534: Line 10: 'Server.Items.AdvancedRepeatingCrossbow' does not implement inherited abstract member 'Server.Items.BaseRanged.EffectID.get'
CS0534: Line 10: 'Server.Items.AdvancedRepeatingCrossbow' does not implement inherited abstract member 'Server.Items.BaseRanged.AmmoType.get'
CS0534: Line 10: 'Server.Items.AdvancedRepeatingCrossbow' does not implement inherited abstract member 'Server.Items.BaseRanged.Ammo.get'
+ Customs/[ServUO.com]-Advanced Archer/Advanced Archer/Bows/AdvancedYumi.cs:
CS0534: Line 9: 'Server.Items.AdvancedYumi' does not implement inherited abstract member 'Server.Items.BaseRanged.EffectID.get'
CS0534: Line 9: 'Server.Items.AdvancedYumi' does not implement inherited abstract member 'Server.Items.BaseRanged.AmmoType.get'
CS0534: Line 9: 'Server.Items.AdvancedYumi' does not implement inherited abstract member 'Server.Items.BaseRanged.Ammo.get'
Scripts: One or more scripts failed to compile or no script files were found.
- Press return to exit, or R to try again.
 
In CBasedRanged, change the declaration type on EffectID, AmmoType, and Ammo to "override".
 
@Lokai

More errors:

Errors:
+ Customs/[ServUO.com]-Advanced Archery fixed/Advanced Archery fixed/Advanced Archer/CBaseRanged.cs:
CS0115: Line 14: 'Server.Items.CBaseRanged.EffectID': no suitable method found to override
CS0840: Line 14: 'Server.Items.CBaseRanged.EffectID.get' must declare a body because it is not marked abstract or extern. Automatically implemented properties must define both get and set accessors.
CS0115: Line 15: 'Server.Items.CBaseRanged.AmmoType': no suitable method found to override
CS0840: Line 15: 'Server.Items.CBaseRanged.AmmoType.get' must declare a body because it is not marked abstract or extern. Automatically implemented properties must define both get and set accessors.
CS0115: Line 16: 'Server.Items.CBaseRanged.Ammo': no suitable method found to override
CS0840: Line 16: 'Server.Items.CBaseRanged.Ammo.get' must declare a body because it is not marked abstract or extern. Automatically implemented properties must define both get and set accessors.
CS0115: Line 60: 'Server.Items.CBaseRanged.OnSwing(Server.Mobile, Server.Mobile)': no suitable method found to override
CS0115: Line 120: 'Server.Items.CBaseRanged.OnHit(Server.Mobile, Server.Mobile, double)': no suitable method found to override
CS0115: Line 701: 'Server.Items.CBaseRanged.OnMiss(Server.Mobile, Server.Mobile)': no suitable method found to override
+ Customs/[ServUO.com]-Advanced Archery fixed/Advanced Archery fixed/Advanced Archer/Bows/AdvancedBow.cs:
CS0506: Line 22: 'Server.Items.AdvancedBow.EffectID.get': cannot override inherited member 'Server.Items.CBaseRanged.EffectID.get' because it is not marked virtual, abstract, or override
CS0506: Line 23: 'Server.Items.AdvancedBow.AmmoType.get': cannot override inherited member 'Server.Items.CBaseRanged.AmmoType.get' because it is not marked virtual, abstract, or override
CS0506: Line 24: 'Server.Items.AdvancedBow.Ammo.get': cannot override inherited member 'Server.Items.CBaseRanged.Ammo.get' because it is not marked virtual, abstract, or override
+ Customs/[ServUO.com]-Advanced Archery fixed/Advanced Archery fixed/Advanced Archer/Bows/AdvancedCompositeBow.cs:
CS0506: Line 13: 'Server.Items.AdvancedCompositeBow.EffectID.get': cannot override inherited member 'Server.Items.CBaseRanged.EffectID.get' because it is not marked virtual, abstract, or override
CS0506: Line 14: 'Server.Items.AdvancedCompositeBow.AmmoType.get': cannot override inherited member 'Server.Items.CBaseRanged.AmmoType.get' because it is not marked virtual, abstract, or override
CS0506: Line 15: 'Server.Items.AdvancedCompositeBow.Ammo.get': cannot override inherited member 'Server.Items.CBaseRanged.Ammo.get' because it is not marked virtual, abstract, or override
+ Customs/[ServUO.com]-Advanced Archery fixed/Advanced Archery fixed/Advanced Archer/Bows/AdvancedCrossbow.cs:
CS0506: Line 23: 'Server.Items.AdvancedCrossbow.EffectID.get': cannot override inherited member 'Server.Items.CBaseRanged.EffectID.get' because it is not marked virtual, abstract, or override
CS0506: Line 26: 'Server.Items.AdvancedCrossbow.AmmoType.get': cannot override inherited member 'Server.Items.CBaseRanged.AmmoType.get' because it is not marked virtual, abstract, or override
CS0506: Line 27: 'Server.Items.AdvancedCrossbow.Ammo.get': cannot override inherited member 'Server.Items.CBaseRanged.Ammo.get' because it is not marked virtual, abstract, or override
+ Customs/[ServUO.com]-Advanced Archery fixed/Advanced Archery fixed/Advanced Archer/Bows/AdvancedElvenCompositeLongBow.cs:
CS0506: Line 12: 'Server.Items.AdvancedElvenCompositeLongbow.EffectID.get': cannot override inherited member 'Server.Items.CBaseRanged.EffectID.get' because it is not marked virtual, abstract, or override
CS0506: Line 13: 'Server.Items.AdvancedElvenCompositeLongbow.AmmoType.get': cannot override inherited member 'Server.Items.CBaseRanged.AmmoType.get' because it is not marked virtual, abstract, or override
CS0506: Line 14: 'Server.Items.AdvancedElvenCompositeLongbow.Ammo.get': cannot override inherited member 'Server.Items.CBaseRanged.Ammo.get' because it is not marked virtual, abstract, or override
+ Customs/[ServUO.com]-Advanced Archery fixed/Advanced Archery fixed/Advanced Archer/Bows/AdvancedHeavyCrossbow.cs:
CS0506: Line 13: 'Server.Items.AdvancedHeavyCrossbow.EffectID.get': cannot override inherited member 'Server.Items.CBaseRanged.EffectID.get' because it is not marked virtual, abstract, or override
CS0506: Line 16: 'Server.Items.AdvancedHeavyCrossbow.AmmoType.get': cannot override inherited member 'Server.Items.CBaseRanged.AmmoType.get' because it is not marked virtual, abstract, or override
CS0506: Line 17: 'Server.Items.AdvancedHeavyCrossbow.Ammo.get': cannot override inherited member 'Server.Items.CBaseRanged.Ammo.get' because it is not marked virtual, abstract, or override
+ Customs/[ServUO.com]-Advanced Archery fixed/Advanced Archery fixed/Advanced Archer/Bows/AdvancedMagicalShortbow.cs:
CS0506: Line 12: 'Server.Items.AdvancedMagicalShortbow.EffectID.get': cannot override inherited member 'Server.Items.CBaseRanged.EffectID.get' because it is not marked virtual, abstract, or override
CS0506: Line 13: 'Server.Items.AdvancedMagicalShortbow.AmmoType.get': cannot override inherited member 'Server.Items.CBaseRanged.AmmoType.get' because it is not marked virtual, abstract, or override
CS0506: Line 14: 'Server.Items.AdvancedMagicalShortbow.Ammo.get': cannot override inherited member 'Server.Items.CBaseRanged.Ammo.get' because it is not marked virtual, abstract, or override
+ Customs/[ServUO.com]-Advanced Archery fixed/Advanced Archery fixed/Advanced Archer/Bows/AdvancedRepeatingCrossbow.cs:
CS0506: Line 13: 'Server.Items.AdvancedRepeatingCrossbow.EffectID.get': cannot override inherited member 'Server.Items.CBaseRanged.EffectID.get' because it is not marked virtual, abstract, or override
CS0506: Line 14: 'Server.Items.AdvancedRepeatingCrossbow.AmmoType.get': cannot override inherited member 'Server.Items.CBaseRanged.AmmoType.get' because it is not marked virtual, abstract, or override
CS0506: Line 15: 'Server.Items.AdvancedRepeatingCrossbow.Ammo.get': cannot override inherited member 'Server.Items.CBaseRanged.Ammo.get' because it is not marked virtual, abstract, or override
+ Customs/[ServUO.com]-Advanced Archery fixed/Advanced Archery fixed/Advanced Archer/Bows/AdvancedYumi.cs:
CS0506: Line 11: 'Server.Items.AdvancedYumi.EffectID.get': cannot override inherited member 'Server.Items.CBaseRanged.EffectID.get' because it is not marked virtual, abstract, or override
CS0506: Line 12: 'Server.Items.AdvancedYumi.AmmoType.get': cannot override inherited member 'Server.Items.CBaseRanged.AmmoType.get' because it is not marked virtual, abstract, or override
CS0506: Line 13: 'Server.Items.AdvancedYumi.Ammo.get': cannot override inherited member 'Server.Items.CBaseRanged.Ammo.get' because it is not marked virtual, abstract, or override
+ Items/Addons/AdvancedTrainingDummy.cs:
CS0506: Line 21: 'Server.Items.AdvancedTrainingDummy.UpdateItemID()': cannot override inherited member 'Server.Items.TrainingDummy.UpdateItemID()' because it is not marked virtual, abstract, or override
CS0506: Line 25: 'Server.Items.AdvancedTrainingDummy.BeginSwing()': cannot override inherited member 'Server.Items.TrainingDummy.BeginSwing()' because it is not marked virtual, abstract, or override
CS0506: Line 31: 'Server.Items.AdvancedTrainingDummy.EndSwing()': cannot override inherited member 'Server.Items.TrainingDummy.EndSwing()' because it is not marked virtual, abstract, or override
Scripts: One or more scripts failed to compile or no script files were found.
- Press return to exit, or R to try again.
 
I guess you will have to post your scripts. Evidently they are not following standard methods or something.
 
Probably all of them. Just attach them in one zip file. Zip your whole "Advanced Archery Fixed" folder.
 

Active Shards

Donations

Total amount
$0.00
Goal
$1,000.00
Back