SomeDude

Member
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]
 
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
 
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 . . .
 

Active Shards

  • Unchained
    Custom (Classic)
    • Players
    • 154 Online
    • 273 Peak
  • The Crossroads
    Mondain's Legacy
    • Players
    • 106 Online
    • 190 Peak
  • UO Eventine
    Custom (Classic)
    • Players
    • 80 Online
    • 137 Peak
  • Insane UO
    Endless Journey
    • Players
    • 74 Online
    • 105 Peak
  • UO: New Renaissance
    Custom (Classic)
    • Players
    • 25 Online
    • 85 Peak
  • CALYPSO
    Custom (Modern)
    • Players
    • 19 Online
    • 30 Peak
  • UO Phoenix
    Custom (Classic)
    • Players
    • 19 Online
    • 48 Peak
  • Pandora
    Custom (Modern)
    • Players
    • 18 Online
    • 32 Peak
  • UO Enigma
    Custom (Modern)
    • Players
    • 17 Online
    • 172 Peak
  • Arth
    Custom (Modern)
    • Players
    • 16 Online
    • 34 Peak

Donations

Total amount
$0.00
Goal
$500.00
Back