Servers Crash Becuse To Many Towers/oc Being Used?

EKSEKS 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

Comments

  • billcatbillcat Join Date: 2002-11-02 Member: 4903Members, Constellation
    I suppose you could write a new amx plugin for this, but there are already several..


    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.
  • EKSEKS Join Date: 2002-11-01 Member: 2790Members
    Yea, those might do the the job. Basicly im just wondering if there is any point in making the plugin, if anyone would use it.

    I proberbly should just have posted in the modns forums
  • XenoXeno Join Date: 2002-11-01 Member: 2343Members
    yes!! dear god yes!!

    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!!
  • billcatbillcat Join Date: 2002-11-02 Member: 4903Members, Constellation
    mebe I wasn't clear about this. the buliden limiter already lets you limit all bldgs:

    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..
  • XenoXeno Join Date: 2002-11-01 Member: 2343Members
    any chance in hell this good be done for metamod?
  • billcatbillcat Join Date: 2002-11-02 Member: 4903Members, Constellation
    I suppose you could always ask on the modns forums..
  • EKSEKS Join Date: 2002-11-01 Member: 2790Members
    edited July 2004
    <!--QuoteBegin-Xeno+Jul 10 2004, 12:06 AM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Xeno @ Jul 10 2004, 12:06 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->any chance in hell this good be done for metamod?<!--QuoteEnd--></td></tr></table><div class='postcolor'><!--QuoteEEnd-->
    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 )
Sign In or Register to comment.