AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [L4D2] Finale Stage hanging fix (finale tank fix) (https://forums.alliedmods.net/showthread.php?t=334759)

Dragokas 10-17-2021 11:15

[L4D2] Finale Stage hanging fix (finale tank fix)
 
1 Attachment(s)
Description:
This should be installed only when needed. Plugin written at pre-TLS time, and bug may be already patched / or not.

Sometimes tanks are not appearing on finale map, because "Panic" stage get stucked.
This plugin allows to set timeout (see ConVar) for Panic stage waiting the tank to appear. If that doesn't happen, plugin forcibly call the next stage and director automatically spawns the tank as it normally should.

Plugin code has heavily logging, which can be activated by changing this line to 1: #define DEBUG 1
Log location: addons/sourcemod/logs/stage.log
Commands:
They are only available by recompiling plugin with #define DEBUG 1

PHP Code:

// Prints current stage index and time passed.
"sm_stage"

// Forcibly call the next stage.
"sm_nextstage" 

Settings (ConVars):
PHP Code:

// Timeout (in sec.) for finale panic stage waiting for tank to appear, otherwise stage forcibly changed
l4d_finale_stage_fix_panicstage_timeout "60" 

Dependency:
- Left 4 DHooks Direct by SilverShot (ver. 1.64 or newer)
Compatibility
- L4D2 only (no stage change forwards for L4D1).
Thanks
- dr lex - for the request
Donate
Donates are very appreciated and welcomed for further inspiration, make me happy, and make next updates came out more often:
- Patreon
- BitCoin
- Ю.Money

noto3 10-17-2021 21:12

Re: [L4D2] Finale Stage hanging fix (finale tank fix)
 
Really well made, was looking for something like this

Mr. Man 10-18-2021 00:28

Re: [L4D2] Finale Stage hanging fix (finale tank fix)
 
Compatibility with this plugin? I believe it was suffering from the same issue: https://forums.alliedmods.net/showthread.php?t=332272

azureblue 10-18-2021 04:54

Re: [L4D2] Finale Stage hanging fix (finale tank fix)
 
Quote:

Originally Posted by Mr. Man (Post 2760895)
Compatibility with this plugin? I believe it was suffering from the same issue: https://forums.alliedmods.net/showthread.php?t=332272

already tested on few maps, and it's worked !
*i've been suffered on finale tank issue too.

thanks alot dragokas !! :)

JLmelenchon 10-18-2021 19:59

Re: [L4D2] Finale Stage hanging fix (finale tank fix)
 
I remember common infected spawning issue in final before last stand and this was causing the tank to not spawn because the horde count was not reached, but it was not directly related to tank. Normally fixed in last stand.

svenpun 11-08-2021 23:20

Re: [L4D2] Finale Stage hanging fix (finale tank fix)
 
I need some help with this


//l4d_finale_stage_fix.sp(15) : error 050: constant 'FINALE_GAUNTLET_1' already defined
//
// 1 Error.
//
// Compilation Time: 0.16 sec

Dragokas 11-08-2021 23:29

Re: [L4D2] Finale Stage hanging fix (finale tank fix)
 
svenpun, fixed.

Updated.

Quote:

1.3 (09-Nov-2021)
- Added compilation compatibility with the latest Left 4 DHooks Direct (thanks to Silvers for help).

NoroHime 01-19-2022 14:02

Re: [L4D2] Finale Stage hanging fix (finale tank fix)
 
oh yes this save my night party
by the way cant compile on sm1.11
Quote:

//// l4d_finale_stage_fix.sp
//
// B:\SteamLibrary\steamapps\common\Left 4 Dead 2\left4dead2\addons\sourcemod\scripting\l4d_f inale_stage_fix.sp(16) : error 021: symbol already defined: "FINALE_GAUNTLET_1"
// B:\SteamLibrary\steamapps\common\Left 4 Dead 2\left4dead2\addons\sourcemod\scripting\l4d_f inale_stage_fix.sp(17) : error 021: symbol already defined: "FINALE_HORDE_ATTACK_1"
// B:\SteamLibrary\steamapps\common\Left 4 Dead 2\left4dead2\addons\sourcemod\scripting\l4d_f inale_stage_fix.sp(18) : error 021: symbol already defined: "FINALE_HALFTIME_BOSS"
// B:\SteamLibrary\steamapps\common\Left 4 Dead 2\left4dead2\addons\sourcemod\scripting\l4d_f inale_stage_fix.sp(19) : error 021: symbol already defined: "FINALE_GAUNTLET_2"
// B:\SteamLibrary\steamapps\common\Left 4 Dead 2\left4dead2\addons\sourcemod\scripting\l4d_f inale_stage_fix.sp(20) : error 021: symbol already defined: "FINALE_HORDE_ATTACK_2"
// B:\SteamLibrary\steamapps\common\Left 4 Dead 2\left4dead2\addons\sourcemod\scripting\l4d_f inale_stage_fix.sp(21) : error 021: symbol already defined: "FINALE_FINAL_BOSS"
// B:\SteamLibrary\steamapps\common\Left 4 Dead 2\left4dead2\addons\sourcemod\scripting\l4d_f inale_stage_fix.sp(22) : error 021: symbol already defined: "FINALE_HORDE_ESCAPE"
// B:\SteamLibrary\steamapps\common\Left 4 Dead 2\left4dead2\addons\sourcemod\scripting\l4d_f inale_stage_fix.sp(23) : error 021: symbol already defined: "FINALE_CUSTOM_PANIC"
// B:\SteamLibrary\steamapps\common\Left 4 Dead 2\left4dead2\addons\sourcemod\scripting\l4d_f inale_stage_fix.sp(24) : error 021: symbol already defined: "FINALE_CUSTOM_TANK"
// B:\SteamLibrary\steamapps\common\Left 4 Dead 2\left4dead2\addons\sourcemod\scripting\l4d_f inale_stage_fix.sp(25) : error 021: symbol already defined: "FINALE_CUSTOM_SCRIPTED"
// B:\SteamLibrary\steamapps\common\Left 4 Dead 2\left4dead2\addons\sourcemod\scripting\l4d_f inale_stage_fix.sp(26) : error 021: symbol already defined: "FINALE_CUSTOM_DELAY"
// B:\SteamLibrary\steamapps\common\Left 4 Dead 2\left4dead2\addons\sourcemod\scripting\l4d_f inale_stage_fix.sp(27) : error 021: symbol already defined: "FINALE_CUSTOM_CLEAROUT"
// B:\SteamLibrary\steamapps\common\Left 4 Dead 2\left4dead2\addons\sourcemod\scripting\l4d_f inale_stage_fix.sp(28) : error 021: symbol already defined: "FINALE_GAUNTLET_START"
// B:\SteamLibrary\steamapps\common\Left 4 Dead 2\left4dead2\addons\sourcemod\scripting\l4d_f inale_stage_fix.sp(29) : error 021: symbol already defined: "FINALE_GAUNTLET_HORDE"
// B:\SteamLibrary\steamapps\common\Left 4 Dead 2\left4dead2\addons\sourcemod\scripting\l4d_f inale_stage_fix.sp(30) : error 021: symbol already defined: "FINALE_GAUNTLET_HORDE_BONUSTIME"
// B:\SteamLibrary\steamapps\common\Left 4 Dead 2\left4dead2\addons\sourcemod\scripting\l4d_f inale_stage_fix.sp(31) : error 021: symbol already defined: "FINALE_GAUNTLET_BOSS_INCOMING"
// B:\SteamLibrary\steamapps\common\Left 4 Dead 2\left4dead2\addons\sourcemod\scripting\l4d_f inale_stage_fix.sp(32) : error 021: symbol already defined: "FINALE_GAUNTLET_BOSS"
// B:\SteamLibrary\steamapps\common\Left 4 Dead 2\left4dead2\addons\sourcemod\scripting\l4d_f inale_stage_fix.sp(33) : error 021: symbol already defined: "FINALE_GAUNTLET_ESCAPE"
//
// 18 Errors.
//
// Compilation Time: 0.16 sec

Dragokas 01-19-2022 15:02

Re: [L4D2] Finale Stage hanging fix (finale tank fix)
 
Download the latest version.

Gold Fish 01-20-2022 08:46

Re: [L4D2] Finale Stage hanging fix (finale tank fix)
 
I thought the tanks weren't spawning due to interference with the director's spawn (spawning through third party plugins, spawning from the admin panel, modified spawning)
I haven’t seen such problems in myself for a long time (before the update I also rarely noticed), it’s just that in the finals I turn off spawn through plugins and let the director do this task himself


All times are GMT -4. The time now is 05:03.

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