not working
NullReferenceException at GetPlayerFromPlayerDatasError
Alright, I fixed my installation.
TL;DR: delete your
Looking at the exception trace I couldn't find the string "SharpAutoCodeLocks" in the AutoLock.cs file, nor a reference in the parent mod source... so it had to be coming from somewhere else. Turns out I had another mod
TL;DR: delete your
SharpAutoCodeLocks.cs file if it exists in the plugins directory, make sure you've got the latest AutoLock.cs installed there, then run oxide.reload AutoLock in console, followed by your preferred permission setting etc.Looking at the exception trace I couldn't find the string "SharpAutoCodeLocks" in the AutoLock.cs file, nor a reference in the parent mod source... so it had to be coming from somewhere else. Turns out I had another mod
SharpAutoCodeLocks.cs sitting in my plugins directory. Sniffing around some more it looks like that might have been the same plugin as "AutoLock" but it presumably underwent a file rename earlier this year. My filesystem indicates I downloaded the file in March 2019:-rw-rw-r-- 1 steam steam 11686 Mar 29 2019 SharpAutoCodeLocks.csThere must be some namespace collisions or similar that were breaking the new AutoLock.cs plugin from taking. That's the sort of thing that is REALLY valuable to call out in release notes :\
- 1
- 2