Page 2 of 2 FirstFirst 12
Results 11 to 19 of 19

Thread: Possible to ban iprange... but let protected names in with password or something?

  1. #11
    Purple Developer Purple Elephant1au's Avatar
    Join Date
    Feb 2012
    Location
    Australia
    Posts
    1,269

    Default

    Yea i see what you mean there EasyMeat. That connect challenge packet which is sent also sends your cl_namepass with it , so it will show up on any server log.

    But if the player would only enter the password when connecting to the server ( ie they will be forced to ) and not actually add it to their config , only the server admin will be able to see their password and it will only apply to the one server.

    So if the players or yourself are concerned about this problem, what you could do is just bind it to a key and press it when it asks you to set password when entering server. only downside is that you will get rejected from server the first time , but then just press key, reconnect( without closing mohaa ) and join again , but the benefits far outway this little problem.

    bind l "cl_namepass Password;reconnect"

    That way it will only be noticed on the server you are connecting to , and not any others you might visit ( note: if you change server without closing mohaa , it will still be there , close it first and start again ) .

    Purple's Playground
    OBJ :
    103.29.85.127:12203
    xfire: purpleelephant1au
    email: purpleelephant1au@gmail.com
    skydrive: PurpleElephantSkydrive




  2. #12

    Default

    Quote Originally Posted by Purple Elephant1au View Post
    I can think of a way to get around it via scripting . not for the dynamic ips, but the not banning specific players.
    It will use the protected names system.

    Instead of IP banning the range , just make a script that will check players ips every 10 or so seconds

    If IP falls under the range which you to be banned, just kick them from the server ( or add actual ip to banlist , but could get a big list ) ,
    But if they have a name which is located in the protectednamefilter.cfg ( which they would have to have a password for to connect with ) skip them and not kick.

    Downside is the players you wish to stay will have to know how to logon with the password. Not hard for most people , its just a line in config.

    @RR Its not possible to use wildcards * in scripting tho right? Would have to split ip up and filter from that

    this protectname doest work if ur ip is banned , still fighting the same problem daily, i ban an iprange and the same week a couple people ask me to unban it, a bit annoying

    my iplist looks like this:

    Code:
    79.114.*.*
    156.207.*.*
    86.127.*.*
    197.32.*.*
    209.197.*.*
    88.159.*.*
    156.210.*.*
    156.199.*.*
    41.36.*.*
    197.162.*.*
    41.130.*.*
    46.253.*.*
    91.233.*.*
    212.129.*.*
    159.122.*.*
    95.123.*.*
    93.93.*.*
    80.254.*.*
    91.106.*.*
    37.231.*.*
    95.213.*.*
    197.41.*.*
    156.209.*.*
    156.196.*.*
    156.194.*.*
    2.49.23.*
    156.197.*.*
    198.144.*.*
    109.127.*.*
    196.133.*.*
    41.233.*.*
    79.118.*.*
    79.115.*.*
    95.19.*.*
    92.241.*.*
    41.235.*.*
    41.47.*.*
    156.217.*.*
    197.35.*.*
    156.216.*.*
    41.238.*.*
    69.22.*.*
    41.232.*.*
    78.113.*.*
    156.215.*.*
    204.93.*.*
    178.36.*.*
    149.154.*.*
    45.244.*.*
    41.42.*.*
    199.188.*.*
    156.212.*.*
    109.201.*.*
    156.198.*.*
    87.98.*.*
    156.221.*.*
    156.205.*.*
    95.211.*.*
    197.33.*.*
    41.46.*.*
    41.35.*.*
    197.160.*.*
    197.38.*.*
    156.211.*.*
    87.174.*.*
    197.165.*.*
    86.125.*.*
    82.102.*.*
    197.49.*.*
    197.39.*.*
    94.216.*.*

  3. #13

    Default

    Like Purple say, you need to create a script ( mod ) to protect the players they are inside of the iprange ban.

  4. #14
    Administrator James's Avatar
    Join Date
    May 2010
    Location
    on the intraweb
    Posts
    3,180

    Default

    If you ban from the 3rd and 4th nodes, you're banning a crap load of IP ranges. You should def narrow it down. Maybe some sort of script that logs the IP ranges for you each session. Then if a new map or session starts it compares it to the existing list and only updates with new IP's. Then at least you know what IP's you're directly working with. You're still going to have to go in there and manually filter through the IP's to ban the ones you need, but at least I feel like this will be a cleaner way of doing things.

  5. #15

    Default

    i cant narrow it down james, becease they restart router and the last *.* numbers are changing, if i dont do that i have to ban like 50 a day

  6. #16
    Administrator James's Avatar
    Join Date
    May 2010
    Location
    on the intraweb
    Posts
    3,180

    Default

    You seriously get that many people that you ban on a daily basis?? I don't understand why??? You might honestly be better off doing a whitelist instead of a black list (depending on how many new IP's you get a day). I still find it hard to see why on earth so many banned IP's a day??

  7. #17

    Default

    Quote Originally Posted by James View Post
    You seriously get that many people that you ban on a daily basis?? I don't understand why??? You might honestly be better off doing a whitelist instead of a black list (depending on how many new IP's you get a day). I still find it hard to see why on earth so many banned IP's a day??
    @James, MOH:AA is not as dead as you might be thinking :P Still many people play it and alot of them especially from the region which Slim is hinting try to use cheats / hacks as well. I like your idea of white listing and I think it is doable. But there are two inherent flaws associated with that:

    a) How to add new players IP addresses
    b) How to add dynamic add of clean players in that list

    @ Slimbips, frankly speaking, I can only think of presence of an Admin and banning manually. Surely, someone might come up with a better workable solution but we should not discourage new people from joining an already dying game, which we all love.

    Rgds.

  8. #18
    Über Prodigy & Developer Razo[R]apiD's Avatar
    Join Date
    May 2010
    Location
    Poland, Lublin
    Posts
    3,257

    Default

    You can let them in for 10min, show a counter down and every 2 min show HUD rectangle with message that they have to register to play on this server, after 10min you kick them out. They register with name and password - they get protected name on the server. Anyone who doesn't play with protected game gets kicked after 10min.

  9. #19

    Default

    Yes still that many cheats... sometimes i think... u know what i clean the list and give people a fair chance to play again on our server..... if i remove this list ips wich i allready did a couple times, i see alot of trouble in the server.... swearing accusing.... no admins around, people go crazy, my whatsapp is ringing all the time. so bad that i just cant unban this list.

    but some of these ranges also clanmembers using, so they also start to complain, and i wanna solve that, but as soon as i unban that range the same day allready 4 new bans in that range.
    and i think i have alot of daily visitors and this server is far from dead.

    the server starts up @ 12:00 in the morning and has 20+ players untill 00:00 and than slowly goes empty, so its pretty active.

    the ipranges i added.... are ranges wich are like 10 times in the list before i banned the range, once in a while i open the ip list and i see like 20 times 197.39.43.76, 197.39.41.89, 197.39.22.65, 197.39.12.55, etc etc so the only way to stop that is banning the whole range, if it wasnt needed i wouldnt do it

    whitelisting is not doable, we have so many players around thats not gonna work, not all of them know how to use a chat or a website or speak english

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •