A couple of (easy) questions that I have. menu

User Tag List

Results 1 to 11 of 11
  1. #1
    jbrauman's Avatar Member
    Reputation
    65
    Join Date
    Dec 2007
    Posts
    72
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    A couple of (easy) questions that I have.

    Hi MMOwned, this is probably my first or second post here but I have been reading what is going on in these forums for a while now.

    I'm not going to give you a run down of my entire programming life but basically I have a decent understanding of programming syntax and use, but I've never done any 'real' programming such as C++, Java (actually I dabbled in that) or C#, but have a background with Visual Basic (read: noob programming) and I built my own PHP/MYSQL driven website.

    As a project I thought I might like to try my hand at making a simple 'bot' for WoW. Most likely I'll just play with reading memory from the client and such.

    Anyway, never having done this kind of 'harder' programming, I've got a couple of questions:

    Would it be better to use C++ or C# for this kind of work? As I understand C# takes care of all the memory allocation for you and as I've never had to worry about things like that (Visual Basic and PHP ) I'm leaning towards that but Im open to suggestions. Considering I have never worked in either and have a clean slate to start from.
    What tools do I need? I was doing a bit of reading before and from what I can gather I need an IDE and a compiler, but I'm not sure. Also what is this business with the .NET Framework? I've no clue what it is so if someone could enlighten me that would be great.**EDIT: After a bit more reading I have an understanding of what it is about.
    What resources could I use? Obviously I'm going to be starting out with 'Yay hello world!' examples but as I progress and get into memory reading, I'll need some good tutorials because as it stands I don't know much about it. I could always Google stuff like this, which no doubt I will but it is always good to have personal opinions.
    Is reading WoW's memory generally safe? Obviously botting in general is bannable but if I write a simple program with the simplest of memory reading, and have no warden protection what-so-ever, is it an insta-ban?

    I think thats about all I wanted to say, if anyone has any other information they'd like to tell me (how they started out and what they read to learn) that would be awesome. You'll probably see some more of me around the forums now.

    Thanks
    Last edited by jbrauman; 01-09-2009 at 05:12 AM.

    A couple of (easy) questions that I have.
  2. #2
    hypnodok's Avatar Member
    Reputation
    19
    Join Date
    Nov 2007
    Posts
    65
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by jbrauman View Post
    Hi MMOwned, this is probably my first or second post here but I have been reading what is going on in these forums for a while now.

    I'm not going to give you a run down of my entire programming life but basically I have a decent understanding of programming syntax and use, but I've never done any 'real' programming such as C++, Java (actually I dabbled in that) or C#, but have a background with Visual Basic (read: noob programming) and I built my own PHP/MYSQL driven website.

    As a project I thought I might like to try my hand at making a simple 'bot' for WoW. Most likely I'll just play with reading memory from the client and such.

    Anyway, never having done this kind of 'harder' programming, I've got a couple of questions:

    Would it be better to use C++ or C# for this kind of work? As I understand C# takes care of all the memory allocation for you and as I've never had to worry about things like that (Visual Basic and PHP ) I'm leaning towards that but Im open to suggestions. Considering I have never worked in either and have a clean slate to start from.
    C# coupled with Shynds Blackmagic library is probably the most noobfriendly way to read/write memory.
    What tools do I need? I was doing a bit of reading before and from what I can gather I need an IDE and a compiler, but I'm not sure. Also what is this business with the .NET Framework? I've no clue what it is so if someone could enlighten me that would be great.**EDIT: After a bit more reading I have an understanding of what it is about.
    Visual C# Express will do, also try to find the aforementioned BlackMagic library (it has been posted on the GameDeception forums, just search for posts by Shynd).
    If youre going to do actual reversing (finding offsets or pointers yourself) you should also get IDA-Pro and/or Ollydbg, it sounds like thats too advanced for you atm tho.
    What resources could I use? Obviously I'm going to be starting out with 'Yay hello world!' examples but as I progress and get into memory reading, I'll need some good tutorials because as it stands I don't know much about it. I could always Google stuff like this, which no doubt I will but it is always good to have personal opinions.
    This forum, shynd.wordpress.com, gamedeception.net forums, possibly wowdev.org.
    If you would completely read through the wow-sections of all these sites you should be able to copy paste everything you need. Youd also have a decent understanding about how it actually works.
    Is reading WoW's memory generally safe? Obviously botting in general is bannable but if I write a simple program with the simplest of memory reading, and have no warden protection what-so-ever, is it an insta-ban?
    No insta-ban, warden is a joke when it comes to detecting private tools.
    I think thats about all I wanted to say, if anyone has any other information they'd like to tell me (how they started out and what they read to learn) that would be awesome. You'll probably see some more of me around the forums now.

    Thanks
    General advice: Take your time with this. Dont jump into it without knowing how to program. Carefully read through the links I posted (this alone should take you a couple of days at least). Google stuff you dont know. You can also shoot me questions on quakenet or synirc. I usually idle on there, cant promise that Ill always have time or patience to answer but hey (same screenname).
    Have fun!

    To Shynd: Did you stop writing tools for wow completely or did you just stop blogging?

  3. #3
    Nesox's Avatar ★ Elder ★
    Reputation
    1280
    Join Date
    Mar 2007
    Posts
    1,238
    Thanks G/R
    0/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I agree with hypnodok, C# is a very nice language and easy to learn. I dont get it when pepole say that C# is confusing because it isnt, it has it's limitations but you can still do great bots.
    C++ is very powerful. ie. DLL injection altho you can write a dll in c++ and then set up a ipc(named pipe or w/e way you do it)
    i suggest you buy some programming books on c#/c++ and after you got all the basics covered things will go alot fast, learning how to create bots and hacks is serious buisness

  4. #4
    Shynd's Avatar Contributor
    Reputation
    97
    Join Date
    May 2008
    Posts
    393
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by hypnodok View Post
    To Shynd: Did you stop writing tools for wow completely or did you just stop blogging?
    I stopped in the middle of a simple quest-helper-ish-bot (parse information on what mobs to kill / drop certain objects / whatever, then go kill them and loot objects.. very crappy implementation) because WotLK came out and I've been actually playing the game (gasp!). Soon as I get bored, I'll probably pick it back up again. Other people write better stuff than I do, just peruse their source and blog about it yourself =p.

  5. #5
    jbrauman's Avatar Member
    Reputation
    65
    Join Date
    Dec 2007
    Posts
    72
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thankyou very much for both your replies, I've decided to download and install both Visual C++ Express and Visual C# Express, and learn both. I will go over those resources you gave me Hypnodok, and do some major reading up.
    If youre going to do actual reversing (finding offsets or pointers yourself) you should also get IDA-Pro and/or Ollydbg, it sounds like thats too advanced for you atm tho.
    You are probably right that it is too advanced for me though I have read a couple of articles on the process and I am familiar with what is trying to be accomplished. However disassembling Minesweeper and WoW are two completely different things =].

    Really both your replies have been invaluable, and if other people want to put down anything else please do.

  6. #6
    hypnodok's Avatar Member
    Reputation
    19
    Join Date
    Nov 2007
    Posts
    65
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Shynd View Post
    I stopped in the middle of a simple quest-helper-ish-bot (parse information on what mobs to kill / drop certain objects / whatever, then go kill them and loot objects.. very crappy implementation) because WotLK came out and I've been actually playing the game (gasp!). Soon as I get bored, I'll probably pick it back up again. Other people write better stuff than I do, just peruse their source and blog about it yourself =p.
    Im way too lazy to blog, thats why I liked (and still like, to a degree) yours so much

  7. #7
    jbrauman's Avatar Member
    Reputation
    65
    Join Date
    Dec 2007
    Posts
    72
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    PROGRESS!
    Using the help of a website (and thier addresses) I wrote a c# program that reads minesweepers memory and can tell you where the mines are. NOT a copy and paste job, so I'm happy with it.

    Only took me.. 3 hours -.-

    Edit: What is the TLS?
    Last edited by jbrauman; 01-10-2009 at 07:17 AM.

  8. #8
    Apoc's Avatar Angry Penguin
    Reputation
    1388
    Join Date
    Jan 2008
    Posts
    2,750
    Thanks G/R
    0/13
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by jbrauman View Post
    PROGRESS!
    Using the help of a website (and thier addresses) I wrote a c# program that reads minesweepers memory and can tell you where the mines are. NOT a copy and paste job, so I'm happy with it.

    Only took me.. 3 hours -.-

    Edit: What is the TLS?
    TLS: Thread Local Storage

  9. #9
    jbrauman's Avatar Member
    Reputation
    65
    Join Date
    Dec 2007
    Posts
    72
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Apoc View Post
    TLS: Thread Local Storage
    I understand this is a method or technique for finding addresses? Or is that the object manager? I'm really quite clueless, lol.

  10. #10
    Apoc's Avatar Angry Penguin
    Reputation
    1388
    Join Date
    Jan 2008
    Posts
    2,750
    Thanks G/R
    0/13
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

  11. #11
    jbrauman's Avatar Member
    Reputation
    65
    Join Date
    Dec 2007
    Posts
    72
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    After a few grueling hours, I finally have a bit of a better understanding of the things involved in reading WoW memory. I understand the idea because the object managers 'linked list' and how to cycle through those objects. I understand the concept (if not where the values came from) behind finding the address of the object manager - start at g_clientConnection and work from there using pointers. From the object managers address you can use offsets to find your on Guid (every object has a unique identifier) and the address to the first object, which will lead you to the second object and so on. From each of these objects you can find information about them (such as thier Guid). To find your character on the object manager you need to cycle through until Object Guid == Local Guid. I learnt some other stuff too but my brain is tired now, I think that is enough for one day.

    Cheerio.

Similar Threads

  1. Couple of easy questions about tradng in Wildstar
    By Dartexx in forum WildStar General
    Replies: 3
    Last Post: 05-31-2014, 04:40 PM
  2. question that im i find most ppl might want to know
    By Knomez in forum Community Chat
    Replies: 8
    Last Post: 09-22-2006, 11:48 PM
  3. Couple Private Server questions
    By Jboz in forum World of Warcraft General
    Replies: 21
    Last Post: 07-26-2006, 07:37 PM
  4. A Couple WoW Emu Questions
    By Avianar47 in forum World of Warcraft General
    Replies: 2
    Last Post: 06-19-2006, 03:31 PM
All times are GMT -5. The time now is 10:57 AM. 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