View Single Post
Author Message
V10
Senior Member
Join Date: Jan 2010
Location: Russia
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, 4304 views)
File Type: smx l4d2_InfectedFixSpawn.smx (6.9 KB, 4514 views)
File Type: sp Get Plugin or Get Source (l4d2_InfectedFixSpawn.sp - 2392 views - 5.7 KB)

Last edited by V10; 08-04-2013 at 06:41. Reason: version update
V10 is offline