Barotrauma Dedicated Server Modifications
Posted: Mon Jun 22, 2020 5:30 pm
I am trying to allow respawn in campaign mode so people don't have to wait once they die.
I have managed to find where it checks with an if statement which I commented out. but when i die the server kicks me out. With an error
From what I understood the client is missing the entity. Does anyone know how entity manager works or if you could put me in the right direction in fixing this. Thank you.
I have managed to find where it checks with an if statement which I commented out.
Code: Select all
if (serverSettings.AllowRespawn/* && missionAllowRespawn*/) { respawnManager = new RespawnManager(this, usingShuttle ? selectedShuttle : null); }
Code: Select all
ClientName has been kicked from the server. Reason: Missing entity Barotrauma.Networking.RespawnManager (event id 709, entity id 3760)