AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Source Servers (SRCDS) (https://forums.alliedmods.net/forumdisplay.php?f=130)
-   -   [L4D2] Server Event/Trigger issues (https://forums.alliedmods.net/showthread.php?t=329838)

Xada 01-10-2021 00:55

[L4D2] Server Event/Trigger issues
 
So I run a smallish L4D2 server for myself and friends of mine with many SM plugins as well as workshop content.
Things -mostly- work alright and we have solved many an issue with trial and error (such as broken plugins/outdated pre-TLS content and such) but one issue remains persistent and we cannot seem to figure it out for the life of us. I am hoping some here will at least be able to provide insight or experience with such issues as we've struggled with this problem for several years now but never found a solid fix. It's quite an annoyance.

The issue in particular: When survivors reach a trigger/event (specifically things like buttons to progress the map, like a gate/door opening, etc.) The button activates alright, but thereafter when said door is supposed to open or event is supposed to finish, nothing happens and the map is effectively softlocked.

The only 'workaround' as of yet we've found is to slay all players to force a round restart, get to that point in the map again, then hope it works this time. It's a 50/50-- usually it's still bugged and requires yet another restart of the map/round. This can happen several times in a row...

There are some strange symptoms that go along with this, too:

1. The probability of the map succeeding with only one player to test (myself usually) on the server at any given time is twice-fold. It works with just me -most- of the time with 3/4 other bots present.

2. Original survivor set all present -does- seem to usually give a higher probability of success, but not always; sometimes it's still completely broken.
For instance, it can also succeed with an entire team of Coaches on occasion, but yet fail on a full L4D2 survivor set sometimes, too.

3. If survivors stick closer together bundled up during the duration of the triggering it seems more likely to succeed, but again not always.

My frustration with this issue stems from the fact that it seems completely random and we cannot track it down to any one plugin. We have done extensive process-of-elimination and everything yet can't figure out why it's still happening, as it seems to trigger either way, at random, regardless of the assortment of plugins we are using.

Plugin List:


Plugins:
Code:

  001 "ABM" (0.1.95) by Victor "NgBUCKWANGS" Gonzalez
  002 "Admin File Reader" (1.10.0.6502) by AlliedModders LLC
  003 "Admin Help" (1.10.0.6502) by AlliedModders LLC
  004 "Admin Menu" (1.10.0.6502) by AlliedModders LLC
  005 "Anti-Flood" (1.10.0.6502) by AlliedModders LLC
  006 "Basic Ban Commands" (1.10.0.6502) by AlliedModders LLC
  007 "Basic Chat" (1.10.0.6502) by AlliedModders LLC
  008 "Basic Comm Control" (1.10.0.6502) by AlliedModders LLC
  009 "Basic Commands" (1.10.0.6502) by AlliedModders LLC
  010 "Basic Info Triggers" (1.10.0.6502) by AlliedModders LLC
  011 "Basic Votes" (1.10.0.6502) by AlliedModders LLC
  012 "[L4D2]boomer_gibs_restore" (1.0.2) by Lux
  013 "[L4D2]Charger_Collision_Patch" (1.1) by Lux
  014 "Client Preferences" (1.10.0.6502) by AlliedModders LLC
  015 "[L4D2] Dynamic Soundtrack Sets" (1.5.4) by DeathChaos25, Shadowysn
  016 "EnhancedThrowables" (1.3) by Timocop, Lux
  017 "Fun Commands" (1.10.0.6502) by AlliedModders LLC
  018 "Fun Votes" (1.10.0.6502) by AlliedModders LLC
  019 "[L4D2]GrenadeLauncher_AmmoPile_patch" (1.0) by Lux
  020 "Gun Damage Booster" (7.0) by Psyk0tik (Crasher_3637)
  021 "[L4D2]hunter_pounce_alignment_fix" (2.0) by Lux
  022 "[L4D2] Consistent Client-sided Survivor Ragdolls" (1.1.4) by Shadowysn
  023 "L4D2 Health Glows" (1.0.1) by Buster "Mr. Zero" Nielsen
  024 "[L4D2] F-18 Airstrike" (1.7) by SilverShot
  025 "[L4D2] F-18 Airstrike - Dead Air" (1.3-da) by SilverShot
  026 "[L4D2] F-18 Airstrike - No Mercy" (1.3-nm) by SilverShot
  027 "[L4D2] F-18 Airstrike - Triggers" (1.3-tr) by SilverShot
  028 "[L4D2] Airstrike Vomitjar Module" (0.0) by BHaType
  029 "[L4D2] Anti Damage" (0.0) by BHaType
  030 "[L4D2] Bots Weapon Preferences Editor" (1.5) by DeathChaos25
  031 "Chainsaw Refuelling" (1.6.1) by DJ_WEST, Lossy (For Round Start QuickFix)
, Shao (For downstate support)
  032 "[L4D2]Character_manager" (1.4.1) by Lux, $atanic $pirit
  033 "[L4D2] Healing Cola" (1.6) by SilverShot
  034 "[L4D2] Double Jump Module" (0.0) by BHaType
  035 "[L4D2] Epic Molotov Module" (0.0) by BHaType
  036 "[L4D2] Explosive Cars" (1.0.1h) by honorcode23,Fixed: kochiurun119
  037 "[L4D2] Fast Reload Module" (0.0) by BHaType
  038 "[L4D2] Fireworks Party" (1.10) by SilverShot
  039 "[L4D2] Footlocker" (1.16) by SilverShot
  040 "[L4D2] Scavenge Gascan Respawn" (1.0.1) by Mart
  041 "[L4D2] Healing Gnome" (1.8) by SilverShot
  042 "[L4D2] Gnome and Cola Shove Damage" (1.0.7) by Mart
  043 "[L4D2] Fast Revive Module" (0.0) by BHaType
  044 "[L4D2] Incapped Crawling with Animation" (2.7) by SilverShot, mod by Lux
  045 "[L4D2] Jukebox Spawner" (1.9) by SilverShot
  046 "[L4D2] Laser Box Spawner" (1.4) by SilverShot
  047 "[L4D2] Melee++" (0.0) by BHaType
  048 "[L4D2] Melee Range" (1.5) by SilverShot
  049 "[L4D2] Melee Weapon Spawner" (1.5) by SilverShot
  050 "[L4D2] Perfect Shove" (0.0) by BHaType
  051 "[L4D2] Pour Gas" (1.12) by SilverShot
  052 "[L4D2] Scavenge Gascan Glow Fix" (1.0.0) by Mart
  053 "[L4D2] Scavenge Score Fix - Gascan Pouring" (1.3) by SilverShot
  054 "[L4D2] Skills Core" (0.6) by BHaType
  055 "[L4D2] Sleight of hand Module" (0.0) by BHaType (by using Lux Handling_Ap
i)
  056 "l4d2_speed_up_m.smx"
  057 "[L4D2] Sticky Pipe Bombs" (0.0) by BHaType
  058 "[L4D2] Save Weapon" (4.3) by MAKS, Electr0, Merudo
  059 "[L4D2] Ultra Pipe Bombs" (0.0) by BHaType
  060 "[L4D2] Upgrade Pack Spawner" (1.4) by SilverShot
  061 "[L4D2] Zoey Unlock" (1.2) by SilverShot
  062 "[L4D, L4D2] No Death Check Until Dead" (1.4.10) by chinagreenelvis (modif
ied by dcx2 and Dragokas)
  063 "[L4D2] Ammo Pile Spawner" (1.7) by SilverShot
  064 "[L4D & L4D2] Health Cabinet" (1.10) by SilverShot
  065 "[L4D & L4D2] Respawn Rescue Closet" (1.6) by SilverShot, Figa
  066 "[L4D & L4D2] Dynamic Light" (1.7) by SilverShot
  067 "[L4D & L4D2] Explosive Barrel" (1.7) by SilverShot
  068 "[L4D & L4D2] Fire Glow" (1.6) by SilverShot
  069 "[L4D1 & L4D2] Gascan Invulnerable" (1.0.4) by Mart
  070 "[L4D & L4D2] Gear Transfer" (2.12) by SilverShot
  071 "[L4D(2)] Grenade Throwing Bots" (1.9) by cravenge, Edison1318, Windy Wind
, Lux, MasterMe
  072 "[L4D & L4D2] Gun Cabinet" (1.5) by SilverShot
  073 "[L4D/2] Incapped Pickup Items" (1.3.0) by xZk
  074 "[L4D & L4D2] Incapped Weapons Patch" (1.10) by SilverShot
  075 "[L4D & L4D2] Infected Glow" (1.9) by SilverShot
  076 "[L4D] Ledge Release v2" (2.3) by Alex Dragokas
  077 "Machine" (1.08) by Pan Xiaohai
  078 "[L4D & L4D2] Mic Stand" (1.6) by SilverShot
  079 "[L4D & L4D2] Plane Crash" (1.7) by SilverShot
  080 "[L4D2] Reverse Friendly-Fire" (1.5) by Mystic Spiral
  081 "[L4D & L4D2] Health Vending Machine" (1.9) by SilverShot
  082 "[L4D & L4D2] Weapon Crate" (1.7) by SilverShot
  083 "[L4D & L4D2] Weapon Spawn" (1.6) by SilverShot
  084 "[L4D & L4D2] Left 4 DHooks Direct" (1.29) by SilverShot
  085 "Upgrade Pack Fixes" (1) by bullet28, V10, Silvers
  086 "[L4D2]M60_NoDrop_AmmoPile_patch" (1.0.7) by Lux
  087 "[MT] Absorb Ability" (8.80) by Psyk0tik (Crasher_3637)
  088 "[MT] Acid Ability" (8.80) by Psyk0tik (Crasher_3637)
  089 "[MT] Aimless Ability" (8.80) by Psyk0tik (Crasher_3637)
  090 "[MT] Ammo Ability" (8.80) by Psyk0tik (Crasher_3637)
  091 "[MT] Blind Ability" (8.80) by Psyk0tik (Crasher_3637)
  092 "[MT] Bomb Ability" (8.80) by Psyk0tik (Crasher_3637)
  093 "[MT] Bury Ability" (8.80) by Psyk0tik (Crasher_3637)
  094 "[MT] Car Ability" (8.80) by Psyk0tik (Crasher_3637)
  095 "[MT] Choke Ability" (8.80) by Psyk0tik (Crasher_3637)
  096 "[MT] Clone Ability" (8.80) by Psyk0tik (Crasher_3637)
  097 "[MT] Cloud Ability" (8.80) by Psyk0tik (Crasher_3637)
  098 "[MT] Drop Ability" (8.80) by Psyk0tik (Crasher_3637)
  099 "[MT] Drug Ability" (8.80) by Psyk0tik (Crasher_3637)
  100 "[MT] Drunk Ability" (8.80) by Psyk0tik (Crasher_3637)
  101 "[MT] Electric Ability" (8.80) by Psyk0tik (Crasher_3637)
  102 "[MT] Enforce Ability" (8.80) by Psyk0tik (Crasher_3637)
  103 "[MT] Fast Ability" (8.80) by Psyk0tik (Crasher_3637)
  104 "[MT] Fire Ability" (8.80) by Psyk0tik (Crasher_3637)
  105 "[MT] Fling Ability" (8.80) by Psyk0tik (Crasher_3637)
  106 "[MT] Fly Ability" (8.80) by Psyk0tik (Crasher_3637)
  107 "[MT] Fragile Ability" (8.80) by Psyk0tik (Crasher_3637)
  108 "[MT] Ghost Ability" (8.80) by Psyk0tik (Crasher_3637)
  109 "[MT] God Ability" (8.80) by Psyk0tik (Crasher_3637)
  110 "[MT] Gravity Ability" (8.80) by Psyk0tik (Crasher_3637)
  111 "[MT] Heal Ability" (8.80) by Psyk0tik (Crasher_3637)
  112 "[MT] Hit Ability" (8.80) by Psyk0tik (Crasher_3637)
  113 "[MT] Hurt Ability" (8.80) by Psyk0tik (Crasher_3637)
  114 "[MT] Hypno Ability" (8.80) by Psyk0tik (Crasher_3637)
  115 "[MT] Ice Ability" (8.80) by Psyk0tik (Crasher_3637)
  116 "[MT] Idle Ability" (8.80) by Psyk0tik (Crasher_3637)
  117 "[MT] Invert Ability" (8.80) by Psyk0tik (Crasher_3637)
  118 "[MT] Item Ability" (8.80) by Psyk0tik (Crasher_3637)
  119 "[MT] Jump Ability" (8.80) by Psyk0tik (Crasher_3637)
  120 "[MT] Kamikaze Ability" (8.80) by Psyk0tik (Crasher_3637)
  121 "[MT] Lag Ability" (8.80) by Psyk0tik (Crasher_3637)
  122 "[MT] Laser Ability" (8.80) by Psyk0tik (Crasher_3637)
  123 "[MT] Leech Ability" (8.80) by Psyk0tik (Crasher_3637)
  124 "[MT] Lightning Ability" (8.80) by Psyk0tik (Crasher_3637)
  125 "[MT] Medic Ability" (8.80) by Psyk0tik (Crasher_3637)
  126 "[MT] Meteor Ability" (8.80) by Psyk0tik (Crasher_3637)
  127 "[MT] Minion Ability" (8.80) by Psyk0tik (Crasher_3637)
  128 "[MT] Necro Ability" (8.80) by Psyk0tik (Crasher_3637)
  129 "[MT] Nullify Ability" (8.80) by Psyk0tik (Crasher_3637)
  130 "[MT] Omni Ability" (8.80) by Psyk0tik (Crasher_3637)
  131 "[MT] Panic Ability" (8.80) by Psyk0tik (Crasher_3637)
  132 "[MT] Pimp Ability" (8.80) by Psyk0tik (Crasher_3637)
  133 "[MT] Puke Ability" (8.80) by Psyk0tik (Crasher_3637)
  134 "[MT] Pyro Ability" (8.80) by Psyk0tik (Crasher_3637)
  135 "[MT] Quiet Ability" (8.80) by Psyk0tik (Crasher_3637)
  136 "[MT] Recoil Ability" (8.80) by Psyk0tik (Crasher_3637)
  137 "[MT] Regen Ability" (8.80) by Psyk0tik (Crasher_3637)
  138 "[MT] Respawn Ability" (8.80) by Psyk0tik (Crasher_3637)
  139 "[MT] Rock Ability" (8.80) by Psyk0tik (Crasher_3637)
  140 "[MT] Rocket Ability" (8.80) by Psyk0tik (Crasher_3637)
  141 "[MT] Shake Ability" (8.80) by Psyk0tik (Crasher_3637)
  142 "[MT] Shield Ability" (8.80) by Psyk0tik (Crasher_3637)
  143 "[MT] Shove Ability" (8.80) by Psyk0tik (Crasher_3637)
  144 "[MT] Slow Ability" (8.80) by Psyk0tik (Crasher_3637)
  145 "[MT] Smash Ability" (8.80) by Psyk0tik (Crasher_3637)
  146 "[MT] Smite Ability" (8.80) by Psyk0tik (Crasher_3637)
  147 "[MT] Spam Ability" (8.80) by Psyk0tik (Crasher_3637)
  148 "[MT] Splash Ability" (8.80) by Psyk0tik (Crasher_3637)
  149 "[MT] Splatter Ability" (8.80) by Psyk0tik (Crasher_3637)
  150 "[MT] Throw Ability" (8.80) by Psyk0tik (Crasher_3637)
  151 "[MT] Track Ability" (8.80) by Psyk0tik (Crasher_3637)
  152 "[MT] Ultimate Ability" (8.80) by Psyk0tik (Crasher_3637)
  153 "[MT] Undead Ability" (8.80) by Psyk0tik (Crasher_3637)
  154 "[MT] Vampire Ability" (8.80) by Psyk0tik (Crasher_3637)
  155 "[MT] Vision Ability" (8.80) by Psyk0tik (Crasher_3637)
  156 "[MT] Whirl Ability" (8.80) by Psyk0tik (Crasher_3637)
  157 "[MT] Witch Ability" (8.80) by Psyk0tik (Crasher_3637)
  158 "[MT] Xiphos Ability" (8.80) by Psyk0tik (Crasher_3637)
  159 "[MT] Yell Ability" (8.80) by Psyk0tik (Crasher_3637)
  160 "[MT] Zombie Ability" (8.80) by Psyk0tik (Crasher_3637)
  161 "Mutant Tanks" (8.80) by Psyk0tik (Crasher_3637)
  162 Disabled: "Nextmap" (1.10.0.6502) by AlliedModders LLC
  163 "Player Commands" (1.10.0.6502) by AlliedModders LLC
  164 "Realish_Tank_Phyx" (1.3) by Ludastar (Armonic)
  165 "Reserved Slots" (1.10.0.6502) by AlliedModders LLC
  166 "[L4D2] ScavengeBotsDS" (2.1) by Machine/Xanaguy
  167 "Skills.Anti_Damage.smx"
  168 "Skills.Core" (6.7.3) by BHaType & Silvers
  169 "Skills.Double_Jump.smx"
  170 "Skills.Epic_Molotov.smx"
  171 "Skills.Fast_Reload.smx"
  172 "Skills.Helpin_Hand.smx"
  173 "Skills.Kill_Pipe.smx"
  174 "Skills.MeleeDamage.smx"
  175 "Skills.Perfect_Shove.smx"
  176 "Skills.Pipa_Velcro.smx"
  177 "Skills.SpeedUp.smx"
  178 "Skills.Ultra_Pipe_Bomb.smx"
  179 "Sound Commands" (1.10.0.6502) by AlliedModders LLC
  180 "Survivor Chat Select" (1.6.1) by DeatChaos25, Mi123456 & Merudo
  181 "sv_steamgroup fixer" (1.1.0) by asherkin
  182 "ThirdPersonShoulder_Detect" (1.5.3) by MasterMind420 & Lux
  183 "Varying Zombie Population" (1.4.0) by Luke Penny
  184 "WeaponHandling" (1.0.4) by Lux
  185 "[L4D2]Witch_allow_in_safezone" (1.1) by Lux & Harry Potter
  186 "[L4D2]Witch_Double_Start_Fix" (1.0) by Lux
  187 "[L4D2]witch_prevent_target_loss" (1.1.1) by Lux
  188 "[L4D2]Witch_Target_Patch" (1.4) by Lux
  189 "[L4D2] Defib using bots" (1.7) by DeathChaos25
  190 "[L4D2]Adrenaline_Recovery" (1.0.1) by Lux
  191 "[L4D2]Survivor_Legs_Restore" (1.5.2) by Lux

Extensions:
Code:

[01] Automatic Updater (1.10.0.6502): Updates SourceMod gamedata files
[02] Webternet (1.10.0.6502): Extension for interacting with URLs
[03] Accelerator (2.5.0): SRCDS Crash Handler
[04] SDK Hooks (1.10.0.6502): Source SDK Hooks
[05] BinTools (1.10.0.6502): Low-level C/C++ Calling API
[06] SDK Tools (1.10.0.6502): Source SDK Tools
[07] Top Menus (1.10.0.6502): Creates sorted nested menus
[08] Client Preferences (1.10.0.6502): Saves client preference settings
[09] SQLite (1.10.0.6502): SQLite Driver
[10] DHooks (2.2.0-detours15): Dynamic Hooks

I use some VScript stuff as well but as to my knowledge it is not related entirely to this issue. I could be wrong but I have also tried disabling those as well to no avail. Hopefully someone here knows more about this strange issue, or some such.

jeremyvillanueva 01-28-2021 23:46

Re: [L4D2] Server Event/Trigger issues
 
Hi, I got that problem also, I thought it was because the tickrate enabler, but maybe are the rates values.

Xada 01-31-2021 01:07

Re: [L4D2] Server Event/Trigger issues
 
Quote:

Originally Posted by jeremyvillanueva (Post 2734721)
Hi, I got that problem also, I thought it was because the tickrate enabler, but maybe are the rates values.

Strange, I wouldn't have thought tickrate/flat rate would give alternating results. I will have to experiment with that myself.
I did notice some relative success when culling a few sourcemod plugins. The primary culprits as of current appears to be multi-part Sourcemod plugins (BHaType's Skills mod in particular was one that I left out the latest test-runs) which appear to hook into a lot of functions-- though I am no expert on how these things work under the hood so this is pure speculation.

I'm still unable to track down the source of this annoying issue as of yet, but after careful testing with proccess-of-elimination and using new Sourcemod Beta branches (as well as the new Metamod dev build) it's happening a lot less, so that's something I suppose.
Perhaps an inherent Sourcemod issue on some systems? It's still unclear, unfortunately.

Spirit_12 01-31-2021 02:19

Re: [L4D2] Server Event/Trigger issues
 
I doubt its got anything to do with Tickrate. The only issue that people have faced with Tickrate is doors opening slowly. It appears that what you are facing has to do with triggers. My question to you would be on what maps are you facing these issues?

I run a ton of custom maps and a lot of the triggers on them are broken. You shouldn't be facing such issues on vanilla maps. Also the vscripts that you mention. What sort of scripts are we talking? vscripts can talk directly to the entities on the map, so they certainly have the power to do so.

Xada 01-31-2021 05:18

Re: [L4D2] Server Event/Trigger issues
 
Quote:

Originally Posted by Spirit_12 (Post 2735060)
I doubt its got anything to do with Tickrate. The only issue that people have faced with Tickrate is doors opening slowly. It appears that what you are facing has to do with triggers. My question to you would be on what maps are you facing these issues?

It's more curiosity out of the fact that nothing els appears to be working. Which is the entire reason I made this thread hoping someone would have suggestions of some kind or at least shed some light on it.
I am well aware it must be something, somewhere along the chain 'intercepting' things like triggers and doors and making them break/do nothing but I just can't seem to track down the pesky bug no matter what I do, it's very tricky to reproduce when you actually do testing, too. It could be that a plugin is intercepting entities but failing before it finishes is all I can figure out... I've heard of gamedata issues causing some errors here but I've tried a variety (always the newest I can) offsets to remedy this to no avail as well.

Quote:

Originally Posted by Spirit_12 (Post 2735060)
I run a ton of custom maps and a lot of the triggers on them are broken. You shouldn't be facing such issues on vanilla maps.

This is a tricky one. Some maps do indeed work fine, but then will randomly break later down the line the same way as detailed in the initial post.
It has happened on far too many maps to simply be the map scripts being busted. This is maps ranging from mediocre/subpar to community classics, too. If it were just things like gimmicky maps by, say, "MorningMorning" I believe his moniker is (chinese author of lots of maps ie. HeHe series) it'd be one thing, yet all of these are broken at some point with the above setup specifically, and yet some appear to have no issues with these maps. Again, it's weirdly inconsistent but rears it's head at least once per campaign.


Quote:

Originally Posted by Spirit_12 (Post 2735060)
vscripts can talk directly to the entities on the map, so they certainly have the power to do so.

This is a odd one as well as I've tried it without VScript VPKs altogether and -just- sourcemod, and still the issue persists. This is with or without plugins present entirely which just makes the issue even more bizarre.

It's worth noting at least that the issue is less present with beta revisions of Sourcemod, but the issue is also indeed entirely absent without Sourcemod-- this is why I've come to the (semi)conclusion perhaps it's something wonky with Sourcemod itself. Though you'd think more would be having the issue if so. As I said, these issues make little sense.
Just for reference purpose though here's a list of VScripts the server is running:

Code:

Alex_D_Vasilkov's  "[Script] Chrome Shotgun"
Alex_D_Vasilkov's "[Script] Desert Eagle (Magnum)"
Rayman1103's "Admin System"
Shadowysn's "(W.I.P) !faint Survivor Ragdolling"
Rayman1103's "Mutation Mod"
Shrektastic's "Left 4 Dead: -Survivors- Arcade Mutation Pack"


I'll also mention these issues do not appear to occur on local server without sourcemod.

Marttt 01-31-2021 08:51

Re: [L4D2] Server Event/Trigger issues
 
Unfortunately, the only way to find the reason is by trial and error.

Remove half of plugins test for some days, repeat the process until you find it or have a small list.
Or (you said that is not easy to reproduce) force the bug by playing the same map a lot of times.

Spirit_12 01-31-2021 12:15

Re: [L4D2] Server Event/Trigger issues
 
There are other ways to isolate the issues. In my opinion it might be a trigger that the entity is hooked into.

https://forums.alliedmods.net/showthread.php?t=319141

Since you say that the map does work upon restarts I would hook the logic_auto and info_director entities and observe what inputs are fired. Noticed which entity calls them and maybe that way you can isolate the problem.

Otherwise you are limited to what Marttt said.


All times are GMT -4. The time now is 10:23.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.