Raised This Month: $32 Target: $400
 8% 

[L4D2] Infected Fix Spawn


Post New Thread Reply   
 
Thread Tools Display Modes
Author
V10
Senior Member
Join Date: Jan 2010
Location: Russia
Plugin ID:
1391
Plugin Version:
1.3
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
    6 
    Plugin Description:
    Fix bug when infected spawn always in same class (on servers higher than 8 users).
    Old 01-09-2010 , 00:52   [L4D2] Infected Fix Spawn
    Reply With Quote #1

    Fix bug when infected spawn always in same class (on servers higher than 8 users).
    Check if new zombie spawned in same class, then change class.

    Notice: Please put InfectedAPI.txt into addons\sourcemod\gamedata

    Cvars:
    l4d2_inffixspawn_version - InfectedFixSpawn version number
    sm_inffixspawn_wait - Plugin wait(no actions) this value seconds from round start. (def:5)

    Commands:
    sm_infectedchange - change infected class (flag root)


    ChangeLog:
    1.3.1
    - Recompiled with new version of Infected API version 1.6.1
    1.2 (for game patch 2.1.2.5 or later)
    - Fixed gamedata signatures and offsets for 2.1.2.5 patch.
    1.2
    - Use Infected API version 1.6. Speedup optimizations in InfectedSpawnApi.
    1.1
    - Fix IsPlayerAlive after ghost spawn (DLC bug)
    1.0
    - Command sm_infectedchange allowed to use anytime with admin flag ROOT
    - Plugin name in plugins list corrected
    - Use Infected API version 1.5
    - Fix bug when plugin don't works correctly sometimes
    0.9
    - Fixed debug command sm_infectedchange
    - Fix bug when plugin don't works correctly

    0.8
    - Use Infected API version 1.4
    - Command sm_infectedchange compilation fixed
    - Simple fix compatiblity
    - Fixed MAXPLAYERS to MaxClients
    0.7
    - Added cvar with version number. (l4d2_inffixspawn_version)
    - Added cvar for plugin wait(no actions) x seconds from round start. (sm_inffixspawn_wait)
    0.6
    - Infected_mm no needed now
    - All plugin code rewrited.
    - All bugs fixed.
    - Use Infected API version 1.3
    0.5
    - Added debug log to file
    0.4
    - Use Infected API version 1.2
    - Added cheking infected on finales
    - Added hard change class if director can't give another class more 5 times
    - Fixed bug with l4dtoolz and sv_force_normal_respawn (thanks to Visual77)
    - Added library for spawn ghost in finale without l4d2toolz (not required)
    0.3
    - Fixed known bugs
    - Temporary infected not checked in finales
    0.2
    - Fix bug at round_end
    0.1
    - Initial release.

    Require Infected Spawn API version 1.6.1 to compile


    ---------------------------------------------------------------------
    See also other my extensions and plugins fixes 8+ bugs:
    - [L4D2] Infected Fix Spawn
    - [L4D2] Defibrillator Bug Fix
    - [L4D2] Upgrade packs BUG FIX
    - [L4D2] 8+ players Bug Fixes
    Attached Files
    File Type: txt InfectedAPI.txt (1.6 KB, 4297 views)
    File Type: smx l4d2_InfectedFixSpawn.smx (6.9 KB, 4502 views)
    File Type: sp Get Plugin or Get Source (l4d2_InfectedFixSpawn.sp - 2388 views - 5.7 KB)

    Last edited by V10; 08-04-2013 at 06:41. Reason: version update
    V10 is offline
    Jоnny
    Senior Member
    Join Date: Jun 2007
    Old 01-09-2010 , 01:25   Re: [L4D2] Infected Fix Spawn
    Reply With Quote #2

    Thats what i need!
    Thank you!
    Jоnny is offline
    V10
    Senior Member
    Join Date: Jan 2010
    Location: Russia
    Old 01-09-2010 , 01:58   Re: [L4D2] Infected Fix Spawn
    Reply With Quote #3

    version update
    V10 is offline
    Visual77
    Veteran Member
    Join Date: Jan 2009
    Old 01-09-2010 , 03:15   Re: [L4D2] Infected Fix Spawn
    Reply With Quote #4

    Thanks. I had problems where it always spawned you as spitter or boomer 5-6 times in a row.
    Visual77 is offline
    0zon
    Junior Member
    Join Date: Oct 2009
    Old 01-09-2010 , 10:16   Re: [L4D2] Infected Fix Spawn
    Reply With Quote #5

    Code:
    L 01/09/2010 - 17:59:33: [SM] Native "GetEntProp" reported: Entity 18 (18) is invalid
    L 01/09/2010 - 17:59:33: [SM] Displaying call stack trace for plugin "l4d2_InfectedFixSpawn.smx":
    L 01/09/2010 - 17:59:33: [SM]   [0]  Line 109, /home/groups/alliedmodders/forums/files/6/7/2/8/5/56959.attach::DelayetChangeClass()
    0zon is offline
    Visual77
    Veteran Member
    Join Date: Jan 2009
    Old 01-09-2010 , 10:32   Re: [L4D2] Infected Fix Spawn
    Reply With Quote #6

    I can report a bug. If you spawn ghosted right on top of 1 survivor or beside one (I'm using ghost spawn on finales) and it's the 2nd time you spawn as a boomer, it tries to switch you to another infected, but it seems to get stuck for a couple of seconds.

    For instanse, if you are a boomer and the plugin wants to switch you, you see yourself spawn as boomer 5 times inside one of the survivors. As soon as the survivor has moved, it spawns you as a hunter on the floor. It seems like there is a problem if you spawn right inside a walking survivor. The spawn animation will repeat itself. It's very hard to explain. Maybe this error code will help.

    Edit: Got the same problem with v0.3 if you spawn inside a survivor. This is on all maps, not just finales.

    Quote:
    L 01/09/2010 - 16:29:10: SourceMod error session started
    L 01/09/2010 - 16:29:10: Info (map "c1m4_atrium") (file "errors_20100109.log")
    L 01/09/2010 - 16:29:10: [SM] Native "GetEntProp" reported: Entity 10 (10) is invalid
    L 01/09/2010 - 16:29:10: [SM] Displaying call stack trace for plugin "l4d2_InfectedFixSpawn.smx":
    L 01/09/2010 - 16:29:10: [SM] [0] Line 109, l4d2_InfectedFixSpawn.sp:elayetChangeClass( )
    L 01/09/2010 - 163:02: Error log file session closed.

    Last edited by Visual77; 01-09-2010 at 13:03.
    Visual77 is offline
    Bongholio
    Senior Member
    Join Date: Sep 2009
    Old 01-10-2010 , 05:42   Re: [L4D2] Infected Fix Spawn
    Reply With Quote #7

    I get this not running 8 (4)
    running coop campaign
    infected bots
    Bongholio is offline
    V10
    Senior Member
    Join Date: Jan 2010
    Location: Russia
    Old 01-11-2010 , 09:39   Re: [L4D2] Infected Fix Spawn
    Reply With Quote #8

    Quote:
    Originally Posted by Visual77 View Post
    Edit: Got the same problem with v0.3 if you spawn inside a survivor. This is on all maps, not just finales.
    I think bug fixed, but still need to check.
    V10 is offline
    Visual77
    Veteran Member
    Join Date: Jan 2009
    Old 01-11-2010 , 10:12   Re: [L4D2] Infected Fix Spawn
    Reply With Quote #9

    Update looks promising. Thanks
    Edit, did you upload the wrong version? The version posted is still 0.3

    Last edited by Visual77; 01-11-2010 at 13:43.
    Visual77 is offline
    V10
    Senior Member
    Join Date: Jan 2010
    Location: Russia
    Old 01-11-2010 , 14:42   Re: [L4D2] Infected Fix Spawn
    Reply With Quote #10

    Quote:
    Originally Posted by Visual77 View Post
    Update looks promising. Thanks
    Edit, did you upload the wrong version? The version posted is still 0.3
    I forgot to change the version number in the code
    I fix it.
    V10 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 07:31.


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