CODE |
cannot override inherited member 'Server.Items.BaseWeapon.OnHit(Server.Mobile, Server.Mobile)' because it is not marked virtual, abstract, or override cannot override inherited member 'Server.Mobiles.BaseCreature.GetControlChance(Server.Mobile)' because it is not marked virtual, abstract, or override |
CODE |
public void OnHit |
CODE |
public virtual void OnHit |
CODE |
public double GetControlChance |
CODE |
public virtual double GetControlChance |
CODE |
public virtual void OnHit( Mobile attacker, Mobile defender, double damageBonus ) |
CODE |
public virtual double GetControlChance( Mobile m, bool useBaseSkill ) |
QUOTE (ArteGordon @ November 21, 2006 03:42 pm) |
I would have to see the exact errors. They probably result from older systems using ArrayLists instead of the explicitly typed lists that are used in the current SVN. You would just have to change those ArrayList references to the appropriate List types. |
QUOTE (ArteGordon @ November 21, 2006 04:02 pm) |
it would indicate the type required in the error message that you got when compiling. |
CODE |
+ Custom/Systems/Knives/Knives Chat 3.0 Beta 6/General/General.cs: CS1502: Line 139: The best overloaded method match for 'System.Collections.G eneric.List<Server.Item>.List(int)' has some invalid arguments CS1503: Line 139: Argument '1': cannot convert from 'System.Collections.Arra yList' to 'int' CS1502: Line 177: The best overloaded method match for 'System.Collections.G eneric.List<Server.Item>.Add(Server.Item)' has some invalid arguments CS1503: Line 177: Argument '1': cannot convert from 'string' to 'Server.Item ' CS0029: Line 187: Cannot implicitly convert type 'System.Collections.ArrayLi st' to 'System.Collections.Generic.List<Server.Item>' CS1502: Line 219: The best overloaded method match for 'System.Collections.G eneric.List<Server.Item>.List(int)' has some invalid arguments CS1503: Line 219: Argument '1': cannot convert from 'System.Collections.Gene ric.IEnumerable<Server.Gumps.Gump>' to 'int' CS0117: Line 222: 'System.Collections.Generic.IEnumerable<Server.Gumps.Gump> ' does not contain a definition for 'Remove' + Custom/Systems/Knives/Town Houses v1.1/Misc/General.cs: CS0029: Line 67: Cannot implicitly convert type 'System.Collections.Generic. List<Server.Multis.BaseHouse>' to 'System.Collections.ArrayList' |
CODE |
Line 21: private static List<Item> s_Locals = new List<Item>(); Line 139: foreach (Message msg in new List<Item>(data.Messages)) Line 177: s_Locals.Add(text); Line 187: s_Locals = DefaultLocal.Load(); Line 219: foreach (Gump g in new List<Item>(m.NetState.Gumps)) Line 222: m.NetState.Gumps.Remove(g); |
CODE |
Line 67: ArrayList houses = BaseHouse.GetHouses( e.Mobile ); |
CODE |
Error 1 The type or namespace name 'SetDirect' does not exist in the namespace 'Server.Properties' (are you missing an assembly reference?) J:\RunUO SVN Solution\RunUO SVN\Scripts\Gumps\Properties\SetListOptionGump.cs 171 33 Scripts Error 2 The type or namespace name 'GetCPA' does not exist in the namespace 'Server.Properties' (are you missing an assembly reference?) J:\RunUO SVN Solution\RunUO SVN\Scripts\Commands\Properties.cs 713 31 Scripts Error 3 The type or namespace name 'SetDirect' does not exist in the namespace 'Server.Properties' (are you missing an assembly reference?) J:\RunUO SVN Solution\RunUO SVN\Scripts\Gumps\Properties\SetCustomEnumGump.cs 32 27 Scripts Error 4 The type or namespace name 'SetDirect' does not exist in the namespace 'Server.Properties' (are you missing an assembly reference?) J:\RunUO SVN Solution\RunUO SVN\Scripts\Gumps\Properties\SetCustomEnumGump.cs 34 27 Scripts Error 5 The type or namespace name 'SetValue' does not exist in the namespace 'Server.Properties' (are you missing an assembly reference?) J:\RunUO SVN Solution\RunUO SVN\Scripts\Gumps\AdminGump.cs 2599 19 Scripts |
QUOTE (ArteGordon @ November 25, 2006 06:59 pm) |
are you using the latest SVN scripts as well as the server? |