slur names and revert ocm gold plate to top 100
This commit is contained in:
parent
2470c84e3f
commit
b69f74fd4f
@ -709,8 +709,48 @@ export async function checkCreatedCar(body: wm.protobuf.CreateCarRequest, car: a
|
|||||||
let cheated: boolean = false;
|
let cheated: boolean = false;
|
||||||
let slurName: boolean = false;
|
let slurName: boolean = false;
|
||||||
|
|
||||||
|
// Check if name is slur name and lots of combination
|
||||||
let allSlurName = [
|
let allSlurName = [
|
||||||
|
'cunny',
|
||||||
'CUNNY',
|
'CUNNY',
|
||||||
|
'CUNNy',
|
||||||
|
'CUNny',
|
||||||
|
'CUnny',
|
||||||
|
'Cunny',
|
||||||
|
'cUnny',
|
||||||
|
'cuNny',
|
||||||
|
'cunNy',
|
||||||
|
'cunnY',
|
||||||
|
'cunNY',
|
||||||
|
'cuNNY',
|
||||||
|
'cUNNY',
|
||||||
|
'CuNNY',
|
||||||
|
'CUnNY',
|
||||||
|
'CUNnY',
|
||||||
|
'cUNNy',
|
||||||
|
'cuNNy',
|
||||||
|
'CuNNy',
|
||||||
|
'CunNy',
|
||||||
|
'cUnnY',
|
||||||
|
'cuNnY',
|
||||||
|
'CuNnY',
|
||||||
|
'CunnY',
|
||||||
|
'cUnNY',
|
||||||
|
'cUnNy',
|
||||||
|
'CUNT',
|
||||||
|
'CUNt',
|
||||||
|
'CUnt',
|
||||||
|
'Cunt',
|
||||||
|
'cUnt',
|
||||||
|
'cuNt',
|
||||||
|
'cunT',
|
||||||
|
'cunt',
|
||||||
|
'NIGGA',
|
||||||
|
'NIGGa',
|
||||||
|
'NIGga',
|
||||||
|
'NIgga',
|
||||||
|
// '',
|
||||||
|
// need some sauce to get all possible combinations instead of manually think and type it out
|
||||||
];
|
];
|
||||||
|
|
||||||
// Check if user item id is not set and its a special car
|
// Check if user item id is not set and its a special car
|
||||||
|
@ -589,9 +589,9 @@ export async function ocmGiveNamePlateReward(competitionId: number)
|
|||||||
let participantLength = getCarParticipant.length;
|
let participantLength = getCarParticipant.length;
|
||||||
|
|
||||||
// Participant is more than certain number (100 is default)
|
// Participant is more than certain number (100 is default)
|
||||||
if(participantLength > 50)
|
if(participantLength > 100)
|
||||||
{
|
{
|
||||||
participantLength = 50;
|
participantLength = 100;
|
||||||
}
|
}
|
||||||
|
|
||||||
// 16th - C1
|
// 16th - C1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user