GameKiller - Bringing The Pain To Each And Every Game!
Reply to Thread
Results 1 to 10 of 10
  1. #1
    The New Guy Feedback Score 0 Sour's Avatar
    Join Date
    Aug 2009
    Posts
    37
    Thanks
    3
    Thanked 1 Time in 1 Post
     

    Default [C#]Getting Address value?

    Well I've seen a release where it tells you your level and map.(MapleStory) I'm guessing that was by finding the value of an Address?
    I was wondering. How do you get the value of an address of another program?

    I just need a website showing me how to read the Memory...
    Thanks

    [Last thread I was helped right away, so I'm asking another question.]



  2. Sponsored


  3. #2
    Godly Hacker Feedback Score 0 Wintermute's Avatar
    Join Date
    Aug 2009
    Posts
    785
    Thanks
    61
    Thanked 168 Times in 135 Posts
     

    Default Re: [C#]Getting Address value?

    ReadProcessMemory.

    To edit, WriteProcessMemory.

    These will not work for MapleStory without a bypass.


  4. The Following User Says Thank You to Wintermute For This Useful Post:

    Sour (01-13-2010)

  5. #3
    The New Guy Feedback Score 0 Sour's Avatar
    Join Date
    Aug 2009
    Posts
    37
    Thanks
    3
    Thanked 1 Time in 1 Post
     

    Default Re: [C#]Getting Address value?

    Quote Originally Posted by Wintermute
    [Dear Visitor, you're restricted from viewing links until you are registered & logged on.
    Click Here To Register Today
    ReadProcessMemory.

    To edit, WriteProcessMemory.

    These will not work for MapleStory without a bypass.
    Thanks, and ok.
    I was just wondering, because some other games I would like to make a...program...for.



  6. #4
    Experienced Hacker Feedback Score 0 ヘ(^_^ヘ)(ノ^_^)ノ's Avatar
    Join Date
    Sep 2009
    Posts
    221
    Thanks
    4
    Thanked 43 Times in 28 Posts
     

    Default Re: [C#]Getting Address value?

    You also need OpenProcess() to get a HANDLE for ReadProcessMemory()/WriteProcessMemory(). Also like most programs, you need to get privileges to read or write memory to it. Go look up AdjustTokenPrivileges().

    Finally Back
    Intel Corie i7 920 OC @ 4.0GHz + Prolimatech Megahalems CPU Cooler with 2 Fans @ 1200RPMs
    Evga X58 SLI Classified
    Evga GTX 470 FTW for 3 Way SLI + Evga GT 9800 GT for PhysX
    Corsair Dominator GT 1600MHz DDR3 6GB
    Corsair HX1000
    Corsair Obsidian 800D
    Kingston 64GB SSD for OS + Western Digital Caviar Black 1TB for Storage
    Alienware OptX 3D Monitor + Nvidia 3D Bundle
    Razer Lycosa, Mamba, Sphex, Mako, & Megalodon



  7. #5
    Godly Hacker Feedback Score 0 Wintermute's Avatar
    Join Date
    Aug 2009
    Posts
    785
    Thanks
    61
    Thanked 168 Times in 135 Posts
     

    Default Re: [C#]Getting Address value?

    Well, any game that has protection, such as x-trap, GameGuard or HackShield, should be unaffected by this method, unless you ahve a bypass.

    Quote Originally Posted by KittyKittyBoy17
    [Dear Visitor, you're restricted from viewing links until you are registered & logged on.
    Click Here To Register Today
    You also need OpenProcess() to get a HANDLE for ReadProcessMemory()/WriteProcessMemory(). Also like most programs, you need to get privileges to read or write memory to it. Go look up AdjustTokenPrivileges().

    Finally Back
    Welcome back. Sure has been awfully lonely without you.


  8. #6
    Public Coder Feedback Score 0
    Join Date
    Jul 2009
    Posts
    82
    Thanks
    16
    Thanked 67 Times in 9 Posts
     

    Default Re: [C#]Getting Address value?

    i dont know who even made it,
    Last edited by m1sniper; 01-16-2010 at 02:34 PM.


  9. #7
    Godly Hacker Feedback Score 0 Wintermute's Avatar
    Join Date
    Aug 2009
    Posts
    785
    Thanks
    61
    Thanked 168 Times in 135 Posts
     

    Default Re: [C#]Getting Address value?

    Quote Originally Posted by m1sniper
    [Dear Visitor, you're restricted from viewing links until you are registered & logged on.
    Click Here To Register Today
    Code:
    Useless code
    
    Way to copy and paste some pretty damn useless code without giving any credits, whatsoever. Didn't you ever notice that's a bannable offense?

    Anyway, since I don't code C#, I decided to search Google. This is advanced, but should be pretty comprehensive.


    [Dear Visitor, you're restricted from viewing links until you are registered & logged on.
    Click Here To Register Today


  10. The Following User Says Thank You to Wintermute For This Useful Post:

    Sour (01-17-2010)

  11. #8
    The New Guy Feedback Score 0 Sour's Avatar
    Join Date
    Aug 2009
    Posts
    37
    Thanks
    3
    Thanked 1 Time in 1 Post
     

    Default Re: [C#]Getting Address value?

    Can someone explain what this means? I don't really like typing stuff that I don't understand =/

    PHP Code:
    [DllImport("kernel32.dll",SetLastError true)]
    static 
    extern bool WriteProcessMemory(IntPtr hProcessIntPtr lpBaseAddressbyte [] lpBufferuint nSizeout int lpNumberOfBytesWritten); 
    All I know:Imports kernel32.dll
    intPtr=Pointer
    I also know what static extern bool means
    The rest of it though...No clue...

    I have a book on C#, but it is for beginners, so it doesn't have Reading/Writing process memory.

    I mean like. When I call the function. What do I type for each of those?
    Last edited by Sour; 01-18-2010 at 12:44 PM.



  12. #9
    Experienced Hacker Feedback Score 0 ヘ(^_^ヘ)(ノ^_^)ノ's Avatar
    Join Date
    Sep 2009
    Posts
    221
    Thanks
    4
    Thanked 43 Times in 28 Posts
     

    Default Re: [C#]Getting Address value?

    The first line looks like you import the kernel32.dll.
    static is like a constant value except that it can be changed. For example you run a function with a static variable declared in it. Instead of that variable being set to 0 every time you call the function, it will retain its value.
    extern means that you call it from another header or source file. An example would be you declared a value call global in header1.h and you want to use it again, you would use the extern keyword in header2.h.
    WriteProcessMemory(...) is the function and within its ()'s you have it's parameters. The bool infront of this function is the return value. It will return true if it was successful and false if it failed to write the memory.
    IntPtr hProcess is the first parameter. This holds a HANDLE value to a process you want to write memory to.
    IntPtr lpBaseAddress is the second parameter. This holds a DWORD value to the address in the process you want to write memory to. An exmaple would be in Minesweeper the address for the height is 0x01005334 or (something like that).
    byte [] lpBuffer is the array of bytes you want to write to the address. If you want to write the integer 7 to an address you would use 0x11 (HEX value).
    uint nSize is the size of bytes you want to overwrite in the address. It is usually the size of the number of bytes you want to write.
    out int lpNumberOfBytesWritten is the number of cytes that this functio nwas able to write in that address.

    You might want to use GetLastError() if WriteProcessMemory() returns false.

    Normally I would tell you to look it up on the MSDN Library, but today I'm in a good mood.
    Intel Corie i7 920 OC @ 4.0GHz + Prolimatech Megahalems CPU Cooler with 2 Fans @ 1200RPMs
    Evga X58 SLI Classified
    Evga GTX 470 FTW for 3 Way SLI + Evga GT 9800 GT for PhysX
    Corsair Dominator GT 1600MHz DDR3 6GB
    Corsair HX1000
    Corsair Obsidian 800D
    Kingston 64GB SSD for OS + Western Digital Caviar Black 1TB for Storage
    Alienware OptX 3D Monitor + Nvidia 3D Bundle
    Razer Lycosa, Mamba, Sphex, Mako, & Megalodon



  13. The Following User Says Thank You to ヘ(^_^ヘ)(ノ^_^)ノ For This Useful Post:

    Sour (01-18-2010)

  14. #10
    The New Guy Feedback Score 0 Sour's Avatar
    Join Date
    Aug 2009
    Posts
    37
    Thanks
    3
    Thanked 1 Time in 1 Post
     

    Default Re: [C#]Getting Address value?

    Quote Originally Posted by KittyKittyBoy17
    [Dear Visitor, you're restricted from viewing links until you are registered & logged on.
    Click Here To Register Today
    The first line looks like you import the kernel32.dll.
    static is like a constant value except that it can be changed. For example you run a function with a static variable declared in it. Instead of that variable being set to 0 every time you call the function, it will retain its value.
    extern means that you call it from another header or source file. An example would be you declared a value call global in header1.h and you want to use it again, you would use the extern keyword in header2.h.
    WriteProcessMemory(...) is the function and within its ()'s you have it's parameters. The bool infront of this function is the return value. It will return true if it was successful and false if it failed to write the memory.
    IntPtr hProcess is the first parameter. This holds a HANDLE value to a process you want to write memory to.
    IntPtr lpBaseAddress is the second parameter. This holds a DWORD value to the address in the process you want to write memory to. An exmaple would be in Minesweeper the address for the height is 0x01005334 or (something like that).
    byte [] lpBuffer is the array of bytes you want to write to the address. If you want to write the integer 7 to an address you would use 0x11 (HEX value).
    uint nSize is the size of bytes you want to overwrite in the address. It is usually the size of the number of bytes you want to write.
    out int lpNumberOfBytesWritten is the number of cytes that this functio nwas able to write in that address.

    You might want to use GetLastError() if WriteProcessMemory() returns false.

    Normally I would tell you to look it up on the MSDN Library, but today I'm in a good mood.
    Now I can finally do something with it...That is if I don't have to reformat my computer due to a keylogger...

    [Thanked]



Similar Threads

  1. S > nexon@hotmail.com
    By Wronk in forum Account Sales
    Replies: 23
    Last Post: 01-17-2010, 11:32 PM
  2. Does anyone have GMS 0.80 address
    By chelvan in forum Global Maple Story Hacks Discussion
    Replies: 0
    Last Post: 12-25-2009, 02:09 PM
  3. CA IP address
    By otter2208 in forum Combat Arms Hacks Discussion
    Replies: 1
    Last Post: 11-12-2009, 05:25 PM
  4. [REQUEST] Address
    By wargician in forum Global Maple Story Hacks Discussion
    Replies: 3
    Last Post: 08-27-2009, 10:27 PM
  5. Put this in address bar
    By Darksparklen in forum SpamZilla
    Replies: 11
    Last Post: 08-04-2009, 04:33 PM

Visitors found this page by searching for:

getting DWORD value from byte C#

X-trap ReadProcessMemory

C# address value

ReadProcessMemory maplestory c#

SEO Blog

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Winner for September 2010
GameKiller.net
Design Copyright © 2009 - 2010 GameKiller, All Rights Reserved.
GameKiller.net is not responsible for any content in any posting made by users on the site.
All times are GMT -4. The time now is 05:27 PM. SEO by vBSEO 3.5.1 PL1