Lucid Nagual;754533 said:Lucid Nagual's
:<0>-<>--<-<< 0 >>->--<>-<0>:
Advanced Archery
Version 4.0
[RC2]
(Under Construction)
Hell Patrol.oristano;809937 said:I get this error
RunUO - [www.runuo.com] Version 2.0, Build 2959.20979
Core: Running on .NET Framework Version 2.0.50727
Scripts: Compiling C# scripts...failed (2 errors, 0 warnings)
Errors:
+ Custom/Lucid's Systems/Advanced Archery/Items/Quivers/ElvenQuiver.cs:
CS0127: Line 50: Since 'Server.Items.ElvenQuiver.OnRemoved(object)' returns
void, a return keyword must not be followed by an object expression
+ Custom/Lucid's Systems/Advanced Archery/Items/Quivers/UltimateQuiver.cs:
CS0127: Line 50: Since 'Server.Items.UltimateQuiver.OnRemoved(object)' retur
ns void, a return keyword must not be followed by an object expression
Scripts: One or more scripts failed to compile or no script files were found.
- Press return to exit, or R to try again.
how to fix it?
Ok, open the folder it gives you and then add .zip to the end of the name of the file. Then, just unrar it and you should have the scripts in the folder. The site has been dbl zipping scripts for a while now. Try that and see if that works for you.joshw;813915 said:ok so i downloaded the zip file but when i go to unzip it its giving me a unreconizeable file type not a scrit
+ Items/Weapons/Ranged/BaseRanged.cs:
CS0506: Line 172: 'Server.Items.BaseRanged.OnHit(Server.Mobile, Server.Mobil
)': cannot override inherited member 'Server.Items.BaseWeapon.OnHit(Server.Mobi
e, Server.Mobile)' because it is not marked virtual, abstract, or override
I'm getting the same Error, but no idea what is wrong...Any suggestions?dagger lad;819768 said:Code:+ Items/Weapons/Ranged/BaseRanged.cs: CS0506: Line 172: 'Server.Items.BaseRanged.OnHit(Server.Mobile, Server.Mobil )': cannot override inherited member 'Server.Items.BaseWeapon.OnHit(Server.Mobi e, Server.Mobile)' because it is not marked virtual, abstract, or override
namespace Server.Items
{
public class PoisonArrow : Arrow, ICommodity
{
string ICommodity.Description
{
get
{
return String.Format( Amount == 1 ? "{0} poison arrow" : "{0} poison arrows", Amount );
}
}
[Constructable]
public PoisonArrow() : this( 1 )
{
}
[Constructable]
public PoisonArrow( int amount ) : base( 0xF3F )
{
Stackable = true;
Name = "Poisoned Arrow";
Hue = 68;
Weight = 0.1;
Amount = amount;
}
using System;
namespace Server.Items
{
public class ArmorPiercingArrow : Arrow, ICommodity
{
int ICommodity.DescriptionNumber { get { return LabelNumber; } }
public override double DefaultWeight
{
get { return 0.1; }
}
[Constructable]
public ArmorPiercingArrow() : this( 1 )
{
}
[Constructable]
public ArmorPiercingArrow( int amount ) : base( 0xF3F )
{
Stackable = true;
Name = "Armor Piercing Arrow";
Hue = 1153;
Weight = 0.1;
Amount = amount;
}
Errors:
+ customs/Advanced Archery/Lucid's Systems/Advanced Archery/Items/Bolts/ArmorPi
ercingBolt.cs:
CS0539: Line 24: 'ICommodity.Description' in explicit interface declaration
is not a member of interface
+ customs/Advanced Archery/Lucid's Systems/Advanced Archery/Items/Bolts/Explosi
veBolt.cs:
CS0539: Line 24: 'ICommodity.Description' in explicit interface declaration
is not a member of interface
+ customs/Advanced Archery/Lucid's Systems/Advanced Archery/Items/Bolts/FreezeB
olt.cs:
CS0539: Line 27: 'ICommodity.Description' in explicit interface declaration
is not a member of interface
+ customs/Advanced Archery/Lucid's Systems/Advanced Archery/Items/Bolts/Lightni
ngsBolt.cs:
CS0539: Line 24: 'ICommodity.Description' in explicit interface declaration
is not a member of interface
+ customs/Advanced Archery/Lucid's Systems/Advanced Archery/Items/Bolts/PoisonB
olt.cs:
CS0539: Line 24: 'ICommodity.Description' in explicit interface declaration
is not a member of interface