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

[L4D] Loading Bug Removal/ Door Lock


Post New Thread Reply   
 
Thread Tools Display Modes
Danny_l4d
Senior Member
Join Date: Feb 2010
Old 11-26-2010 , 21:57   Re: [L4D] Loading Bug Removal/ Door Lock
Reply With Quote #131

lol at AtomicStryker but you are right, people like to ad things when they use a plugin,
I used this plugin a while, but it was crashing the server often, the thing I wanted to use it for was only the saferoom timer that they couldnt run out when people where trying to load the game...
only thing was I couldnt adjust it and !ready wasnt a good reason also
__________________
Danny_l4d is offline
kiwi87
Member
Join Date: Sep 2009
Old 11-27-2010 , 10:31   Re: [L4D] Loading Bug Removal/ Door Lock
Reply With Quote #132

Quote:
Originally Posted by AtomicStryker View Post
Ive did a small update to L4D Loading, changing the ConVar Director Stopping to left4downtown2's Versus Timer handling. Try it.

http://atomicstrykers-codedump.googl...d2_loading.smx
Works great ty
kiwi87 is offline
Visual77
Veteran Member
Join Date: Jan 2009
Old 11-27-2010 , 11:23   Re: [L4D] Loading Bug Removal/ Door Lock
Reply With Quote #133

Quote:
Originally Posted by fpsbrian View Post
I really like this plugins, but I dont like all the extras...
Is there a way we can get a lite version that simply just locks the door with an adjustable hint text count down?
It can be done. I remember that XBetaAlpha published a piece of code not long ago that would lock/open door. It was actually shortened down by 80 % if you compare this plugin and his code.
http://forums.alliedmods.net/showpos...3&postcount=11
Unfortunently, playing arround with the code , adding some timers to check if all players have loaded in and hooking player_first_spawn to lock the door, would crash the server with a segmentation fault each time.
I'm sure someone can create a better plugin of the code in the link given above.

If I'm not mistaken, I'm still at Atomics blacklist, so maybe someone else can give him the link. It's a very useful one.
Or persuade XBetaAlpha himself to do it.

Last edited by Visual77; 11-27-2010 at 11:34.
Visual77 is offline
ellis
Senior Member
Join Date: Apr 2010
Old 11-28-2010 , 15:48   Re: [L4D] Loading Bug Removal/ Door Lock
Reply With Quote #134

Quote:
Originally Posted by AtomicStryker View Post
The problem is if i or someone else were to do this your response would be "Thank you so much! Oh and can you add ..."
ok, lets be thankful that atomic has made some awesome plugins for the game.
thanks!
ellis is offline
fpsbrian
Senior Member
Join Date: Feb 2008
Old 11-28-2010 , 20:35   Re: [L4D] Loading Bug Removal/ Door Lock
Reply With Quote #135

Quote:
Originally Posted by Glide Loading View Post
fpsbrian
ellis
Please tell. What you exactly mean by "lite version".
Just a simple lock on the door with a 30 second count down shown in hint text, I dont like spamming up the chat area. like the connection text and waiting text or the FF warning...

Quote:
Originally Posted by AtomicStryker View Post
The problem is if i or someone else were to do this your response would be "Thank you so much! Oh and can you add ..."
I hear ya, I get those all the time!
__________________
fpsbrian is offline
Glide Loading
Member
Join Date: May 2010
Old 12-18-2010 , 09:13   Re: [L4D] Loading Bug Removal/ Door Lock
Reply With Quote #136

----------------------------------
-------- Door Lock Lite -----------
----------------------------------

Cvars:
l4d2_dlock_freezenodoor (def. = 1) Freeze survivors if start saferoom door is absent.
l4d2_dlock_prepare1st (def. = 20) Wait this many seconds after all clients have loaded before starting first round on a map.
l4d2_dlock_prepare2nd (def. = 15) Wait this many seconds after all clients have loaded before starting second round on a map.
l4d2_dlock_timeout (def. = 90) Wait this many seconds after a map starts before giving up waiting for a client.
l4d2_dlock_infectedSpawn (def. = 1) Wait for infected to be ready to spawn before starting countdown.
l4d2_dlock_godmode (def. = 1) Enable godmode for survivors while in saferoom. Will be disabled on round start.
l4d2_dlock_weakdoor (def. = 1) The door will be broken out at opening.
l4d2_dlock_startprevent (def. = 0) If enabled, versus round will not start until safe-room door become opened.
l4d2_dlock_displaypanel (def. = 2) Display players state panel. 0-disabled, 1-hide failed, 2-full info.
l4d2_dlock_displaymode (def. = hint) Set the display mode how the countdown will be displayed (hint, center, chat).
l4d2_dlock_gamemodeactive (def. = versus,teamversus,mutation13) Set the game mode for which the plugin should be activated.

l4d2_doorlock.cfg will be automatically created in cfg\sourcemod.
Cvar names and file name changed. Delete l4d2_loading.smx and l4d2_loading.cfg before use this version.

Current version: 2.6a (07 apr 2012)

Note:
- Plugin requires a Left 4 Downtown 2 Extension
- To get a plugin download l4d2_doorlock.smx

Installation:
- put "l4d2_doorlock.smx" in "sourcemod\plugins" folder.
- put "doorlock.phrases.txt" in "sourcemod\translations" folder.
Attached Files
File Type: smx l4d2_doorlock.smx (14.2 KB, 1146 views)
File Type: txt doorlock.phrases.txt (607 Bytes, 1691 views)
File Type: sp Get Plugin or Get Source (l4d2_doorlock.sp - 1189 views - 20.9 KB)

Last edited by Glide Loading; 04-07-2012 at 13:44. Reason: Update
Glide Loading is offline
dirka_dirka
Veteran Member
Join Date: Nov 2009
Old 12-19-2010 , 19:24   Re: [L4D] Loading Bug Removal/ Door Lock
Reply With Quote #137

you need to post the sp if your going to post a plugin. the smx is still useful to keep since the plugin has a requirement and wont compile on the web.
dirka_dirka is offline
fpsbrian
Senior Member
Join Date: Feb 2008
Old 12-20-2010 , 18:25   Re: [L4D] Loading Bug Removal/ Door Lock
Reply With Quote #138

Quote:
Originally Posted by Glide Loading View Post
Posting a version of this plugin, that used on my server. Successfully tested in different configurations for more than two weeks.

The following has been cut out:
- AFK management. reason: 1. useless for me. 2. major bug (some time, player cant return to his team, after been dropped to spec.)
- Scream mode (ReadyUP-like). reason: useless for me.

Fixed a major bug where sb_stop was set to 1 in gamemodes that not listed in l4d2_gamemodeactive.

"Fake door" no longer drop shadow.

Next cvars and functions steel remain there:
l4d2_freezeon1st (def. = 0) Freeze survivors on first chapter.
l4d2_prepare1st (def. = 15) Wait this many seconds after all clients have loaded before starting first round on a map.
l4d2_prepare2nd (def. = 15) Wait this many seconds after all clients have loaded before starting second round on a map.
l4d2_timeout (def. = 85) Wait this many seconds after a map starts before giving up waiting for a client.
l4d2_infectedspawn (def. = 1) Wait for infected to be ready to spawn before starting countdown.
l4d2_displaypanel (def. = 1) Display players state panel.
l4d2_displaymode (def. = hint) Set the display mode how the countdown will be displayed (hint, center, chat).
l4d2_gamemodeactive (def. = versus,teamversus,mutation13) Set the game mode for which the plugin should be activated.

Experimental:
l4d2_soliddoor (def. = 0) Replace a start saferoom door with solid.
Works fine but... side effects:
- once countdown hit 0, door start glowing
- door can be opened and closed many times in any gamemode.

l4d2_loading.cfg will be automatically created.

Left 4 Downtown 2 extension
is required.
http://forums.alliedmods.net/showthread.php?t=134032

Updated: 20.12.2010

Thanks a lot man!



I'm having a problem with bots, they spawn outside of the safe room and sorta mess things up a bit...?
__________________

Last edited by fpsbrian; 12-21-2010 at 01:32.
fpsbrian is offline
Glide Loading
Member
Join Date: May 2010
Old 12-21-2010 , 13:21   Re: [L4D] Loading Bug Removal/ Door Lock
Reply With Quote #139

Quote:
Originally Posted by fpsbrian View Post
...problem with bots, they spawn outside of the safe room...
Absolutely no idea why...
How about original (Atomyc's version) of this plugin ?
Same problem ?
There only thing that this plug do with bots is set sb_stop to 1 or 0.
Are you sure that this plug call an error ?

By the way. I'am tested this plug for 4 full versus game before release to public and never experienced any problems.

Last edited by Glide Loading; 12-21-2010 at 13:24.
Glide Loading is offline
fpsbrian
Senior Member
Join Date: Feb 2008
Old 12-22-2010 , 01:01   Re: [L4D] Loading Bug Removal/ Door Lock
Reply With Quote #140

It happened twice, both times was when we connected and there was only 7 people in the server, the bot spawns outside the safe room... but then we connected after a flash rage quit and it worked fine?
__________________
fpsbrian 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 04:01.


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