• Next Update v2
    3,675 replies, posted
[QUOTE=shadowzack;47377401]Thanks, This seems to have fixed our servers crashing. Server only crashed once today from an engine error, about the threads being in threads on player disconnect. I also had to edit a few lines in a couple of addons to replace [code]ply:GetNWString("usergroup")[/code] to the normal [code]ply:GetUserGroup()[/code] and had to comment out the error notification because a certain light engine addon kept making empty tables or something. You wouldn't happen to have a fix for the model cache overflow problem as well, or some sort of script where it will autoclose engine error popups?[/QUOTE] ply:GetUserGroup( ) calls that function anyways. [url]https://github.com/garrynewman/garrysmod/blob/master/garrysmod/lua/includes/extensions/player_auth.lua#L38[/url]
[QUOTE=Teddi Orange;47377353]You're going to have to elaborate on that. Saying "I'm doing this" without any details is of no use to anyone here.[/QUOTE] No need to be condescending in a request for more information. Heavily modified in my case refers to many registry tweaks, disabled services, and an overall tuning of my Windows Server installation to better suit an application server role. Was that so hard?
Is GMod a little [URL="https://github.com/garrynewman/garrysmod/milestones?state=open"]past due[/URL] for something?
[QUOTE=Samg381;47377474]No need to be condescending in a request for more information. Heavily modified in my case refers to many registry tweaks, disabled services, and an overall tuning of my Windows Server installation to better suit an application server role. Was that so hard?[/QUOTE] Apart from I'm not being condescending (not purposely at least). Read the last numerous pages of this thread. It's full of people with similar complaints with the exception of your situation being slightly more different with a more unique build. You're weren't (and within reason, still aren't) suggesting or saying what the tweaks are - we aren't to magically know so unless you throw us a bone, we can't really help. Odds are is it's more to do with the update than your server. One of the addons listed above is possibly using heavy usage of NWVars and for the time being you're probably better off removing all addons and re-adding them in batches to see how they fair, or do a quick file search via NP++ / Sublime / <favourite text editor> to see if any of them are using them at all.
It must be stressful as fuck to be Killburn and hear "Vinh will fix it" "_Killburn will fix it". Like, what if he doesn't. Does the universe as we know it end after that? [editline]23rd March 2015[/editline] [QUOTE=code_gs;47350396]Leave it where it is at 0; don't use multiple threads.[/QUOTE] I known is is an older post but looking at this made me curious. What happens if you do use +host_thread_mode and -threads in Gmod. Does anything other than a crash happen?
[QUOTE=YourStalker;47377791]It must be stressful as fuck to be Killburn and hear "Vinh will fix it" "_Killburn will fix it". Like, what if he doesn't. Does the universe as we know it end after that? [editline]23rd March 2015[/editline] I known is is an older post but looking at this made me curious. What happens if you do use +host_thread_mode and -threads in Gmod. Does anything other than a crash happen?[/QUOTE] If the engine doesn't ignore it and it doesn't outright crash immediately then some serious memory corruption will probably start happening and god knows what happens at that point. [editline]22nd March 2015[/editline] But I'm half sure the game will just close if you somehow enable it anyways.
Has PlayerDisconnected changed behavior? I don't see it in the changelog but since the update it doesn't seem to be getting called anymore when someone crashes and times out.
[QUOTE=Mitsudigi;47378027]Has PlayerDisconnected changed behavior? I don't see it in the changelog but since the update it doesn't seem to be getting called anymore when someone crashes and times out.[/QUOTE] That was already an issue.
Will it be fixed before next year :S
[QUOTE=minimous;47378466]Will it be fixed before next year :S[/QUOTE] You're not making it go any faster
[QUOTE=YourStalker;47377791]What happens if you do use +host_thread_mode and -threads in Gmod. Does anything other than a crash happen?[/QUOTE] Certain Lua game hooks will trigger cross-threading safeguards and throw an error message. Which will exit the game.
[QUOTE=syl0r;47367255]If you have crashes that are probably caused by the SetNW functions you can try replacing them with this script until killburn fixes it: [url]http://puu.sh/gJtP6/c60cc1306e.txt[/url] (place it in your server's lua/autorun folder) I haven't had any crashes since 48 hours and I had pretty much hourly crashes before. It might cause some glitches sometimes but it is certainly better than the server crashing that often.[/QUOTE] FYI -- this breaks certain aircraft addons' flight controls, among other things. Looking into it now. Q: Is this just a trimmed down variation of Acecool's networking addon?
[QUOTE=WinterPhoenix;47376828]_Kilburn made a post in the last Next Update thread (I can't find the post, but some here will remember it) about Garry "disabling" LuaJIT and adding the -withjit console argument because people were complaining about its poor performance on Intel CPUs. Turns out, it was a placebo. It's always been enabled, Garry just made it print to console that it wasn't, when not using -withjit, and suddenly people stopped complaining about its "poor performance."[/QUOTE] I really can't tell if this is sarcastic or not
[QUOTE=MattJeanes;47379642]I really can't tell if this is sarcastic or not[/QUOTE] Nope, it's true.
Well then why was it really disabled recently?
[QUOTE=Buzzkill_HABB;47379408]FYI -- this breaks certain aircraft addons' flight controls, among other things. Looking into it now. Q: Is this just a trimmed down variation of Acecool's networking addon?[/QUOTE] I have fixed all of these issues now (many of them were caused by NWVar keys not being case sensitive). The new version can be found here : [url]http://puu.sh/gNtPa/58fead0e87.txt[/url] I haven't taken a closer look at acecools networking addon although I am pretty sure his addon works and fixes the crashes as well.
[QUOTE=syl0r;47379749]I have fixed all of these issues now (many of them were caused by NWVar keys not being case sensitive). The new version can be found here : [url]http://puu.sh/gMkPH/bc8a85536e.txt[/url] I haven't taken a closer look at acecools networking addon although I am pretty sure his addon works and fixes the crashes as well.[/QUOTE] This just goes into /autorun/ right?
[QUOTE=syl0r;47379749]I have fixed all of these issues now (many of them were caused by NWVar keys not being case sensitive). The new version can be found here : [url]http://puu.sh/gMkPH/bc8a85536e.txt[/url] I haven't taken a closer look at acecools networking addon although I am pretty sure his addon works and fixes the crashes as well.[/QUOTE] This appears to be working for me. I can't reproduce my segfaults (which I could do consistently by simply spawning large ents with heavy NWVar usages in a rapid fashion). Rolling into production. Fingers crossed. You're my hero. :) (FYI -- Acecool's eliminated the crashes, but also created some issues around rotors and wheels in various vehicle addons. I suspect some axis data was getting lost and throwing off some angle rotation functions).
Maybe fix the button/dropdown foreground color for the text =)
[QUOTE=FPtje;47379713]Well then why was it really disabled recently?[/QUOTE] Wait, who said it was disabled? [img]http://vinh.peniscorp.com/2015-03-23_19-56-34.png[/img]
[quote]Reverting NWVars to the old system - vinh (Garrys Mod/main)[/quote] :( [editline]23rd March 2015[/editline] Is this temporary or are they gone for good
[IMG]http://i.imgur.com/Iob06MF.png[/IMG] Getting these strange 'Invalid Self' errors when I spawn WAC Aircraft. Could this be related to the NWvars issue? Apologies if unrelated.
-bad reading-
[QUOTE=Joeyl10;47380918]:( [editline]23rd March 2015[/editline] Is this temporary or are they gone for good[/QUOTE] I'd be pissed if I had to rid of them for good, I was pretty happy with them. :v: They only need a bit more testing, I guess they just didn't spend enough time on the dev branch.
[QUOTE=_Kilburn;47381073]I'd be pissed if I had to rid of them for good, I was pretty happy with them. :v: They only need a bit more testing, I guess they just didn't spend enough time on the dev branch.[/QUOTE] so the crashing is fixed?
ambient_generic still broken.
[QUOTE=_Kilburn;47380810]Wait, who said it was disabled? [img]http://vinh.peniscorp.com/2015-03-23_19-56-34.png[/img][/QUOTE] [QUOTE=code_gs;47376445]Why was LuaJIT disabled in the last update?[/QUOTE] He did!
[QUOTE=frozendragon;47381093]so the crashing is fixed?[/QUOTE] Unless there was a recently released update (as in today) I don't think so. Soon though.
[QUOTE=_Kilburn;47381073]I'd be pissed if I had to rid of them for good, I was pretty happy with them. :v: They only need a bit more testing, I guess they just didn't spend enough time on the dev branch.[/QUOTE] Same with FreeType?
[QUOTE=Samg381;47380961][IMG]http://i.imgur.com/Iob06MF.png[/IMG] Getting these strange 'Invalid Self' errors when I spawn WAC Aircraft. Could this be related to the NWvars issue? Apologies if unrelated.[/QUOTE] [img]http://i.imgur.com/FzoGBbg.png[/img]
Sorry, you need to Log In to post a reply to this thread.