Results 1 to 13 of 13
  1. #1
    ImMalkah's Avatar
    Join Date
    Apr 2013
    Gender
    male
    Location
    GTA Section
    Posts
    2,779
    Reputation
    370
    Thanks
    2,699
    My Mood
    Devilish

    Quick C# Address Question

    This is the address: iw6mp64_ship+4332B40

    This is the code that it has to be implemented in: WriteInteger(0x000000, int.Parse(textBox1.Text));

    How do I implement this in there? (C# noob)

    MPGH HISTORY:

    Registered Since 4-23-2013
    Editor 09-04-2013 - unknown
    Minion 10-22-2013 - 1-18-2014
    Donator 12-31-2014 - present
    Premium Seller 12-31-2016 - present
    Minion 03-15-2017 - I forgot

  2. #2
    distiny's Avatar
    Join Date
    Mar 2011
    Gender
    male
    Posts
    560
    Reputation
    67
    Thanks
    562
    My Mood
    Cynical
    assuming you got the functions to write in memory..
    example:

    int xp = Convert.ToInt32(textBox1.Text);
    WriteInteger(your address, xp);

    I always do it line by line, easier to debug incase shit hits the fan on more sophisticated projects

    if the problem is the address itself..:
    EZ way is to look in CE itself for the address since they are static anyway and the base address remains the same

    If the base address would change you need to find the base addy then add 0x....

    example:
    Code:
    private long BaseAddress(string Module_Name)
            {
                if (Process.GetProcessesByName("iw6BLABLABLA").Length != 0)
                {
                    foreach (ProcessModule Mod in Process.GetProcessesByName("iw6BLABLABLA")[0].Modules)
                    {
                        if (Mod.ModuleName == Module_Name)
                            return (long)Mod.BaseAddress.ToInt64();
                    }
                    return 0;
                }
                else return 0;
            }
    then for example:

    long address = base_address + 0x012345670;
    Last edited by distiny; 11-10-2013 at 04:31 PM.
    FBI got my PC...Hardcore cheating is paused atm..

  3. #3
    ImMalkah's Avatar
    Join Date
    Apr 2013
    Gender
    male
    Location
    GTA Section
    Posts
    2,779
    Reputation
    370
    Thanks
    2,699
    My Mood
    Devilish
    Quote Originally Posted by distiny View Post
    assuming you got the functions to write in memory..
    example:

    int xp = Convert.ToInt32(textBox1.Text);
    WriteInteger(your address, xp);

    I always do it line by line, easier to debug incase shit hits the fan on more sophisticated projects


    Why the errors?

    MPGH HISTORY:

    Registered Since 4-23-2013
    Editor 09-04-2013 - unknown
    Minion 10-22-2013 - 1-18-2014
    Donator 12-31-2014 - present
    Premium Seller 12-31-2016 - present
    Minion 03-15-2017 - I forgot

  4. #4
    distiny's Avatar
    Join Date
    Mar 2011
    Gender
    male
    Posts
    560
    Reputation
    67
    Thanks
    562
    My Mood
    Cynical
    because iw6mp64_ship isn't an address and you have to do + 0x1231654

    I edited my first post

    but for this game since the base address doesn't change just type the address the table in CE tells you. CE does base addy+0x13545 auto in the table
    FBI got my PC...Hardcore cheating is paused atm..

  5. #5
    ImMalkah's Avatar
    Join Date
    Apr 2013
    Gender
    male
    Location
    GTA Section
    Posts
    2,779
    Reputation
    370
    Thanks
    2,699
    My Mood
    Devilish
    Quote Originally Posted by distiny View Post
    assuming you got the functions to write in memory..
    example:

    int xp = Convert.ToInt32(textBox1.Text);
    WriteInteger(your address, xp);

    I always do it line by line, easier to debug incase shit hits the fan on more sophisticated projects

    if the problem is the address itself..:
    EZ way is to look in CE itself for the address since they are static anyway and the base address remains the same

    If the base address would change you need to find the base addy then add 0x....

    example:
    Code:
    private long BaseAddress(string Module_Name)
            {
                if (Process.GetProcessesByName("iw6BLABLABLA").Length != 0)
                {
                    foreach (ProcessModule Mod in Process.GetProcessesByName("iw6BLABLABLA")[0].Modules)
                    {
                        if (Mod.ModuleName == Module_Name)
                            return (long)Mod.BaseAddress.ToInt64();
                    }
                    return 0;
                }
                else return 0;
            }
    then for example:

    long address = base_address + 0x012345670;
    But I don't need to type that :/

    Look, this is my code:



    Just alter it so that the address is implemented without typing that massive piece of code. Then I will learn

    MPGH HISTORY:

    Registered Since 4-23-2013
    Editor 09-04-2013 - unknown
    Minion 10-22-2013 - 1-18-2014
    Donator 12-31-2014 - present
    Premium Seller 12-31-2016 - present
    Minion 03-15-2017 - I forgot

  6. #6
    distiny's Avatar
    Join Date
    Mar 2011
    Gender
    male
    Posts
    560
    Reputation
    67
    Thanks
    562
    My Mood
    Cynical
    you forgot 0x at the beginning of your address; addy's are hexadecimal (0123456789ABCDEF) and not decimal (0123456789)
    that's why you need to start with 0x so it knows it's a hex value

    0x32 is not the same as 32
    Last edited by distiny; 11-10-2013 at 04:41 PM.
    FBI got my PC...Hardcore cheating is paused atm..

  7. #7
    ImMalkah's Avatar
    Join Date
    Apr 2013
    Gender
    male
    Location
    GTA Section
    Posts
    2,779
    Reputation
    370
    Thanks
    2,699
    My Mood
    Devilish
    Quote Originally Posted by distiny View Post
    you forgot 0x at the beginning of your address
    Still an error


    MPGH HISTORY:

    Registered Since 4-23-2013
    Editor 09-04-2013 - unknown
    Minion 10-22-2013 - 1-18-2014
    Donator 12-31-2014 - present
    Premium Seller 12-31-2016 - present
    Minion 03-15-2017 - I forgot

  8. #8
    distiny's Avatar
    Join Date
    Mar 2011
    Gender
    male
    Posts
    560
    Reputation
    67
    Thanks
    562
    My Mood
    Cynical
    what is the error .....

    u got Teamviewer or something ?
    FBI got my PC...Hardcore cheating is paused atm..

  9. #9
    ImMalkah's Avatar
    Join Date
    Apr 2013
    Gender
    male
    Location
    GTA Section
    Posts
    2,779
    Reputation
    370
    Thanks
    2,699
    My Mood
    Devilish
    Quote Originally Posted by distiny View Post
    what is the error .....

    u got Teamviewer or something ?
    Teamviewer licence finished. Add me on Skype: fadiastifan

    MPGH HISTORY:

    Registered Since 4-23-2013
    Editor 09-04-2013 - unknown
    Minion 10-22-2013 - 1-18-2014
    Donator 12-31-2014 - present
    Premium Seller 12-31-2016 - present
    Minion 03-15-2017 - I forgot

  10. #10
    distiny's Avatar
    Join Date
    Mar 2011
    Gender
    male
    Posts
    560
    Reputation
    67
    Thanks
    562
    My Mood
    Cynical
    teamviewer is free

    i'll add you

    EDIT Added you on skype
    Last edited by distiny; 11-10-2013 at 04:55 PM.
    FBI got my PC...Hardcore cheating is paused atm..

  11. #11
    Horror's Avatar
    Join Date
    Oct 2010
    Gender
    male
    Location
    51,4.
    Posts
    6,920
    Reputation
    574
    Thanks
    5,050
    My Mood
    Twisted
    Quote Originally Posted by MaroonishBlood View Post
    Still an error

    Prestige isn't a value.
    Atleast you haven't defined one for prestige.
     

    Minion+ : February 2014 - January 2015
    Counter Strike: Global Offensive Minion : November 2014 - January 2015
    Alliance of Valiant Arms Minion : August 2014 - January 2015
    Need For Speed World Minion : January 2014 - January 2015
    Rust Minion : January 2014 - January 2015
    Call of Duty Minion : January 2013 - January 2015
    Editor : December 2012 - April 2013
    Donator : March 2014 - Current
    Member : October 2010 - Current

    Previously known as "Isaakske".

  12. #12
    distiny's Avatar
    Join Date
    Mar 2011
    Gender
    male
    Posts
    560
    Reputation
    67
    Thanks
    562
    My Mood
    Cynical
    yes he has...
    int prestige = Convert.To......

    most likely his WriteInteger function has the address as an Int instead of long

    but we need the full error message cuz red wavy lines can mean anything

    problem was he didn't have the function WriteInteger... thought it was a standard function included in c#

    soz for double posting, can't delete this post :s
    Last edited by ImMalkah; 11-10-2013 at 06:05 PM.
    FBI got my PC...Hardcore cheating is paused atm..

  13. #13
    ImMalkah's Avatar
    Join Date
    Apr 2013
    Gender
    male
    Location
    GTA Section
    Posts
    2,779
    Reputation
    370
    Thanks
    2,699
    My Mood
    Devilish
    Problem solved, thanks guys .

    MPGH HISTORY:

    Registered Since 4-23-2013
    Editor 09-04-2013 - unknown
    Minion 10-22-2013 - 1-18-2014
    Donator 12-31-2014 - present
    Premium Seller 12-31-2016 - present
    Minion 03-15-2017 - I forgot

Similar Threads

  1. Just a quick web server question.
    By TrickyTip in forum General
    Replies: 0
    Last Post: 01-15-2013, 08:18 PM
  2. [Solved] quick DL speed question
    By BulletReign in forum Hardware & Software Support
    Replies: 2
    Last Post: 02-03-2012, 03:54 PM
  3. [Help]Quick Simple Fast Question[Solved]
    By Lyoto Machida in forum Visual Basic Programming
    Replies: 12
    Last Post: 02-07-2011, 12:53 PM
  4. quick clan points question
    By sdimas in forum CrossFire Help
    Replies: 2
    Last Post: 09-15-2010, 06:04 PM
  5. Memory address question
    By crazyfool in forum Combat Arms Hacks & Cheats
    Replies: 5
    Last Post: 08-18-2008, 10:29 AM