Original Post
here is the code i use to read the memory, when i try it on some things, it says access violation very often, and is quite unreliable, i was wondering if anyone can refine it, or tell me what im doing wrong.. float CMemHax::ReadFloat( DWORD address ) { if(!readytouse) { return 0.0f; } float retvalx; ReadProcessMemory( game, (LPCVOID) address, &retvalx, sizeof(float), NULL ); return retvalx; } playptr = memory.ReadLong(0xB6F5F0); pointer = memory.ReadLong(playptr + 0x14); x = memory.ReadFloat(pointer + 0x30); y = memory.ReadFloat(pointer + 0x34); z = memory.ReadFloat(pointer + 56);