Results 1 to 13 of 13
  1. #1
    Diamond's Avatar
    Join Date
    Apr 2013
    Gender
    male
    Location
    GTA Section
    Posts
    2,643
    Reputation
    340
    Thanks
    2,631
    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)




    WARNING: Skype name is "fastifan" without live, dots, or any other characters. If you are to contact me on Skype for transactions, confirm you're talking to me on MPGH first.




    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 - present



  2. #2
    distiny's Avatar
    Join Date
    Mar 2011
    Gender
    male
    Posts
    560
    Reputation
    67
    Thanks
    561
    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
    Diamond's Avatar
    Join Date
    Apr 2013
    Gender
    male
    Location
    GTA Section
    Posts
    2,643
    Reputation
    340
    Thanks
    2,631
    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?




    WARNING: Skype name is "fastifan" without live, dots, or any other characters. If you are to contact me on Skype for transactions, confirm you're talking to me on MPGH first.




    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 - present



  4. #4
    distiny's Avatar
    Join Date
    Mar 2011
    Gender
    male
    Posts
    560
    Reputation
    67
    Thanks
    561
    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
    Diamond's Avatar
    Join Date
    Apr 2013
    Gender
    male
    Location
    GTA Section
    Posts
    2,643
    Reputation
    340
    Thanks
    2,631
    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




    WARNING: Skype name is "fastifan" without live, dots, or any other characters. If you are to contact me on Skype for transactions, confirm you're talking to me on MPGH first.




    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 - present



  6. #6
    distiny's Avatar
    Join Date
    Mar 2011
    Gender
    male
    Posts
    560
    Reputation
    67
    Thanks
    561
    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
    Diamond's Avatar
    Join Date
    Apr 2013
    Gender
    male
    Location
    GTA Section
    Posts
    2,643
    Reputation
    340
    Thanks
    2,631
    My Mood
    Devilish
    Quote Originally Posted by distiny View Post
    you forgot 0x at the beginning of your address
    Still an error





    WARNING: Skype name is "fastifan" without live, dots, or any other characters. If you are to contact me on Skype for transactions, confirm you're talking to me on MPGH first.




    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 - present



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

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

  9. #9
    Diamond's Avatar
    Join Date
    Apr 2013
    Gender
    male
    Location
    GTA Section
    Posts
    2,643
    Reputation
    340
    Thanks
    2,631
    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




    WARNING: Skype name is "fastifan" without live, dots, or any other characters. If you are to contact me on Skype for transactions, confirm you're talking to me on MPGH first.




    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 - present



  10. #10
    distiny's Avatar
    Join Date
    Mar 2011
    Gender
    male
    Posts
    560
    Reputation
    67
    Thanks
    561
    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,938
    Reputation
    574
    Thanks
    5,014
    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
    561
    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 Diamond; 11-10-2013 at 06:05 PM.
    FBI got my PC...Hardcore cheating is paused atm..

  13. #13
    Diamond's Avatar
    Join Date
    Apr 2013
    Gender
    male
    Location
    GTA Section
    Posts
    2,643
    Reputation
    340
    Thanks
    2,631
    My Mood
    Devilish
    Problem solved, thanks guys .




    WARNING: Skype name is "fastifan" without live, dots, or any other characters. If you are to contact me on Skype for transactions, confirm you're talking to me on MPGH first.




    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 - present



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