ac
This commit is contained in:
parent
591ef31bbb
commit
c0217e6339
|
@ -223,6 +223,14 @@ class handler(requestsManager.asyncRequestHandler):
|
||||||
userUtils.ban(userID)
|
userUtils.ban(userID)
|
||||||
userUtils.appendNotes(userID, "Banned due to negative score.")
|
userUtils.appendNotes(userID, "Banned due to negative score.")
|
||||||
|
|
||||||
|
if (s.score - (s.c300 * 300 + s.c100 * 100 + s.c50 * 50)) < 0:
|
||||||
|
#userUtils.ban(userID)
|
||||||
|
#userUtils.appendNotes(userID, "Banned due to score being less than no-combo value.")
|
||||||
|
log.cmyui("{} has submitted a score where score is less than no-combo value.".format(userID), discord="cm")
|
||||||
|
|
||||||
|
if s.fullCombo and s.cmiss > 1:
|
||||||
|
log.cmyui("{} has submitted a score with 'fullCombo' flag, but has > 0 misses.".format(userID), discord="cm")
|
||||||
|
|
||||||
# Make sure the score is not memed
|
# Make sure the score is not memed
|
||||||
if s.gameMode == gameModes.MANIA and s.score > 1000000:
|
if s.gameMode == gameModes.MANIA and s.score > 1000000:
|
||||||
userUtils.ban(userID)
|
userUtils.ban(userID)
|
||||||
|
|
Reference in New Issue
Block a user