Page 1 of 2 12 LastLast
Results 1 to 15 of 24
  1. #1
    Nathan's Avatar
    Join Date
    Mar 2011
    Gender
    male
    Location
    In a magical place
    Posts
    6,113
    Reputation
    394
    Thanks
    361

    How to put addresses into C#/VB.net

    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#
    Code:
    using CookieAPI;
    VB:
    Code:
    Imports CookieAPI
    Usage

    First create a Memory object.

    C#:
    Code:
    Memory NAMEOFOBJECT = new Memory("PROCCESSNAME")
    VB:
    Code:
    Dim NAMEOFOBJECT As New Memory("PROCCESSNAME")
    Then whenever you want to edit memory, use the following methods.

    Code:
    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.
    Examples

    C# 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);  
            }
        }
    }
    VB example:
    Code:
    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
    Virusscans
    CookieAPI.rar - Jotti's malware scan
    VirusTotal - Free Online Virus, Malware and URL Scanner
    <b>Downloadable Files</b> Downloadable Files
    Last edited by Nathan; 11-11-2011 at 09:19 AM.

  2. The Following 4 Users Say Thank You to Nathan For This Useful Post:

    distiny (11-11-2011),draiza (11-20-2011),Nexrus (03-24-2012),Tiamalos (11-15-2011)

  3. #2
    kinibayVIP4's Avatar
    Join Date
    Feb 2011
    Gender
    male
    Posts
    90
    Reputation
    10
    Thanks
    7
    My Mood
    Psychedelic
    I NEED COOKIE API!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    GIVE ME LINK PLZ!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    FOR VISUAL BASIC!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

  4. #3
    distiny's Avatar
    Join Date
    Mar 2011
    Gender
    male
    Posts
    560
    Reputation
    67
    Thanks
    560
    My Mood
    Cynical
    Very useful contribution for beginners!
    FBI got my PC...Hardcore cheating is paused atm..

  5. #4
    Threadstarter
    Still a Cookie at heart
    Donator
    Nathan's Avatar
    Join Date
    Mar 2011
    Gender
    male
    Location
    In a magical place
    Posts
    6,113
    Reputation
    394
    Thanks
    361
    Quote Originally Posted by kinibayVIP4 View Post
    INVALID ATTATCHMENT SPECIFIED -> PLZ RE-UPLOAD THE FILE - CAN'T DOWNLAOD
    It's not approved yet.

  6. #5
    lolbie's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    Netherlands
    Posts
    5,207
    Reputation
    288
    Thanks
    2,090
    My Mood
    Angelic
    /attachment approved

    nice release cookie
    I love it when people keep their agreements /sarcasm ftw

  7. #6
    kinibayVIP4's Avatar
    Join Date
    Feb 2011
    Gender
    male
    Posts
    90
    Reputation
    10
    Thanks
    7
    My Mood
    Psychedelic
    how to approve?

  8. #7
    kinibayVIP4's Avatar
    Join Date
    Feb 2011
    Gender
    male
    Posts
    90
    Reputation
    10
    Thanks
    7
    My Mood
    Psychedelic
    NICE DUDE!!!!!->GOT IT!!!!

  9. #8
    kinibayVIP4's Avatar
    Join Date
    Feb 2011
    Gender
    male
    Posts
    90
    Reputation
    10
    Thanks
    7
    My Mood
    Psychedelic
    help me find some MW3 addresses plz??-I'll make a hack and credit you if it goes well and is a hit?PLZ?

  10. #9
    Threadstarter
    Still a Cookie at heart
    Donator
    Nathan's Avatar
    Join Date
    Mar 2011
    Gender
    male
    Location
    In a magical place
    Posts
    6,113
    Reputation
    394
    Thanks
    361
    Quote Originally Posted by kinibayVIP4 View Post
    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: http://www.mpgh.net/forum/404-call-d...addresses.html

  11. #10
    aIW|Convery's Avatar
    Join Date
    Oct 2010
    Gender
    male
    Posts
    2,876
    Reputation
    124
    Thanks
    595
    My Mood
    Cynical
    Hmm, without downloading it, is the code portable?

  12. The Following User Says Thank You to aIW|Convery For This Useful Post:

    Skyline. (11-20-2011)

  13. #11
    Threadstarter
    Still a Cookie at heart
    Donator
    Nathan's Avatar
    Join Date
    Mar 2011
    Gender
    male
    Location
    In a magical place
    Posts
    6,113
    Reputation
    394
    Thanks
    361
    Quote Originally Posted by aIW|Convery View Post
    Hmm, without downloading it, is the code portable?
    Nope, it's a .NET library.

  14. #12
    tigo's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Location
    Denmark
    Posts
    49
    Reputation
    10
    Thanks
    5
    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

  15. #13
    pyton789's Avatar
    Join Date
    Feb 2010
    Gender
    male
    Posts
    793
    Reputation
    38
    Thanks
    2,453
    My Mood
    Sneaky
    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

  16. The Following User Says Thank You to pyton789 For This Useful Post:

    Skyline. (11-20-2011)

  17. #14
    genom's Avatar
    Join Date
    Nov 2011
    Gender
    male
    Posts
    1
    Reputation
    10
    Thanks
    0
    What is CookieAPI.dll? This is a legal Library from Microsoft?

  18. #15
    lolbie's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    Netherlands
    Posts
    5,207
    Reputation
    288
    Thanks
    2,090
    My Mood
    Angelic
    no one that cookie made
    I love it when people keep their agreements /sarcasm ftw

Page 1 of 2 12 LastLast

Similar Threads

  1. [Solved] someone teach me how to put SAT chams into CA
    By deadsmoke in forum Combat Arms Mod Help
    Replies: 9
    Last Post: 11-08-2011, 08:33 PM
  2. How to Put this into my Patch
    By bartboy8 in forum Call of Duty Modern Warfare 2 GSC Modding Help/Discussion
    Replies: 4
    Last Post: 03-10-2011, 06:46 PM
  3. [Help Request] How to put 2 projects into 1? VB 2008
    By ryski123 in forum Programming Tutorial Requests
    Replies: 2
    Last Post: 01-03-2011, 12:32 AM
  4. how to nop address in .net 2003?
    By c_norris in forum C++/C Programming
    Replies: 2
    Last Post: 12-12-2007, 07:35 PM
  5. (Request) A tutorial on how to extract addresses from trainers
    By englishpom in forum WarRock - International Hacks
    Replies: 9
    Last Post: 05-19-2007, 11:14 PM