Errors:
+ Services/Harvest/Lumberjacking.cs:
CS0115: Line 38: 'Lumberjacking.OnHarvestFinished(Mobile, Item, HarvestDefinition, HarvestVein, HarvestBank, HarvestResource, object, Type)': no suitable method found to override
Scripts: One or more scripts failed to compile or no script files were found.
- Press return to exit, or R to try again.

Line 38:
public override void OnHarvestFinished(Mobile from, Item tool, HarvestDefinition def, HarvestVein vein, HarvestBank bank, HarvestResource resource, object harvested, Type type)
 
In HarvestSystem.cs you should have something like this :

Code:
            //daat99 OWLTR start - custom harvesting
            if (this is Lumberjacking || this is Mining)
                OnHarvestFinished( from, tool, def, vein, bank, resource, toHarvest, type );
            else
            //daat99 OWLTR end - custom harvesting
       
                OnHarvestFinished(from, tool, def, vein, bank, resource, toHarvest);
(around line 355)

and this :
Code:
        //daat99 OWLTR start - custom resources
        public virtual void OnHarvestFinished( Mobile from, Item tool, HarvestDefinition def, HarvestVein vein, HarvestBank bank, HarvestResource resource, object harvested, Type type )
        {
        }
        //daat99 OWLTR end - custom resources
(around line 363)
 
Back