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

[L4D & L4D2] Left 4 Dead Slots


Post New Thread Reply   
 
Thread Tools Display Modes
Primeas
Junior Member
Join Date: Aug 2019
Old 06-26-2021 , 09:48   Re: [L4D & L4D2] Left 4 Dead Slots
Reply With Quote #31

Quote:
Originally Posted by Spirit_12 View Post
The issue is definately with the map. It has way too many entities, however changing the maxplayers to 16 does fix the problem. I'm not sure if 18 will yield the same result but it does work.

Here for stripper, removes every garbage in the game and in c1m3_mall the glass which is about 600 entities on the map

Code:
global_filters.cfg

// [L4D2] Stripper: Remove Rubbish
// ©2020-2021 GAMEROW - www.gamerow.de

remove:
{
"model" "models/props/cs_assault/handtruck.mdl"
}

{
"model" "models/props_windows/hotel_window_glass002.mdl"
}

{
"model" "models/props_windows/hotel_window_glass001.mdl"
}

{
"classname" "prop_ragdoll"
}

{
"model" "/models/lostcoast/props_wasteland/boat_wooden.*/"
}

{
"model" "/models/props/cs_office/cardboard_box.*/"
}

{
"model" "/models/props/cs_office/coffee_mug.*/"
}

{
"model" "/models/props/cs_office/computer.*/"
}

{
"model" "/models/props/cs_office/file_box.*/"
}

{
"model" "/models/props/cs_office/file_cabinet.*/"
}

{
"model" "/models/props/cs_office/offpainting.*/"
}

{
"model" "/models/props/cs_office/phone.*/"
}

{
"model" "/models/props/cs_office/projector_gib.*/"
}

{
"model" "/models/props/cs_office/radio.*/"
}

{
"model" "/models/props/cs_office/table_coffee.*/"
}

{
"model" "/models/props/cs_office/trash_can.*/"
}

{
"model" "/models/props/de_inferno/chairantique.*/"
}

{
"model" "/models/props/de_prodigy/wood_pallet.*/"
}

{
"model" "/models/props_c17/chair.*/"
}

{
"model" "/models/props_c17/furniturechair.*/"
}

{
"model" "/models/props_c17/metalpot.*/"
}

{
"model" "/models/props_c17/pottery.*/"
}

{
"model" "/models/props_canal/boat.*/"
}

{
"model" "/models/props_crates/supply_crate.*/"
}

{
"model" "/models/props_debris/concrete_chunk.*/"
}

{
"model" "/models/props_debris/concrete_spawnchunk.*/"
}

{
"model" "/models/props_debris/rebar.*/"
}

{
"model" "/models/props_debris/wood.*/"
}

{
"model" "/models/props_exteriors/lighthouserailing.*/"
}

{
"model" "/models/props_exteriors/wood_railing.*/"
}

{
"model" "/models/props_fairgrounds/garbage.*/"
}

{
"model" "/models/props_fairgrounds/lil'peanut.*/"
}

{
"model" "/models/props_foliage/flower_barrel.*/"
}

{
"model" "/models/props_fortifications/orange_cone.*/"
}

{
"model" "/models/props_furniture/chair2.*/"
}

{
"model" "/models/props_furniture/piano.*/"
}

{
"model" "/models/props_furniture/picture_frame.*/"
}

{
"model" "/models/props_industrial/pallet01.*/"
}

{
"model" "/models/props_interiors/book_gib.*/"
}

{
"model" "/models/props_interiors/books.*/"
}

{
"model" "/models/props_interiors/bottles_shelf.*/"
}

{
"model" "/models/props_interiors/chair.*/"
}

{
"model" "/models/props_interiors/computer.*/"
}

{
"model" "/models/props_interiors/furniture.*/"
}

{
"model" "/models/props_interiors/lamp.*/"
}

{
"model" "/models/props_interiors/luggage.*/"
}

{
"model" "/models/props_interiors/phone.*/"
}

{
"model" "/models/props_interiors/railing.*breakable.*/"
}

{
"model" "/models/props_interiors/refrigerator03_damaged.*/"
}

{
"model" "/models/props_interiors/sofa.*/"
}

{
"model" "/models/props_interiors/styrofoam_cups.*/"
}

{
"model" "/models/props_interiors/table_folding.*/"
}

{
"model" "/models/props_interiors/table_picnic.*/"
}

{
"model" "/models/props_interiors/toilet_b_breakable.*/"
}

{
"model" "/models/props_interiors/trashcan.*/"
}

{
"model" "/models/props_junk/cardboard_box.*/"
}

{
"model" "/models/props_junk/garbage.*/"
}

{
"model" "/models/props_junk/metal_paintcan.*/"
}

{
"model" "/models/props_junk/metalbucket.*/"
}

{
"model" "/models/props_junk/wood.*/"
}

{
"model" "/models/props_lab/binder.*/"
}

{
"model" "/models/props_lab/harddrive.*/"
}

{
"model" "/models/props_lab/monitor.*/"
}

{
"model" "/models/props_lab/reciever.*/"
}

{
"model" "/models/props_mall/mall_mannequin.*/"
}

{
"model" "/models/props_misc/lamp.*/"
}

{
"model" "/models/props_misc/mirror.*/"
}

{
"model" "/models/props_misc/pan.*/"
}

{
"model" "/models/props_misc/pot.*/"
}

{
"model" "/models/props_misc/rolling_pin.*/"
}

{
"model" "/models/props_plants/claypot.*/"
}

{
"model" "/models/props_plants/pottedplant.*/"
}

{
"model" "/models/props_shacks/screen.*/"
}

{
"model" "/models/props_signs/.*/"
}

{
"model" "/models/props_street/flagpole.*/"
}

{
"model" "/models/props_street/garbage_can.*/"
}

{
"model" "/models/props_unique/airport/luggage.*/"
}

{
"model" "/models/props_unique/coffee.*/"
}

{
"model" "/models/props_unique/staircase_spiral.*/"
}

{
"model" "/models/props_urban/picture_frame.*/"
}

{
"model" "/models/props_urban/plastic_basin.*/"
}

{
"model" "/models/props_urban/plastic_chair.*/"
}

{
"model" "/models/props_urban/skylight.*/"
}

{
"model" "/models/props_vehicles/carparts.*/"
}

{
"model" "/models/props_vehicles/tire.*/"
}

{
"model" "/models/props_vents/ventbreakable.*/"
}

{
"model" "/models/props_wasteland/controlroom_filecabinet.*/"
}

{
"model" "/models/props_waterfront/photos_framed.*/"
}

{
"model" "models/lighthouse/mate/mate_termo.mdl"
}

{
"model" "models/lighthouse/we_dont_go.mdl"
}

{
"model" "models/props/cs_assault/barrelwarning.mdl"
}

{
"model" "models/props/cs_assault/pylon.mdl"
}

{
"model" "models/props/cs_militia/barstool01.mdl"
}

{
"model" "models/props/cs_militia/boxes_garage_lower.mdl"
}

{
"model" "models/props/cs_militia/circularsaw01.mdl"
}

{
"model" "models/props/cs_office/chair_office.mdl"
}

{
"model" "models/props/cs_office/microwave.mdl"
}

{
"model" "models/props/cs_office/offcorkboarda.mdl"
}

{
"model" "models/props/cs_office/paper_towels.mdl"
}

{
"model" "models/props/de_inferno/ceiling_fan_blade.mdl"
}

{
"model" "models/props/de_inferno/picture1.mdl"
}

{
"model" "models/props/de_inferno/tv_monitor01.mdl"
}

{
"model" "models/props_c17/computer01_keyboard.mdl"
}

{
"model" "models/props_c17/consolebox01a.mdl"
}

{
"model" "models/props_c17/furnituredrawer001a_shard01.mdl"
}

{
"model" "models/props_c17/furnituredresser001a.mdl"
}

{
"model" "models/props_c17/furnituretable001a.mdl"
}

{
"model" "models/props_c17/hospital_cart01.mdl"
}

{
"model" "models/props_c17/oildrum001.mdl"
}

{
"model" "models/props_collectables/backpack.mdl"
}

{
"model" "models/props_critters/crow_group.mdl"
}

{
"model" "models/props_critters/seagull_group.mdl"
}

{
"model" "models/props_debris/paintbucket01.mdl"
}

{
"model" "models/props_debris/tv_monitor01.mdl"
}

{
"model" "models/props_downtown/fan_ceiling_blade.mdl"
}

{
"model" "models/props_downtown/ironing_board.mdl"
}

{
"model" "models/props_downtown/notepad.mdl"
}

{
"model" "models/props_downtown/phone_book.mdl"
}

{
"model" "models/props_equipment/cart_utility_01.mdl"
}

{
"model" "models/props_equipment/light_floodlight.mdl"
}

{
"model" "models/props_equipment/sleeping_bag3.mdl"
}

{
"model" "models/props_equipment/tsabin_01.mdl"
}

{
"model" "models/props_fairgrounds/alligator.mdl"
}

{
"model" "models/props_fairgrounds/elephant.mdl"
}

{
"model" "models/props_fairgrounds/fairgrounds_flagpole01.mdl"
}

{
"model" "models/props_fairgrounds/giraffe.mdl"
}

{
"model" "models/props_fairgrounds/milk_bottle.mdl"
}

{
"model" "models/props_fairgrounds/snake.mdl"
}

{
"model" "models/props_fairgrounds/traffic_barrel.mdl"
}

{
"model" "models/props_fortifications/traffic_barrier001.mdl"
}

{
"model" "models/props_furniture/bathtub1.mdl"
}

{
"model" "models/props_furniture/cafe_barstool1.mdl"
}

{
"model" "models/props_furniture/desk1.mdl"
}

{
"model" "models/props_furniture/drawer1.mdl"
}

{
"model" "models/props_furniture/dresser1.mdl"
}

{
"model" "models/props_furniture/heavy_table.mdl"
}

{
"model" "models/props_furniture/hotel_chair.mdl"
}

{
"model" "models/props_furniture/lamp1.mdl"
}

{
"model" "models/props_furniture/shelf1.mdl"
}

{
"model" "models/props_industrial/pallet_barrels_water01_single.mdl"
}

{
"model" "models/props_interiors/alarm_clock.mdl"
}

{
"model" "models/props_interiors/bench01a.mdl"
}

{
"model" "models/props_interiors/ceda_easel01.mdl"
}

{
"model" "models/props_interiors/clipboard01.mdl"
}

{
"model" "models/props_interiors/clotheshanger01.mdl"
}

{
"model" "models/props_interiors/coffee_maker.mdl"
}

{
"model" "models/props_interiors/couch.mdl"
}

{
"model" "models/props_interiors/dish_soap.mdl"
}

{
"model" "models/props_interiors/dvd_player.mdl"
}

{
"model" "models/props_interiors/file_cabinet1_group.mdl"
}

{
"model" "models/props_interiors/foldingchair.mdl"
}

{
"model" "models/props_interiors/patio_chair2_white.mdl"
}

{
"model" "models/props_interiors/picnic_bench_toddler.mdl"
}

{
"model" "models/props_interiors/pot01a.mdl"
}

{
"model" "models/props_interiors/printer.mdl"
}

{
"model" "models/props_interiors/sawhorse.mdl"
}

{
"model" "models/props_interiors/sink_industrial01.mdl"
}

{
"model" "models/props_interiors/soap_dispenser.mdl"
}

{
"model" "models/props_interiors/stove02.mdl"
}

{
"model" "models/props_interiors/table_motel.mdl"
}

{
"model" "models/props_interiors/tablecafe_square01.mdl"
}

{
"model" "models/props_interiors/teddy_bear.mdl"
}

{
"model" "models/props_interiors/toaster.mdl"
}

{
"model" "models/props_interiors/toiletpaperroll.mdl"
}

{
"model" "models/props_interiors/trashcankitchen01.mdl"
}

{
"model" "models/props_interiors/tv.mdl"
}

{
"model" "models/props_interiors/vcr.mdl"
}

{
"model" "models/props_interiors/waterbottle.mdl"
}

{
"model" "models/props_junk/cinderblock01a.mdl"
}

{
"model" "models/props_junk/furnituremattress001a.mdl"
}

{
"model" "models/props_junk/plasticcrate01a.mdl"
}

{
"model" "models/props_junk/shoe001a.mdl"
}

{
"model" "models/props_junk/trashbin01a.mdl"
}

{
"model" "models/props_junk/wheebarrow01a.mdl"
}

{
"model" "models/props_lab/desklamp01.mdl"
}

{
"model" "models/props_lab/partsbin01.mdl"
}

{
"model" "models/props_lighting/lampbedside01.mdl"
}

{
"model" "models/props_misc/flour_sack-1.mdl"
}

{
"model" "models/props_misc/reins.mdl"
}

{
"model" "models/props_misc/saddle-1.mdl"
}

{
"model" "models/props_misc/shelf-2.mdl"
}

{
"model" "models/props_misc/tea_pot-1.mdl"
}

{
"model" "models/props_office/computer_monitor_01.mdl"
}

{
"model" "models/props_office/filecabinet01.mdl"
}

{
"model" "models/props_plants/planthanging01.mdl"
}

{
"model" "models/props_street/signrailroadcrossing01.mdl"
}

{
"model" "models/props_street/trafficlight01.mdl"
}

{
"model" "models/props_street/trashbin01.mdl"
}

{
"model" "models/props_swamp/boardwalk_rail_256_break.mdl"
}

{
"model" "models/props_swamp/boardwalk_rail_256_break_a.mdl"
}

{
"model" "models/props_swamp/boardwalk_rail_256_break_b.mdl"
}

{
"model" "models/props_swamp/boardwalk_rail_chunk01.mdl"
}

{
"model" "models/props_swamp/boardwalk_rail_chunk04.mdl"
}

{
"model" "models/props_swamp/boardwalk_rail_chunk05.mdl"
}

{
"model" "models/props_unique/airport/line_post.mdl"
}

{
"model" "models/props_unique/airport/standup_board.mdl"
}

{
"model" "models/props_unique/caboose01_pictureframe.mdl"
}

{
"model" "models/props_unique/coffeepot01.mdl"
}

{
"model" "models/props_unique/doll01.mdl"
}

{
"model" "models/props_unique/hospital/gurney.mdl"
}

{
"model" "models/props_unique/hospital/iv_pole.mdl"
}

{
"model" "models/props_unique/luggagecart01.mdl"
}

{
"model" "models/props_unique/mopbucket01.mdl"
}

{
"model" "models/props_unique/wheelchair01.mdl"
}

{
"model" "models/props_urban/big_wheel001.mdl"
}

{
"model" "models/props_urban/gas_sign001.mdl"
}

{
"model" "models/props_urban/hotel_lamp001.mdl"
}

{
"model" "models/props_urban/oil_drum001.mdl"
}

{
"model" "models/props_urban/plastic_bucket001.mdl"
}

{
"model" "models/props_urban/plastic_flamingo001.mdl"
}

{
"model" "models/props_urban/plastic_icechest.*/"
}

{
"model" "models/props_urban/plastic_water_jug001.mdl"
}

{
"model" "models/props_urban/round_table001.mdl"
}

{
"model" "models/props_urban/shopping_cart001.mdl"
}

{
"model" "models/props_urban/tire001.mdl"
}

{
"model" "models/props_wasteland/barricade.*/"
}

{
"model" "models/props_wasteland/controlroom_chair001a.mdl"
}

{
"model" "models/props_wasteland/prison_shelf002a.mdl"
}
Code:
maps/c1m3_mall.cfg

// [L4D2] Stripper: c1m3-mall - Place a Ramp on the Door
// ©2020-2021 GAMEROW - www.gamerow.de

// Place a Ramp on the Door
// add:
// {
// 	"classname" "prop_dynamic"
// 	"model" "models/props_update/c11m1_plywood.mdl"
// 	"origin" "1578 -1026 308"
// 	"angles" "100 0 0"
// 	"solid" "6"
// }
// 
// {
// 	"classname" "prop_dynamic"
// 	"model" "models/props/cs_militia/wood_bench.mdl"
// 	"origin" "1600 -1040 280"
// 	"angles" "0 0 0"
// 	"solid" "6"
// }

remove:
{
	"classname" "func_breakable"
}

alternatively, you can also remove the weapons from the players they throw on the ground

https://forums.alliedmods.net/showthread.php?t=315058
__________________
- If you have any Questions, write to me in Steam: Click here



Last edited by Primeas; 06-26-2021 at 09:54.
Primeas is offline
dbf
New Member
Join Date: Feb 2020
Old 06-26-2021 , 12:03   Re: [L4D & L4D2] Left 4 Dead Slots
Reply With Quote #32

Thanks for the response

Some more details, Server crash in loading of map pretty early, weapon removal, ED_Alloc patches etc. dont really work, tried many thinks with l4dtoolz, and the only think that helped was to reduce max_players.

Hmm maybe a solution, but configuration of stripper, is a pain in ass, for every map there this error happens, generate a file with models that can be removed and changing the looking of the campagne, sounds not great at all.

And this is not the only campagne there this happens, i think there was 3 popular custom campagnes there this solution helped.

We have only 10 player slots anyway on our servers, for a programmer it is not hard to set max_players server variable with the sv_maxplayers cvar value.

greetz
dbf
dbf is offline
Spirit_12
Veteran Member
Join Date: Dec 2012
Location: Toronto, CA
Old 06-26-2021 , 12:13   Re: [L4D & L4D2] Left 4 Dead Slots
Reply With Quote #33

Quote:
Originally Posted by Accelerator74 View Post
sm_cvar survivor_limit n
sm_cvar z_max_player_zombies n
?

This variable determines the maximum number of slots on the server, including all players and visible and invisible bots, and not specifically the maximum allowed number of players on the server. The maximum number of allowed players is determined by the cvar sv_maxplayers.



What prevents from clearing any garbage on the maps through the stripper so that you do not have to change this variable so radically? if the server crashes with the error ED_Alloc: no free edicts, then garbage removal will help.

Code:
filter:
{
	"model" "/.*props_junk/garbage.*/"
}
Not an ideal solution for my server with multiple maps having the same issues. This map especially had 200% entity data and 150% sprite data. All in all that map need to be fully recompiled and maybe split into two. Not an ideal solution compared to just changing slots when you don't need to run 32 players in the first place.
__________________
Spirit_12 is offline
Accelerator
Senior Member
Join Date: Dec 2010
Location: Russia
Old 06-26-2021 , 12:36   Re: [L4D & L4D2] Left 4 Dead Slots
Reply With Quote #34

Personally on my coop server there is a need for 32 slots (25 players + 6 bots + additional space for hidden bots) In the end, you yourself can change the maxplayers to any number you want in the plugin source code)

The problem of additional campaigns is the problem of the authors who created them like this) On standard campaigns and on City17, Urban Flight and Suicide Blitz 2 I tested, everything is fine with maxplayers 32.

I only had crashes on the c6m1_riverbank map (when real players more 16). Removing debris from the map through a stripper helped solve the problem of crashes due to the increased number of players
__________________

Last edited by Accelerator; 06-26-2021 at 12:47.
Accelerator is offline
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 06-26-2021 , 13:02   Re: [L4D & L4D2] Left 4 Dead Slots
Reply With Quote #35

As said by others "ED_Alloc" crashes are not related to this plugin, more likely to map and third-party behaviours. (aka engine limitations)

The stripper cfg from @Primeas is one that I shared with some fellows trying to fix this crash in some custom maps and c1m3_mall,
while is not the best solution does work for most of them.

If you have map crash problems I recommend opening a new thread on "Plugin/Gameplay Ideas and Requests" area instead of going offtopic here.

Obviously, more players mean more entities and with some additional plugins it may increase even more, leading to these crashes.

Nothing that the OP can do, neither match the purpose of this plugin.
__________________

Last edited by Marttt; 06-26-2021 at 13:05.
Marttt is offline
Spirit_12
Veteran Member
Join Date: Dec 2012
Location: Toronto, CA
Old 06-26-2021 , 23:11   Re: [L4D & L4D2] Left 4 Dead Slots
Reply With Quote #36

Quote:
Originally Posted by Marttt View Post
As said by others "ED_Alloc" crashes are not related to this plugin, more likely to map and third-party behaviours. (aka engine limitations)

The stripper cfg from @Primeas is one that I shared with some fellows trying to fix this crash in some custom maps and c1m3_mall,
while is not the best solution does work for most of them.

If you have map crash problems I recommend opening a new thread on "Plugin/Gameplay Ideas and Requests" area instead of going offtopic here.

Obviously, more players mean more entities and with some additional plugins it may increase even more, leading to these crashes.

Nothing that the OP can do, neither match the purpose of this plugin.
The crashes are clearly related to plugin as it tries to allocate entities towards players, which causes the server crashes. What we are trying to point out is that if you are getting ED_Alloc error then setting the maxplayer size to 16 and recompiling the plugin will solve this.

I think it could be of value to the player base, if this information is put in on the main thread just so people are aware. It doesn't require any change to the plugin code, just some additional information on the plugin thread.
__________________
Spirit_12 is offline
rekcah
Member
Join Date: Jun 2019
Old 06-27-2021 , 05:04   Re: [L4D & L4D2] Left 4 Dead Slots
Reply With Quote #37

sorry, I should have been more specific in my question, say I have an 8v8 server and I have 8 players currently on but they all want to play as survivors, what is the correct way to get 8 AI special infected spawning instead of the default 4?
rekcah is offline
noto3
Member
Join Date: Jan 2021
Old 06-28-2021 , 11:17   Re: [L4D & L4D2] Left 4 Dead Slots
Reply With Quote #38

The "Steam group server" tab does not show more than 8/8 players on the server with 8+ slots. However, it does with L4DToolz. Would it be possible to make that happen with this plugin?
noto3 is offline
Accelerator
Senior Member
Join Date: Dec 2010
Location: Russia
Old 06-30-2021 , 03:30   Re: [L4D & L4D2] Left 4 Dead Slots
Reply With Quote #39

After a detailed analysis, I realized that this plugin is not suitable for use as a replacement for L4DToolZ for the following reasons.

What Spirit_12 and dbf talked about in this thread can really cause a crash when the map starts. The fact is that even in the original L4DToolZ, the author assigns the value maxplayers 32 after the server started filling up with entities, which is incorrect. As I said, maxplayers is 18 by default in the game. When the server creates entities, some entities can get numbers 19, 20, 21, etc., and we immediately try to change maxplayers to a larger value, as a result, we get a server crash... maxplayers needs to be set before the map load. I updated L4DToolZ so that this variable was set completely correctly at server start, even one of the signatures was not needed Unfortunately, the plugin cannot do this at such an early stage.

Also, I did not take some minor points when writing the plugin. Therefore, I still recommend using the L4DToolZ extension, which I will continue to support

https://github.com/Accelerator74/l4dtoolz
__________________
Accelerator is offline
Bunerk
Junior Member
Join Date: Jun 2021
Old 07-05-2021 , 22:44   Re: [L4D & L4D2] Left 4 Dead Slots
Reply With Quote #40

Thanks you Accelerator.
Normal work.
Bunerk 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 18:03.


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