• Possible fix for Host_error: Overflow writing string table baseline lua string table?
    12 replies, posted
The random host_error has been getting very pesky lately on my dedicated server. A lot of people here are saying it's wiremod, but I don't want to have to remove Wire. I've seen others say that typing "dumpstringtables" every now and again in the server console could fix it. What i'm wondering is: Would it be possible to have a lua script make the server run "dumpstringtables" in the console every 15-30 minutes to prevent a string table overflow? I'm not entirely sure if this is the right section for this. Please move the thread if needed.
timer.Create("Dumpstuff" , 900 , 0 , function() RunConsoleCommand("dumpstringtables") end ) Written in the reply box, btw.
Thanks, that should hopefully reduce the random crashes. :keke:
It's generally not a result of wiremod... take a look at what else you have on your server.
The example posted above would work only on clientside, and actually you would need to use something like this if you want it to work on your server too. [lua]timer.Create("DumpStuff", 900, 0, function() game.ConsoleCommand("dumpstringtables\n"); end);[/lua]
[QUOTE=DarKSunrise;18299722]The example posted above would work only on clientside, and actually you would need to use something like this if you want it to work on your server too.[/QUOTE] Don't be dumb, RunConsoleCommand exists on the server too. [code]19:27:12 lua_run RunConsoleCommand('Cheese') 19:27:12 L 11/10/2009 - 19:27:03: rcon from "xx.xx.xx.xxx:53423": command "lua_run RunConsoleCommand('Cheese')" 19:27:12 > RunConsoleCommand('Cheese')... Unknown command "Cheese" [/code]
Never knew that, as the wiki page was just recently corrected. The existance of game.ConsoleCommand is also misleading.
[QUOTE=| FlapJack |;18299473]timer.Create("Dumpstuff" , 900 , 0 , function() RunConsoleCommand("dumpstringtables") end ) Written in the reply box, btw.[/QUOTE] How does this work? I mean, how does it make it not crash?
[QUOTE=CapsAdmin;18312510]How does this work? I mean, how does it make it not crash?[/QUOTE] No idea. Supposedly this command works though, didn't look into it myself. I don't have a problem with that error so I didn't see the need to.
where dose this command go?
As far as I know that command just shows the content of the eg modelprecache tables etc,
I think your right, dumpstringtables hasn't been working lately(Via script or console) on my server. The devs of wiremod should really consider fixing this dedicated server issue.
[QUOTE=Marine123;19817227]I think your right, dumpstringtables hasn't been working lately(Via script or console) on my server. The devs of wiremod should really consider fixing this dedicated server issue.[/QUOTE] This is not a issue with wiremod, it's just that wiremod is a massive clusterfuck of lua files and thats why.
Sorry, you need to Log In to post a reply to this thread.