Raised This Month: $319 Target: $400
 79%   Almost there!

left 4 dead 2 all 8 survivors versus offline


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
BrutalFoX
Junior Member
Join Date: Jan 2020
Old 01-13-2020 , 09:50   left 4 dead 2 all 8 survivors versus offline
Reply With Quote #1

i am using all 8 survivors mod and increased max players up to 32 ..in the first round all 8 survivors are there fighting against 8 infected bots but when the next round begins only zoey is there along side l4d2 surviors and other survivors from l4d1 are removed i also tried using this mod without source mode and realized its not conflicting with any plugins and its because of the game design itself
i used
l4d2downtown
superversus
botcreator
zoeyunlock
l4d_survivor_identity_fix
reservedslotsut
but still these plugins didnt help me to prevent the game from removing the bots in 8v8 offline versus
but in regular versus 4v4 everything is alright
can anyone help me to fix this
BrutalFoX is offline
Silvers
AlliedModders Donor
Join Date: Aug 2010
Location: SpaceX
Old 01-13-2020 , 10:15   Re: left 4 dead 2 all 8 survivors versus offline
Reply With Quote #2

PHP Code:
#include <sourcemod>

ConVar g_hLimitsurvivor_limit;

public 
Plugin myinfo =
{
    
name "[L4D & L4D2] Survivor Limit - Convar Upper Bounds",
    
author "SilverShot",
    
description "Sets survivor_limit cvar upper bounds.",
    
version "1.0",
    
url "https://forums.alliedmods.net/showthread.php?t=320875"
}

public 
void OnPluginStart()
{
    
survivor_limit FindConVar("survivor_limit");
    if( 
survivor_limit == null SetFailState("Failed to find cvar 'survivor_limit'.");

    
g_hLimit CreateConVar("l4d2_survivor_limit""8""Maximum number of survivors."0);
    
g_hLimit.AddChangeHook(ConVarChanged_Cvar);
}

public 
void ConVarChanged_Cvar(Handle convar, const char[] oldValue, const char[] newValue)
{
    
SetConVarBounds(survivor_limitConVarBound_Uppertrueview_as<float>(g_hLimit.IntValue));


Also search: https://forums.alliedmods.net/showthread.php?t=109413
__________________

Last edited by Silvers; 01-13-2020 at 10:15.
Silvers is offline
BrutalFoX
Junior Member
Join Date: Jan 2020
Old 01-13-2020 , 10:50   Re: left 4 dead 2 all 8 survivors versus offline
Reply With Quote #3

Quote:
Originally Posted by Silvers View Post
PHP Code:
#include <sourcemod>

ConVar g_hLimitsurvivor_limit;

public 
Plugin myinfo =
{
    
name "[L4D & L4D2] Survivor Limit - Convar Upper Bounds",
    
author "SilverShot",
    
description "Sets survivor_limit cvar upper bounds.",
    
version "1.0",
    
url "https://forums.alliedmods.net/showthread.php?t=320875"
}

public 
void OnPluginStart()
{
    
survivor_limit FindConVar("survivor_limit");
    if( 
survivor_limit == null SetFailState("Failed to find cvar 'survivor_limit'.");

    
g_hLimit CreateConVar("l4d2_survivor_limit""8""Maximum number of survivors."0);
    
g_hLimit.AddChangeHook(ConVarChanged_Cvar);
}

public 
void ConVarChanged_Cvar(Handle convar, const char[] oldValue, const char[] newValue)
{
    
SetConVarBounds(survivor_limitConVarBound_Uppertrueview_as<float>(g_hLimit.IntValue));


Also search: https://forums.alliedmods.net/showthread.php?t=109413
i dont quite understand what to do with these codes and i also searched for a pluging by that name and didnt find anything
perhaps can u direct me to this pluging or tell me what to do
BrutalFoX is offline
Silvers
AlliedModders Donor
Join Date: Aug 2010
Location: SpaceX
Old 01-13-2020 , 12:12   Re: left 4 dead 2 all 8 survivors versus offline
Reply With Quote #4

This will remove the upper bound, so you can set "survivor_limit" cvar to whatever value you want. Put inside your servers cfg/server.cfg.

Edit: I don't know if this will definitely fix your problem, but it might. Superversus apparently already has this change so might be another issue.

Because this plugin is uploaded using "Post Reply" to the thread, the forum defaults to the latest compiler version (1.10 as of writing). Download and compile locally for SM <= 1.9 , don't bug me about "Unable to load plugin (no debug string table)."
Attached Files
File Type: sp Get Plugin or Get Source (l4d_survivor_limit.sp - 233 views - 457 Bytes)
__________________

Last edited by Silvers; 01-13-2020 at 12:49.
Silvers is offline
BrutalFoX
Junior Member
Join Date: Jan 2020
Old 01-13-2020 , 13:46   Re: left 4 dead 2 all 8 survivors versus offline
Reply With Quote #5

Quote:
Originally Posted by Silvers View Post
This will remove the upper bound, so you can set "survivor_limit" cvar to whatever value you want. Put inside your servers cfg/server.cfg.

Edit: I don't know if this will definitely fix your problem, but it might. Superversus apparently already has this change so might be another issue.

Because this plugin is uploaded using "Post Reply" to the thread, the forum defaults to the latest compiler version (1.10 as of writing). Download and compile locally for SM <= 1.9 , don't bug me about "Unable to load plugin (no debug string table)."
thank u brother your plugin worked perfectly and did exactly what i wanted
idk why superversus coulnt change the value of survivor limit even with cvar commands
BrutalFoX is offline
Silvers
AlliedModders Donor
Join Date: Aug 2010
Location: SpaceX
Old 01-13-2020 , 14:20   Re: left 4 dead 2 all 8 survivors versus offline
Reply With Quote #6

You can thank Lux, as usual, he notified me about this post and solution.
__________________
Silvers is offline
BrutalFoX
Junior Member
Join Date: Jan 2020
Old 01-14-2020 , 07:04   Re: left 4 dead 2 all 8 survivors versus offline
Reply With Quote #7

Quote:
Originally Posted by Silvers View Post
You can thank Lux, as usual, he notified me about this post and solution.
i had a bit of crash using this plugin which i managed to fix it by deleting a plugin that was conflicting with it but when i played i realized that nick and bill are using the same voice and name and same for others and when i typed take control nick it gave me bill and i used a plugin name forceset to fix the sound and name issue but still icons and health bars are using l4d1 models pictures and arms are same as l4d1 survivors and even identityfix plugin couldnt fix it
perhaps do u know how to fix this one or theres no way to fix it
BrutalFoX is offline
Silvers
AlliedModders Donor
Join Date: Aug 2010
Location: SpaceX
Old 01-14-2020 , 07:29   Re: left 4 dead 2 all 8 survivors versus offline
Reply With Quote #8

I don't run any servers or use all 8 survivors and have no interest sorry. I don't think the icons are fixable, it's as is. Search for other all 8 survivor threads and see what they say.
__________________
Silvers is offline
BrutalFoX
Junior Member
Join Date: Jan 2020
Old 01-14-2020 , 08:37   Re: left 4 dead 2 all 8 survivors versus offline
Reply With Quote #9

i managed to fix it with a addon which replaces l4d1 survivors with l4d2 survivors and since i had all of them in all campaigns and all of them have same l4d1 survivors names it replaces 4 of survivors with l4d1 names with l4d2 models and names and now each character have their own specific arm voice and name
thank u for your help and replies bro
and a special thanks to Lux who helped us both
BrutalFoX is offline
Shadowysn
Senior Member
Join Date: Sep 2015
Location: Location:
Old 01-14-2020 , 23:28   Re: left 4 dead 2 all 8 survivors versus offline
Reply With Quote #10

Quote:
Originally Posted by Silvers View Post
PHP Code:
#include <sourcemod>

ConVar g_hLimitsurvivor_limit;

public 
Plugin myinfo =
{
    
name "[L4D & L4D2] Survivor Limit - Convar Upper Bounds",
    
author "SilverShot",
    
description "Sets survivor_limit cvar upper bounds.",
    
version "1.0",
    
url "https://forums.alliedmods.net/showthread.php?t=320875"
}

public 
void OnPluginStart()
{
    
survivor_limit FindConVar("survivor_limit");
    if( 
survivor_limit == null SetFailState("Failed to find cvar 'survivor_limit'.");

    
g_hLimit CreateConVar("l4d2_survivor_limit""8""Maximum number of survivors."0);
    
g_hLimit.AddChangeHook(ConVarChanged_Cvar);
}

public 
void ConVarChanged_Cvar(Handle convar, const char[] oldValue, const char[] newValue)
{
    
SetConVarBounds(survivor_limitConVarBound_Uppertrueview_as<float>(g_hLimit.IntValue));


Also search: https://forums.alliedmods.net/showthread.php?t=109413
It doesn't do anything for me.

Setting l4d2_survivor_limit to 8 doesn't allow me to set survivor_limit to 8, it'll always remain at 4.

Setting l4d2_survivor_limit to 8.0, however, glitches survivor_limit.
Whenever I try to set survivor_limit to any number, it'll now always be set to 0. And I can't seem to reset the bounds either, survivor_limit will stay at 0 no matter how much I change either l4d2_survivor_limit or survivor_limit.
__________________
ragdoll spam, that is all

Steam profile, where I game, obviously.
Youtube channel, where I do Stick Death Maze animations and some other stuff.

Plugins:
1 | 2 | 3 | 4 | 5 | 6
Modified Plugins:
1 | 2 | 3

no plugin requests, sorry

Last edited by Shadowysn; 01-14-2020 at 23:28.
Shadowysn is offline
Reply


Thread Tools
Display Modes

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 02:52.


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