- ServUO Version
- Publish 58
- Ultima Expansion
- Endless Journey
If anyone could help me out would really appreciate it tryin to add token in baseCreature p58
OnKilledBy(ds.m_Mobile);
if (HumilityVirtue.IsInHunt(ds.m_Mobile) && Karma < 0)
HumilityVirtue.RegisterKill(ds.m_Mobile, this, list.Count);
}
for (int i = 0; i < titles.Count; ++i)
{
Titles.AwardFame(titles, fame, true);
Titles.AwardKarma(titles, karma, true);
TokenValidate.TokenAward(ds.m_Mobile, this);
Getting this error
C:\Users\Somedude\OneDrive\Desktop\NeverFade>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\NeverFade\Settings\bin\Release\Settings.dll
Server -> C:\Users\Somedude\OneDrive\Desktop\NeverFade\Server\bin\Release\Server.dll
C:\Users\Somedude\OneDrive\Desktop\NeverFade\Scripts\Customs\Custom Systems\VitaNex\Core-5.3.0.1\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\NeverFade\Scripts\Scripts.csproj]
C:\Users\Somedude\OneDrive\Desktop\NeverFade\Scripts\Mobiles\Normal\BaseCreature.cs(6018,50): error CS0103: The name 'ds' does not exist in the current context [C:\Users\Somedude\OneDrive\Desktop\NeverFade\Scripts\Scripts.csproj]
C:\Users\Somedude\OneDrive\Desktop\NeverFade\Scripts\Customs\KarmaTokens\TokenAward.cs(15,18): warning CS0169: The field 'TokenValidate.m_Owner' is never used [C:\Users\Somedude\OneDrive\Desktop\NeverFade\Scripts\Scripts.csproj]
Build FAILED.
C:\Users\Somedude\OneDrive\Desktop\NeverFade\Scripts\Customs\Custom Systems\VitaNex\Core-5.3.0.1\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\NeverFade\Scripts\Scripts.csproj]
C:\Users\Somedude\OneDrive\Desktop\NeverFade\Scripts\Customs\KarmaTokens\TokenAward.cs(15,18): warning CS0169: The field 'TokenValidate.m_Owner' is never used [C:\Users\Somedude\OneDrive\Desktop\NeverFade\Scripts\Scripts.csproj]
C:\Users\Somedude\OneDrive\Desktop\NeverFade\Scripts\Mobiles\Normal\BaseCreature.cs(6018,50): error CS0103: The name 'ds' does not exist in the current context [C:\Users\Somedude\OneDrive\Desktop\NeverFade\Scripts\Scripts.csproj]
2 Warning(s)
1 Error(s)
Time Elapsed 00:00:07.40
Done!
OnKilledBy(ds.m_Mobile);
if (HumilityVirtue.IsInHunt(ds.m_Mobile) && Karma < 0)
HumilityVirtue.RegisterKill(ds.m_Mobile, this, list.Count);
}
for (int i = 0; i < titles.Count; ++i)
{
Titles.AwardFame(titles, fame, true);
Titles.AwardKarma(titles, karma, true);
TokenValidate.TokenAward(ds.m_Mobile, this);
Getting this error
C:\Users\Somedude\OneDrive\Desktop\NeverFade>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\NeverFade\Settings\bin\Release\Settings.dll
Server -> C:\Users\Somedude\OneDrive\Desktop\NeverFade\Server\bin\Release\Server.dll
C:\Users\Somedude\OneDrive\Desktop\NeverFade\Scripts\Customs\Custom Systems\VitaNex\Core-5.3.0.1\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\NeverFade\Scripts\Scripts.csproj]
C:\Users\Somedude\OneDrive\Desktop\NeverFade\Scripts\Mobiles\Normal\BaseCreature.cs(6018,50): error CS0103: The name 'ds' does not exist in the current context [C:\Users\Somedude\OneDrive\Desktop\NeverFade\Scripts\Scripts.csproj]
C:\Users\Somedude\OneDrive\Desktop\NeverFade\Scripts\Customs\KarmaTokens\TokenAward.cs(15,18): warning CS0169: The field 'TokenValidate.m_Owner' is never used [C:\Users\Somedude\OneDrive\Desktop\NeverFade\Scripts\Scripts.csproj]
Build FAILED.
C:\Users\Somedude\OneDrive\Desktop\NeverFade\Scripts\Customs\Custom Systems\VitaNex\Core-5.3.0.1\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\NeverFade\Scripts\Scripts.csproj]
C:\Users\Somedude\OneDrive\Desktop\NeverFade\Scripts\Customs\KarmaTokens\TokenAward.cs(15,18): warning CS0169: The field 'TokenValidate.m_Owner' is never used [C:\Users\Somedude\OneDrive\Desktop\NeverFade\Scripts\Scripts.csproj]
C:\Users\Somedude\OneDrive\Desktop\NeverFade\Scripts\Mobiles\Normal\BaseCreature.cs(6018,50): error CS0103: The name 'ds' does not exist in the current context [C:\Users\Somedude\OneDrive\Desktop\NeverFade\Scripts\Scripts.csproj]
2 Warning(s)
1 Error(s)
Time Elapsed 00:00:07.40
Done!