• Server Crashes after update
    8 replies, posted
Before the update my servers were fine but now my server crashes probably around 10 times an hour, I have been looking through logs and console outputs to try to find something and the only thing I can seem to find is this [CODE]L 06/01/2015 - 16:10:45: Lua Error: Error: hook->PlayerSay returned a non-string![/CODE] I dont know what this is or what this means but if someone could help me figure it out I would appreciate it tremendously.
Look through all your addons and scripts for code resembling [lua] hook.Add("PlayerSay", somename, function() -- ... end) [/lua] The error means that code like that is doing something it shouldn't. If you can't find anything like that, start removing addons and scripts 1 by 1 to see which one is causing the issue.
[QUOTE=zerf;47873349]Look through all your addons and scripts for code resembling [lua] hook.Add("PlayerSay", somename, function() -- ... end) [/lua] The error means that code like that is doing something it shouldn't. If you can't find anything like that, start removing addons and scripts 1 by 1 to see which one is causing the issue.[/QUOTE] No. The latest update caused the gamemode function to create an infinite loop under some circumstances.
Any solutions for this then? I'm having the same issue (along with other lua errors)
[QUOTE=allofmywut;47939125]Any solutions for this then? I'm having the same issue (along with other lua errors)[/QUOTE] Look into the Lua errors, and update your addons causing them.
Lua errors are pretty generic in terms of this one. I've seen this error pop up at leats 15 times within 10 minutes last night without any other error popping up (back end console). I have this pastebin with the errors I seem to be getting and am trying to tackle one at a time. [url]http://pastebin.com/nvmXBrzU[/url]
Its something wrong with your TTT player file, try reinstalling a fresh copy. And if that doesn't work its one of your addons.
I'd have to get the host to do so. I'll look into it thanks
Update gamemsg.lua from here. gamemsg.lua - [url]https://github.com/garrynewman/garrysmod/blob/master/garrysmod/gamemodes/terrortown/gamemode/gamemsg.lua[/url] That playersay issue you are having is fixed with the new gamemsg.lua.
Sorry, you need to Log In to post a reply to this thread.