Counter-Strike_Behavioural_Cloning icon indicating copy to clipboard operation
Counter-Strike_Behavioural_Cloning copied to clipboard

int too long to convert

Open htglvl opened this issue 7 months ago • 0 comments

ReadProcessMemory(game, address, buffer, readlength, byref(bytesRead)) it got overflow error: int too long to convert I fix it as ctypes.c_long(address) but I don't know if it work because the memory it spit out always 0, i don't know because I got the wrong address or the code can't read because of the way I fix it

solved: just need to add ctypes.c_void_p(address) instead of address but bear in mind that recent cs2 offset is kinda outdated and require to check and input address manually

htglvl avatar Jul 01 '24 09:07 htglvl