Some of the server addons don't load properly on map change
16 replies, posted
So I run a server that has around 200 workshop addons and another 20 in the server files. However recently I have encountered an issue where addons don'd load and don't work at all when the level changes.
This has only happened recently and the main offenders are for this is Atlas Chat's rank titles (such as [Trial Mod], [Mod], [Admin] etc.) and the standalone prone mod. The only way these things fix is when the server is straight up restarted.
What is causing this issue? Is it too many addons or something else and how can I fix it.
Thanks in advance.
Another thing that stops from working on map change also is plogs2. This is pretty critical and I honestly don't know the cause for this since I can't find any similar cases about this.
It is probably all the addons conflicting with each-other. Try and uninstall the last ones you installed one by one and see if it makes a difference.
Thing is, when the issue came up, nothing was added to the server. Unless an addon was updated, I honestly don't know whats causing this. When the map changes, the "plogs" message in server console still shows up, so I suppose it partially loads, but then the menu cannot be accessed.
Does removing/disabling all other addons fix plogs specifically?
I tried to disable all workshop stuff and restart the map that way but there is content in the workshop the server depends on so the server just dropped on map change when the workshop was not enabled. But then that leaves me wondering how the server even started in the first place.
i honestly don’t know what the cause is because as I’ve said it just kinda happened one day without anything being changed or added. Is there a way to check recently updated in a collection by list or would you have to go through each addon manually?
You can write a PHP script to check for you, but otherwise, you'll have to do it by hand.
I've checked my collection and the only stuff that has been recently updated is stuff like a map, TFA base and a pack of simfphys vehicles where the only thing changes were some models. Pretty much nothing else has been updated and I can't see why it would be causing things not to load properly. Could this be a server host issue perhaps?
I mean like all of the messages still load in the server console on map change like this:
[BWhitelist] Waiting for DarkRP...
Atlas chat version 2.3.9 has loaded!
Initializing Darkrp Bodygroups Manager
Loading Arizard's bodyGroupr
__
_ __ / / ___ __ _ ___
| '_ \ / / / _ \ / _` / __|
| |_) / /__| (_) | (_| \__ \
| .__/\____/\___/ \__, |___/
|_| |___/
Version 2.7.1 by aStonedPenguin
So it leaves me extremely confused on why it does not work then the files are executed.
Either you are hitting the Lua file limit, there is a file name conflict with the addon, or it's a problem with plogs itself.
I'm gonna assume its a lua file limit since this only happens on map change and never when the server is straight up restarted back to the default map.
Right so after removed a load of addons that were not used a lot/didn't have much of a purpose anyway. The issue still persists.
Put prints in those files to see if they are being loaded when the server starts
After adding in prints, yep. Not loading on map change. Most likely an initialisation issue but no idea how to fix it. Maybe it's something to do where recently the server has been hanging quite a bit on levelchange too. Hanging as in players get stuck on "Server is changing level" for a couple minutes compared to what used to be like 30 seconds.
Sorry for this late ass bump, but it's gotten worse. More addons are being sucked into this like Williams Car dealer where nothing will work and it even causes job change issues on spawn. This issue is destroying my server and I'm not sure if it's the server host or the server itself as the other servers that run in my community also run into these similar issues. Please, I need an answer.
Is it clientside scripts only or serverside scripts too?
Are your models/maps/materials, etc in addons affected by this too?
It's both client side and server side scrips that break on map change, and since it seems to be sucking another addon into this problem, I need to find a solution before it gets worse.
Num Tables: 22
0: downloadables
strings: 517
strdata: 12539
databts: 0
1: modelprecache
strings: 1468
strdata: 43302
databts: 1468
2: genericprecache
strings: 1
strdata: 0
databts: 1
3: soundprecache
strings: 260
strdata: 8602
databts: 260
4: decalprecache
strings: 269
strdata: 5859
databts: 269
5: instancebaseline
strings: 40
strdata: 99
databts: 65291
6: lightstyles
strings: 64
strdata: 118
databts: 348
7: userinfo
strings: 42
strdata: 74
databts: 4092
8: DynamicModels
strings: 0
strdata: 0
databts: 0
9: server_query_info
strings: 2
strdata: 28
databts: 1291
10: ParticleEffectNames
strings: 265
strdata: 3852
databts: 0
11: EffectDispatch
strings: 24
strdata: 298
databts: 0
12: VguiScreen
strings: 0
strdata: 0
databts: 0
13: Materials
strings: 16
strdata: 503
databts: 0
14: InfoPanel
strings: 0
strdata: 0
databts: 0
15: Scenes
strings: 1310
strdata: 49120
databts: 0
16: ServerMapCycle
strings: 1
strdata: 14
databts: 1
17: GameRulesCreation
strings: 1
strdata: 9
databts: 11
18: GModGameInfo
strings: 0
strdata: 0
databts: 0
19: networkstring
strings: 824
strdata: 13972
databts: 0
20: networkvars
strings: 7
strdata: 103
databts: 0
21: client_lua_files
strings: 2976
strdata: 122734
databts: 13647
Server has around 207 addons in the collection and 53 addon folders (some of which are just some simple one file things with almost nothing in them just to keep it organised instead of going in garrysmod/lua). I'm not sure if it's anything with lua limit, as everything works when the server has been freshly restarted.
Sorry, you need to Log In to post a reply to this thread.