Quote:
Originally Posted by mikeymaze
Here is the Errors i get
Code:
Errors:
+ VendorAuctionMall/Mobiles/CommissionedVendor.cs:
CS0506: Line 346: 'Server.Mobiles.CommissionedVendor.Dismiss(Server.Mobile)'
: cannot override inherited member 'Server.Mobiles.PlayerVendor.Dismiss(Server.M
obile)' because it is not marked virtual, abstract, or override
|
Yep, you need to first merge the changes in
PlayerVendor.cs and
Snooping.cs.
Such an error occurs when you compile the package without first merging the above 2 scripts in the "distro" folder with your existing scripts.
the 2 modifications made in PlayerVendor.cs
PHP Code:
#region Vendor Auction and Mall System
public Timer DailyPayTimer
{
get{ return m_PayTimer; }
set{ m_PayTimer = value; }
}
#endregion
PHP Code:
#region Vendor Auction and Mall System
// public void Dismiss( Mobile from )
public virtual void Dismiss( Mobile from )
#endregion
And the 1 modification in Snooping.cs
PHP Code:
#region Vendor Auction and Mall System
IHardsellable hs = cont.RootParent as IHardsellable;
if ( hs != null && hs.ShopItems != null && hs.ShopItems.Count > 0 && from.InRange( cont.GetWorldLocation(), 6 ) )
{
cont.DisplayTo( from );
return;
}
#endregion