Just started C# Some questions menu

User Tag List

Results 1 to 7 of 7
  1. #1
    JoeBiden's Avatar Contributor
    Reputation
    153
    Join Date
    Aug 2007
    Posts
    498
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Just started C# Some questions

    I'm now stepping up from VB.net to C# hopefully and start learning some more advanced things. I've just learned using strings and such instead of using my previous really simple methods in VB. Now it seems this isn't as hard as I thought. Only thing thats bugging me is the code syntax.. the whole "curly braces" as e-books like to call it and making things so complicated for no apparent reason.
    (But I'm not giving up till I got it down.

    I was wondering if anybody knew any good E-books I should read for somebody who already knows some simple programming but isn't used to the C# Syntax? I saw a while ago Apoc posted one he said was really awesome but apparently he deleted it from his website where he was hosting it and i've no idea where to find a good one.

    *I've already watched all the Microsoft tutorials vids etc.

    *My primary goal is to get into memory editing and such and start writing more advanced programs.
    *I really want to learn things such as reading&writing to process memory etc.

    *If I was to make some kindof WoW hack as a learning project, what tools would I need to find these "Adresses" or "Offsets" that stand for actions and such in the game? Would I need more? Is there any guides on getting started with this?
    I saw someone say the WoW Memory Editing section is good, but I don't see anything there except discussions and stuff between the more knowledgeable people

    *What would be some good starter projects for learning?

    Any help is appreciated, thanks.

    EDIT: Sorry for the ammount of questions didn't realise there was so many =/
    Last edited by JoeBiden; 02-06-2009 at 05:52 PM.

    Just started C# Some questions
  2. #2
    arigity's Avatar Banned
    Reputation
    49
    Join Date
    Dec 2007
    Posts
    548
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    well for writing basic memory editing programs you will generally use these 5 API's all of which take a handle to a specific window which you can get from OpenProcess (alternatively system.diagnostics.process can get you a handle)

    ReadProcessMemory //read the data at a specific location.
    WriteProcessMemory //write data to a specific location.
    VirtualAllocEx //add your own code into the process
    VirtualProtectEx //change the page protection at a specific point.
    CreateRemoteThread //create a thread in another process.

    commonly used memory editing tools are Cheat engine, MHS, Tsearch, and Artmoney but for more advanced things you would be better off with a debugger or disassembler meant for the task such as IDA pro or OllyDbg


    the memory editing section is full of useful information although it seems more aimed towards bots then hacks. you may find it more understandable to start reading from the last page forward.


    people often pick "radars" as starting projects for other frequently created things include position hacks/wall-climbing hacks

    as for your original question on C# programming books i dunno :P

  3. #3
    SKU's Avatar Contributor
    Reputation
    306
    Join Date
    May 2007
    Posts
    565
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    C# eBook: I don't have the link to that eBook you mentioned, but google is your friend: CSharpBook - Programmer's Heaven

    Memory Editing:
    * jbrauman just recently made a great post for beginners, it describes the object manager of WoW and how to access it's data. (getting one's health, mana, etc.): http://www.mmowned.com/forums/wow-me...e-objects.html
    * Read every thread in the memory editing section. There are tons of example codes, mostly even well commented.

    Additional tools:
    * OllyDbg (google - free)
    * IDA Pro (google - not free )
    * Brain

    A good starter project to learn memory stuff is usually the 'how do I read my character's health?' - The question is already answered several times, you just need to search them in the memory editing section. ( -> jbraumans guide!)

    * Shynd’s WoW Modification Journal - an AWESOME (re)source of information! Especially in combination with shynd's great libraries. <3

    A lot of people have made it possible that even us newbies can get things to work without much knowledge of reversing.

    However.. before you start with memory stuff, learn the basics of the language.

    (Note that I'm new to this aswell, so take everything I say with a grain of salt.)

  4. #4
    JoeBiden's Avatar Contributor
    Reputation
    153
    Join Date
    Aug 2007
    Posts
    498
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    So in Jbraumans guide he tells you how to create your own DLL's.. so in VS i'd make a "new class object" project correct?


    and after I have a proper one of those then you can do the actuall coding to display stuff on GUI etc...

    well since i've never delt with this kinda stuff before im confused as hell.

    I will pick up that e-book, btw i have ollybg and going to try to find a free IDA.

    Thanks for all info so far.

    BTW If I was to use Shynd's code for say player name reading, what DLL/class/w/e would I need? Can I download an existing one or should i make my own to learn?

    ahh, so after you create your class/.dll you need to import or "use" the name of that class file in your forms app..
    Last edited by JoeBiden; 02-06-2009 at 08:17 PM.

  5. #5
    Cephalopod's Avatar Member
    Reputation
    5
    Join Date
    Sep 2008
    Posts
    85
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hrmmm.

    The way I am learning to memory read and use c# follows:

    1) Read[ame="http://www.amazon.com/Illustrated-2008-Windows-Net-Daniel-Solis/dp/1590599543"] Illustrated c#[/ame].
    2) Read certain sections of [ame="http://www.amazon.com/Accelerated-C-2008-Trey-Nash/dp/1590598733/ref=pd_lpo_k2_dp_k2a_2_txt?pf_rd_p=304485601&pf_rd_s=lpo-top-stripe-2&pf_rd_t=201&pf_rd_i=1590599543&pf_rd_m=ATVPDKIKX0DER&pf_rd_r=1N22AHG1RVVPTDRBC WB5"]Accelerated C#[/ame].
    3) Read [ame="http://www.amazon.com/Assembly-Language-Intel-Based-Computers-Irvine/dp/0132304686/ref=sr_1_1?ie=UTF8&s=books&qid=1234131564&sr=1-1"]Assembly Language for Intel-Based computers[/ame].
    4) Read [ame="http://www.amazon.com/Reversing-Secrets-Engineering-Eldad-Eilam/dp/0764574817/ref=sr_1_1?ie=UTF8&s=books&qid=1234131666&sr=1-1"]Reversing - Secrets of reverse-engineering[/ame]
    5) Read [ame="http://www.amazon.com/Primer-Plus-5th-Stephen-Prata/dp/0672326973/ref=wl_it_dp?ie=UTF8&coliid=I152MEXWLHNP9L&colid=7JNVNFBZR5MB"]C++ Primer Plus[/ame]
    6) Read [ame="http://www.amazon.com/Hacking-Art-Exploitation-Jon-Erickson/dp/1593270070/ref=wl_it_dp?ie=UTF8&coliid=I1XJ64QQXIYX14&colid=7JNVNFBZR5MB"]Hacking - The art of explotation[/ame]

    Once I smash through those 6, I expect to be able to memory read. If I can't, then obviously programming isn't for me.

  6. #6
    JoeBiden's Avatar Contributor
    Reputation
    153
    Join Date
    Aug 2007
    Posts
    498
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for the books Midol, i'll see if I can find a DL for the first 2.

    Oh and you planning to read those 6 thoroughly? Trust me you wont have any problems after youre done.


    anyway, i've decided to use this for my first memory reading project:

    http://www.mmowned.com/forums/c/1981...reading-c.html

    it's a .dll for memory reading and some editing from alec900.

    Hmm.. this should be pretty easy.

  7. #7
    Cephalopod's Avatar Member
    Reputation
    5
    Join Date
    Sep 2008
    Posts
    85
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Sure are. The c# ones are fairly basic but I did have to read over the last few chapters of illustrated before I understood things like delegates correctly. The Assembly one is a bitch, and very hard work. I've barely even gone through the first chapter as I won't move on till I can answer all the revision questions without needing to refer back :P I want to get to the stage where I am one of the guys doing the reversing & hard yards.

    Shoot me an email @ [email protected] and I'll email you an electric version of the first either tonight or later in the week.

Similar Threads

  1. hey just starting, got a question about class and farming
    By imunderyourbed in forum Star Wars: The Old Republic
    Replies: 2
    Last Post: 08-08-2012, 11:53 PM
  2. [Mangos] Starting up a Private Server Just for fun Nothing Serious Just need a quick Question
    By jacobmohan in forum WoW EMU Questions & Requests
    Replies: 2
    Last Post: 05-23-2012, 02:42 AM
  3. I would like to start model editing....i have some questions.
    By foxfire60 in forum WoW ME Questions and Requests
    Replies: 1
    Last Post: 12-04-2006, 01:19 PM
All times are GMT -5. The time now is 04:39 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search