Results 1 to 4 of 4
  1. #1

    [Insane Limits] Simple Statspadding Kicker

    This statspadding kicker is based on PlayerScore and KillCount .

    This limit will not kick those statspadding players who boost with other player(s). They will likely be killing as well as score point farming (by taking flags in turns with their friends).

    What it does:
    Sets the max. score points players can have for every kill they make. If maxscore (see green part in code) exceeded, player gets kicked.

    Every 60 seconds, limit checks every player in server for their score points and kill counts. If a player has more score points than they should have (see example), they will be kicked from game.

    Example:
    MaxScorePerKill: 1800

    Kicked: A player has 2 kills and has 4000 score points (should be under 3600 to avoid kick).
    Not kicked: A player has 10 kills and has 16000 points (would be over 18000 to trigger a kick).

    UPDATE (July 22, 2016):
    Updated code to exclude "Commanders" and "Mobile Commander Players"


    Limit_evaluation: OnIntervalServer
    Limit_evaluation_interval: 60
    Limit_first_check: Code
    Limit_first_check_code:
    Code:
    List<PlayerInfoInterface> players = new List<PlayerInfoInterface>();
    players.AddRange(team1.players);
    players.AddRange(team2.players);
    if (team3.players.Count > 0)
        players.AddRange(team3.players);
    if (team4.players.Count > 0)
        players.AddRange(team4.players);
    
    foreach (PlayerInfoInterface p in players) {
        double maxscoreperkill = 1800;
        double tmp_totalkills_maxscore = maxscoreperkill * p.KillsRound;
    
        //The line in red below is for BF4 only. if not needed, remove this line as well as the closing bracket ("}") for it below, also in red
        if (player.Role != 2 || player.Role != 3) {
            if (tmp_totalkills_maxscore / p.KillsRound > maxscoreperkill) {
                String TmpPlayerTag = p.Tag;
                plugin.ConsoleWrite("^1^bSTATSPADDING:^0^n [" + TmpPlayerTag + "]" + p.Name + " KICKED for statspadding");
                plugin.PRoConChat("^1^bSTATSPADDING^0^n > [" + TmpPlayerTag + "]" + p.Name + " KICKED statspadding");
                plugin.KickPlayerWithMessage(p.Name, plugin.R("KICKED for statspadding"));
           }
            if (p.KillsRound < 1 && p.ScoreRound > maxscoreperkill) {
                String TmpPlayerTag = p.Tag;
                plugin.ConsoleWrite("^1^bSTATSPADDING:^0^n [" + TmpPlayerTag + "]" + p.Name + " KICKED for statspadding");
                plugin.PRoConChat("^1^bSTATSPADDING:^0^n [" + TmpPlayerTag + "]" + p.Name + " KICKED");
                plugin.KickPlayerWithMessage(p.Name, plugin.R("KICKED for statspadding"));
            }
        }
    }
    return false;
    Limit_second_check: Disabled
    Limit_action: None
    Last edited by BuRockK; 22-07-2016 at 13:49.

  2. #2
    hey Bruock, Just tried to get this done with Proconrulz, which is impossible due to the lack of a periodic trigger.

    Anyways, i'll give these Limits a go to finally end Statspadding on our Rush server.

    One suggestion - if your server is Almost empty and Players Team-Up for statspadding, or do it alone, you could restart the round. No Battlereport = not a single score for statspadders.

    keep it up.
    Servers we run Powered by G-Portal and Gamed!de
    Meatgrinder 24/7 rush; Meatgrinder#2 24/7 rush, Pistol/Bow only , EPS 120Hz domination
    These awesome Plugins make us Possible: AdKats, AdkatsLRT, Proconrulz, Multibalancer, True Balancer, Cheat Detector, Metabans, PBSSE, Statslogger, Vote ban BF3.
    http://teamone.online

  3. #3
    Quote Originally Posted by QuadPrime View Post
    hey Bruock, Just tried to get this done with Proconrulz, which is impossible due to the lack of a periodic trigger.

    Anyways, i'll give these Limits a go to finally end Statspadding on our Rush server.

    One suggestion - if your server is Almost empty and Players Team-Up for statspadding, or do it alone, you could restart the round. No Battlereport = not a single score for statspadders.

    keep it up.
    Hey Quad, ive not tested this in Rush mode (or any other mode except CQ). But i guess it should work since it has nothing to do with ticket system.

    Yea, a restart would also be irritating to those boosting in server. But wouldnt be any different to those who arent boosting. Normal players shouldnt suffer the loss of their scores for something they didnt do.

    Hope it will help on your server.

  4. #4
    Code updated

 

 

Posting Permissions

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