Raised This Month: $154 Target: $400
 38% 

[L4D2] Witch Precache


Post New Thread Reply   
 
Thread Tools Display Modes
Author
CanadaRox
Member
Join Date: Dec 2009
Plugin ID:
1629
Plugin Version:
Plugin Category:
General Purpose
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
    39 
    Plugin Description:
    If the witch/witch_bride aren't precached, it precaches to prevent crashing if a player or plugin uses "z_spawn witch" or "z_spawn witch_bride".
    Old 04-29-2010 , 19:15   [L4D2] Witch Precache
    Reply With Quote #1

    Description:
    I was playing on a 10v10 server with an option to buy infected. The map was c6m1_riverbank and I tried to purchase a witch causing the server to crash. I found that what caused the crash was z_spawn witch, because the model was not precached.
    What this plugin does is checks if the witch model and witch bride model are precached. If they aren't, it precaches to prevent crashing if a player or plugin uses "z_spawn witch" or "z_spawn witch_bride".

    CVARs:
    l4d2_witchprecache_enable 1/0 - Toggle precaching of witch models to prevent crashes caused by z_spawn witch/witch_bride (default: 1)

    Changelog:
    1.0
    - Initial release
    Attached Files
    File Type: sp Get Plugin or Get Source (l4d2witchprecache.sp - 2734 views - 1.0 KB)

    Last edited by psychonic; 05-11-2010 at 11:35. Reason: added public cvar to post header
    CanadaRox is offline
    chris1701
    Senior Member
    Join Date: Nov 2009
    Old 04-29-2010 , 21:34   Re: [L4D2] Witch Precache
    Reply With Quote #2

    is it related to the problem of cannot load the error.mdl?
    chris1701 is offline
    alexip121093
    Senior Member
    Join Date: Dec 2009
    Location: Hong Kong
    Old 04-29-2010 , 23:28   Re: [L4D2] Witch Precache
    Reply With Quote #3

    Quote:
    Originally Posted by chris1701 View Post
    is it related to the problem of cannot load the error.mdl?
    No ,the error.mdl relates to 2.0.1.5 and it has conflict with L4D1 maps
    This plugin just help the server precache witch model to prevent crash since the passing do not do it for you
    alexip121093 is offline
    Send a message via MSN to alexip121093
    alexip121093
    Senior Member
    Join Date: Dec 2009
    Location: Hong Kong
    Old 04-29-2010 , 23:30   Re: [L4D2] Witch Precache
    Reply With Quote #4

    Quote:
    Originally Posted by CanadaRox View Post
    Description:
    I was playing on a 10v10 server with an option to buy infected. The map was c6m1_waterfront and I tried to purchase a witch causing the server to crash. I found that what caused the crash was z_spawn witch, because the model was not precached.
    What this plugin does is checks if the witch model and witch bride model are precached. If they aren't, it precaches to prevent crashing if a player or plugin uses "z_spawn witch" or "z_spawn witch_bride".

    CVARs:
    l4d2_witchprecache_enable 1/0 - Toggle precaching of witch models to prevent crashes caused by z_spawn witch/witch_bride (default: 1)

    Changelog:
    1.0
    - Initial release
    In addition female boomer model also need to be precached in The Passing
    alexip121093 is offline
    Send a message via MSN to alexip121093
    narutoj
    Junior Member
    Join Date: Jul 2007
    Old 04-30-2010 , 03:56   Re: [L4D2] Witch Precache
    Reply With Quote #5

    Good job man! I can double Witch again in c6m1_riverbank
    Thank's~~~

    Last edited by narutoj; 05-01-2010 at 07:10.
    narutoj is offline
    Skorpion1976
    Veteran Member
    Join Date: Jun 2009
    Location: Austria
    Old 04-30-2010 , 13:49   Re: [L4D2] Witch Precache
    Reply With Quote #6

    Oh finally, The Passing is not crashing anymore. Thanks !!! But: What is c6m1_waterfront? Are you talking about c5m1_waterfront or c6m1 the passing ?

    Last edited by Skorpion1976; 04-30-2010 at 17:53.
    Skorpion1976 is offline
    jamsessionein
    Junior Member
    Join Date: Oct 2009
    Old 04-30-2010 , 22:06   Re: [L4D2] Witch Precache
    Reply With Quote #7

    Thanks for this.
    jamsessionein is offline
    CanadaRox
    Member
    Join Date: Dec 2009
    Old 04-30-2010 , 22:34   Re: [L4D2] Witch Precache
    Reply With Quote #8

    Quote:
    Originally Posted by Skorpion1976 View Post
    Oh finally, The Passing is not crashing anymore. Thanks !!! But: What is c6m1_waterfront? Are you talking about c5m1_waterfront or c6m1 the passing ?
    Derp, I meant c6m1_riverbank. Fixing it now.

    Quote:
    Originally Posted by alexip121093 View Post
    In addition female boomer model also need to be precached in The Passing
    Someone told me the audio for the female boomer doesn't work and thats why the female boomers don't spawn. I'm not sure if there is any truth to this, but even with the female boomer chance at 100% it still spawns regular ones so I think there is something other than a precached model causing male-only boomers.
    CanadaRox is offline
    chris1701
    Senior Member
    Join Date: Nov 2009
    Old 04-30-2010 , 22:40   Re: [L4D2] Witch Precache
    Reply With Quote #9

    Quote:
    Originally Posted by alexip121093 View Post
    No ,the error.mdl relates to 2.0.1.5 and it has conflict with L4D1 maps
    This plugin just help the server precache witch model to prevent crash since the passing do not do it for you

    That means I need to wait unofficial update for l4d1maps in order to letting l4d1map to support such models?
    chris1701 is offline
    kwski43
    Senior Member
    Join Date: Mar 2009
    Old 05-01-2010 , 03:45   Re: [L4D2] Witch Precache
    Reply With Quote #10

    You can also add precache_l4d_survivors 1 option and some others. And thanks for this.
    __________________
    kwski43 is offline
    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 02:39.


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