Raised This Month: $51 Target: $400
 12% 

[L4D2] Area of Denial (1.6) [28-Apr-2021]


Post New Thread Reply   
 
Thread Tools Display Modes
disawar1
AlliedModders Donor
Join Date: Aug 2011
Location: Russian
Old 11-30-2011 , 06:15   Re: [L4D2] Area of Denial (1.0 - 15-May-2011)
Reply With Quote #21

awesome !!!!!
__________________
disawar1 is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 05-10-2012 , 05:03   Re: [L4D2] Area of Denial (1.1) [10-May-2012]
Reply With Quote #22

Plugin updated, highly recommend updating.

- Limited the plugin to all survival modes only.
- Fixed a rare bug which could crash the server.
- Debug logging turned off. Set DEBUG 1 in source to turn on.
__________________
Silvers is offline
Mr. Man
Veteran Member
Join Date: Mar 2011
Location: Huh?
Old 07-24-2018 , 02:09   Re: [L4D2] Area of Denial (1.2) [05-May-2018]
Reply With Quote #23

This popped up earlier today:

Code:
L 07/24/2018 - 01:01:38: [SM] Call stack trace:
L 07/24/2018 - 01:01:38: [SM]   [0] AcceptEntityInput
L 07/24/2018 - 01:01:38: [SM]   [1] Line 94, /home/forums/content/files/8/5/7/7/8/86161.attach::IsAllowed
L 07/24/2018 - 01:01:38: [SM]   [2] Line 81, /home/forums/content/files/8/5/7/7/8/86161.attach::ConVarChanged_Allows
L 07/24/2018 - 01:01:38: [SM]   [4] ConVar.SetString
L 07/24/2018 - 01:01:38: [SM]   [5] Line 317, ...\L4D2_cvarfix.sp::CheckCfgAnomaly
L 07/24/2018 - 01:01:38: [SM]   [6] Line 230, ...\L4D2_cvarfix.sp::CompareConfigs2
L 07/24/2018 - 01:01:38: [SM]   [7] Line 179, ...\L4D2_cvarfix.sp::OnAutoConfigsBuffered
Something to do with the Config Anomaly plugin?

Last edited by Mr. Man; 07-24-2018 at 03:18.
Mr. Man is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 07-24-2018 , 11:35   Re: [L4D2] Area of Denial (1.2) [05-May-2018]
Reply With Quote #24

It is a problem with current plugin, not "Anomaly fixer" (see the first lines).
It's mean current plugin can't handle ConVarChanged event correctly.

You have 2 options:
1) ask the author to fix ConVarChanged issue.
2) mask this problem by just adding current plugin to "Anomaly fixer" exclude list. It's mean it will no longer track issues with wrong cfg variables of current plugin. It's mean - BAD. So 1-st option is better.

P.S., Mr. Man, also you missed essential part of error log that must go before the first line you provided. That line can help author to recognize the root of problem.
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]

Last edited by Dragokas; 07-24-2018 at 11:38.
Dragokas is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 07-24-2018 , 14:06   Re: [L4D2] Area of Denial (1.2) [05-May-2018]
Reply With Quote #25

Edit.
3) It's also possible to make ConVarChanged not be called at all, but it require significant change "to Anomaly Fixer" and dig into undocumented (and non-recommended by dev.) sequence of plugin load order. It's to make "Anomaly Fixer" the first plugin in load order and force it to create variables manually by cfg list, before actual plugin will use it.
The best you can do yourself force "l4d2_area_of_denial" plugin to unload before "Anomaly fixer" make its action and re-load again after. Also, you need force to create vars manually. Something like:

Code:
int CheckCfgAnomaly(int client, const char sFile[PLATFORM_MAX_PATH], bool doFix)
{

	//add this to the begin

	if (doFix) {
		ServerCommand("sm plugins unload l4d2_area_of_denial.smx");

		// in case "l4d2_area_of_denial" is not yet loaded
		CreateConVar(	"l4d2_area_of_denial_enable",	"2",			"0=Off, 1=Remove spit and prevent damage to player, 2=Slay player.", FCVAR_NOTIFY);
		CreateConVar(	"l4d2_area_of_denial_print",	"1",			"Show in chat when someone is slayed. 0=Off, 1=To all. 2=To victim.", FCVAR_NOTIFY);
	}

	//...
	//add this to the end

	if (doFix) {
		ServerCommand("sm plugins load l4d2_area_of_denial.smx");	
	}
It's a code for my plugin, so I prefer not to talk about it here, not hijack Silver's thread.
However, I'm not coding anymore on SP, so I can't help you more.
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
Dragokas is offline
Electr000999
Senior Member
Join Date: Aug 2011
Old 06-15-2020 , 07:54   Re: [L4D2] Area of Denial (1.3) [10-May-2020]
Reply With Quote #26

IsAllowedGameMode(); never called if you manual not change cvars, because of this g_bAllow 0, g_iCvarEnable 0 and as result plugin not work.

Last edited by Electr000999; 06-15-2020 at 08:09.
Electr000999 is offline
Send a message via Skype™ to Electr000999
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 06-16-2020 , 00:20   Re: [L4D2] Area of Denial (1.4) [16-Jun-2020]
Reply With Quote #27

Code:
1.4 (16-Jun-2020)
    - Fixed not loading cvars on plugin start. Thanks to "Electr000999" for reporting.
    - Changed "l4d2_area_of_denial_enable" default value to be "1" instead.
Thanks, fixed from my testing.
__________________
Silvers is offline
Xanaguy
Senior Member
Join Date: Jan 2017
Old 04-27-2021 , 02:20   Re: [L4D2] Area of Denial (1.5) [09-Oct-2020]
Reply With Quote #28

This plugin in its current state does not take kindly to the Welcome To Hell campaign. Transitioning from Chapter 4 to Chapter 5.

A server crash will happen as a result.
Xanaguy is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 04-28-2021 , 05:46   Re: [L4D2] Area of Denial (1.6) [28-Apr-2021]
Reply With Quote #29

Quote:
Originally Posted by Xanaguy View Post
This plugin in its current state does not take kindly to the Welcome To Hell campaign. Transitioning from Chapter 4 to Chapter 5.

A server crash will happen as a result.
Thanks, should be fixed.

Code:
1.6 (28-Apr-2021)
    - Fixed the plugin crashing servers on some map transitions. Thanks to "Xanaguy" for reporting.
__________________
Silvers is offline
Reply



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 10:03.


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