I kinda mentioned this in another thread and I thought it was resolved, but players are reporting they're getting. 


  • Players see WMC_DirNoData in chat when they respawn
  • I don't believe it happens to all players
  • I see some players's data is saved in the data file
  • One player who reported it has no data in the data file
Back on Oxide (https://oxidemod.org/threads/wheresmycorpse.16799/page-5#post-401761), @FuJiCuRa replied to a similar error with the following:
The "WMC_DirNoData" is simply a spelling mistake (as part of the language file) which should be called "WMC_NoData" 
Is that what this is?

Merged post

Ok so it seems it comes from here:

		void OnPlayerRespawned(BasePlayer player)
		{
            if (permission.UserHasPermission(player.userID.ToString(), "wheresmycorpse.canuse"))
			{
				if (deathInfo.ContainsKey(player.UserIDString))
				{
					Vector3 lastDeathPosition = getVector3(deathInfo[player.UserIDString]);
					Vector3 currentPosition = player.transform.position;
					SendReply(player,string.Format(GetMessage("WMC_LastSeenDirection",player.UserIDString),(int)Vector3.Distance(player.transform.position, lastDeathPosition), GetDirectionAngle(Quaternion.LookRotation((lastDeathPosition - player.eyes.position).normalized).eulerAngles.y, player.UserIDString)  ));
				}
				else
					SendReply(player,GetMessage("WMC_DirNoData",player.UserIDString));
			}
		}​

It doesn't match up with the language file

"WMC_NoData": "No data was found on your last death. The WheresMyCorpse plugin may have been reloaded or you have not died yet.",​

I assume changing WMC_DirNoData to WMC_NoData will solve the issue, like this:

SendReply(player,GetMessage("WMC_NoData",player.UserIDString));

However, it leads me to question, why doesn't it save body data for some players even if they have permissions?