Mikeeeyy 73 Report post Posted December 29, 2015 (edited) Death Loop Bug This bug is caused by your character dieing before it's properly initialised. In most cases it's death from fall damage, for example logging out on a mission building and then logging in and falling to your death. To fix this we simply freeze the character until the client has taken ownership. Open ExileServer_object_player_database_load.sqf Find: _player = _group createUnit ["Exile_Unit_Player", _position, [], 0, "CAN_COLLIDE"]; and underneath paste this: _player enableSimulation false; Find: _player addMPEventHandler ["MPKilled", {_this call ExileServer_object_player_event_onMpKilled}]; and underneath paste this: _tempFix = { if (!local _this) then { _this enableSimulation true; [_x select 4] call ExileServer_system_thread_removeTask; }; }; [1, _tempFix, _player, true] call ExileServer_system_thread_addTask; Step 3 may not even be needed, I'm just doing it anyway because it seems like a good idea for the unit to have simulation server side. Please note step 3 is a "temp hacky fix" just because I can't be bothered editing the login fsm, but preferrably when the devs fix it, they should just enableSimulationGlobal on the unit after selectPlayer or towards the end of the fsm when done loading. Pre-fixed ExileServer_object_player_database_load.sqf here: http://pastebin.com/raw/JtG8bmwu Edited December 29, 2015 by Mikeeeyy 9 Share this post Link to post Share on other sites
Scorpi 52 Report post Posted December 29, 2015 I am confused Share this post Link to post Share on other sites
Mikeeeyy 73 Report post Posted December 29, 2015 11 minutes ago, Scorpi said: I am confused That fix doesn't work. Share this post Link to post Share on other sites
Scorpi 52 Report post Posted December 29, 2015 Ok, thanks for info Share this post Link to post Share on other sites
StokesMagee 871 Report post Posted December 31, 2015 (edited) Solves the issue! the problem seems to be is the player is taking over a already dead body. Thanks for the fix, but yours seems a lot better then the one i had, i forgot about _player enableSimulation false; i just gave it god mode for 5 seconds. although i'm going to keep both (but after they actually take control) +1 Edited December 31, 2015 by †RiH† Stokes Share this post Link to post Share on other sites
zokunen 5 Report post Posted January 3, 2016 so is this confirmed working then? Share this post Link to post Share on other sites
Diggz 16 Report post Posted January 4, 2016 (edited) well i have this still happening for some reason, i used the fix noted above and it still happened, sometimes i was dead, sometimes IF i clicked respawn before the respawn timer was up then i would respawn a couple of houses before where i had been and run to where i died and my body was there @Eichi fix listed above just stopped me respawning couple houses before https://youtu.be/_Oba8FjKX9k Edited January 4, 2016 by Diggz updated youtube link Share this post Link to post Share on other sites
Mikeeeyy 73 Report post Posted January 4, 2016 4 minutes ago, Diggz said: well i have this still happening for some reason, i used the fix noted above and it still happened, sometimes i was dead, sometimes IF i clicked respawn before the respawn timer was up then i would respawn a couple of houses before where i had been and run to where i died and my body was there @Eichi fix listed above just stopped me respawning couple houses before https://www.youtube.com/watch?v=0Z9rhUGSKJI What you are saying sounds like a different issue. Share this post Link to post Share on other sites
Diggz 16 Report post Posted January 4, 2016 this video shows the bug with your fix implemented... either way is not working for me somehow https://youtu.be/jISq4oGR8YQ Share this post Link to post Share on other sites
Mikeeeyy 73 Report post Posted January 4, 2016 6 minutes ago, Diggz said: this video shows the bug with your fix implemented... either way is not working for me somehow https://youtu.be/jISq4oGR8YQ That looks like a different issue, one which my fix won't fix. I've never actually seen the death loop happen like that, only time it has happened to me is if a player dies while loading in. My fix is to freeze the player in place until they have control. Yours is happening when you log out normally. Have you edited some files and screwed it up? Share this post Link to post Share on other sites