Tukaram

Member
I just downloaded the repo and was trying to add davies locker, and storage keys. I used them before on an older setup, but I am getting errors now. The errors seem similar. Something to do with treasure chests. Was there some changes to treasure lately, that might have affected it?

It kind of looks like I am missing some "using" statement maybe?

error.JPG
 
Its saying the stock TreasureMaps dont have a definition for the ChestMap from Davies Locker. You would most likely need to add either a using statement for the ChestMap into TreasureMap or define the ChestMap inside TreasureMap... or both.
 
That is why I am trying to see what changed... Davies Locker and the Storage Keys were working before. On an older build of ServUO...
 
Comparing the old treasuremap.cs with the new one I did find this statement remarked out in the new one. It is the only reference to ChestMap I found. I do not know why it is remarked out. I will not be using the new random TMaps, so I wonder if I can just use the old treasuremap.cs?

/*[CommandProperty(AccessLevel.GameMaster)]
public Map ChestMap
{
get { return m_Map; }
set
{
m_Map = value;
InvalidateProperties();
}
}*/

~Edit~ it worked by just using the old treasuremap.cs. I have no intention of using the random maps anyway... so not a problem :)
Now the storage keys and Davies locker work again.
Oh, and I already tried using the config to disable the new map system, but the code was still too different, it seems.
 
Last edited:

Active Shards

  • Unchained
    Custom (Classic)
    • Players
    • 148 Online
    • 257 Peak
  • UO Eventine
    Time Of Legends
    • Players
    • 85 Online
    • 137 Peak
  • The Crossroads
    Mondain's Legacy
    • Players
    • 64 Online
    • 138 Peak
  • Insane UO
    Endless Journey
    • Players
    • 57 Online
    • 101 Peak
  • UO: Felucca
    Renaissance
    • Players
    • 54 Online
    • 87 Peak
  • Arth
    Custom (Modern)
    • Players
    • 24 Online
    • 34 Peak
  • CALYPSO
    Custom (Modern)
    • Players
    • 23 Online
    • 30 Peak
  • UO Phoenix
    Custom (Classic)
    • Players
    • 21 Online
    • 35 Peak
  • UOItalia Reborn
    Custom
    • Players
    • 19 Online
    • 37 Peak
  • UO Enigma
    Custom (Modern)
    • Players
    • 19 Online
    • 172 Peak

Donations

Total amount
$0.00
Goal
$500.00
Back