RunUO Community

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Vhaerun's CRL Homestead fix for RUnUO 2.1?

sec_goat

Squire
Hello All I am trying to get Vhaerun's CLR Homestead system working with RunUO 2.1 an I am running into a lot of issues.

Here is what I have done so far, however this just brought up 50 new errors after fixing the first set I was getting. Can some one take a look and let me know if I am on the right track or not?

Thanks

I am having a lot of issues getting this working with my new install of RunUO 2.1

I get these errors:
Code:
Errors:[/FONT]
[FONT=Georgia]+ Customs/Vhaerun's CRL Homestead/Distro Modifications/Animals/Boar.cs:[/FONT]
[FONT=Georgia]    CS0115: Line 48: 'Server.Mobiles.Boar.OnCarve(Server.Mobile, Server.Items.Co[/FONT]
[FONT=Georgia]rpse)': no suitable method found to override[/FONT]
[FONT=Georgia]+ Customs/Vhaerun's CRL Homestead/Distro Modifications/Animals/Bull.cs:[/FONT]
[FONT=Georgia]    CS0115: Line 55: 'Server.Mobiles.Bull.OnCarve(Server.Mobile, Server.Items.Co[/FONT]
[FONT=Georgia]rpse)': no suitable method found to override[/FONT]
[FONT=Georgia]+ Customs/Vhaerun's CRL Homestead/Distro Modifications/Animals/Chicken.cs:[/FONT]
[FONT=Georgia]    CS0115: Line 49: 'Server.Mobiles.Chicken.OnCarve(Server.Mobile, Server.Items[/FONT]
[FONT=Georgia].Corpse)': no suitable method found to override[/FONT]
[FONT=Georgia]+ Customs/Vhaerun's CRL Homestead/Distro Modifications/Animals/Cow.cs:[/FONT]
[FONT=Georgia]    CS0115: Line 55: 'Server.Mobiles.Cow.OnCarve(Server.Mobile, Server.Items.Cor[/FONT]
[FONT=Georgia]pse)': no suitable method found to override[/FONT]
[FONT=Georgia]+ Customs/Vhaerun's CRL Homestead/Distro Modifications/Animals/Pig.cs:[/FONT]
[FONT=Georgia]    CS0115: Line 46: 'Server.Mobiles.Pig.OnCarve(Server.Mobile, Server.Items.Cor[/FONT]
[FONT=Georgia]pse)': no suitable method found to override[/FONT]
[FONT=Georgia]+ Customs/Vhaerun's CRL Homestead/Distro Modifications/Animals/Sheep.cs:[/FONT]
[FONT=Georgia]    CS0115: Line 80: 'Server.Mobiles.Sheep.OnCarve(Server.Mobile, Server.Items.C[/FONT]
[FONT=Georgia]orpse)': no suitable method found to override[/FONT]
[FONT=Georgia]+ Customs/Vhaerun's CRL Homestead/Distro Modifications/Animals/Turkey.cs:[/FONT]
[FONT=Georgia]    CS0115: Line 44: 'Server.Mobiles.Turkey.OnCarve(Server.Mobile, Server.Items.[/FONT]
[FONT=Georgia]Corpse)': no suitable method found to override[/FONT]
[FONT=Georgia]+ Customs/Vhaerun's CRL Homestead/Distro Modifications/CreateFood.cs:[/FONT]
[FONT=Georgia]    CS0534: Line 8: 'Server.Spells.First.CreateFoodSpell' does not implement inh[/FONT]
[FONT=Georgia]erited abstract member 'Server.Spells.Spell.GetMana()'[/FONT]
[FONT=Georgia]    CS0534: Line 8: 'Server.Spells.First.CreateFoodSpell' does not implement inh[/FONT]
[FONT=Georgia]erited abstract member 'Server.Spells.Spell.CastDelayBase.get'[/FONT]
[FONT=Georgia]+ Customs/Vhaerun's CRL Homestead/Vhaerun's CRL Brewing/Items/Hops/Hops.cs:[/FONT]
[FONT=Georgia]    CS0539: Line 18: 'ICommodity.Description' in explicit interface declaration[/FONT]
[FONT=Georgia]is not a member of interface[/FONT]
[FONT=Georgia]    CS0535: Line 7: 'Server.Items.BaseHops' does not implement interface member[/FONT]
[FONT=Georgia]'Server.Items.ICommodity.DescriptionNumber'[/FONT]
[FONT=Georgia]    CS0535: Line 7: 'Server.Items.BaseHops' does not implement interface member[/FONT]
[FONT=Georgia]'Server.Items.ICommodity.IsDeedable'[/FONT]
[FONT=Georgia]+ Customs/Vhaerun's CRL Homestead/Vhaerun's CRL Brewing/Items/BrewingIngredient[/FONT]
[FONT=Georgia]s.cs:[/FONT]
[FONT=Georgia]    CS0539: Line 7: 'ICommodity.Description' in explicit interface declaration i[/FONT]
[FONT=Georgia]s not a member of interface[/FONT]
[FONT=Georgia]    CS0535: Line 5: 'Server.Items.Malt' does not implement interface member 'Ser[/FONT]
[FONT=Georgia]ver.Items.ICommodity.DescriptionNumber'[/FONT]
[FONT=Georgia]    CS0535: Line 5: 'Server.Items.Malt' does not implement interface member 'Ser[/FONT]
[FONT=Georgia]ver.Items.ICommodity.IsDeedable'[/FONT]
[FONT=Georgia]    CS0539: Line 88: 'ICommodity.Description' in explicit interface declaration[/FONT]
[FONT=Georgia]is not a member of interface[/FONT]
[FONT=Georgia]    CS0535: Line 86: 'Server.Items.Barley' does not implement interface member '[/FONT]
[FONT=Georgia]Server.Items.ICommodity.DescriptionNumber'[/FONT]
[FONT=Georgia]    CS0535: Line 86: 'Server.Items.Barley' does not implement interface member '[/FONT]
[FONT=Georgia]Server.Items.ICommodity.IsDeedable'[/FONT]
[FONT=Georgia]+ Customs/Vhaerun's CRL Homestead/Vhaerun's CRL Brewing/Mobiles/Brewer.cs:[/FONT]
[FONT=Georgia]    CS1715: Line 10: 'Server.Mobiles.Brewer.SBInfos': type must be 'System.Colle[/FONT]
[FONT=Georgia]ctions.Generic.List<Server.Mobiles.SBInfo>' to match overridden member 'Server.M[/FONT]
[FONT=Georgia]obiles.BaseVendor.SBInfos'[/FONT]
[FONT=Georgia]    CS0534: Line 7: 'Server.Mobiles.Brewer' does not implement inherited abstrac[/FONT]
[FONT=Georgia]t member 'Server.Mobiles.BaseVendor.SBInfos.get'[/FONT]
[FONT=Georgia]+ Customs/Vhaerun's CRL Homestead/Vhaerun's CRL Brewing/Mobiles/SBBrewer.cs:[/FONT]
[FONT=Georgia]    CS1715: Line 17: 'Server.Mobiles.SBBrewer.BuyInfo': type must be 'System.Col[/FONT]
[FONT=Georgia]lections.Generic.List<Server.Mobiles.GenericBuyInfo>' to match overridden member[/FONT]
[FONT=Georgia]'Server.Mobiles.SBInfo.BuyInfo'[/FONT]
[FONT=Georgia]    CS0534: Line 7: 'Server.Mobiles.SBBrewer' does not implement inherited abstr[/FONT]
[FONT=Georgia]act member 'Server.Mobiles.SBInfo.BuyInfo.get'[/FONT]
[FONT=Georgia]+ Customs/Vhaerun's CRL Homestead/Vhaerun's CRL Cooking/Mobiles/MasterCook.cs:[/FONT]
[FONT=Georgia]    CS1715: Line 10: 'Server.Mobiles.MasterCook.SBInfos': type must be 'System.C[/FONT]
[FONT=Georgia]ollections.Generic.List<Server.Mobiles.SBInfo>' to match overridden member 'Serv[/FONT]
[FONT=Georgia]er.Mobiles.BaseVendor.SBInfos'[/FONT]
[FONT=Georgia]    CS0534: Line 7: 'Server.Mobiles.MasterCook' does not implement inherited abs[/FONT]
[FONT=Georgia]tract member 'Server.Mobiles.BaseVendor.SBInfos.get'[/FONT]
[FONT=Georgia]+ Customs/Vhaerun's CRL Homestead/Vhaerun's CRL Cooking/Mobiles/SBMasterCook.cs[/FONT]
[FONT=Georgia]:[/FONT]
[FONT=Georgia]    CS1715: Line 17: 'Server.Mobiles.SBMasterCook.BuyInfo': type must be 'System[/FONT]
[FONT=Georgia].Collections.Generic.List<Server.Mobiles.GenericBuyInfo>' to match overridden me[/FONT]
[FONT=Georgia]mber 'Server.Mobiles.SBInfo.BuyInfo'[/FONT]
[FONT=Georgia]    CS0534: Line 7: 'Server.Mobiles.SBMasterCook' does not implement inherited a[/FONT]
[FONT=Georgia]bstract member 'Server.Mobiles.SBInfo.BuyInfo.get'[/FONT]
[FONT=Georgia]+ Customs/Vhaerun's CRL Homestead/Vhaerun's CRL Crops/Mobiles/Gardener.cs:[/FONT]
[FONT=Georgia]    CS1715: Line 10: 'Server.Mobiles.Gardener.SBInfos': type must be 'System.Col[/FONT]
[FONT=Georgia]lections.Generic.List<Server.Mobiles.SBInfo>' to match overridden member 'Server[/FONT]
[FONT=Georgia].Mobiles.BaseVendor.SBInfos'[/FONT]
[FONT=Georgia]    CS0534: Line 7: 'Server.Mobiles.Gardener' does not implement inherited abstr[/FONT]
[FONT=Georgia]act member 'Server.Mobiles.BaseVendor.SBInfos.get'[/FONT]
[FONT=Georgia]+ Customs/Vhaerun's CRL Homestead/Vhaerun's CRL Crops/Mobiles/SBGardener.cs:[/FONT]
[FONT=Georgia]    CS1715: Line 18: 'Server.Mobiles.SBGardener.BuyInfo': type must be 'System.C[/FONT]
[FONT=Georgia]ollections.Generic.List<Server.Mobiles.GenericBuyInfo>' to match overridden memb[/FONT]
[FONT=Georgia]er 'Server.Mobiles.SBInfo.BuyInfo'[/FONT]
[FONT=Georgia]    CS0534: Line 8: 'Server.Mobiles.SBGardener' does not implement inherited abs[/FONT]
[FONT=Georgia]tract member 'Server.Mobiles.SBInfo.BuyInfo.get'[/FONT]
[FONT=Georgia]+ Customs/Vhaerun's CRL Homestead/Vhaerun's CRL Juicing/Mobiles/JuiceMaker.cs:[/FONT]
[FONT=Georgia]    CS1715: Line 10: 'Server.Mobiles.JuiceMaker.SBInfos': type must be 'System.C[/FONT]
[FONT=Georgia]ollections.Generic.List<Server.Mobiles.SBInfo>' to match overridden member 'Serv[/FONT]
[FONT=Georgia]er.Mobiles.BaseVendor.SBInfos'[/FONT]
[FONT=Georgia]    CS0534: Line 7: 'Server.Mobiles.JuiceMaker' does not implement inherited abs[/FONT]
[FONT=Georgia]tract member 'Server.Mobiles.BaseVendor.SBInfos.get'[/FONT]
[FONT=Georgia]+ Customs/Vhaerun's CRL Homestead/Vhaerun's CRL Juicing/Mobiles/SBJuiceMaker.cs[/FONT]
[FONT=Georgia]:[/FONT]
[FONT=Georgia]    CS1715: Line 17: 'Server.Mobiles.SBJuiceMaker.BuyInfo': type must be 'System[/FONT]
[FONT=Georgia].Collections.Generic.List<Server.Mobiles.GenericBuyInfo>' to match overridden me[/FONT]
[FONT=Georgia]mber 'Server.Mobiles.SBInfo.BuyInfo'[/FONT]
[FONT=Georgia]    CS0534: Line 7: 'Server.Mobiles.SBJuiceMaker' does not implement inherited a[/FONT]
[FONT=Georgia]bstract member 'Server.Mobiles.SBInfo.BuyInfo.get't'

I have fixed the new animal CS files by opening each file and around line 55 we have the override method
Code:
public override void OnCarve( Mobile from, Corpse corpse)

However the BaseCreature.cs has at line 1332:
Code:
public virtual void OnCarve( Mobile from, Corpse corpse, Item with )

I inserted the last variable "Item with" into all the animal cs files included and it makes those errors go away. Can any one comment on if this is appropriate or not?

Next we have the error with Createfood.CS open the new Createfood.CS and make 2 changes:
around line 8:
Code:
public class CreateFoodSpell : Spell

Change to:
Code:
public class CreateFoodSpell : MagerySpell

directly after public class CreateFoodSpell add:
Code:
 public override SpellCircle Circle { get { return SpellCircle.First; } }

My attempt at fixing the Icommodity errors:

Both Barley and Malt in the BrewingIngredients.cs (And Hops.cs) are not implementing ICommodity correctly. I looked at both the CommodityDeed.cs as well as Ingots.CS to see how they should be done:

To start Is string Icommodity.Number and next you have to add the IsDeedable attribute.
Code:
public class Malt : Item, ICommodity[/FONT]
[FONT=Georgia]    {[/FONT]
[FONT=Georgia]        int ICommodity.DescriptionNumber[/FONT]
[FONT=Georgia]        {[/FONT]
[FONT=Georgia]            get[/FONT]
[FONT=Georgia]            {[/FONT]
[FONT=Georgia]                return String.Format( Amount == 1 ? "{0} malt" : "{0} malt", Amount );[/FONT]
[FONT=Georgia]            }[/FONT]
[FONT=Georgia]        }[/FONT]

[FONT=Georgia]        bool ICommodity.IsDeedable { get { return true; } }

I am going to continue looking at other errors to see if I can clear them up as well. As well as updating every one as this goes along.

And finally we have the issue with all the basic vendors (not SBVendor):

Change line 2 to read
Code:
using System.Collections.Generic;

and around lines 9-10 change to:
Code:
 private List<SBInfo> m_SBInfos = new List<SBInfo>();[/FONT]
[FONT=Georgia]        protected override List<SBInfo> SBInfos { get { return m_SBInfos; } }

And finally we have the SBVendors:

Change line 2 to read
Code:
using System.Collections.Generic;

Line 9, 17 and 19
Code:
private List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();[/FONT]

[FONT=Georgia]public override List<GenericBuyInfo> BuyInfo { get { return m_BuyInfo; } }[/FONT]

[FONT=Georgia]public class InternalBuyInfo : List<GenericBuyInfo>

Also I hope some one with more programming experience can look at the validity of these fixes!
[/CODE][/FONT][/QUOTE]
 

nacrom

Wanderer
that folder of Distro Modifications are files that you have to modify in your scripts folder. I would guess that you have 2 copies of the files in the script folder are that fighting with each other. Use WinMerge to combine the 2 files and see how that works.

IE the first error you have Boar.cs is in your custom folder (like the error is showing) and you have another Boar.cs in your script/mobiles/animals folder.

Hope this helps
Nacrom
 

sec_goat

Squire
that folder of Distro Modifications are files that you have to modify in your scripts folder. I would guess that you have 2 copies of the files in the script folder are that fighting with each other. Use WinMerge to combine the 2 files and see how that works.

IE the first error you have Boar.cs is in your custom folder (like the error is showing) and you have another Boar.cs in your script/mobiles/animals folder.

Hope this helps
Nacrom

I have gone through and renamed all core files with a .bak. If there are two of the same the error is something like Boar.CS already contains a definition for something. These errors on the first set are about the updates to core code I think.

I am goign to post my new set of errors as well.

Thank you!
 

sec_goat

Squire
Here are the new set of errors after "clearing" up the firs ste:

Code:
Error    1    The best overloaded method match for 'Server.Spells.SpellInfo.SpellInfo(string, string, params System.Type[])' has some invalid arguments    C:\Documents and Settings\jtilson\my documents\visual studio 2010\Projects\HarvestSystem\HarvestSystem\Scripts\Customs\Vhaerun's CRL Homestead\Distro Modifications\CreateFood.cs    10    37    HarvestSystem
Error    2    Cannot implicitly convert type 'string' to 'int'    C:\Documents and Settings\jtilson\my documents\visual studio 2010\Projects\HarvestSystem\HarvestSystem\Scripts\Customs\Vhaerun's CRL Homestead\Vhaerun's CRL Brewing\Items\BrewingIngredients.cs    11    12    HarvestSystem
Error    3    Argument 3: cannot convert from 'Server.Spells.SpellCircle' to 'System.Type'    C:\Documents and Settings\jtilson\my documents\visual studio 2010\Projects\HarvestSystem\HarvestSystem\Scripts\Customs\Vhaerun's CRL Homestead\Distro Modifications\CreateFood.cs    12    4    HarvestSystem
Error    4    Argument 4: cannot convert from 'int' to 'System.Type'    C:\Documents and Settings\jtilson\my documents\visual studio 2010\Projects\HarvestSystem\HarvestSystem\Scripts\Customs\Vhaerun's CRL Homestead\Distro Modifications\CreateFood.cs    13    4    HarvestSystem
Error    5    Argument 5: cannot convert from 'int' to 'System.Type'    C:\Documents and Settings\jtilson\my documents\visual studio 2010\Projects\HarvestSystem\HarvestSystem\Scripts\Customs\Vhaerun's CRL Homestead\Distro Modifications\CreateFood.cs    14    4    HarvestSystem
Error    6    The type or namespace name 'WheatSheaf' could not be found (are you missing a using directive or an assembly reference?)    C:\Documents and Settings\jtilson\my documents\visual studio 2010\Projects\HarvestSystem\HarvestSystem\Scripts\Items\Farming\FarmableWheat.cs    16    15    HarvestSystem
Error    7    'int' does not contain a definition for 'Format'    C:\Documents and Settings\jtilson\my documents\visual studio 2010\Projects\HarvestSystem\HarvestSystem\Scripts\Customs\Vhaerun's CRL Homestead\Vhaerun's CRL Brewing\Items\Hops\Hops.cs    22    19    HarvestSystem
Error    8    The type or namespace name 'SheafOfHay' could not be found (are you missing a using directive or an assembly reference?)    C:\Documents and Settings\jtilson\my documents\visual studio 2010\Projects\HarvestSystem\HarvestSystem\Scripts\Mobiles\Vendors\SBInfo\SBMiller.cs    24    38    HarvestSystem
Error    9    The type or namespace name 'SheafOfHay' could not be found (are you missing a using directive or an assembly reference?)    C:\Documents and Settings\jtilson\my documents\visual studio 2010\Projects\HarvestSystem\HarvestSystem\Scripts\Mobiles\Vendors\SBInfo\SBMiller.cs    33    18    HarvestSystem
Error    10    The type or namespace name 'SheafOfHay' could not be found (are you missing a using directive or an assembly reference?)    C:\Documents and Settings\jtilson\my documents\visual studio 2010\Projects\HarvestSystem\HarvestSystem\Scripts\Mobiles\Vendors\SBInfo\SBFarmer.cs    44    38    HarvestSystem
Error    11    No overload for method 'OnCarve' takes 2 arguments    C:\Documents and Settings\jtilson\my documents\visual studio 2010\Projects\HarvestSystem\HarvestSystem\Scripts\Customs\Vhaerun's CRL Homestead\Distro Modifications\Animals\Turkey.cs    46    4    HarvestSystem
Error    12    No overload for method 'OnCarve' takes 2 arguments    C:\Documents and Settings\jtilson\my documents\visual studio 2010\Projects\HarvestSystem\HarvestSystem\Scripts\Customs\Vhaerun's CRL Homestead\Distro Modifications\Animals\Pig.cs    48    4    HarvestSystem
Error    13    No overload for method 'OnCarve' takes 2 arguments    C:\Documents and Settings\jtilson\my documents\visual studio 2010\Projects\HarvestSystem\HarvestSystem\Scripts\Customs\Vhaerun's CRL Homestead\Distro Modifications\Animals\Chicken.cs    51    4    HarvestSystem
Error    14    No overload for method 'OnCarve' takes 2 arguments    C:\Documents and Settings\jtilson\my documents\visual studio 2010\Projects\HarvestSystem\HarvestSystem\Scripts\Customs\Vhaerun's CRL Homestead\Distro Modifications\Animals\Cow.cs    57    4    HarvestSystem
Error    15    No overload for method 'OnCarve' takes 2 arguments    C:\Documents and Settings\jtilson\my documents\visual studio 2010\Projects\HarvestSystem\HarvestSystem\Scripts\Customs\Vhaerun's CRL Homestead\Distro Modifications\Animals\Bull.cs    57    4    HarvestSystem
Error    16    The type or namespace name 'SheafOfHay' could not be found (are you missing a using directive or an assembly reference?)    C:\Documents and Settings\jtilson\my documents\visual studio 2010\Projects\HarvestSystem\HarvestSystem\Scripts\Mobiles\Vendors\SBInfo\SBFarmer.cs    72    18    HarvestSystem
Error    17    No overload for method 'OnCarve' takes 2 arguments    C:\Documents and Settings\jtilson\my documents\visual studio 2010\Projects\HarvestSystem\HarvestSystem\Scripts\Customs\Vhaerun's CRL Homestead\Distro Modifications\Animals\Sheep.cs    82    4    HarvestSystem
Error    18    Cannot implicitly convert type 'string' to 'int'    C:\Documents and Settings\jtilson\my documents\visual studio 2010\Projects\HarvestSystem\HarvestSystem\Scripts\Customs\Vhaerun's CRL Homestead\Vhaerun's CRL Brewing\Items\BrewingIngredients.cs    94    12    HarvestSystem
Error    19    The type or namespace name 'BottleOfWine' could not be found (are you missing a using directive or an assembly reference?)    C:\Documents and Settings\jtilson\my documents\visual studio 2010\Projects\HarvestSystem\HarvestSystem\Scripts\Customs\Vhaerun's CRL Homestead\Distro Modifications\DefCooking.cs    115    27    HarvestSystem
Error    20    The type or namespace name 'ChocolateBar' could not be found (are you missing a using directive or an assembly reference?)    C:\Documents and Settings\jtilson\my documents\visual studio 2010\Projects\HarvestSystem\HarvestSystem\Scripts\Customs\Vhaerun's CRL Homestead\Vhaerun's CRL Cooking\DefBaking.cs    144    27    HarvestSystem
Error    21    The type or namespace name 'BottleOfWine' could not be found (are you missing a using directive or an assembly reference?)    C:\Documents and Settings\jtilson\my documents\visual studio 2010\Projects\HarvestSystem\HarvestSystem\Scripts\Customs\Vhaerun's CRL Homestead\Distro Modifications\DefCooking.cs    174    27    HarvestSystem
Error    22    The type or namespace name 'Tile' could not be found (are you missing a using directive or an assembly reference?)    C:\Documents and Settings\jtilson\my documents\visual studio 2010\Projects\HarvestSystem\HarvestSystem\Scripts\Customs\Vhaerun's CRL Homestead\Vhaerun's CRL Crops\CropHelper.cs    176    5    HarvestSystem
Error    23    Cannot implicitly convert type 'Server.StaticTile[]' to 'Tile[]'    C:\Documents and Settings\jtilson\my documents\visual studio 2010\Projects\HarvestSystem\HarvestSystem\Scripts\Customs\Vhaerun's CRL Homestead\Vhaerun's CRL Crops\CropHelper.cs    176    20    HarvestSystem
Error    24    The type or namespace name 'ChocolateBar' could not be found (are you missing a using directive or an assembly reference?)    C:\Documents and Settings\jtilson\my documents\visual studio 2010\Projects\HarvestSystem\HarvestSystem\Scripts\Customs\Vhaerun's CRL Homestead\Vhaerun's CRL Cooking\DefBaking.cs    214    30    HarvestSystem
Error    25    The type or namespace name 'ChocolateBar' could not be found (are you missing a using directive or an assembly reference?)    C:\Documents and Settings\jtilson\my documents\visual studio 2010\Projects\HarvestSystem\HarvestSystem\Scripts\Customs\Vhaerun's CRL Homestead\Vhaerun's CRL Cooking\DefBaking.cs    220    27    HarvestSystem
Error    26    The type or namespace name 'Pith' could not be found (are you missing a using directive or an assembly reference?)    C:\Documents and Settings\jtilson\my documents\visual studio 2010\Projects\HarvestSystem\HarvestSystem\Scripts\Customs\Vhaerun's CRL Homestead\Distro Modifications\DefCooking.cs    229    30    HarvestSystem
Error    27    The type or namespace name 'SmallPumpkin' could not be found (are you missing a using directive or an assembly reference?)    C:\Documents and Settings\jtilson\my documents\visual studio 2010\Projects\HarvestSystem\HarvestSystem\Scripts\Engines\Craft\Core\CraftItem.cs    333    44    HarvestSystem
Error    28    'Server.Engines.Craft.CraftItem' does not contain a definition for 'Ressources' and no extension method 'Ressources' accepting a first argument of type 'Server.Engines.Craft.CraftItem' could be found (are you missing a using directive or an assembly reference?)    C:\Documents and Settings\jtilson\my documents\visual studio 2010\Projects\HarvestSystem\HarvestSystem\Scripts\Customs\Vhaerun's CRL Homestead\Vhaerun's CRL Brewing\Craft\BaseCraftCider.cs    359    30    HarvestSystem
Error    29    'Server.Engines.Craft.CraftItem' does not contain a definition for 'Ressources' and no extension method 'Ressources' accepting a first argument of type 'Server.Engines.Craft.CraftItem' could be found (are you missing a using directive or an assembly reference?)    C:\Documents and Settings\jtilson\my documents\visual studio 2010\Projects\HarvestSystem\HarvestSystem\Scripts\Customs\Vhaerun's CRL Homestead\Vhaerun's CRL Brewing\Craft\BaseCraftAle.cs    365    30    HarvestSystem
Error    30    'Server.Engines.Craft.CraftItem' does not contain a definition for 'Ressources' and no extension method 'Ressources' accepting a first argument of type 'Server.Engines.Craft.CraftItem' could be found (are you missing a using directive or an assembly reference?)    C:\Documents and Settings\jtilson\my documents\visual studio 2010\Projects\HarvestSystem\HarvestSystem\Scripts\Customs\Vhaerun's CRL Homestead\Vhaerun's CRL Brewing\Craft\BaseCraftMead.cs    365    30    HarvestSystem
Error    31    'Server.Engines.Craft.CraftItem' does not contain a definition for 'Ressources' and no extension method 'Ressources' accepting a first argument of type 'Server.Engines.Craft.CraftItem' could be found (are you missing a using directive or an assembly reference?)    C:\Documents and Settings\jtilson\my documents\visual studio 2010\Projects\HarvestSystem\HarvestSystem\Scripts\Customs\Vhaerun's CRL Homestead\Vhaerun's CRL Juicing\Engine\BaseCraftJuice.cs    380    30    HarvestSystem
Error    32    'Server.Engines.Craft.CraftItem' does not contain a definition for 'Ressources' and no extension method 'Ressources' accepting a first argument of type 'Server.Engines.Craft.CraftItem' could be found (are you missing a using directive or an assembly reference?)    C:\Documents and Settings\jtilson\my documents\visual studio 2010\Projects\HarvestSystem\HarvestSystem\Scripts\Customs\Vhaerun's CRL Homestead\Vhaerun's CRL Brewing\Items\Kegs\CiderKeg.cs    449    30    HarvestSystem
Error    33    'Server.Engines.Craft.CraftItem' does not contain a definition for 'Ressources' and no extension method 'Ressources' accepting a first argument of type 'Server.Engines.Craft.CraftItem' could be found (are you missing a using directive or an assembly reference?)    C:\Documents and Settings\jtilson\my documents\visual studio 2010\Projects\HarvestSystem\HarvestSystem\Scripts\Customs\Vhaerun's CRL Homestead\Vhaerun's CRL Juicing\Items\JuiceKeg.cs    455    30    HarvestSystem
Error    34    'Server.Engines.Craft.CraftItem' does not contain a definition for 'Ressources' and no extension method 'Ressources' accepting a first argument of type 'Server.Engines.Craft.CraftItem' could be found (are you missing a using directive or an assembly reference?)    C:\Documents and Settings\jtilson\my documents\visual studio 2010\Projects\HarvestSystem\HarvestSystem\Scripts\Customs\Vhaerun's CRL Homestead\Vhaerun's CRL Brewing\Items\Kegs\MeadKeg.cs    455    30    HarvestSystem
Error    35    'Server.Engines.Craft.CraftItem' does not contain a definition for 'Ressources' and no extension method 'Ressources' accepting a first argument of type 'Server.Engines.Craft.CraftItem' could be found (are you missing a using directive or an assembly reference?)    C:\Documents and Settings\jtilson\my documents\visual studio 2010\Projects\HarvestSystem\HarvestSystem\Scripts\Customs\Vhaerun's CRL Homestead\Vhaerun's CRL Brewing\Items\Kegs\AleKeg.cs    455    30    HarvestSystem
Error    36    The type or namespace name 'SlabOfBacon' could not be found (are you missing a using directive or an assembly reference?)    C:\Documents and Settings\jtilson\my documents\visual studio 2010\Projects\HarvestSystem\HarvestSystem\Scripts\Items\Containers\FillableContainers.cs    851    35    HarvestSystem
Error    37    The type or namespace name 'SheafOfHay' could not be found (are you missing a using directive or an assembly reference?)    C:\Documents and Settings\jtilson\my documents\visual studio 2010\Projects\HarvestSystem\HarvestSystem\Scripts\Items\Containers\FillableContainers.cs    973    35    HarvestSystem
Error    38    The type or namespace name 'CheeseSlice' could not be found (are you missing a using directive or an assembly reference?)    C:\Documents and Settings\jtilson\my documents\visual studio 2010\Projects\HarvestSystem\HarvestSystem\Scripts\Items\Containers\FillableContainers.cs    1111    35    HarvestSystem
Error    39    The type or namespace name 'OpenCoconut' could not be found (are you missing a using directive or an assembly reference?)    C:\Documents and Settings\jtilson\my documents\visual studio 2010\Projects\HarvestSystem\HarvestSystem\Scripts\Items\Containers\FillableContainers.cs    1119    35    HarvestSystem
Error    40    The type or namespace name 'Lemons' could not be found (are you missing a using directive or an assembly reference?)    C:\Documents and Settings\jtilson\my documents\visual studio 2010\Projects\HarvestSystem\HarvestSystem\Scripts\Items\Containers\FillableContainers.cs    1125    35    HarvestSystem
Error    41    The type or namespace name 'Limes' could not be found (are you missing a using directive or an assembly reference?)    C:\Documents and Settings\jtilson\my documents\visual studio 2010\Projects\HarvestSystem\HarvestSystem\Scripts\Items\Containers\FillableContainers.cs    1127    35    HarvestSystem
Error    42    The type or namespace name 'SlabOfBacon' could not be found (are you missing a using directive or an assembly reference?)    C:\Documents and Settings\jtilson\my documents\visual studio 2010\Projects\HarvestSystem\HarvestSystem\Scripts\Items\Containers\FillableContainers.cs    1130    35    HarvestSystem
Error    43    The type or namespace name 'SmallWatermelon' could not be found (are you missing a using directive or an assembly reference?)    C:\Documents and Settings\jtilson\my documents\visual studio 2010\Projects\HarvestSystem\HarvestSystem\Scripts\Items\Containers\FillableContainers.cs    1143    35    HarvestSystem
Error    44    The type or namespace name 'SmallPumpkin' could not be found (are you missing a using directive or an assembly reference?)    C:\Documents and Settings\jtilson\my documents\visual studio 2010\Projects\HarvestSystem\HarvestSystem\Scripts\Items\Containers\FillableContainers.cs    1148    35    HarvestSystem
Error    45    The type or namespace name 'EarOfCorn' could not be found (are you missing a using directive or an assembly reference?)    C:\Documents and Settings\jtilson\my documents\visual studio 2010\Projects\HarvestSystem\HarvestSystem\Scripts\Items\Containers\FillableContainers.cs    1156    35    HarvestSystem
Error    46    The type or namespace name 'CheeseSlice' could not be found (are you missing a using directive or an assembly reference?)    C:\Documents and Settings\jtilson\my documents\visual studio 2010\Projects\HarvestSystem\HarvestSystem\Scripts\Items\Containers\FillableContainers.cs    1217    35    HarvestSystem
Error    47    The type or namespace name 'OpenCoconut' could not be found (are you missing a using directive or an assembly reference?)    C:\Documents and Settings\jtilson\my documents\visual studio 2010\Projects\HarvestSystem\HarvestSystem\Scripts\Items\Containers\FillableContainers.cs    1230    35    HarvestSystem
Error    48    The type or namespace name 'Lemons' could not be found (are you missing a using directive or an assembly reference?)    C:\Documents and Settings\jtilson\my documents\visual studio 2010\Projects\HarvestSystem\HarvestSystem\Scripts\Items\Containers\FillableContainers.cs    1236    35    HarvestSystem
Error    49    The type or namespace name 'Limes' could not be found (are you missing a using directive or an assembly reference?)    C:\Documents and Settings\jtilson\my documents\visual studio 2010\Projects\HarvestSystem\HarvestSystem\Scripts\Items\Containers\FillableContainers.cs    1238    35    HarvestSystem
Error    50    The type or namespace name 'SlabOfBacon' could not be found (are you missing a using directive or an assembly reference?)    C:\Documents and Settings\jtilson\my documents\visual studio 2010\Projects\HarvestSystem\HarvestSystem\Scripts\Items\Containers\FillableContainers.cs    1241    35    HarvestSystem
Error    51    The type or namespace name 'SmallWatermelon' could not be found (are you missing a using directive or an assembly reference?)    C:\Documents and Settings\jtilson\my documents\visual studio 2010\Projects\HarvestSystem\HarvestSystem\Scripts\Items\Containers\FillableContainers.cs    1256    35    HarvestSystem
Error    52    The type or namespace name 'SmallPumpkin' could not be found (are you missing a using directive or an assembly reference?)    C:\Documents and Settings\jtilson\my documents\visual studio 2010\Projects\HarvestSystem\HarvestSystem\Scripts\Items\Containers\FillableContainers.cs    1261    35    HarvestSystem
Error    53    The type or namespace name 'EarOfCorn' could not be found (are you missing a using directive or an assembly reference?)    C:\Documents and Settings\jtilson\my documents\visual studio 2010\Projects\HarvestSystem\HarvestSystem\Scripts\Items\Containers\FillableContainers.cs    1269    35    HarvestSystem
Error    54    The type or namespace name 'SheafOfHay' could not be found (are you missing a using directive or an assembly reference?)    C:\Documents and Settings\jtilson\my documents\visual studio 2010\Projects\HarvestSystem\HarvestSystem\Scripts\Mobiles\BaseCreature.cs    1944    57    HarvestSystem
Error    55    Cannot implicitly convert type 'string' to 'int'    C:\Documents and Settings\jtilson\my documents\visual studio 2010\Projects\HarvestSystem\HarvestSystem\Scripts\Customs\Vhaerun's CRL Homestead\Vhaerun's CRL Brewing\Items\Hops\Hops.cs    22    12    HarvestSystem
 

nacrom

Wanderer
You cannot just replace files with the new ones, you need to merge the 2 together. Using programs like winmerge will be a great help is this task. Just replacing the files will give you oh so many errors that your head could explode.
 

sec_goat

Squire
You cannot just replace files with the new ones, you need to merge the 2 together. Using programs like winmerge will be a great help is this task. Just replacing the files will give you oh so many errors that your head could explode.

Haha yes, yes that is where I am so far! I will try Win Merge and see what happens!

Thanks again.


EDIT: ok I am looking at winmerge and I think using this gives me the same problems as editing by hand. I want the new stuff from Homestead, however the Core server code has changed so much that I need to go back into almost every file and update the way functions are called etc.

For instance Hops and Barley call ICommodity, which is not touched by the Homestead script. so even if I merge I still have to go in and make it reference ICommodity correctly.
 

sec_goat

Squire
Ok I am down to a couple of errors at this point that are simply C# programming errors.
Code:
public class Malt : Item, ICommodity
    {
        int ICommodity.DescriptionNumber
        {
            get
            {
                return String.Format( Amount == 1 ? "{0} malt" : "{0} malt", Amount );
            }
        }

I need to return an Int for this to work, but the old Items returned a string, any one have any ideas?
It looks like it needs to be the resource ID number. . .
 

sec_goat

Squire
It appears that I can compile and run the server with no errors. However some items are missing or give me a name of "BadType".
I cannot seem to figure out how to access brewing or the new cooking menus, so maybe I just got rid of the errors, and broke it even further?

If any one is interested in looking at whats going on I have attached the modified files.
 

Attachments

  • Vhaerun\'s CRL Homestead.zip
    506.3 KB · Views: 18

Murzin

Knight
well, your return string is wrong.

you need to find out what the ciloc entry is for "malt" and change that return to return the int for that ciloc entry. thats what its looking for.
 

sec_goat

Squire
well, your return string is wrong.

you need to find out what the ciloc entry is for "malt" and change that return to return the int for that ciloc entry. thats what its looking for.

Can you help me to find where the Ciloc entries are? thanks!
 
Top