Hello! I'm using memoryjs-fixed, https://www.npmjs.com/package/memory...tiveTab=readme & nodejs to create a CS:GO Cheat. Don't comment, "use c++", I have in the past. I am migrating for easy UI functionality. Anyway, I am attempting to find the CrosshairId, which would display if I am looking at an enemy or not.
Code:
const MemoryJS = require('memoryjs-fixed');
const procName = "csgo.exe";
MemoryJS.openProcess(procName, (error, processObj) => {

    if(processObj == null) {
        alert("Open CS:GO, and Restart uAim.");
    } else {
        MemoryJS.findModule("client_panorama.dll", processObj['th32ProcessID'], (error, PDll) => {
            const modBaseAddr = PDll['modBaseAddr'];
            // Find the Player Address
            var dwPlayer = MemoryJS.readMemory(modBaseAddr + 0xC6086C, "int");
            function Lazer() {
                // Find Crosshair Id
                var crossId = MemoryJS.readMemory(dwPlayer + 0xB2B8, "int");
                console.log(crossId);
            }
            setInterval(Lazer, 100);
        });
    }
    
});
At the moment, when run - it does indeed work, however the console is constantly logging "0", and when I look at enemy it should turn to a value > 0 - but it stays the same. Any ideas? Offsets are updated and from https://github.com/frk1/hazedumper - NodeJs is 32bit. Thanks!