Dinkleberg's GMod
the curious case of the disappearing bodies - Printable Version

+- Dinkleberg's GMod (https://www.dinklebergsgmod.com/site)
+-- Forum: Trouble in Terrorist Town (https://www.dinklebergsgmod.com/site/forumdisplay.php?fid=3)
+--- Forum: TTT Suggestions & Help (https://www.dinklebergsgmod.com/site/forumdisplay.php?fid=6)
+--- Thread: the curious case of the disappearing bodies (/showthread.php?tid=4887)



the curious case of the disappearing bodies - courtana - 07-13-2018

So all the bodies are disappearing after they die on the TTT server, anyone know why that is or can fix the problem? T's can't defib with this problem and you can't ID the bodies either.


RE: the curious case of the disappearing bodies - dot ┐(‘~`;)┌ - 07-13-2018

(07-13-2018, 12:14 AM)courtana Wrote: So all the bodies are disappearing after they die on the TTT server, anyone know why that is or can fix the problem? T's can't defib with this problem and you can't ID the bodies either.
so from what i gather, gmod likes to kill your files for some reason when you download things. 

try this fix:

go to \SteamLibrary\steamapps\common\GarrysMod\garrysmod\gamemodes\terrortown\gamemode or whatever path you have. most commonly will be C:\Program Files x86\Steam\steamapps etc

in gamemode, open corpse_shd.lua with notepad or something that can write in it

paste this whole thing right here:

---- Shared corpsey stuff

CORPSE = CORPSE or {}

-- Manual datatable indexing
CORPSE.dti = {
BOOL_FOUND = 0,

ENT_PLAYER = 0,

INT_CREDITS = 0
};

local dti = CORPSE.dti
--- networked data abstraction
function CORPSE.GetFound(rag, default)
return rag and rag:GetDTBool(dti.BOOL_FOUND) or default
end

function CORPSE.GetPlayerNick(rag, default)
if not IsValid(rag) then return default end

local ply = rag:GetDTEntity(dti.ENT_PLAYER)
if IsValid(ply) then
return ply:Nick()
else
return rag:GetNWString("nick", default)
end
end

function CORPSE.GetCredits(rag, default)
if not IsValid(rag) then return default end
return rag:GetDTInt(dti.INT_CREDITS)
end

function CORPSE.GetPlayer(rag)
if not IsValid(rag) then return NULL end
return rag:GetDTEntity(dti.ENT_PLAYER)
end

let me know if this fixes it B)


RE: the curious case of the disappearing bodies - DC.Zephyr - 07-13-2018

The problem with that is that gmod will pull the files from the server. So doing the clientside will not fix anything.


RE: the curious case of the disappearing bodies - dot ┐(‘~`;)┌ - 07-13-2018

(07-13-2018, 01:48 AM)Zephyr Wrote: The problem with that is that gmod will pull the files from the server. So doing the clientside will not fix anything.

ah, i thought it was being stated that this was a client-side issue.


RE: the curious case of the disappearing bodies - Dolphin - 07-13-2018

The map vote is also broken. Every time a map vote goes up we lose a vote option. We are down to three now. The maps are also not changing so it is the same three maps. It is hell


RE: the curious case of the disappearing bodies - matt_st3 (Strongrule) - 07-13-2018

You're still up?
But yeah it's causing several issues. Chicken health isn't working, vote system isn't pulling correctly, several model issues. PS2 addons seem to be the ones affected.


RE: the curious case of the disappearing bodies - Traitor Plays - 07-13-2018

Server just needs a restart and everything should be back to normal


RE: the curious case of the disappearing bodies - Cosmic Tortoise - 07-13-2018

I saw those issues yesterday. We voted, Water park map was next, then when the map loads, we're at Bank, followed by a crash. Hour later, another crash on Bowling. Restart doesn't fix it since crashing restarts the server too.

Note: We're getting tired of playing Fast food a dozen times a day.