diff --git a/src/modules/cars/functions.ts b/src/modules/cars/functions.ts index 88bd159..8c60d3a 100644 --- a/src/modules/cars/functions.ts +++ b/src/modules/cars/functions.ts @@ -709,8 +709,48 @@ export async function checkCreatedCar(body: wm.protobuf.CreateCarRequest, car: a let cheated: boolean = false; let slurName: boolean = false; + // Check if name is slur name and lots of combination 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', + '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 diff --git a/src/modules/ghost/ghost_ocm.ts b/src/modules/ghost/ghost_ocm.ts index 603fe6f..e20a24c 100644 --- a/src/modules/ghost/ghost_ocm.ts +++ b/src/modules/ghost/ghost_ocm.ts @@ -589,9 +589,9 @@ export async function ocmGiveNamePlateReward(competitionId: number) let participantLength = getCarParticipant.length; // Participant is more than certain number (100 is default) - if(participantLength > 50) + if(participantLength > 100) { - participantLength = 50; + participantLength = 100; } // 16th - C1