1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

AntiAC

Discussion in 'Development' started by BLOCKSTORM, May 10, 2018.

  1. BLOCKSTORM

    BLOCKSTORM Witch

    Messages:
    67
    Any ideas how to make that if a player has More that 20 CPS(Clicks per Second), a command gets executed?
     
  2. Thunder33345

    Thunder33345 Moderator Staff Member

    Messages:
    2,137
    GitHub:
    Thunder33345
    each second, you collect each user's click and tally them
    at the end of said second if anyone has more than 20 clicks you execute a command
    example give the player OP since he is too OP
     
  3. BLOCKSTORM

    BLOCKSTORM Witch

    Messages:
    67
    I'll simply ban him. The problem is that some users are crashing the server of us with an autoclicker, beceause the client sends to much packets with AutoClicker and the server crashs :/
     
  4. EdwardHamHam

    EdwardHamHam Skeleton

    Messages:
    962
    GitHub:
    edwardhamham
    Well the server needs to receive those packets for that to work automatically. How much resources is your server using on its own?
     
  5. BLOCKSTORM

    BLOCKSTORM Witch

    Messages:
    67
    32GB RAM has the vserver it's running on and enough memory and enough cpu
     
  6. Sandertv

    Sandertv Zombie Pigman Poggit Reviewer

    Messages:
    786
    GitHub:
    Sandertv
    Perhaps consider posting a crash dump for us to see if that is actually the issue.
     
    EdwardHamHam, Muqsit and Thunder33345 like this.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.