I know this is an old plugin, however for me this may be awesome. Small PvE server just to mess around on with my kid. Anyhow I updated the code from uint to ulong, and replaced the .ID lines with .ID.Value. That fixed all errors except one. I havent done any programming in a long time... Since my Linux and Unix days. Back in 2000's. Anyhow error I get now is with this block.
{
BaseNetworkable networkable = BaseNetworkable.serverEntities.Find(id);
if (networkable is BuildingPrivlidge)
{
if (data.buildings[id])
InitializeMasterLock(networkable as BuildingPrivlidge);
}
else
delete.Add(id);
}
If i comment out that block it compiles just fine, however i dont get the tooltip for MasterLock. I love the ideas of controlling access to all doors from the TC.
If i comment out that block it compiles just fine, however i dont get the tooltip for MasterLock. I love the ideas of controlling access to all doors from the TC.