SomeDude

Vita-Nex Sponsor
Getting these when try to compile fresh basecreature.cs followed the install instructions but some of the code was different in the fresh basecreatures.cs then that was in the install instructions and i do have vnc installed

C:\Users\Somedude\OneDrive\Desktop\58\ServUO-p58-wip\Scripts\VitaNex\Core\Items\Misc\StrobeLantern.cs(71,28): warning CS0114: 'StrobeLantern.DefaultLight' hides inherited member 'Item.DefaultLight'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword. [C:\Users\Somedude\OneDrive\Desktop\58\ServUO-p58-wip\Scripts\Scripts.csproj]
C:\Users\Somedude\OneDrive\Desktop\58\ServUO-p58-wip\Scripts\Mobiles\Normal\BaseCreature.cs(212,23): error CS0234: The type or namespace name 'Invasions' does not exist in the namespace 'Server' (are you missing an assembly reference?) [C:\Users\Somedude\OneDrive\Desktop\58\ServUO-p58-wip\Scripts\Scripts.csproj]
C:\Users\Somedude\OneDrive\Desktop\58\ServUO-p58-wip\Scripts\Mobiles\Normal\BaseCreature.cs(209,24): error CS0234: The type or namespace name 'Invasions' does not exist in the namespace 'Server' (are you missing an assembly reference?) [C:\Users\Somedude\OneDrive\Desktop\58\ServUO-p58-wip\Scripts\Scripts.csproj]
 

Voxpire

Vita-Nex
Administrator
You can safely ignore the first warning, that will be fixed in an update to Vita-Nex.

The errors may be false positives, but they mean that the actual invasions package hasn't been installed, or the namespaces were modified when it was added.

If you added the package via VS and it has the folder name to namespace sync setting enabled, it will automatically edit every file's namespace to match the directory tree - and you'll have to undo that or install the package outside of VS in Windows Explorer.

(Uncheck this box if you have it checked)

1666361068453.png
 
OP
SomeDude

SomeDude

Vita-Nex Sponsor
k got it all in there now getting this error btw thx for the help


Compile ServUO for Windows

Press any key to continue . . .

C:\Users\Somedude\OneDrive\Desktop\58\ServUO-p58-wip>dotnet build -c Release
Microsoft (R) Build Engine version 16.11.2+f32259642 for .NET
Copyright (C) Microsoft Corporation. All rights reserved.

Determining projects to restore...
All projects are up-to-date for restore.
Settings -> C:\Users\Somedude\OneDrive\Desktop\58\ServUO-p58-wip\Settings\bin\Release\Settings.dll
Server -> C:\Users\Somedude\OneDrive\Desktop\58\ServUO-p58-wip\Server\bin\Release\Server.dll
C:\Users\Somedude\OneDrive\Desktop\58\ServUO-p58-wip\Scripts\VitaNex\Core\Items\Misc\StrobeLantern.cs(71,28): warning CS0114: 'StrobeLantern.DefaultLight' hides inherited member 'Item.DefaultLight'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword. [C:\Users\Somedude\OneDrive\Desktop\58\ServUO-p58-wip\Scripts\Scripts.csproj]
C:\Users\Somedude\OneDrive\Desktop\58\ServUO-p58-wip\Scripts\Mobiles\Normal\BaseCreature.cs(231,40): error CS1061: 'List<BaseCreature>' does not contain a definition for 'AddOrReplace' and no accessible extension method 'AddOrReplace' accepting a first argument of type 'List<BaseCreature>' could be found (are you missing a using directive or an assembly reference?) [C:\Users\Somedude\OneDrive\Desktop\58\ServUO-p58-wip\Scripts\Scripts.csproj]

Build FAILED.

C:\Users\Somedude\OneDrive\Desktop\58\ServUO-p58-wip\Scripts\VitaNex\Core\Items\Misc\StrobeLantern.cs(71,28): warning CS0114: 'StrobeLantern.DefaultLight' hides inherited member 'Item.DefaultLight'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword. [C:\Users\Somedude\OneDrive\Desktop\58\ServUO-p58-wip\Scripts\Scripts.csproj]
C:\Users\Somedude\OneDrive\Desktop\58\ServUO-p58-wip\Scripts\Mobiles\Normal\BaseCreature.cs(231,40): error CS1061: 'List<BaseCreature>' does not contain a definition for 'AddOrReplace' and no accessible extension method 'AddOrReplace' accepting a first argument of type 'List<BaseCreature>' could be found (are you missing a using directive or an assembly reference?) [C:\Users\Somedude\OneDrive\Desktop\58\ServUO-p58-wip\Scripts\Scripts.csproj]
1 Warning(s)
1 Error(s)

Time Elapsed 00:00:04.49

Done!

Press any key to continue . . .