• The Division hacks, cheats and exploits run rampant in PC beta
    32 replies, posted
[QUOTE=ZestyLemons;49670723]It blows me away that a tiny line of code could fix this super easily [code] // Occurs when firing a weapon if (currentMagBullets > maxMagSize) then { currentMagBullets = maxMagSize - 1; } [/code] (pseudocode) Tada, now if you have 10,000 bullets in a gun that's suppose to have 30, it'll fire your bullet and set you to 29.[/QUOTE] Until you change maxMagSize with CheatEngine just like you did with currentMagBullets.
[QUOTE=ZestyLemons;49670723]It blows me away that a tiny line of code could fix this super easily [code] // Occurs when firing a weapon if (currentMagBullets > maxMagSize) then { currentMagBullets = maxMagSize - 1; } [/code] (pseudocode) Tada, now if you have 10,000 bullets in a gun that's suppose to have 30, it'll fire your bullet and set you to 29.[/QUOTE] And then you simply replace that tidbit with an unconditional branch and it skips it entirely. Don't ever trust the client.
Sorry, you need to Log In to post a reply to this thread.