Go Back   GamerzPlanet - For All Your Online Gaming Needs!! > Online Gaming > Call of Duty

Call of Duty Discuss anything about Call of Duty. Call of Duty hacks, aimbot, wallhack.


COD 4 Offline Trainer v0.01 beta

Call of Duty


 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 09-01-2009, 05:43 AM   #1
EvilKing
Dev Administrator
 
EvilKing's Avatar
 
Last Online: Yesterday 08:35 AM
Join Date: Nov 2005
Location: Germany
Posts: 4,456
Rep Power: 50
Rep Points: 317
EvilKing is a jewel in the roughEvilKing is a jewel in the roughEvilKing is a jewel in the roughEvilKing is a jewel in the rough
Feedback: (0)
Points: 9,014.23
Bank: 82,008.24
Total Points: 91,022.47
Dad I will never forget you. 23.01.1962 - 14.06.2009 - EvilKing Thanks for everyones condolences and being there for me - EvilKing Grandma I will never forget you either. 27.12.1914 - 06.09.2009 - EvilKing 
Arthritis - Child Abuse - Colon Cancer - Colorectal Cancer - Dystonia - Education - Free Speech - Interstitial Cystitis - ME/CFIDS - Reye's Syndrome - Save the Music - Teens Against Smoking - Victim's Rights - Water Quality - EvilKing Troop and Military Support - Amber Alert - Bladder Cancer - Endometriosis - Equality - Liver Cancer - Liver Disease - Missing Children - POW/MIA - Spina Bifida - Suicide - EvilKing Childhood Cancer - EvilKing Bone Marrow Donation - Childhood Depression - Depression - Environment - Eye Injury Prevention - Glaucoma - Kidney Cancer - Kidney Disease - Kidney Transplantation - Leukemia - Lyme Disease - Mental Retardation - Missing Children - Organ Donation - T - EvilKing Alzheimer's - Crohn's & Colitis - Cystic Fibrosis - Domestic Violence - Fibromyalgia - Leimyosarcoma - Lupus - EvilKing 
Autism - EvilKing AIDS/HIV - DARE - DUI Awareness - Epidermolysis Bullosa - Heart Disease - Lymphoma - MADD - Substance Abuse - EvilKing Hepatitis C - EvilKing Mourning - Anti-Gang - Melanoma - aznkiller999 Adoptee - Bone Cancer - Child Exploitation and Abuse - Hope and Support - Peace - Retinoblastoma - Right to Life - Student Sexual Assault - EvilKing 
Post COD 4 Offline Trainer v0.01 beta

Greetings.

Please note this is a beta release.
I am not sure if some COD4 versions have different offsets, I only have this one (german) version of COD4 to work with.

Some feedback would be nice.

v0.01 can only do godmode so far.

However I'll post it along with the source code, so you can learn a bit from it.
It's written in Delphi 7, so make sure you have the corresponding runtimes installed.

Code:
unit GZPCOD4;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs, uallProcess, ExtCtrls, StdCtrls;

type
  TForm1 = class(TForm)
    Image1: TImage;
    CheckBox1: TCheckBox;
    Label1: TLabel;
    Timer1: TTimer;
    Timer2: TTimer;
    procedure FormMouseDown(Sender: TObject; Button: TMouseButton;
      Shift: TShiftState; X, Y: Integer);
    procedure Timer1Timer(Sender: TObject);
    procedure Timer2Timer(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  Form1: TForm1;
  codpid: integer;
  codhandle: integer;

implementation

{$R *.dfm}

procedure TForm1.FormMouseDown(Sender: TObject; Button: TMouseButton;
  Shift: TShiftState; X, Y: Integer);
const
  SC_DRAGMOVE = $F012;
begin
 if Button = mbleft then
 begin
   ReleaseCapture;
   Form1.Perform(WM_SYSCOMMAND, SC_DRAGMOVE, 0);
 end;
end;

procedure TForm1.Timer1Timer(Sender: TObject);
begin
  codpid := findprocess('iw3sp');
  if (codpid > 0) then
  begin
    Label1.Caption := Format('COD4 PID: %d', [codpid]);
    codhandle := OpenProcess(PROCESS_ALL_ACCESS,False,codpid);
    CheckBox1.Enabled := true;
  end
  else
  begin
    Label1.Caption := 'COD4 PID: 0 (searching...)';
    codhandle := 0;
    CheckBox1.Checked := false;
    CheckBox1.Enabled := false;
  end;
end;

procedure TForm1.Timer2Timer(Sender: TObject);
var
  health: pcardinal;
  write: cardinal;
begin
  if (CheckBox1.Checked) then
  begin
    Getmem(health,4);
    health^ := 1000;

    WriteProcessMemory(codhandle,ptr($C8155C),health,4,write);

    FreeMem(health);
  end;
end;

end.
Smacked together in 20 minutes of work.
If you want to compile it on your own, you gotta download the uallCollection (google it).

Regards,
EvilKing
Attached Files
File Type: zip COD4T.zip (261.0 KB, 52 views)
Please scan all the files you download with NoVirusThanks before opening them. If there is a virus, report the post by clicking the button.
__________________
Warning: Don't beg/ask for hacks.
Search the forums ([Only registered and activated users can see links. ]) before asking.

[Only registered and activated users can see links. ]

Not registered yet? Paste this into your browsers address bar
gamerzplanet.net/forums/register.php?referrerid=155

EvilKing is offline   Reply With Quote
 

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Forum Jump

All times are GMT -7. The time now is 06:26 AM.

 

Copyright ©2009, GamerzPlanet.Net
Visits: