Metick / DMALibrary

Simple but extensive library for DMA users, made for gamehacking
MIT License
348 stars 75 forks source link

CR3 Help #35

Closed lishaoju closed 2 months ago

lishaoju commented 2 months ago

while (true) { BYTE bytes[4] = { 0 }; DWORD i = 0; if (VMMDLL_VfsReadU(this->vHandle, const_cast("\misc\procinfo\progress_percent.txt"), bytes, 3, &i, 0) == VMMDLL_STATUS_SUCCESS) { if (atoi(reinterpret_cast(bytes)) == 100) { break; } } sleep_for(milliseconds(100)); }

When CR3 patching fails, I attempt to repatch it, but every time I start retrieving the data from 0 again, and I can never successfully patch CR3. Some systems behave this way. Normally, on the second attempt, the retrieval should directly start from 100. How should I handle this issue?

Metick commented 2 months ago

Restart pc, it just means it got paged out.

lishaoju commented 2 months ago

Restart pc, it just means it got paged out.

Thank you for your prompt response

lishaoju commented 2 months ago

Restart pc, it just means it got paged out.

Are there any other solutions? I've tried restarting the PC multiple times, but it doesn't seem to have any effect

Metick commented 2 months ago

cold restart, and make sure youre restarting your target computer

lishaoju commented 2 months ago

cold restart, and make sure youre restarting your target computer

It's still not resolved. Could this be related to the system? Windows 10 Professional 22H2 19045.4780 is not working, but Windows 10 Professional 22H2 19045.3803 is working

Metick commented 2 months ago

Probably not. Just page issues.

dolodi commented 2 months ago

Its beacause your probably initializing all plugins each time, so progress has to start from 0 again