1.8.15.3 - Changes
- !join now makes the player join a random team in versus. To join survivors, players should use !survivor
- Added autojoin cvar l4d_autojoin. On 2 new players in spectacle mode will autojoin a team, on 1 it will show team menu, 0 disables it. (default 2)
- Added l4d_management cvar. On 3 it will enable both teammenu & commands, on 2 it enables commands only, on 1 it only enable !join, !survivor and !infected, on 0 it disables all commands (default 3). Useful if you developed an alternative way to manage teams.
- Fixed bug where survivor_limit & z_max_player_zombies wouldn't be updated properly.
- Fixed bug where idle players wouldn't automatically take control of their bot at map end
- Added protection against rare invisible & invincible survivor bug
- Fixed error message if "say" is used in server console
1.8.14 - Changes:
- Rewrote l4d_versus_si_more option. Now respawn rate for bots in versus should be comparable to human respawn times.
1.8.13.1 - Changes:
- director_afk_timeout obeyed in versus. Depending on l4d_versus_afk, an afk player either goes idle (1), becomes a spectator (2), or is kicked (3).
- fixed crash if left 4 downtown was not installed
1.8.12 - Changes:
- Fixed bug where director_si_more would spawn bots before the survivors left the safehouse for the second round
- Fixed idle bug, now survivors should correctly go idle.
- The !afk command always put you in idle mode for survivors, even in versus
1.8.11 - Changes:
- Fixed director_si_more bug where SI bots would spawn dead by giving them a very brief (.1 sec) invulnerability period when they spawn
- Made director_si_more 1 (active) by default, as it now works really well
- In coop, extra survivors now spawns with 1 sec invulnerability
- In l4d2 versus, z_versus_*_limit is now used instead of z_*_limit (ex: z_versus_hunter_limit instead of z_hunter_limit)
1.8.10 - Changes
- director_si_more can now be set to a fractional number. For example, director_si_more set to .5 will give 1 extra SI every 2 extra survivors in coop
- fixed bug where wrong mode was detected if mode was changed after server was created
- updated code to new ConVar syntax
- renamed "director_ci_spmulti" & "director_si_spmore" to "director_ci_multi" & "director_si_more"
- updated infected bot counter code from Marcus. If l4d_versus_si_more is set to 1, incomplete infected teams in versus/scavenge mode will be filled by special infected bots. Unfortunately it's not quite perfected yet - infected will often refuse to spawn due to no spawn point detected, and will sometimes die on arrival. It seems like having high individual special infected limits (z_hunter_limit, etc) help prevent the bots from dying.
1.8.9 - Changes
- FINALLY fixed bug that prevented MaxSpecials from being changed. director_si_spmore should now work properly.
- FindDirVar native errors removed
1.8.8.3 - Changes:
- The smg mp5 (international weapon) is now properly listed as a tier 1 weapons
- Team menu will properly show # of survivors when some are idle
- Team menu won't show the maximum number of infected bots if the value can't be guaranteed
- Additional protections against "Native is not bound" error
- Autojoin will now wait until all other survivors have spawned before activating
- Left mouse click will make survivors rejoin the game if they are spectators
- Improved code that stores steam ids
- Fixed bug where players who joined game for first time wouldn't get spawned alive if they had joined the server in the past
- Plugin now gives Assault Rifles instead of Desert Rifles, to prevent crash on L4D1.
- Properly turns off Left 4 Downtown 2 features if Left 4 Downtown 2 is unloaded or crashes.
- Minor code cleanup
1.8.7 - Changes:
- Fixed idle bug. Going idle no longer kicks the bot you were playing as.
- Joining a game in progress while no bots are available now spawns you with either double pistols, a smg, or a desert rifle,
depending on the quality of the gear of the other survivors
- If you become a spectator in coop, pressing any key should get you back in the game
- Fixed "L4D_LobbyIsReserved()" deprecated error
1.8.6 - Changes:
- Survivors should now automatically join the game after connecting to the server, even if no bots are available. The !join command should no longer be needed
- New cvar l4d_respawn_on_join, if 1, allows new survivors to join alive instead of dead if no bots are available.
-
Survivors can't abuse this system by rejoining the server (or spectating then rejoining the survivors) to be revived. The plugin keeps track of the steam ids and will spawn these players dead
1.8.5.2 - Changes:
- Fixed bug where the difficulty wouldn't go back to normal if survivors dropped down back to 4
- Improved PrintToConsole messages slightly
1.8.5.1 - Changes:
- Minor bug related to l4dt2 natives corrected
- Updated code to new Handle syntax
- A few functions are no longer public
1.8.5.0 - Changes:
- Team menu now shows the correct number of infected bots
- New auto-difficulty option! If on, during coop more special infected will spawn if you have more than 4 survivors (check cvar director_si_spmore)
- Auto-difficulty now split into 4 variables (Tank HP, SI HP, infected spawn rate, and SI bot cap)
1.8.4.0 - Changes:
- Team menu now hides infected information (health of infected, bot infected types, etc.) to survivors
- Re-enabled Marcus101RR's bot counter for L4D1 versus
- Lobby now only unreserved if full
1.8.3.0 - Changes:
- Added back support for lobby unreserve via left 4 downtown 1/2
- Updated code to conform to new sourcepawn syntax
1.8.2.0 - Changes:
- Made code less sloppy as per Spirit_12's suggestion
- Added Marcus's auto director difficulty update
- Improved console messages when bots are added / removed
- Made !createplayer an admin command, to prevent an exploit where a bot is created and then kicked for its stuff. Players should use !join to join instead.
1.8.1.0 - Changes:
- Fixed bug where extra survivor bots wouldn't be kicked if l4d_survivor_limit < 4.
- Added check after spawning bots.
1.8.0.0 - Changes:
- Made code more readable by adding comments & making subsections
- Added support for less than 4 survivors (l4d_survivor_limit < 4)
- Fixed visual glitch during opening of some maps (such as c1m1_hotel)
- Players now can't join infected in survivor-only gamemodes (coop, realism, survival, and some mutations)
- Hopefully fixed bug where too many bots were created
1.7.3.1 - Changes:
- Show the proper l4d_infected_limit (instead of l4d_survivor_limit) for the infected when opening the teammenu
- Properly remove unwanted bots in versus mode
1.7.3.0 - Changes:
- Readded support for l4d_XtraHP (enable/disable bonus medkits) and l4d_tank_hpmulti (Tank HP multiplier) cvars, which were inexplicably removed
- Fixed "The Infected Team is not available in coop" error message when playing Versus.
- Removed strange bug/exploit where some people would get renamed to "Player".