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

[L4D2] Wait for loaders on door lock


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
eyal282
Veteran Member
Join Date: Aug 2011
Old 12-02-2017 , 08:53   [L4D2] Wait for loaders on door lock
Reply With Quote #1

I want this plugin to allow players who are still stuck on the loading screen to play normally. I want the door countdown to start after all players from last round joined / 30 seconds passed from the beginning of the new round ( since some players can time out or take decades to load ).
Attached Files
File Type: sp Get Plugin or Get Source (DoorLOck.sp - 421 views - 47.6 KB)

Last edited by eyal282; 12-02-2017 at 08:54. Reason: Thicc prefix added.
eyal282 is offline
Eneier
New Member
Join Date: Apr 2018
Old 04-24-2018 , 00:13   Re: [L4D2] Wait for loaders on door lock
Reply With Quote #2

How to get this plugin?
Eneier is offline
eziosid
Senior Member
Join Date: Sep 2017
Old 04-24-2018 , 00:30   Re: [L4D2] Wait for loaders on door lock
Reply With Quote #3

Quote:
Originally Posted by Eneier View Post
How to get this plugin?
just click on Get Source that's all add me in steam for more help and tips . https://steamcommunity.com/profiles/76561198434885467/
eziosid is offline
eziosid
Senior Member
Join Date: Sep 2017
Old 04-24-2018 , 02:22   Re: [L4D2] Wait for loaders on door lock
Reply With Quote #4

here is the compiled smx not tested just clike on this file and try
Attached Files
File Type: smx DoorLOck.smx (21.5 KB, 308 views)
eziosid is offline
cravenge
Veteran Member
Join Date: Nov 2015
Location: Chocolate Factory
Old 11-14-2019 , 00:47   Re: [L4D2] Wait for loaders on door lock
Reply With Quote #5

AFAIK, you can achieve this by:
PHP Code:
int GetConnectingCount()
{
    
int iCount 0;
    for (
int i 1<= MaxClientsi++)
    {
        if (
IsClientConnected(i) && !IsClientInGame(i) && !IsFakeClient(i))
        {
            
iCount += 1;
        }
    }
    return 
iCount;

This little code snippet is taken from my latest unreleased versions of Anti-Rush and Lockdown Systems plugins.
cravenge is offline
foxhound27
AlliedModders Donor
Join Date: Sep 2019
Location: Argentina
Old 11-13-2019 , 22:52   Re: [L4D2] Wait for loaders on door lock
Reply With Quote #6

check this code bro [L4D] Loading Bug Removal/ Door Lock

Last edited by foxhound27; 11-13-2019 at 23:04.
foxhound27 is offline
foxhound27
AlliedModders Donor
Join Date: Sep 2019
Location: Argentina
Old 11-17-2019 , 21:25   Re: [L4D2] Wait for loaders on door lock
Reply With Quote #7

require at least sm 1.8 coop only working 100% not sure about the other gametypes

recommend use with https://forums.alliedmods.net/showthread.php?t=321993
Attached Files
File Type: inc glow.inc (3.0 KB, 232 views)
File Type: smx l4d2_lock.smx (19.9 KB, 253 views)
File Type: sp Get Plugin or Get Source (l4d2_lock.sp - 231 views - 39.2 KB)

Last edited by foxhound27; 08-03-2020 at 11:44. Reason: Update
foxhound27 is offline
hoanganh81097
Senior Member
Join Date: Apr 2016
Old 02-01-2020 , 04:54   Re: [L4D2] Wait for loaders on door lock
Reply With Quote #8

Quote:
Originally Posted by foxhound27 View Post
require at least sm 1.8 coop only working 100% not sure about the other gametypes
can u add break the door when opened ?

Last edited by hoanganh81097; 02-01-2020 at 04:55.
hoanganh81097 is offline
foxhound27
AlliedModders Donor
Join Date: Sep 2019
Location: Argentina
Old 08-06-2020 , 03:27   Re: [L4D2] Wait for loaders on door lock
Reply With Quote #9

Quote:
Originally Posted by hoanganh81097 View Post
can u add break the door when opened ?

Code:
stock Now_UnlockSaferoomDoor() {

	if (SaferoomDoor > 0 && IsValidEntity(SaferoomDoor)) {
		DispatchKeyValue(SaferoomDoor, "spawnflags", "8192");
		if (b_StandartMap()) {

			AcceptEntityInput(SaferoomDoor, "break");
		}
	}
	Call_StartForward(g_IsCheckpointDoorOpened);
	Call_Finish();
}
foxhound27 is offline
insobniut2004
Member
Join Date: Feb 2022
Old 05-20-2022 , 03:28   Re: [L4D2] Wait for loaders on door lock
Reply With Quote #10

Quote:
Originally Posted by foxhound27 View Post
require at least sm 1.8 coop only working 100% not sure about the other gametypes

recommend use with https://forums.alliedmods.net/showthread.php?t=321993
How do I change to color door and glow ?

update pleas

Last edited by insobniut2004; 05-20-2022 at 03:29.
insobniut2004 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 08:46.


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