Raised This Month: $51 Target: $400
 12% 

[L4D(2)] MultiSlots


Post New Thread Reply   
 
Thread Tools Display Modes
JustMadMan
Member
Join Date: Feb 2023
Old 01-25-2024 , 14:10   Re: [L4D(2)] MultiSlots
Reply With Quote #431

Quote:
Originally Posted by HarryPotter View Post
https://github.com/fbef0102/L4D1_2-P...s.sp#L162-L163

PHP Code:
hRespawnHP     CreateConVar("l4d_multislots_respawnhp""150""Amount of HP a new 5+ Survivor will spawn with (Def 80)"CVAR_FLAGStrue0.0true1000.0);
hRespawnBuffHP CreateConVar("l4d_multislots_respawnbuffhp""50""Amount of buffer HP a new 5+ Survivor will spawn with (Def 20)"CVAR_FLAGStrue0.0true1000.0); 
Hello..I used your MultiSlots version,after lose round this happened
Attached Thumbnails
Click image for larger version

Name:	20240125220533_1.jpg
Views:	135
Size:	96.6 KB
ID:	202967  
JustMadMan is offline
HarryPotter
Veteran Member
Join Date: Sep 2017
Location: Taiwan, Asia
Old 01-25-2024 , 17:00   Re: [L4D(2)] MultiSlots
Reply With Quote #432

Quote:
Originally Posted by JustMadMan View Post
Hello..I used your MultiSlots version,after lose round this happened
https://forums.alliedmods.net/showpo...6&postcount=12
__________________
HarryPotter is offline
Eocene
Junior Member
Join Date: Aug 2021
Old 02-09-2024 , 06:10   Re: [L4D(2)] MultiSlots
Reply With Quote #433

Hi,



I used ABM for years, but it was old and unmaintained. A couple of days ago it started crashing the server whenever a new player would join. So I replaced it with MultiSlots, and it works well.

Just a request.

The l4d_multislots_max_survivors convar has a minimum value of 4. This means that if I start a new campaign alone, MultiSlots will create 3 bots. We would prefer to play without any bots whatsoever, so could you make the minimum value 1?

Last edited by Eocene; 02-09-2024 at 06:10.
Eocene is offline
NekoYa4r
Junior Member
Join Date: Mar 2020
Old 02-09-2024 , 07:25   Re: [L4D(2)] MultiSlots
Reply With Quote #434

Quote:
Originally Posted by Eocene View Post
Hi,



I used ABM for years, but it was old and unmaintained. A couple of days ago it started crashing the server whenever a new player would join. So I replaced it with MultiSlots, and it works well.

Just a request.

The l4d_multislots_max_survivors convar has a minimum value of 4. This means that if I start a new campaign alone, MultiSlots will create 3 bots. We would prefer to play without any bots whatsoever, so could you make the minimum value 1?
you can just use kick command, it's default command
__________________
Sorry for my bad english
NekoYa4r is offline
HarryPotter
Veteran Member
Join Date: Sep 2017
Location: Taiwan, Asia
Old 02-09-2024 , 08:06   Re: [L4D(2)] MultiSlots
Reply With Quote #435

Quote:
Originally Posted by Eocene View Post
Hi,



I used ABM for years, but it was old and unmaintained. A couple of days ago it started crashing the server whenever a new player would join. So I replaced it with MultiSlots, and it works well.

Just a request.

The l4d_multislots_max_survivors convar has a minimum value of 4. This means that if I start a new campaign alone, MultiSlots will create 3 bots. We would prefer to play without any bots whatsoever, so could you make the minimum value 1?
I didn't understand, if you want to play single player, then don't use multislots

PHP Code:
sm_cvar survivor_limit 1 
__________________

Last edited by HarryPotter; 02-09-2024 at 08:08.
HarryPotter is offline
Eocene
Junior Member
Join Date: Aug 2021
Old 02-09-2024 , 09:10   Re: [L4D(2)] MultiSlots
Reply With Quote #436

I need MultiSlots because it's a 16 player server.

But I don't want there to be bots, only humans.

So if we start with 3 players, I don't want MultiSlots to create a bot, only when another player joins so it can be taken over.

As NekoYa4r suggested, yes, I can kick the bots in the beginning. But if we are with less than 5 players and someone leaves, then that character will turn into a bot.
If the player leaves, I want his character to disappear immediately while dropping his equipment, regardless of player count.

So the only thing I would need is simply to have the minimum value of l4d_multislots_max_survivors be 1, not 4.

Last edited by Eocene; 02-09-2024 at 09:13.
Eocene is offline
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 02-09-2024 , 10:05   Re: [L4D(2)] MultiSlots
Reply With Quote #437

Quote:
Originally Posted by Eocene View Post
So the only thing I would need is simply to have the minimum value of l4d_multislots_max_survivors be 1, not 4.
Very simple (in theory), take the .sp file and change the value at convar creation, from "4.0" to "1.0" and recompile.

search for "true, 4.0, true, 32.0"

Note: you may also have to change some "< 4" checks too.
__________________

Last edited by Marttt; 02-09-2024 at 10:07.
Marttt 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 23:07.


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