First of all, download CookieAPI.dll (in the attachment).
Setup
Add CookieAPI to your references (click Project > Add Reference > Browse > Search for CookieAPI).
Go to your code and import the API.
C#
VB:Code:using CookieAPI;
UsageCode:Imports CookieAPI
First create a Memory object.
C#:
VB:Code:Memory NAMEOFOBJECT = new Memory("PROCCESSNAME")
Then whenever you want to edit memory, use the following methods.Code:Dim NAMEOFOBJECT As New Memory("PROCCESSNAME")
ExamplesCode:SetMemory(int address, long value, int size), this sets memory (most common one for "beginners") SetFloat(int address, float value), this sets float memory. SetDouble(int address, double value), this set double memory. NOP(int address, int value), this nops an address.
C# example:
VB example:Code:using System.Windows.Forms;using System; using CookieAPI; namespace Test { public partial class mainForm : Form { public mainForm() { InitializeComponent(); } Memory mem = new Memory("iw5mp"); private void Clicked(object sender, EventArgs e) { mem.SetMemory(0x12345678, 100, 4); mem.SetFloat(0x12345678, 100.0F); mem.SetDouble(0x12345678, 100D); } } }
VirusscansCode:Imports CookieAPI Public Class mainForm Dim mem As New Memory("iw5mp") Private Sub Clicked(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button.Click mem.SetMemory(&H12345678, 100, 4) mem.SetFloat(&H12345678, 100.0F) mem.SetDouble(&H12345678, 100D) End Sub End Class
CookieAPI.rar - Jotti's malware scan
VirusTotal - Free Online Virus, Malware and URL Scanner
Last edited by Nathan; 11-11-2011 at 08:19 AM.
I NEED COOKIE API!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
GIVE ME LINK PLZ!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
FOR VISUAL BASIC!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Very useful contribution for beginners!
FBI got my PC...Hardcore cheating is paused atm..
/attachment approved
nice release cookie
I love it when people keep their agreements /sarcasm ftw
help me find some MW3 addresses plz??-I'll make a hack and credit you if it goes well and is a hit?PLZ?
Check out my other tutorial: https://www.mpgh.net/forum/404-call-d...addresses.html
Hmm, without downloading it, is the code portable?
Skyline. (11-20-2011)
Hey i am pretty noob to this what kind og project shall i make is it a windows or console or what is it and is there a YT vid for it ?
Get banned from MW2 1 time [X]
Get banned from MW2 2 times [X]
Get banned from MW2 3 times [X]
Get banned from MW2 4 times [x]
Make an hack []
Make an Mod [x]
Make an skin []
Make an Program [X]
Stop Thinking Start Knowing
If you really want to help newbs then release the source so they can see what it is they are doing.
M-efti's Unlocker for alterIWnet . . . . . . . . . . . . . . . . . . . . . . . . . . . .M-efti's MW2 SP Trainer 1.2
M-efti's Superior alterIWnet Hack . . . . . . . . . . .. . . . . . . . . . . . . . . ..M-efti's MW2 SP Trainer 1.7
M-efti's BO SP Trainer 4.12 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ..M-efti's Dead Pixels Trainer
Skyline. (11-20-2011)
What is CookieAPI.dll? This is a legal Library from Microsoft?
no one that cookie made
I love it when people keep their agreements /sarcasm ftw