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

[L4D(2)] MultiSlots


Post New Thread Reply   
 
Thread Tools Display Modes
lippnc
Member
Join Date: Feb 2013
Old 08-09-2021 , 01:04   Re: [L4D(2)] MultiSlots
Reply With Quote #331

Here is a L4D/2 Improved Multislots version with all weapons available for choosing. Cleaned up chat and hint messages in concise English. Supporting plugin CreatSurvivorBot included as well with optional Test plugin.
Attached Files
File Type: sp Get Plugin or Get Source (l4d2_multislots.sp - 108 views - 28.7 KB)
File Type: sp Get Plugin or Get Source (CreateSurvivorBot.sp - 143 views - 3.1 KB)
File Type: sp Get Plugin or Get Source (CreateSurvivorBot_Test.sp - 59 views - 929 Bytes)
File Type: zip l4d2_multislots_v3.9h.zip (80.4 KB, 190 views)

Last edited by lippnc; 08-09-2021 at 01:05.
lippnc is offline
HarryPotter
Veteran Member
Join Date: Sep 2017
Location: Taiwan, Asia
Old 08-25-2021 , 10:18   Re: [L4D(2)] MultiSlots
Reply With Quote #332

MultiSlots Improved Version 4.0 (2021/8/25 )
- Merge Lippnc's Multislots v3.9h
- (L4D2) All weapons available for choosing.
- This plugin will not auto move new 5+ player to survivor team if he is already in infected team.
PHP Code:
// (L4D2) First slot weapon for new 5+ Survivor (1-Autoshot, 2-SPAS, 3-M16, 4-SCAR, 5-AK47, 6-SG552, 7-Mil Sniper, 8-AWP, 9-Scout, 10=Hunt Rif, 11=M60, 12=GL, 13-SMG, 14-Sil SMG, 15=MP5, 16-Pump Shot, 17=Chrome Shot, 18=Rand T1, 19=Rand T2, 20=Rand T3, 0=off)
// GL = Grenade Launcher
// Rand T3 = M60 or Grenade Launcher
l4d_multislots_firstweapon "19"

// (L4D2) // Second slot weapon for new 5+ Survivor (1- Dual Pistol, 2-Magnum, 3-Chainsaw, 4-Fry Pan, 5-Katana, 6-Shovel, 7-Golfclub, 8-Machete, 9-Cricket, 10=Fireaxe, 11=Knife, 12=Bball Bat, 13=Crowbar, 14=Pitchfork, 15=Guitar, 16=Random, 0=Only Pistol)
l4d_multislots_secondweapon "16" 
__________________

Last edited by HarryPotter; 08-25-2021 at 10:20.
HarryPotter is offline
Proaxel
Member
Join Date: Oct 2014
Old 09-12-2021 , 04:17   Re: [L4D(2)] MultiSlots
Reply With Quote #333

I am currently encountering a bug with this plugin where survivors joining mid-game may occasionally spawn at the starting safe room instead of at a survivor. They then often have to run a long distance to catch up to the rest of the team. I have yet to find a way to reproduce this bug consistently.

ABM did not have this issue, with that plugin survivors connecting mid-game always have their bot spawned on an existing survivor without fail. (Perhaps you can examine its source code?)

Other than this issue, the plugin seems to work very well! This seems to be the only major issue I've encountered, if it can be fixed it can be a great alternative to Multislots or ABM.
Proaxel is offline
HarryPotter
Veteran Member
Join Date: Sep 2017
Location: Taiwan, Asia
Old 09-12-2021 , 17:55   Re: [L4D(2)] MultiSlots
Reply With Quote #334

Quote:
Originally Posted by Proaxel View Post
I am currently encountering a bug with this plugin where survivors joining mid-game may occasionally spawn at the starting safe room instead of at a survivor. They then often have to run a long distance to catch up to the rest of the team. I have yet to find a way to reproduce this bug consistently.

ABM did not have this issue, with that plugin survivors connecting mid-game always have their bot spawned on an existing survivor without fail. (Perhaps you can examine its source code?)

Other than this issue, the plugin seems to work very well! This seems to be the only major issue I've encountered, if it can be fixed it can be a great alternative to Multislots or ABM.
send you pm
__________________
HarryPotter is offline
kevinracer
Member
Join Date: Dec 2009
Old 09-20-2021 , 01:57   Re: [L4D(2)] MultiSlots
Reply With Quote #335

Quote:
Originally Posted by HarryPotter View Post
MultiSlots Improved Version 4.0 (2021/8/25 )
- Merge Lippnc's Multislots v3.9h
- (L4D2) All weapons available for choosing.
- This plugin will not auto move new 5+ player to survivor team if he is already in infected team.
PHP Code:
// (L4D2) First slot weapon for new 5+ Survivor (1-Autoshot, 2-SPAS, 3-M16, 4-SCAR, 5-AK47, 6-SG552, 7-Mil Sniper, 8-AWP, 9-Scout, 10=Hunt Rif, 11=M60, 12=GL, 13-SMG, 14-Sil SMG, 15=MP5, 16-Pump Shot, 17=Chrome Shot, 18=Rand T1, 19=Rand T2, 20=Rand T3, 0=off)
// GL = Grenade Launcher
// Rand T3 = M60 or Grenade Launcher
l4d_multislots_firstweapon "19"

// (L4D2) // Second slot weapon for new 5+ Survivor (1- Dual Pistol, 2-Magnum, 3-Chainsaw, 4-Fry Pan, 5-Katana, 6-Shovel, 7-Golfclub, 8-Machete, 9-Cricket, 10=Fireaxe, 11=Knife, 12=Bball Bat, 13=Crowbar, 14=Pitchfork, 15=Guitar, 16=Random, 0=Only Pistol)
l4d_multislots_secondweapon "16" 
I have a question about this cvar:
Quote:
// When 5+ new player joins the server but no any bot can be taken over, the player will appear as a dead survivor if survivors have left start safe area for at least X seconds. (0=Always spawn alive bot for new player)
l4d_multislots_alive_bot_time "100"
If survivors join after out of 100 seconds, i use !muladdbot but bot will be kicked immediately.
How i can fix this?
kevinracer is offline
HarryPotter
Veteran Member
Join Date: Sep 2017
Location: Taiwan, Asia
Old 09-20-2021 , 11:07   Re: [L4D(2)] MultiSlots
Reply With Quote #336

Quote:
Originally Posted by kevinracer View Post
I have a question about this cvar:

If survivors join after out of 100 seconds, i use !muladdbot but bot will be kicked immediately.
How i can fix this?
PHP Code:
// Kick AI Survivor bots if numbers of survivors has exceeded the certain value. (does not kick real player, minimum is 4)
l4d_multislots_max_survivors "4" 
__________________
HarryPotter is offline
kevinracer
Member
Join Date: Dec 2009
Old 09-21-2021 , 01:27   Re: [L4D(2)] MultiSlots
Reply With Quote #337

Quote:
Originally Posted by HarryPotter View Post
PHP Code:
// Kick AI Survivor bots if numbers of survivors has exceeded the certain value. (does not kick real player, minimum is 4)
l4d_multislots_max_survivors "4" 
If i change this to 8, i will got 8 (Bot+Player).
I mean default is 4, if someone come but out of time (100 seconds example), admin can spawn player late join.
kevinracer is offline
HarryPotter
Veteran Member
Join Date: Sep 2017
Location: Taiwan, Asia
Old 09-21-2021 , 01:57   Re: [L4D(2)] MultiSlots
Reply With Quote #338

Quote:
Originally Posted by kevinracer View Post
If i change this to 8, i will got 8 (Bot+Player).
I mean default is 4, if someone come but out of time (100 seconds example), admin can spawn player late join.
No, either you extend the time (100 seconds) or late player joins a dead survivor.
__________________

Last edited by HarryPotter; 09-21-2021 at 01:57.
HarryPotter is offline
kevinracer
Member
Join Date: Dec 2009
Old 09-21-2021 , 02:04   Re: [L4D(2)] MultiSlots
Reply With Quote #339

Quote:
Originally Posted by HarryPotter View Post
No, either you extend the time (100 seconds) or late player joins a dead survivor.
Ok thanks you so much, i will extend the time to 5 minutes.
kevinracer is offline
ururu
Junior Member
Join Date: Dec 2020
Location: japan
Old 09-23-2021 , 05:13   Re: [L4D(2)] MultiSlots
Reply With Quote #340

there are only 3 bots at the start(and me, so 4players even if i set max_survivors = 10).
is this behavior the default?
i wish i could control the number of bots spawned at the start. (as i posted before)
ururu is offline
Reply



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 08:03.


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