Whenever a shadow creature spawns after a player has turned into (or turned back from) Wonkey on a dedicated server (or one with caves), the server crashes.
The crash does not persist if the server is reloaded between the time the player transforms and the time a shadow creature spawns.
What I've been able to gather about this crash is that it mainly happens because ThePlayer is not nil, which it should always be for the server. On top of that, ThePlayer is the transformed player's old character, which has been removed (so ThePlayer is an invalid reference to them). The function ReplicateEntity in scripts/mainfunctions.lua, line 755 might be responsible as _ThePlayer is set to nil, ThePlayer is set to whichever entity is getting replicated, and then the function fails to set ThePlayer back to nil because of the check "if _ThePlayer then". I have not been able to verify this, though.
- Gather enough cursed trinkets to turn into Wonkey - c_give("cursed_monkey_token",10)
- Spawn a crawling horror or terrorbeak
- Game crash
A developer has marked this issue as fixed. This means that the issue has been addressed in the current development build and will likely be in the next update.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!Register a new account
Already have an account? Sign in here.Sign In Now