• Help with an error
    2 replies, posted
Can Someone help me out and point me in the right direction for fixing this error that is getting spammed in the server logs. [CODE]L 08/17/2014 - 12:16:12: Lua Error: [ERROR] gamemodes/terrortown/entities/entities/base_ammo_ttt.lua:107: attempt to call method 'PhysWake' (a nil value) 1. unknown - gamemodes/terrortown/entities/entities/base_ammo_ttt.lua:107 [/CODE] That is the error, Am I right in saying that it is because a weapon or entity is trying to call PhysWake or no? Has anyone else expirirnced this error. If someone can point me in the right direction on knowing what is causing it I can probably figure it out myself. Any help would be great
[url]https://github.com/garrynewman/garrysmod/blob/master/garrysmod/gamemodes/terrortown/entities/entities/base_ammo_ttt.lua#L107[/url] There's no reason this should be happening unless the Entity isn't valid. Could try doing an IsValid check on the entity, although, I couldn't think of a situation that it wouldn't.
[QUOTE=code_gs;45719405][url]https://github.com/garrynewman/garrysmod/blob/master/garrysmod/gamemodes/terrortown/entities/entities/base_ammo_ttt.lua#L107[/url] There's no reason this should be happening unless the Entity isn't valid. Could try doing an IsValid check on the entity, although, I couldn't think of a situation that it wouldn't.[/QUOTE] Im still not sure what was wrong but I ran a repare script and it works now, No errors
Sorry, you need to Log In to post a reply to this thread.