AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [L4D(2)] MultiSlots (https://forums.alliedmods.net/showthread.php?t=132408)

mi123645 07-14-2010 22:35

[L4D(2)] MultiSlots
 
2 Attachment(s)
Another 4+ Survivor plugin? Don't we have numerous plugins that already do the job?

The main difference between this plugin and the rest is that players can spawn in the middle of maps without having to be rescued from a closet. It's also compatible with all gamemodes.

When a player joins, a bot is automatically spawned for a player to take over. When a player leaves, the bot is then kicked to prevent over-saturation of bots on the map.

This plugin still requires either the l4dtoolz metamod plugin or Left 4 Downtown extension for getting additional players into the server.

Best used with the AFK Fix.

This plugin was originally made by cigs (SwiftReal) and I did some edits here and there. Since cigs is unable to support it, I have decided to support this plugin.

To Install: Place the the plugin file (l4dmultislots.smx) in the sourcemod\plugins folder and the l4dmultislots.txt file in the sourcemod\gamedata folder. Both files must be installed for the plugin to work.

Commands:

sm_addbot: (requires admin kick flag) Attempt to add and teleport a survivor bot

sm_join: Attempt to join the Survivor team

Cvars:

l4d_multislots_max_survivors (How many survivors allowed?)
l4d_multislots_max_infected (How many infected allowed?)
l4d_multislots_kickafk (Kick idle players? (0 = no 1 = player 5 min, admins kickimmune 2 = player 5 min, admins 10 min))

mikhdenis 07-15-2010 01:29

Re: [L4D(2)] MultiSlots
 
May be kill bot be better,not kick?
Code:

L 07/15/2010 - 08:19:39: SourceMod error session started
L 07/15/2010 - 08:19:39: Info (map "c1m1_hotel") (file "errors_20100715.log")
L 07/15/2010 - 08:19:39: [SM] Native "IsClientConnected" reported: Client index 0 is invalid
L 07/15/2010 - 08:19:39: [SM] Displaying call stack trace for plugin "l4dafkfix.smx":
L 07/15/2010 - 08:19:39: [SM]  [0]  Line 79, D:\left4dead2VS\left4dead2\left4dead2\addons\sourcemod\scripting\l4dafkfix.sp::Event_BotReplacedPlayer()
L 07/15/2010 - 08:19:40: [SM] Error parsing gameconfig file "D:\left4dead2VS\left4dead2\left4dead2\addons\sourcemod\gamedata\l4dmultislots.txt":
L 07/15/2010 - 08:19:40: [SM] Error 1 on line 0, col 0: Stream failed to open
L 07/15/2010 - 08:19:40: [SM] Native "LoadGameConfigFile" reported: Unable to open l4dmultislots: File could not be opened: Не удается найти указанный файл.


L 07/15/2010 - 08:19:40: [SM] Displaying call stack trace for plugin "l4dmultislots.smx":
L 07/15/2010 - 08:19:40: [SM]  [0]  Line 517, D:\left4dead2VS\left4dead2\left4dead2\addons\sourcemod\scripting\l4dmultislots.sp::TakeOverBot()
L 07/15/2010 - 08:19:40: [SM]  [1]  Line 166, D:\left4dead2VS\left4dead2\left4dead2\addons\sourcemod\scripting\l4dmultislots.sp::JoinTeam()
L 07/15/2010 - 08:19:40: [SM]  [2]  Line 405, D:\left4dead2VS\left4dead2\left4dead2\addons\sourcemod\scripting\l4dmultislots.sp::Timer_AutoJoinTeam()
L 07/15/2010 - 08:19:41: [SM] Native "SDKCall" reported: Invalid Handle 0 (error 4)
L 07/15/2010 - 08:19:41: [SM] Displaying call stack trace for plugin "l4dmultislots.smx":
L 07/15/2010 - 08:19:41: [SM]  [0]  Line 544, D:\left4dead2VS\left4dead2\left4dead2\addons\sourcemod\scripting\l4dmultislots.sp::TakeOverBot()


mi123645 07-15-2010 01:38

Re: [L4D(2)] MultiSlots
 
Gamedata file uploaded, that should fix the problem.

mikhdenis 07-15-2010 01:54

Re: [L4D(2)] MultiSlots
 
Gamedata file not fix the problem
SourceMod Version: 1.4.0-dev
Code:

Displaying call stack trace for plugin "l4dmultislots.smx":
L 07/15/2010 - 08:52:36: [SM]  [0]  Line 791, D:\left4dead2VS\left4dead2\left4dead2\addons\sourcemod\scripting\l4dmultislots.sp::HasIdlePlayer()
L 07/15/2010 - 08:52:36: [SM]  [1]  Line 675, D:\left4dead2VS\left4dead2\left4dead2\addons\sourcemod\scripting\l4dmultislots.sp::TotalFreeBots()
L 07/15/2010 - 08:52:36: [SM]  [2]  Line 159, D:\left4dead2VS\left4dead2\left4dead2\addons\sourcemod\scripting\l4dmultislots.sp::JoinTeam()
L 07/15/2010 - 08:52:36: [SM]  [3]  Line 405, D:\left4dead2VS\left4dead2\left4dead2\addons\sourcemod\scripting\l4dmultislots.sp::Timer_AutoJoinTeam()
L 07/15/2010 - 08:52:37: [SM] Native "GetEntProp" reported: Property "m_humanSpectatorUserID" not found (entity 6/survivorbot)


mi123645 07-15-2010 12:51

Re: [L4D(2)] MultiSlots
 
Will get around to fixing that, thanks for the heads up.

leonil7 07-15-2010 13:24

Re: [L4D(2)] MultiSlots
 
hi mi, when a new player joins in, will he/she spawn in the start safe room? this is what was annoying in the bebops plugin, esp if current players are already near the end of the map, or already playing the finale.

i don't mind spawning in a closet near the players, but not back in the start of the game.

mi123645 07-15-2010 14:19

Re: [L4D(2)] MultiSlots
 
Quote:

Originally Posted by leonil7 (Post 1240332)
hi mi, when a new player joins in, will he/she spawn in the start safe room? this is what was annoying in the bebops plugin, esp if current players are already near the end of the map, or already playing the finale.

i don't mind spawning in a closet near the players, but not back in the start of the game.

No, this will teleport a new player to another random player on the map.

delirium_trigger 07-15-2010 21:58

Re: [L4D(2)] MultiSlots
 
Seems to be working here but with a minor glitch. It seems that every single person that connects turns into Nick lol. This gets very confusing. I am not sure if its only Nick or a random character but every person that connects becomes the same person as the last.

EDIT: Its not a random character, its always Nick. Even when I go click Take a Break, I turn back to Nick (even if I used !csm to change to somebody else).

This needs to be fixed it is very confusing and messes up the player list.

It doesn't happen every time though.

sirphr 07-15-2010 22:46

Re: [L4D(2)] MultiSlots
 
That tells me not to get this yet till this shit is fixed.

mi123645 07-16-2010 12:36

Re: [L4D(2)] MultiSlots
 
Quote:

Originally Posted by delirium_trigger (Post 1240904)
Seems to be working here but with a minor glitch. It seems that every single person that connects turns into Nick lol. This gets very confusing. I am not sure if its only Nick or a random character but every person that connects becomes the same person as the last.

EDIT: Its not a random character, its always Nick. Even when I go click Take a Break, I turn back to Nick (even if I used !csm to change to somebody else).

This needs to be fixed it is very confusing and messes up the player list.

It doesn't happen every time though.

It was caused by the AFK fix, be sure to download 1.1 which fixes it.


All times are GMT -4. The time now is 03:59.

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