Open JohnCKoenig opened 4 years ago
What map are you using?
We were using rp_downtown_titsv2. I was actually able to resolve the issue by ignoring doors of that type. I imagine it would be hard to block a certain door type by default since it varies from map to map?
When I have time, I'll try to figure out what is causing this issue with the elevator in first place and see if it can be fixed.
While working on helping a server owner I found that on rp_downtown_tits and related maps, the elevators are divided into separate func_door entities, parented with eachother. These can be merged into the main door entity, the platform of them, but it's an issue mainly with the maps and not necessarily this addon.
I can't determine a fix for this other than this, unfortunately. Perhaps change the code to discard the door in question if it's a child of something?
While working on helping a server owner I found that on rp_downtown_tits and related maps, the elevators are divided into separate func_door entities, parented with eachother. These can be merged into the main door entity, the platform of them, but it's an issue mainly with the maps and not necessarily this addon.
I can't determine a fix for this other than this, unfortunately. Perhaps change the code to discard the door in question if it's a child of something?
I know this is serveral years after the fact however curious is you could explain this fix a little clearer as I am having the exact issue described
When an elevator is purchasable on a map as if it is a "door", it causes the following script error to occur in the addon: [ERROR] addons/gmod-advanced-door-system/lua/advdoors/hud/cl_hud.lua:111: attempt to perform arithmetic on field 'Width' (a nil value)