CowNowK / AimStar

Free and open-source external cheat for CS2, written in C++, working on Windows
MIT License
468 stars 82 forks source link

RAM consumption #186

Closed dawidudek closed 7 months ago

dawidudek commented 7 months ago

Hello Do you know where in the source code there is a line for RAM usage? On devices with 8GB of memory (my friends testing this cheat), the cheat crashes. I don't have such a problem on a PC with 16GB of RAM. Could this be a problem? Thank you in advance for any help

JannesBonk commented 7 months ago

Hello Do you know where in the source code there is a line for RAM usage? On devices with 8GB of memory (my friends testing this cheat), the cheat crashes. I don't have such a problem on a PC with 16GB of RAM. Could this be a problem? Thank you in advance for any help

Are you both using the same config? Has he tried disabling unsafe functions? (ex. Flash immunity, No smoke, Smoke color etc.)

dawidudek commented 7 months ago

@JannesBonk I have disabled all dangerous functions (they are not on the cheat list) and safe mode is enabled by default (I removed the disable slider). The problem definitely lies in RAM. Me and my friend (we have 16gb) were the only ones who didn't experience game crashes.

JannesBonk commented 7 months ago

@JannesBonk I have disabled all dangerous functions (they are not on the cheat list) and safe mode is enabled by default (I removed the disable slider). The problem definitely lies in RAM. Me and my friend (we have 16gb) were the only ones who didn't experience game crashes.

I did some testing on my old computer (I3 6006U, 8GB Ram DDR4 @ 2133mhz, Intel HD 520 graphics), and I experienced no issues. I am not 100% sure that "the problem definitely lies in RAM", as there are other factors that can make a cheat crash/close.

Here are some recommendations I would suggest:

M3351AN commented 7 months ago

Aimstar may have a potential memory leak problem, but is not obvious rn. I think the issue is not due to RAM .I have tested aimstar on a 4Gb ddr3 device and it worked. cpu e3 1230v2& gpu r7 450 2g