magik hatt
Member
I'm running into some errors when compiling after making the required edits to several files for the Universal Storage Keys script.
In the Spells/Base/Spells.cs file
CS0103: Line 400: The name 'DuelContext' does not exist in the current context
This is the code at that line if it's helpful:
This code isn't in the newest version of ServUO, so I deleted it to compile.
In Custom/Universal Storage Keys Version 2.0.6/Main Data Management/ItemListEntries.cs:
CS1061: Line 291: 'Server.Items.TreasureMap' does not contain a definition for 'ChestMap' and no extension method 'ChestMap' accepting a first argument of type 'Server.Items.TreasureMap' could be found
And the code here. I'll keep searching though.
I commented this out for now.
In the Spells/Base/Spells.cs file
CS0103: Line 400: The name 'DuelContext' does not exist in the current context
This is the code at that line if it's helpful:
Code:
if (DuelContext.IsFreeConsume(m_Caster))
{
return true;
}
In Custom/Universal Storage Keys Version 2.0.6/Main Data Management/ItemListEntries.cs:
CS1061: Line 291: 'Server.Items.TreasureMap' does not contain a definition for 'ChestMap' and no extension method 'ChestMap' accepting a first argument of type 'Server.Items.TreasureMap' could be found
And the code here. I'll keep searching though.
Code:
_ChestMap = map.ChestMap;
Last edited: