Results 1 to 4 of 4
  1. #1
    JonRamzes
    JonRamzes is offline
    New member
    Join Date
    2011 Oct
    Posts
    5
    Thanks Thanks Given 
    0
    Thanks Thanks Received 
    0
    Thanked in
    0 Posts
    Rep Power
    0

    Help with small trainer for online game

    My question is probably stupid, but I was very worried.

    I want to write a small trainer for online game, but I do not know how.

    In these sreens I have described an algorithm that would be realized in life.





    All I know is that you need to work with functions ReadProcessMemory and WriteProcessMemory...

    If anyone ever encountered such an example, could you please help me.

    Excuse me for my bad English

    Sincerely JonRamzes.

    P.S. I know I need to use the length of the text string to indicate the number of symbols.

    I tryed used this:

    Code:
    begin
      WindowName:= Find(nil, WindowTitle);
      If WindowName = 0 then
      begin
        MessageDlg('!!!', mtwarning, [mbOK], 0);
      end;
    
      ThreadId:= GetWindowThreadProcessId(WindowName,@ProcessId);
      HandleWindow:= OpenProcess(PROCESS_ALL_ACCESS, False, ProcessId);
    
      buf:= length(Edit1.Text);
      WriteProcessMemory (HandleWindow, ptr($007E1DAC), @buf, 4, write);
    end;
    Last edited by JonRamzes; 2011-12-25 at 11:45 AM.

  2. #2
    annnnndre
    annnnndre is offline
    Senior Member annnnndre's Avatar
    Join Date
    2011 Jul
    Location
    By your side, let's the game begin'
    Posts
    336
    Thanks Thanks Given 
    118
    Thanks Thanks Received 
    177
    Thanked in
    87 Posts
    Rep Power
    0
    About ReadProcessMemory and WriteProcessMemory, you can see that; https://progamercity.net/code-tut/20...ss-memory.html this will give to you a little more understand about what you want;

  3. #3
    Dwar
    Dwar is offline
    Veteran Dwar's Avatar
    Join Date
    2010 Mar
    Posts
    2,222
    Thanks Thanks Given 
    211
    Thanks Thanks Received 
    2,230
    Thanked in
    292 Posts
    Rep Power
    10
    Quote Originally Posted by JonRamzes View Post
    All I know is that you need to work with functions ReadProcessMemory and WriteProcessMemory...
    You are trying to create chat msg auto sender? Of course, you can implement message sending with WriteProcessMemory (writing your data to buf, and then call sending procedure by pressing enter key), but I suggest you to deal with code injection, 'cuz you can directly call any ingame procedure without touching keys on your keyboard
    Please, post your questions on forum, not by PM or mail

    I spend my time, so please pay a little bit of your time to keep world in equilibrium

  4. #4
    JonRamzes
    JonRamzes is offline
    New member
    Join Date
    2011 Oct
    Posts
    5
    Thanks Thanks Given 
    0
    Thanks Thanks Received 
    0
    Thanked in
    0 Posts
    Rep Power
    0
    Quote Originally Posted by Dwar View Post
    You are trying to create chat msg auto sender? Of course, you can implement message sending with WriteProcessMemory (writing your data to buf, and then call sending procedure by pressing enter key), but I suggest you to deal with code injection, 'cuz you can directly call any ingame procedure without touching keys on your keyboard
    Can you help me with full code, please?

Similar Threads

  1. [Delphi] Creating a Simple Game Trainer
    By Dwar in forum Delphi
    Replies: 21
    Last Post: 2012-07-24, 02:38 PM
  2. A small query..
    By chutzpah in forum C/C++
    Replies: 1
    Last Post: 2011-09-20, 01:37 PM
  3. WTB Small Hack
    By kareem50 in forum Buying Place
    Replies: 0
    Last Post: 2011-07-24, 10:44 PM
  4. [Help]Small C# Program
    By Pb600 in forum C/C++
    Replies: 0
    Last Post: 2011-07-21, 01:03 AM
  5. Convert small function C to Delphi
    By [E]Key in forum Delphi
    Replies: 2
    Last Post: 2011-03-26, 01:46 PM

Posting Permissions

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