Servers Crash Becuse To Many Towers/oc Being Used?
EKS
Join Date: 2002-11-01 Member: 2790Members
Iv noticed a few players commented this when i was playing custom map server.
This propberby has to with the ent count comming over 1024, i assume NS has no buildt in protecion against this. So i was wondering if there is any point in me making a AMX plugin to protect against this
This propberby has to with the ent count comming over 1024, i assume NS has no buildt in protecion against this. So i was wondering if there is any point in me making a AMX plugin to protect against this
Comments
Chamber Limit
<a href='http://www.modns.org/forums/index.php?showtopic=535' target='_blank'>http://www.modns.org/forums/index.php?showtopic=535</a>
Builden Limiter cc and alien bldgs
<a href='http://www.modns.org/forums/index.php?showtopic=600' target='_blank'>http://www.modns.org/forums/index.php?showtopic=600</a>
I like the builden limiter as it also stops cc spamming and can help limit cc blocking, which peaves the hell outta me when I'm on aliens and about to win, before the cmdr spamms ccs all over the place. Sure you can make rules aginst this but why not just make it impossible.
GL.
I proberbly should just have posted in the modns forums
i run a custom map server. its pretty much all siege. sometimes there are close to 50 turrets in 1 open room. this is horrendous for the server. it usually crashes soon after. right now there is no stopping turret farming. yet it stop aliens from building too many chambers in 1 place. i mean, what the heck!!
Defense Chamber
Movment Chamber
Sensory Chamber
Offense Chamber
Turret Factory
Turret
Siege Turrert
Command Chair
Unbuild Command Chair
You can even set server side settings to limit certian objects to individual limits. What you are asking for here, has already been done, and well at that. Pls give the existing plugin a try..
offcourse, but i cannot do it, I dont know any c++/c. My idea on how to stop the server from crashing is diffrent then how the other plugins work. And should impact the game minimaly.
Simply exlain for those that dont now:
HL has a buildt in limit for 1024 entitys
Eatch map has X amount of ents.
Plus the amont eatch player generates ( Talking about weapons and nadas)
Now, every building also is a entity, and on siege servers im guessing this can go above 1024 witch crashes the server. Or just get very close, and the server tried to create a new entity for a nada/gun whatever and it crashes.
So what i was planning was simply. Once the server is running ( Check on map start ) find out how many ents are used by the map. And then keep track of how many ents eatch team has used. And only allow them to use half of how many ents where free at the beginning of eatch map.
Exlained in numbers:
Once the server has loaded the maps, 300 ents are used( just a example)
Take 1024 - Maxplayers - 300 = 692 (using 32 as max players )
This means eatch team can build a total max number of 346 buildins eatch. (I will offcourse add a buffer "zone" to it) Once the team has reached its limit, they will no longer be allowed to build anything, at least untill a building is lost.
Thats basicly my idea, if it works. It should stop the server from crashing, but in no way limit how the game is played. ( If aliens want to build 392 defense cambers they can <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html//emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif' /><!--endemo--> )
If my idea works, it a easy task to convert it to metamod for someone with some skills. But there is no point in me making the plugin if i cannot test it, so if someone contacts me. And they run a NS server that uses AMXX and runs seige maps, il do the plugin.
I can easly be found GS or Quakenet ( Guess my nick )