VB Code:
  1. For i = 1 To 47
  2.         Select Case i
  3.        
  4.             Case 1
  5.                 address = &H5DC4F2
  6.                 address2 = &H5DC4F3
  7.                 address3 = 0
  8.                 address4 = 0
  9.                 address5 = 0
  10.                 address6 = 0
  11.         ' and 46 more Case's....
  12.             End Select
  13.  
  14. 'readprocessmemory blah blah .....
  15.  
  16. If address = &H5DC4F2 And strBuffer3 <> "8902" Then Localcheat = "blah"
  17.  
  18. If address = &H5D3E16 And strBuffer3 <> "480C" Then Localcheat = "blah"
  19. ' and 20 to 30 more "If address=" . . . .
It closes the target process imediately(doesn't work..). But it works fine if I take out the updated addresses.
Example:
VB Code:
  1. If address = &H53DE16 And strBuffer3 <> "3BC1" Then Localcheat = "SH2"
  2.  
  3.         If address = &H5DC453 And strBuffer3 <> "C781A000000000000000" Then Localcheat = "3RB"
If I take those out, it works fine.

Could it mean the Buffers aren't correct?

I can't figure out why....