Easy fix. Part 1: If a player dies and logs out or alt-f4's, their body MUST remain. Part 2: Do what MMOs have done. If you log out or alt-f4, there is a 20 second grace period you must wait. If you don't wait, your body will still remain on the server for 20 seconds. Thus if killed, your body remains to loot.