AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [L4D2] Infected Fix Spawn (https://forums.alliedmods.net/showthread.php?t=114954)

V10 01-09-2010 00:52

[L4D2] Infected Fix Spawn
 
3 Attachment(s)
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

Jоnny 01-09-2010 01:25

Re: [L4D2] Infected Fix Spawn
 
Thats what i need!
Thank you!

V10 01-09-2010 01:58

Re: [L4D2] Infected Fix Spawn
 
version update

Visual77 01-09-2010 03:15

Re: [L4D2] Infected Fix Spawn
 
Thanks. I had problems where it always spawned you as spitter or boomer 5-6 times in a row.

0zon 01-09-2010 10:16

Re: [L4D2] Infected Fix Spawn
 
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()


Visual77 01-09-2010 10:32

Re: [L4D2] Infected Fix Spawn
 
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::DelayetChangeClass( )
L 01/09/2010 - 16:33:02: Error log file session closed.

Bongholio 01-10-2010 05:42

Re: [L4D2] Infected Fix Spawn
 
I get this not running 8 (4)
running coop campaign
infected bots

V10 01-11-2010 09:39

Re: [L4D2] Infected Fix Spawn
 
Quote:

Originally Posted by Visual77 (Post 1049135)
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.

Visual77 01-11-2010 10:12

Re: [L4D2] Infected Fix Spawn
 
Update looks promising. Thanks :up:
Edit, did you upload the wrong version? The version posted is still 0.3

V10 01-11-2010 14:42

Re: [L4D2] Infected Fix Spawn
 
Quote:

Originally Posted by Visual77 (Post 1051510)
Update looks promising. Thanks :up:
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.


All times are GMT -4. The time now is 13:51.

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