[Example] C# Bot base for 4.0.1 menu

Shout-Out

User Tag List

Page 2 of 5 FirstFirst 12345 LastLast
Results 16 to 30 of 70
  1. #16
    miceiken's Avatar Contributor Authenticator enabled
    Reputation
    209
    Join Date
    Dec 2007
    Posts
    401
    Thanks G/R
    7/9
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Seifer View Post
    Really? If so; why do you have the same non-working properties in your WowUnit class that BlackRain has? How come your naming conventions are identical to BlackRain's? How come you have the same spelling mistakes in the names of your properties that I have? (public int Happinnes) The order of your properties in all classes are nigh-identical as well.

    Honestly, I don't have a problem with anyone using the code; that's what it's meant for. But don't go claiming 'it existed way before BlackRain did' while it obviously didn't, and at least parts were derived from (read: copied/pasted) others their work. Credits where they are due, is basically all that's being asked around these boards..

    On a code perspective; it's pretty clean, few minor mistakes but meh. For the logging, there is a proper class out by Apoc somewhere, you may want to take a look at it.
    With my hand on my heart I didn't take a single piece of code form BlackRain, altho somethings may not seem as coincidental as they are I promise (isn't it spelled Hapinnes?). I'll look up the logging class, thanks.
    EDIT: Guess it's Happiness
    Last edited by miceiken; 10-16-2010 at 07:40 AM.

    [Example] C# Bot base for 4.0.1
  2. #17
    Seifer's Avatar Site Donator
    Reputation
    129
    Join Date
    Apr 2007
    Posts
    270
    Thanks G/R
    1/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by miceiken View Post
    With my hand on my heart I didn't take a single piece of code form BlackRain, altho somethings may not seem as coincidental as they are I promise (isn't it spelled Hapinnes?). I'll look up the logging class, thanks.
    EDIT: Guess it's Happiness
    It looks like something more than coincidence, but really, whatever floats your boat. :-)

    I'll look up the logging class, thanks.
    Yeah, I'm pretty sure you'll find it in the same place you got pretty much all your objects-related code from. Shouldn't be too hard to find.
    And also, just for brevity; there is absolutely no way that you would use the same order I put my properties in, name them exactly the same, including the use of caps on abbrevs. and the like, and not even having taken a look at my code. All you're doing right now is making yourself look stupid by claiming you didn't copy/paste, while even a blind man could tell that you did. I know everyone's been at the position where they copy/pasted at some point, but the very least you could do is actually credit the people you took the code from, rather than claming it as your own, which is just lame.

    Tl;dr - Next time, please credit appropriately, or learn to write your own shit. Thanks.
    Last edited by Seifer; 10-16-2010 at 08:42 AM.

  3. #18
    miceiken's Avatar Contributor Authenticator enabled
    Reputation
    209
    Join Date
    Dec 2007
    Posts
    401
    Thanks G/R
    7/9
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Seifer View Post
    It looks like something more than coincidence, but really, whatever floats your boat. :-)
    -snip-
    Tl;dr - Next time, please credit appropriately, or learn to write your own shit. Thanks.
    Also, the GetStorageField idea was originially from Apoc? Or atleast in some of his code, but I've aldready creditted him.
    I'll let the moderators deal with this, cba to argue with you. Your code isn't the only in the work you know. Please don't reply in this thread anymore unless you want to stop with your accusations.
    Last edited by miceiken; 10-16-2010 at 09:25 AM.

  4. #19
    miceiken's Avatar Contributor Authenticator enabled
    Reputation
    209
    Join Date
    Dec 2007
    Posts
    401
    Thanks G/R
    7/9
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Megamike55 View Post
    Your function in the object manager code for players that gets a player's name does not take the base address into account when reading the pointer to the linked lists.

    WoWPlayer.cs
    Lines 22 and 23

    Easy fix... anyway, thanks for this code. I was looking for the player name function since the one I had written wasn't seeming to work. Turns out I had just made a small error. Your code (or is it Scorpions?) helped. +rep anyway!
    I have no clue on how to reverse and since I didn't even know how the function worked I decided to just update the offsets, guess I forgot the BaseAddress. It worked pre-patch tho

  5. #20
    Kz0z's Avatar Private
    Reputation
    12
    Join Date
    Sep 2010
    Posts
    7
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Simple change as stated to WoWplayer.cs Lines 22 and 23.

    Code:
                    mask = Memory.Read<UInt32>(Memory.BaseAddress + (uint)Pointers.NamePointers.NAME_STORE + (uint)Pointers.NamePointers.NAME_MASK);
                    base_ = Memory.Read<UInt32>(Memory.BaseAddress + (uint)Pointers.NamePointers.NAME_STORE + (uint)Pointers.NamePointers.NAME_BASE);

  6. #21
    miceiken's Avatar Contributor Authenticator enabled
    Reputation
    209
    Join Date
    Dec 2007
    Posts
    401
    Thanks G/R
    7/9
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Kz0z View Post
    Simple change as stated to WoWplayer.cs Lines 22 and 23.

    Code:
                    mask = Memory.Read<UInt32>(Memory.BaseAddress + (uint)Pointers.NamePointers.NAME_STORE + (uint)Pointers.NamePointers.NAME_MASK);
                    base_ = Memory.Read<UInt32>(Memory.BaseAddress + (uint)Pointers.NamePointers.NAME_STORE + (uint)Pointers.NamePointers.NAME_BASE);
    Yeah, I've already updated it, I will soon post a new version, I have a few other fixes aswell.

    EDIT:
    Uploaded a new version!
    Now reads unit names, player names and gameobject names.
    Implemented a Facing property to the WowObject class that returns the rotation of the object.
    Added the commented out Bearing property to the Location class.
    Moved some of the properties from WowLocalPlayer to Globals, for reading static offsets even when the LocalPlayer property is null.
    Added two dump buttons in the Debug tab for dumping Players and Units.
    Last edited by miceiken; 10-17-2010 at 12:08 PM.

  7. #22
    Floppixx's Avatar Member
    Reputation
    1
    Join Date
    Oct 2009
    Posts
    17
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    If you don't have the rights as "Run as Admin", the bot will crash.
    That doesn't happen with a simple Error-Handling.

    Code:
            #region ProcessHandle
            public static bool OpenProcess(int processId)
            {
                try
                {
                    Process.EnterDebugMode();
                }
                catch(Exception ex)
                {
                    MessageBox.Show(ex.Message, "Run it as Admin pls");
                }
                    ProcessObject = Process.GetProcessById(processId);
                    ProcessHandle = OpenProcess(0x000F0000 | 0x00100000 | 0xFFF, false, processId);
                    if (ProcessHandle != IntPtr.Zero)
                        return true;
                    return false;

  8. #23
    miceiken's Avatar Contributor Authenticator enabled
    Reputation
    209
    Join Date
    Dec 2007
    Posts
    401
    Thanks G/R
    7/9
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Floppixx View Post
    If you don't have the rights as "Run as Admin", the bot will crash.
    That doesn't happen with a simple Error-Handling.

    Code:
            #region ProcessHandle
            public static bool OpenProcess(int processId)
            {
                try
                {
                    Process.EnterDebugMode();
                }
                catch(Exception ex)
                {
                    MessageBox.Show(ex.Message, "Run it as Admin pls");
                }
                    ProcessObject = Process.GetProcessById(processId);
                    ProcessHandle = OpenProcess(0x000F0000 | 0x00100000 | 0xFFF, false, processId);
                    if (ProcessHandle != IntPtr.Zero)
                        return true;
                    return false;
    Ah, right, forgot to add that in. I will

  9. #24
    Scorpiona's Avatar Active Member
    Reputation
    17
    Join Date
    Mar 2009
    Posts
    42
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by miceiken View Post
    Ah, right, forgot to add that in. I will
    Embed a manifest
    Step 6: Create and Embed an Application Manifest (UAC)

  10. #25
    miceiken's Avatar Contributor Authenticator enabled
    Reputation
    209
    Join Date
    Dec 2007
    Posts
    401
    Thanks G/R
    7/9
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Scorpiona View Post
    Tough shit I will look into adding that.
    Uploaded a new version that checks if it has administrator priviliges before trying to run Process.EnterDebugMode();

  11. #26
    Floppixx's Avatar Member
    Reputation
    1
    Join Date
    Oct 2009
    Posts
    17
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Open up a team foundation server.
    This will be a community bot

  12. #27
    miceiken's Avatar Contributor Authenticator enabled
    Reputation
    209
    Join Date
    Dec 2007
    Posts
    401
    Thanks G/R
    7/9
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Floppixx View Post
    Open up a team foundation server.
    This will be a community bot
    Lol, feel free You have my permission

  13. #28
    Zoldy's Avatar Member
    Reputation
    1
    Join Date
    Jul 2008
    Posts
    6
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Can you re-upload it somewhere else? The attachment appears to be broken for me...

  14. #29
    miceiken's Avatar Contributor Authenticator enabled
    Reputation
    209
    Join Date
    Dec 2007
    Posts
    401
    Thanks G/R
    7/9
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Zoldy View Post
    Can you re-upload it somewhere else? The attachment appears to be broken for me...
    Reuploaded
    I also think I fixed a little problem with the object rotation, damns maths lol

  15. #30
    Phalcon's Avatar Private
    Reputation
    1
    Join Date
    Dec 2009
    Posts
    5
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by miceiken View Post
    Reuploaded
    I also think I fixed a little problem with the object rotation, damns maths lol
    Great work miceiken!! I'm using your objectmanager for my own bot. At the moment he can follow waypoint,attack mobs and loot them. And without any memory writes! Is it possible that you post the lines of code that you have fixed? So i don't have to re-implement my own function again in you sources :-)

Page 2 of 5 FirstFirst 12345 LastLast

Similar Threads

  1. Safely Afk botting AV for dummies!
    By Parog in forum World of Warcraft Guides
    Replies: 30
    Last Post: 04-22-2008, 10:03 PM
  2. Easy AV afk. No bot needed. For parents with small children.
    By lostsoul23m in forum World of Warcraft Guides
    Replies: 17
    Last Post: 02-27-2008, 11:58 AM
  3. Tool to get all Fish/bots working for EU version users! [self-made]
    By -MadMax- in forum World of Warcraft Bots and Programs
    Replies: 6
    Last Post: 09-08-2006, 09:02 AM
  4. Runescape Bot, Looking for!
    By Shadowman2418 in forum Community Chat
    Replies: 2
    Last Post: 07-16-2006, 11:58 PM
All times are GMT -5. The time now is 11:19 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