john burns

Citizen
Getting these errors, and would like to know how to fix them . . . .

VNCCore/Extensions/Server/PacketExt.cs(27,41): error CS0246: The type or namespace name 'WorldItemSA' could not be found (are you missing a using directive or an assembly reference?) [/root/ServUO/Scripts/Scripts.csproj]
VNCCore/Extensions/Server/PacketExt.cs(32,41): error CS0246: The type or namespace name 'WorldItemHS' could not be found (are you missing a using directive or an assembly reference?) [/root/ServUO/Scripts/Scripts.csproj]
VNCCore/Extensions/Server/PacketExt.cs(37,39): error CS0246: The type or namespace name 'MobileIncomingOld' could not be found (are you missing a using directive or an assembly reference?) [/root/ServUO/Scripts/Scripts.csproj]
VNCCore/Items/Regions/BoundsPreviewTile.cs(58,24): error CS0115: 'BoundsPreviewTile.OnSingleClick(Mobile)': no suitable method found to override [/root/ServUO/Scripts/Scripts.csproj]
VNCCore/Items/Throwables/AtMobiles/Fun/HauntedMomento.cs(41,24): error CS0115: 'HauntedMomentoEntity.CanDrop': no suitable method found to override [/root/ServUO/Scripts/Scripts.csproj]
VNCCore/Items/Throwables/AtMobiles/Fun/HauntedMomento.cs(281,24): error CS0115: 'HauntedMomentoEntity.OnSingleClick(Mobile)': no suitable method found to override [/root/ServUO/Scripts/Scripts.csproj]
VNCCore/Items/Throwables/Base/BaseThrowable.cs(485,24): error CS0115: 'BaseThrowable<TEntity>.OnSingleClick(Mobile)': no suitable method found to override [/root/ServUO/Scripts/Scripts.csproj]
VNCCore/Modules/AutoPVP/Items/PvPSpectatorGate.cs(51,24): error CS0115: 'PvPSpectatorGate.OnSingleClick(Mobile)': no suitable method found to override [/root/ServUO/Scripts/Scripts.csproj]
VNCCore/Modules/AutoPVP/Items/PvPTeamGate.cs(50,24): error CS0115: 'PvPTeamGate.OnSingleClick(Mobile)': no suitable method found to override [/root/ServUO/Scripts/Scripts.csproj]
VNCCore/Modules/AutoPVP/Objects/Regions.cs(336,24): error CS0115: 'PvPRegion.OnSingleClick(Mobile, object)': no suitable method found to override [/root/ServUO/Scripts/Scripts.csproj]
VNCCore/Modules/TrashCollection/Items/SepticTank.cs(147,24): error CS0115: 'SepticTank.OnSingleClick(Mobile)': no suitable method found to override [/root/ServUO/Scripts/Scripts.csproj]
 

DragnMaw

Rookie
I know a lot of the SingleClick(Mobile) were removed from the earlier base code, so you can update to double click or remove those.
 

Voxpire

Vita-Nex
Administrator
VNCCore/Extensions/Server/PacketExt.cs(27,41): error CS0246: The type or namespace name 'WorldItemSA' could not be found (are you missing a using directive or an assembly reference?) [/root/ServUO/Scripts/Scripts.csproj]
VNCCore/Extensions/Server/PacketExt.cs(32,41): error CS0246: The type or namespace name 'WorldItemHS' could not be found (are you missing a using directive or an assembly reference?) [/root/ServUO/Scripts/Scripts.csproj]
VNCCore/Extensions/Server/PacketExt.cs(37,39): error CS0246: The type or namespace name 'MobileIncomingOld' could not be found (are you missing a using directive or an assembly reference?) [/root/ServUO/Scripts/Scripts.csproj]

Replace this code:
Code:
		public static bool RewriteItemID(this WorldItem p, int itemID, bool reset = true)
		{
			return Rewrite(p, 7, (short)itemID, reset);
		}

		public static bool RewriteItemID(this WorldItemSA p, int itemID, bool reset = true)
		{
			return Rewrite(p, 8, (short)itemID, reset);
		}

		public static bool RewriteItemID(this WorldItemHS p, int itemID, bool reset = true)
		{
			return Rewrite(p, 8, (ushort)itemID, reset);
		}

		public static bool RewriteBody(this MobileIncomingOld p, int itemID, bool reset = true)
		{
			return Rewrite(p, 8, (ushort)itemID, reset);
		}

With this code:
Code:
		public static bool RewriteItemID(this WorldItem p, int itemID, bool reset = true)
		{
			return Rewrite(p, 8, (short)itemID, reset);
		}

		public static bool RewriteBody(this MobileIncoming p, int itemID, bool reset = true)
		{
			return Rewrite(p, 7, (ushort)itemID, reset);
		}




VNCCore/Items/Regions/BoundsPreviewTile.cs(58,24): error CS0115: 'BoundsPreviewTile.OnSingleClick(Mobile)': no suitable method found to override [/root/ServUO/Scripts/Scripts.csproj]
VNCCore/Items/Throwables/AtMobiles/Fun/HauntedMomento.cs(41,24): error CS0115: 'HauntedMomentoEntity.CanDrop': no suitable method found to override [/root/ServUO/Scripts/Scripts.csproj]
VNCCore/Items/Throwables/AtMobiles/Fun/HauntedMomento.cs(281,24): error CS0115: 'HauntedMomentoEntity.OnSingleClick(Mobile)': no suitable method found to override [/root/ServUO/Scripts/Scripts.csproj]
VNCCore/Items/Throwables/Base/BaseThrowable.cs(485,24): error CS0115: 'BaseThrowable<TEntity>.OnSingleClick(Mobile)': no suitable method found to override [/root/ServUO/Scripts/Scripts.csproj]
VNCCore/Modules/AutoPVP/Items/PvPSpectatorGate.cs(51,24): error CS0115: 'PvPSpectatorGate.OnSingleClick(Mobile)': no suitable method found to override [/root/ServUO/Scripts/Scripts.csproj]
VNCCore/Modules/AutoPVP/Items/PvPTeamGate.cs(50,24): error CS0115: 'PvPTeamGate.OnSingleClick(Mobile)': no suitable method found to override [/root/ServUO/Scripts/Scripts.csproj]
VNCCore/Modules/AutoPVP/Objects/Regions.cs(336,24): error CS0115: 'PvPRegion.OnSingleClick(Mobile, object)': no suitable method found to override [/root/ServUO/Scripts/Scripts.csproj]
VNCCore/Modules/TrashCollection/Items/SepticTank.cs(147,24): error CS0115: 'SepticTank.OnSingleClick(Mobile)': no suitable method found to override [/root/ServUO/Scripts/Scripts.csproj]

Remove all of these overrides.




Be prepared for another layer of compiler errors, post them if they come up.
 

john burns

Citizen
Got side-tracked, here is the errors I get after your edits . . . .

/root/ServUO/Scripts/_Customs/VNCCore/Text/Json/JsonReader.cs(24,7): error CS0246: The type or namespace name 'CustomsFramework' could not be found (are you missing a using directive or an assembly reference?) [/root/ServUO/Scripts/Scripts.csproj]
/root/ServUO/Scripts/_Customs/VNCCore/Text/Json/JsonWriter.cs(25,7): error CS0246: The type or namespace name 'CustomsFramework' could not be found (are you missing a using directive or an assembly reference?) [/root/ServUO/Scripts/Scripts.csproj]
/root/ServUO/Scripts/_Customs/VNCCore/Text/Json/JsonReader.cs(430,19): error CS0246: The type or namespace name 'SaveData' could not be found (are you missing a using directive or an assembly reference?) [/root/ServUO/Scripts/Scripts.csproj]
/root/ServUO/Scripts/_Customs/VNCCore/Text/Json/JsonReader.cs(445,24): error CS0246: The type or namespace name 'SaveData' could not be found (are you missing a using directive or an assembly reference?) [/root/ServUO/Scripts/Scripts.csproj]
/root/ServUO/Scripts/_Customs/VNCCore/Text/Json/JsonReader.cs(455,27): error CS0246: The type or namespace name 'SaveData' could not be found (are you missing a using directive or an assembly reference?) [/root/ServUO/Scripts/Scripts.csproj]
/root/ServUO/Scripts/_Customs/VNCCore/Text/Json/JsonReader.cs(430,28): error CS0115: 'JsonReader.ReadData()': no suitable method found to override [/root/ServUO/Scripts/Scripts.csproj]
/root/ServUO/Scripts/_Customs/VNCCore/Text/Json/JsonReader.cs(435,21): error CS0115: 'JsonReader.ReadData<T>()': no suitable method found to override [/root/ServUO/Scripts/Scripts.csproj]
/root/ServUO/Scripts/_Customs/VNCCore/Text/Json/JsonReader.cs(440,29): error CS0115: 'JsonReader.ReadDataList()': no suitable method found to override [/root/ServUO/Scripts/Scripts.csproj]
/root/ServUO/Scripts/_Customs/VNCCore/Text/Json/JsonReader.cs(445,34): error CS0115: 'JsonReader.ReadStrongDataList()': no suitable method found to override [/root/ServUO/Scripts/Scripts.csproj]
/root/ServUO/Scripts/_Customs/VNCCore/Text/Json/JsonReader.cs(450,27): error CS0115: 'JsonReader.ReadStrongDataList<T>()': no suitable method found to override [/root/ServUO/Scripts/Scripts.csproj]
/root/ServUO/Scripts/_Customs/VNCCore/Text/Json/JsonReader.cs(455,37): error CS0115: 'JsonReader.ReadDataSet()': no suitable method found to override [/root/ServUO/Scripts/Scripts.csproj]
/root/ServUO/Scripts/_Customs/VNCCore/Text/Json/JsonReader.cs(460,30): error CS0115: 'JsonReader.ReadDataSet<T>()': no suitable method found to override [/root/ServUO/Scripts/Scripts.csproj]
/root/ServUO/Scripts/_Customs/VNCCore/Text/Json/JsonReader.cs(30,15): error CS0534: 'JsonReader' does not implement inherited abstract member 'GenericReader.ReadObjectType()' [/root/ServUO/Scripts/Scripts.csproj]
/root/ServUO/Scripts/_Customs/VNCCore/Text/Json/JsonWriter.cs(653,30): error CS0246: The type or namespace name 'SaveData' could not be found (are you missing a using directive or an assembly reference?) [/root/ServUO/Scripts/Scripts.csproj]
/root/ServUO/Scripts/_Customs/VNCCore/Text/Json/JsonWriter.cs(665,35): error CS0246: The type or namespace name 'SaveData' could not be found (are you missing a using directive or an assembly reference?) [/root/ServUO/Scripts/Scripts.csproj]
/root/ServUO/Scripts/_Customs/VNCCore/Text/Json/JsonWriter.cs(668,35): error CS0246: The type or namespace name 'SaveData' could not be found (are you missing a using directive or an assembly reference?) [/root/ServUO/Scripts/Scripts.csproj]
/root/ServUO/Scripts/_Customs/VNCCore/Text/Json/JsonWriter.cs(677,38): error CS0246: The type or namespace name 'SaveData' could not be found (are you missing a using directive or an assembly reference?) [/root/ServUO/Scripts/Scripts.csproj]
/root/ServUO/Scripts/_Customs/VNCCore/Text/Json/JsonWriter.cs(680,38): error CS0246: The type or namespace name 'SaveData' could not be found (are you missing a using directive or an assembly reference?) [/root/ServUO/Scripts/Scripts.csproj]
/root/ServUO/Scripts/_Customs/VNCCore/Text/Json/JsonWriter.cs(656,24): error CS0115: 'JsonWriter.WriteData<T>(T)': no suitable method found to override [/root/ServUO/Scripts/Scripts.csproj]
/root/ServUO/Scripts/_Customs/VNCCore/Text/Json/JsonWriter.cs(659,24): error CS0115: 'JsonWriter.WriteDataList(ArrayList)': no suitable method found to override [/root/ServUO/Scripts/Scripts.csproj]
/root/ServUO/Scripts/_Customs/VNCCore/Text/Json/JsonWriter.cs(662,24): error CS0115: 'JsonWriter.WriteDataList(ArrayList, bool)': no suitable method found to override [/root/ServUO/Scripts/Scripts.csproj]
/root/ServUO/Scripts/_Customs/VNCCore/Text/Json/JsonWriter.cs(671,24): error CS0115: 'JsonWriter.WriteDataList<T>(List<T>)': no suitable method found to override [/root/ServUO/Scripts/Scripts.csproj]
/root/ServUO/Scripts/_Customs/VNCCore/Text/Json/JsonWriter.cs(674,24): error CS0115: 'JsonWriter.WriteDataList<T>(List<T>, bool)': no suitable method found to override [/root/ServUO/Scripts/Scripts.csproj]
/root/ServUO/Scripts/_Customs/VNCCore/Text/Json/JsonWriter.cs(683,24): error CS0115: 'JsonWriter.WriteDataSet<T>(HashSet<T>)': no suitable method found to override [/root/ServUO/Scripts/Scripts.csproj]
/root/ServUO/Scripts/_Customs/VNCCore/Text/Json/JsonWriter.cs(686,24): error CS0115: 'JsonWriter.WriteDataSet<T>(HashSet<T>, bool)': no suitable method found to override [/root/ServUO/Scripts/Scripts.csproj]
/root/ServUO/Scripts/_Customs/VNCCore/Text/Json/JsonWriter.cs(31,15): error CS0534: 'JsonWriter' does not implement inherited abstract member 'GenericWriter.WriteObjectType(object)' [/root/ServUO/Scripts/Scripts.csproj]
/root/ServUO/Scripts/_Customs/VNCCore/Text/Json/JsonWriter.cs(31,15): error CS0534: 'JsonWriter' does not implement inherited abstract member 'GenericWriter.WriteObjectType(Type)' [/root/ServUO/Scripts/Scripts.csproj]
 

DragnMaw

Rookie
Voxpire, not sure if this is helpful or not, but I ended up with the same errors (Its from using the Pub58-WIP rather than Pub57). Dunno if that helps you out with some of these issues, or if you have a VNC version that compiles clean on the Pub58-WIP.