Author Topic: Server limit for throwables  (Read 599 times)

Squish

  • *
  • Posts: 5
    • View Profile
Server limit for throwables
« on: March 03, 2019, 12:16:13 am »
I've recently setup a l4d2 server with all the confogl stuff etc. I wanted to make the public game a little more balance by removing T2, kits, etc so by picking and choosing plugins etc I've been able to do most of them however I've run into trouble with removing throwables and kits outside safe room. So far I have (in server.cfg) while confoglcompmod.smx is loaded

confogl_addcvar confogl_enable_itemtracking              1
confogl_addcvar confogl_itemtracking_savespawns       1
confogl_addcvar confogl_itemtracking_mapspecific       3
confogl_addcvar confogl_molotov_limit                        1
confogl_addcvar confogl_replace_finalekits                   1
confogl_addcvar confogl_vomitjar_limit                        2
confogl_addcvar confogl_pipebomb_limit                      2
confogl_addcvar confogl_adrenaline_limit                     4
confogl_addcvar confogl_pills_limit                              6

I've also tried sm_cvar which didn't work either. Does anyone know how to fix this? Thanks

ajwbae

  • *
  • Posts: 2
    • View Profile
Re: Server limit for throwables
« Reply #1 on: September 25, 2019, 10:55:08 pm »
bumping this

I'm also having trouble limiting throwables using both of your methods. I was wondering if you've found a fix for this yet or if anyone has any solutons. Thank you!

Sir

  • *
  • Posts: 917
    • View Profile
Re: Server limit for throwables
« Reply #2 on: September 27, 2019, 02:02:05 am »
While this is an old thread, confogl_pills_limit, etc are designed to not count in saferooms. Meaning it will set the limits for spawns outside of the saferoom so they do not factor in items that spawn inside the saferoom.

bumping this

I'm also having trouble limiting throwables using both of your methods. I was wondering if you've found a fix for this yet or if anyone has any solutons. Thank you!

What exactly are you trying to achieve?
Try and be as detailed as possible.

Group Owner of :| SirPlease
Config Dev :| Zonemod 1.8

ajwbae

  • *
  • Posts: 2
    • View Profile
Re: Server limit for throwables
« Reply #3 on: September 29, 2019, 05:29:14 am »
What exactly are you trying to achieve?
Try and be as detailed as possible.

Hi there. Thanks for replying.

I'm trying to set custom item limits in my server by using the built in item tracking module found in "confoglcompmod.smx" from jacob404's promod pack, like so:

Code: [Select]
confogl_addcvar confogl_enable_itemtracking 1
confogl_addcvar confogl_itemtracking_savespawns 1
confogl_addcvar confogl_itemtracking_mapspecific 3
confogl_addcvar confogl_molotov_limit 1
confogl_addcvar confogl_vomitjar_limit 1
confogl_addcvar confogl_pipebomb_limit 2
confogl_addcvar confogl_adrenaline_limit 2
confogl_addcvar confogl_pills_limit 2

I've inserted these cvars into my server.cfg file, but when I test to see if it works, it doesn't seem to be doing anything. For example, I still get more than 1 molotov spawning in the map despite the confogl_molotov_limit cvar being set to 1.

Like the OP, I've also tried to replace confogl_addcvar with just sm_cvar to see if it solves anything, but it does not.

I'm wondering if these cvars need to be inserted in an entirely different .cfg file than server.cfg, or if I'm doing something entirely wrong? Thanks again for your input.

 

A dedicated community website to competitive L4D and L4D2, ran by the community, for the community. L4DNation supports all continents of play and focuses on bringing together the community as a whole to a central hub of information.