cheat: nemesisAlwaysCorrect
fix default value
This commit is contained in:
		
							parent
							
								
									7e13bcf8a9
								
							
						
					
					
						commit
						e9b985e9be
					
				@ -82,8 +82,8 @@ export const nemesisController: RequestHandler = async (req, res) => {
 | 
			
		||||
        const inventory = await getInventory(account._id.toString(), "Nemesis");
 | 
			
		||||
        const body = getJSONfromString<INemesisPrespawnCheckRequest>(String(req.body));
 | 
			
		||||
        const passcode = getNemesisPasscode(inventory.Nemesis!);
 | 
			
		||||
        const alwaysCorrectCheat = (await getInventory(account._id.toString(), "nemesisAlwaysCorrect"))
 | 
			
		||||
            .nemesisAlwaysCorrect;
 | 
			
		||||
        const alwaysCorrectCheat =
 | 
			
		||||
            (await getInventory(account._id.toString(), "nemesisAlwaysCorrect")).nemesisAlwaysCorrect ?? false;
 | 
			
		||||
        let guessResult = 0;
 | 
			
		||||
        if (inventory.Nemesis!.Faction == "FC_INFESTATION") {
 | 
			
		||||
            for (let i = 0; i != 3; ++i) {
 | 
			
		||||
@ -106,8 +106,8 @@ export const nemesisController: RequestHandler = async (req, res) => {
 | 
			
		||||
            "Nemesis LoadOutPresets CurrentLoadOutIds DataKnives Upgrades RawUpgrades"
 | 
			
		||||
        );
 | 
			
		||||
        const body = getJSONfromString<INemesisRequiemRequest>(String(req.body));
 | 
			
		||||
        const alwaysCorrectCheat = (await getInventory(account._id.toString(), "nemesisAlwaysCorrect"))
 | 
			
		||||
            .nemesisAlwaysCorrect;
 | 
			
		||||
        const alwaysCorrectCheat =
 | 
			
		||||
            (await getInventory(account._id.toString(), "nemesisAlwaysCorrect")).nemesisAlwaysCorrect ?? false;
 | 
			
		||||
        if (inventory.Nemesis!.Faction == "FC_INFESTATION") {
 | 
			
		||||
            const guess: number[] = [body.guess & 0xf, (body.guess >> 4) & 0xf, (body.guess >> 8) & 0xf];
 | 
			
		||||
            const passcode = getNemesisPasscode(inventory.Nemesis!)[0];
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user