Raised This Month: $4 Target: $400
 1% 

[L4D2] Finale Stage hanging fix (finale tank fix)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine
Plugin ID:
7825
Plugin Version:
1.3
Plugin Category:
Technical/Development
Plugin Game:
Left 4 Dead
Plugin Dependencies:
Servers with this Plugin:
30 
Plugin Description:
Fixing the hanging of Finals
Old 10-17-2021 , 12:15   [L4D2] Finale Stage hanging fix (finale tank fix)
Reply With Quote #1

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
Attached Files
File Type: sp Get Plugin or Get Source (l4d_finale_stage_fix.sp - 37 views - 7.2 KB)
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch)
[My plugins] [My tools] [GitHub] [Articles] [Donate]

Last edited by Dragokas; 11-09-2021 at 00:28.
Dragokas is online now
noto3
Junior Member
Join Date: Jan 2021
Old 10-17-2021 , 22:12   Re: [L4D2] Finale Stage hanging fix (finale tank fix)
Reply With Quote #2

Really well made, was looking for something like this
noto3 is offline
Mr. Man
Veteran Member
Join Date: Mar 2011
Location: Huh?
Old 10-18-2021 , 01:28   Re: [L4D2] Finale Stage hanging fix (finale tank fix)
Reply With Quote #3

Compatibility with this plugin? I believe it was suffering from the same issue: https://forums.alliedmods.net/showthread.php?t=332272
__________________
Mr. Man is offline
azureblue
Junior Member
Join Date: Oct 2021
Old 10-18-2021 , 05:54   Re: [L4D2] Finale Stage hanging fix (finale tank fix)
Reply With Quote #4

Quote:
Originally Posted by Mr. Man View Post
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 !!
azureblue is offline
JLmelenchon
Senior Member
Join Date: Mar 2019
Old 10-18-2021 , 20:59   Re: [L4D2] Finale Stage hanging fix (finale tank fix)
Reply With Quote #5

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.

Last edited by JLmelenchon; 10-18-2021 at 21:00.
JLmelenchon is offline
svenpun
New Member
Join Date: Feb 2016
Old 11-09-2021 , 00:20   Re: [L4D2] Finale Stage hanging fix (finale tank fix)
Reply With Quote #6

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
svenpun is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine
Old 11-09-2021 , 00:29   Re: [L4D2] Finale Stage hanging fix (finale tank fix)
Reply With Quote #7

svenpun, fixed.

Updated.

Quote:
1.3 (09-Nov-2021)
- Added compilation compatibility with the latest Left 4 DHooks Direct (thanks to Silvers for help).
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch)
[My plugins] [My tools] [GitHub] [Articles] [Donate]
Dragokas is online now
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


Powered by vBulletin®
Copyright ©2000 - 2021, vBulletin Solutions, Inc.
Theme made by Freecode