Results 1 to 4 of 4

Thread: Edit Memory Variable

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    May 2001
    Location
    Texas
    Posts
    140

    Question Edit Memory Variable

    There is a memory varibale for a game that I would like to edit while the game is running. What VB code can I use to do so?

  2. #2
    Frenzied Member MerrionComputin's Avatar
    Join Date
    Apr 2001
    Location
    Dublin, Ireland
    Posts
    1,616
    You can't. Only code running in the same process as the game (i.e. DLLs loaded by it) can alter its memory. Any attempt to alter the memory from another process will result in a protection fault.
    ----8<---------------------------------------
    NEW - The .NET printer queue monitor component
    ----8<---------------------------------------
    Now with Examples of use

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    May 2001
    Location
    Texas
    Posts
    140

    Smile

    How come HEX Editors can do it?

  4. #4
    Frenzied Member MerrionComputin's Avatar
    Join Date
    Apr 2001
    Location
    Dublin, Ireland
    Posts
    1,616
    Hex editors run on static files...i.e just editing the executable.
    There are tools to edit running files, but they require debug system drivers, which you cannot write in VB as far as I know....

    HTH,
    Duncan
    ----8<---------------------------------------
    NEW - The .NET printer queue monitor component
    ----8<---------------------------------------
    Now with Examples of use

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width