punchready
punchready
Apologies, fixed!
If I'm not mistaken, `System.IO.RandomAccess` was only introduced in .NET 6. However the direct call method and `StreamReader`, which uses `RandomAccess` in .NET 6, both work fine in .NET 5...
The P/Invoke ReadFile works as expected in .NET 5 and 6 with all monomod versions, giving the correct LastError value, which leads me to believe that a change in one...
Manually invoking `GetLastError` via P/Invoke after the issue occurs in RandomAccess also results in `0` being returned, but it returns the correct value without any hook active. And it also...
After subsequent calls all `GetLastError` methods correctly give `38`, including the ones used within `RandomAccess`, I'm assuming it must have to do with JIT then. Curiously, if i break at...
Alright great! I'll try to be available in case more tests are required.
There is a workaround to allow using system file api classes (such as `File.ReadAllLines`) again: ```cs AppContext.SetSwitch("System.IO.UseNet5CompatFileStream", true); ``` Found in an unrelated thread at https://github.com/dotnet/runtime/issues/62851, but it does actually...
When pressing `F8`, do you see the number after `32: rx:` (in the leftmost panel roughly below the middle) increase when attempting to open a chest? Do the chests open...
At last you can try opening a different world in the same server and check if chests open. Otherwise this sounds like a case for actual debugging
You are absolutely sure you have no other plugins installed? tShock does hardly any interference with chests, especially none that would break based on a world file, to my knowledge