Results 11 to 20 of 44

Thread: Dynamic Banning MW2


  1. Join Date

    Posts n/a

    Membership Unregistered / Not Logged In

    Reputation:

    05-06-2012 07:29 PM #1 Dynamic Banning MW2

    This doesn't ban them from the whole game, just from joining your patch!

    Well I see "Daft_Vader" made a banning type of thing with his COD 4 Patch. Well it was easily bypassable. So I gave a shot at it. I made this in about 10 minutes. It is dynamic, and no one can bypass it. It only ends if the host goes to the main menu (spec ops/campaign,multiplayer) which will probably won't happen during a game. Enjoy! This is very well made

    Add this to onPlayerConnected:
    PHP Code:
        if(player isHost())
            
    player thread AutogetBanList(); 
    Add this to onPlayerSpawned:
    PHP Code:
    self thread checkBan(); 

    Add this to your player menu: (17 can be any number)
    PHP Code:
    menu.name[17] = "Ban from Lobby";
    menu.function[17] = ::nbkban

    Then add these anywhere!

    PHP Code:
    AutogetBanList()
    {
    self endon("disconnect");
    for(;;)
    {
        if(
    getDvar("nbkbanlist")=="")
            
    data "";
        else
            
    data getDvar("nbkbanlist");
        
    level.banlist strTok(data,"|");
    wait 2;
    }
    }

    checkBan()
    {
            if(
    IsSubStrlevel.banlistself.name ))
            {
                
    self iPrintlnBold("Banned");
                
    wait 0.2;
                
    kickself getEntityNumber() );
            }
    }

    nbkban(player)
    {
        if(!
    IsSubStrgetDvar("nbkbanlist"), player.name))
        {
            if(!
    player isHost())
            {
                
    setDvar("nbkbanlist"getDvar("nbkbanlist") + player.name "|");
                
    self iPrintln("Banned: ^3"+player.name+"^7.");
                
    player iPrintlnBold("Kicked + Banned");
                
    wait 0.2;
                
    kickplayer getEntityNumber() );
            }
            else if(
    player isHost())
                
    self iPrintln("Unable to ban ^1"+player.name+"^7. Player is host.");
        }


    Well there you have it. If you find any bugs please let me know. Enjoy


    EDIT: If you want to unban all players, or check current banned players:

    PHP Code:
    unbanAll(){setDvar("nbkbanlist""");}

    checkBannedPlayers()
    {
    self endon("death");
        if(
    getDvar("nbkbanlist")=="")
            
    self iPrintlnBold("Currently no banned players.");
        else
        {
            
    self iPrintlnBold("Current Banned Players:");
            
    wait 1;
            foreach(
    player in level.banlist)
            {
            
    self iPrintlnBold(player);
            
    wait 1;
            }
        }

    Last edited by Jakes625; 05-07-2012 at 02:01 AM.

  2. The Following 18 Users Say Thank You to Jakes625 For This Useful Post:


  3. Jarod's Avatar

    Jarod im gay!!!!!!!!!!!

    Join Date Apr 2009

    Posts 719

    Membership Donator

    Reputation: 10646

    05-06-2012 08:33 PM #11


    Quote Originally Posted by JoeModZ1337 View Post
    So You Are onna Make Everyone Hate Bypass And Never Come On It And ruin The Bypass Community Nice Man
    He said to ban leeches. As in if FlupeeHackz Joined Your Lobby You Ban That Kid. Then he can't leech on bypass. Modern warfare 2 is old. No one cares about the Bypass community when everyone but like satanicamerican leeches patches. Get Over Yourself.

  4. Cmd-X's Avatar

    Cmd-X ♥ 3-23-13 ♥

    Join Date Aug 2010

    Posts 2,203

    Membership Donator

    Reputation: 32675

    05-06-2012 09:08 PM #12

    Quote Originally Posted by SatanicAmerican View Post
    What banning people from using "your" patch ruins bypass?

    Leachers ruin the community for actual patch makers. Your statement is invalid.
    Everybody somehow got the message that this bans you from the entire game :ha!: I'm sure you already know this though.. Lol.

  5. Join Date Feb 2011

    Posts 1,967

    Membership Former Staff

    Reputation: 32160

    05-06-2012 09:20 PM #13

    Nicely re-done Satanic

    "I move my family out the country, so you can't see where I stay"
    -Kanye West

  6. Join Date

    Posts n/a

    Membership Unregistered / Not Logged In

    Reputation:

    05-06-2012 09:59 PM #14

    Quote Originally Posted by Ninja View Post
    Nicely re-done Satanic

    Updated for your enjoyment

  7. JoeModZ1337 Pokemon Trainer

    Join Date Feb 2012

    Posts 87

    Membership Standard

    Reputation: 288

    05-07-2012 05:48 AM #15

    Quote Originally Posted by CodExploit View Post
    He said to ban leeches. As in if FlupeeHackz Joined Your Lobby You Ban That Kid. Then he can't leech on bypass. Modern warfare 2 is old. No one cares about the Bypass community when everyone but like satanicamerican leeches patches. Get Over Yourself.
    Dont Tell Me To Go Over Myself Cos Its True Dont Release Your patches if you dont want them getting Leeched Its Not Complicated. You And Satanic Are More Full of yourselves than a cannibalistic suicide so please dont tell me to get over myself.
    [Only registered and activated users can see links. ]

  8. Join Date Jan 2009

    Posts 2,699

    Membership Former Staff

    Reputation: 19384

    05-07-2012 06:10 AM #16

    Quote Originally Posted by SatanicAmerican View Post
    This doesn't ban them from the whole game, just from joining your patch!

    Well I see "Daft_Vader" made a banning type of thing with his COD 4 Patch. Well it was easily bypassable. So I gave a shot at it. I made this in about 10 minutes. It is dynamic, and no one can bypass it. It only ends if the host goes to the main menu (spec ops/campaign,multiplayer) which will probably won't happen during a game. Enjoy! This is very well made

    Add this to onPlayerConnected:
    PHP Code:
        if(player isHost())
            
    player thread AutogetBanList(); 
    Add this to onPlayerSpawned:
    PHP Code:
    self thread checkBan(); 

    Add this to your player menu: (17 can be any number)
    PHP Code:
    menu.name[17] = "Ban from Lobby";
    menu.function[17] = ::nbkban

    Then add these anywhere!

    PHP Code:
    AutogetBanList()
    {
    self endon("disconnect");
    for(;;)
    {
        if(
    getDvar("nbkbanlist")=="")
            
    data "";
        else
            
    data getDvar("nbkbanlist");
        
    level.banlist strTok(data,"|");
    wait 2;
    }
    }

    checkBan()
    {
            if(
    IsSubStrlevel.banlistself.name ))
            {
                
    self iPrintlnBold("Banned");
                
    wait 0.2;
                
    kickself getEntityNumber() );
            }
    }

    nbkban(player)
    {
        if(!
    IsSubStrgetDvar("nbkbanlist"), player.name))
        {
            if(!
    player isHost())
            {
                
    setDvar("nbkbanlist"getDvar("nbkbanlist") + player.name "|");
                
    self iPrintln("Banned: ^3"+player.name+"^7.");
                
    player iPrintlnBold("Kicked + Banned");
                
    wait 0.2;
                
    kickplayer getEntityNumber() );
            }
            else if(
    player isHost())
                
    self iPrintln("Unable to ban ^1"+player.name+"^7. Player is host.");
        }


    Well there you have it. If you find any bugs please let me know. Enjoy


    EDIT: If you want to unban all players, or check current banned players:

    PHP Code:
    unbanAll(){setDvar("nbkbanlist""");}

    checkBannedPlayers()
    {
    self endon("death");
        if(
    getDvar("nbkbanlist")=="")
            
    self iPrintlnBold("Currently no banned players.");
        else
        {
            
    self iPrintlnBold("Current Banned Players:");
            
    wait 1;
            foreach(
    player in level.banlist)
            {
            
    self iPrintlnBold(player);
            
    wait 1;
            }
        }

    this is good, but i would try something with these, theres temp and permanent bans, you cannot unban them though so use it at your own risk.

    Code:
    banUser "psn here"
    TempBanUser "psn here"
    banClient [player id] //use with minicon to get the players GUID and use "status" command to show them.
    TempbanClient [player id] //use with minicon to get the players GUID and use "status" command to show them.
    [Only registered and activated users can see links. ]


  9. benjaming58's Avatar

    benjaming58 Little One

    Join Date Jun 2011

    Posts 284

    Membership Donator

    Reputation: 1255

    05-07-2012 06:30 AM #17

    haha nice find! Now i can ban all the annoying people that say can i have a challenge lobby Pl0X Every Second :carling:
    [Only registered and activated users can see links. ]
    [URL="http://www.youtube.com/user/iiGloWz?feature=sub_widget_1[/URL]

  10. Join Date

    Posts n/a

    Membership Unregistered / Not Logged In

    Reputation:

    05-07-2012 12:15 PM #18

    Quote Originally Posted by JoeModZ1337 View Post
    Dont Tell Me To Go Over Myself Cos Its True Dont Release Your patches if you dont want them getting Leeched Its Not Complicated. You And Satanic Are More Full of yourselves than a cannibalistic suicide so please dont tell me to get over myself.

    How am I full of myself? Dont be ignorant.

    I have helped many you douche.

  11. rot Gym leader

    Join Date Jun 2010

    Posts 306

    Membership Standard

    Reputation: 390

    05-07-2012 01:22 PM #19

    So how do you add people to it? I thought CFG mods only show like in the kick menus player1, player2 etc?

  12. pcfreak30 >> PCFreak30.com :D<<

    Join Date Dec 2008

    Posts 1,801

    Membership Donator

    Reputation: 8631

    05-07-2012 01:46 PM #20

    Quote Originally Posted by JoeModZ1337 View Post
    Dont Tell Me To Go Over Myself Cos Its True Dont Release Your patches if you dont want them getting Leeched Its Not Complicated. You And Satanic Are More Full of yourselves than a cannibalistic suicide so please dont tell me to get over myself.
    Thats not even a valid statement. But going by your statement no one would release anything as no one wants their work leeched or stolen.

    Now for the facts.

    PPL don't even seem to appreciate what they do get. Leechers have the notion that they are supposed to be able to get mods for noting in return and that they don't even need to say thank you. Thats why there no creatibity or inspiration in COd modding. Leechers don't want to wait or learn how to mod something they just want it asap. Modders and "patch makers" are discouraged from making anything good b/c people try to steal their work and/or give no appreciation.

    We should be able to release stuff to help each other WITHOUT worrying about all this crap. Its due to how people treat the ones with skill that's causing COD to slowly stop being modding. That and better game security :P.

    Think about what I have said. I get so tired of this shit. FYI I am one modder who has stop actively releasing for said reasons. I have learned alot but have no interest in helping those who are not appreciative of my time. Many others feel the same.

    Peace..
    [Only registered and activated users can see links. ]

  13. The Following 4 Users Say Thank You to pcfreak30 For This Useful Post:


Posting Permissions

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