You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* @brief Called whenever ZombieManager::SpawnTank(Vector&,QAngle&) is invoked
1373
1374
* @remarks Not invoked if z_spawn tank is used and it gives a ghosted/dead player tank
1374
1375
* @remarks This forward will not trigger if the relative pre-hook forward has been blocked with Plugin_Handled
1376
+
* @remarks This sometimes triggers every frame or so, in L4D2 "c7m3_port" map on Windows, after leaving the saferoom in Versus, client index will be -1
1375
1377
*
1376
1378
* @param client The client index who spawned
1377
1379
* @param vecPos Vector coordinate where tank is spawned
@@ -2288,7 +2290,7 @@ forward void L4D_TankRock_BounceTouch_PostHandled(int tank, int rock, int entity
2288
2290
* @param tank_index Client index of the tank
2289
2291
* @param enterStasis Is the tank in stasis
2290
2292
*
2291
-
* @return Plugin_Handled to block window from showing and to keep Tank Bot, Plugin_Changed to use overwritten values from plugin, Plugin_Continue otherwise
2293
+
* @return Plugin_Handled to block window from showing and to keep Tank Bot, Plugin_Changed to use overwritten values from plugin, Plugin_Continue otherwise
if( !IsPlayerAlive(pThis) ) returnMRES_Ignored; // Triggered before round_start or so but players are dead at this point, should only trigger when still alive
Copy file name to clipboardExpand all lines: addons/sourcemod/scripting/l4dd/left4dhooks_changelog.txt
+9-4Lines changed: 9 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -1,14 +1,19 @@
1
-
1.158 (21-Mar-2025)
2
-
- Added forwards "L4D2_OnTransitionRestore*" and "L4D2_OnRestoreTransitionedSurvivorBots*" to trigger on clients and bots transitioning data restore. Thanks to "blueblur0730" for adding.
3
-
- Fixed native "L4D2Direct_SetVSCampaignScore" not updating the scores fully. Thanks to "nikita1824" for reporting.
1
+
1.159 (01-Jul-2025)
2
+
- Fixed forward "L4D_OnDeathDroppedWeapons" from throwing client not in game errors. Thanks to "Mystik Spiral" for reporting.
3
+
- Fixed forwards "L4D2_VomitJarProjectile_*" not working due to incorrect initialization. Thanks to "Drgon" and "ProjectSky" for reporting.
4
+
- Fixed gamedata signature for "CGrenadeLauncher_Projectile::Explode" forward on L4D2 Linux. Thanks to "xiaolinRM" for reporting.
5
+
- Clarification in the include file on how often the "L4D_OnSpawnTank*" forwards trigger. Thanks to "Marttt" for reporting.
- Updated: "/scripting/include/left4dhooks.inc" include file.
11
12
13
+
1.158 (21-Mar-2025)
14
+
- Added forwards "L4D2_OnTransitionRestore*" and "L4D2_OnRestoreTransitionedSurvivorBots*" to trigger on clients and bots transitioning data restore. Thanks to "blueblur0730" for adding.
15
+
- Fixed native "L4D2Direct_SetVSCampaignScore" not updating the scores fully. Thanks to "nikita1824" for reporting.
16
+
12
17
1.157 (04-Jan-2025)
13
18
- Plugin is now compiled with SourceMod version 1.11 again.
14
19
- Changed the "L4D_SetPlayerIntensity" stock to a native, fixing the function from not working. Thanks to "Neburai" for providing the method.
Copy file name to clipboardExpand all lines: addons/sourcemod/scripting/left4dhooks.sp
+47-2Lines changed: 47 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -18,8 +18,8 @@
18
18
19
19
20
20
21
-
#define PLUGIN_VERSION "1.158"
22
-
#define PLUGIN_VERLONG 1158
21
+
#define PLUGIN_VERSION "1.159"
22
+
#define PLUGIN_VERLONG 1159
23
23
24
24
#define DEBUG 0
25
25
// #define DEBUG 1 // Prints addresses + detour info (only use for debugging, slows server down).
@@ -29,6 +29,8 @@
29
29
30
30
#define KILL_VSCRIPT 0// 0=Keep VScript entity after using for "GetVScriptOutput". 1=Kill the entity after use (more resourceful to keep recreating, use if you're maxing out entities and reaching the limit regularly).
31
31
32
+
#define ALLOW_UPDATER 0// 0=Off. 1=Allow the plugin to auto-update using the "Updater" plugin by "GoD-Tony". 2=Allow updating and reloading after update.
0 commit comments