[c#]BlackMagic.dll for make a bot. menu

User Tag List

Results 1 to 5 of 5
  1. #1
    Ploouck's Avatar Private
    Reputation
    1
    Join Date
    Jan 2011
    Posts
    12
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [c#]BlackMagic.dll for make a bot.

    hello, I make a little program for my test ...

    Code:
    using System;
    using System.IO;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Linq;
    using System.Text;
    using System.Windows.Forms;
    using System.Diagnostics;
    using Magic;
    
    namespace wowbeta1
    {
        public partial class Form1 : Form
        {
            public Form1()
            {
                InitializeComponent();
            }
    
            uint myFinalHex;
    
            private void button1_Click(object sender, EventArgs e)
            {
                
                BlackMagic wow = new BlackMagic();
    
                wow.OpenProcessAndThread(SProcess.GetProcessFromProcessName("Wow"));
    
                IntPtr baseWoW = wow.MainModule.BaseAddress;
    
                string myHexa = string.Empty;
                myHexa = textBox1.Text;
    
                myFinalHex = Convert.ToUInt32(myHexa, 16);
    
                uint address = Convert.ToUInt32((uint)baseWoW + myFinalHex);
    
                label1.Text = Convert.ToString(baseWoW);
                label2.Text = Convert.ToString(myFinalHex);
                label3.Text = Convert.ToString(address);
    
               
                
                listBox1.Items.Add("String " + Convert.ToString(wow.ReadASCIIString(address, 256)));
                listBox1.Items.Add("Float " + Convert.ToString(wow.ReadFloat(address)));
                listBox1.Items.Add("Double " + Convert.ToString(wow.ReadDouble(address)));
                listBox1.Items.Add("Int " + Convert.ToString(wow.ReadInt(address)));
                listBox1.Items.Add("Short " + Convert.ToString(wow.ReadShort(address)));
                listBox1.Items.Add("Uint " + Convert.ToString(wow.ReadUInt(address)));
                listBox1.Items.Add("UShort " + Convert.ToString(wow.ReadUShort(address)));
                listBox1.Items.Add("-------------------");
            }
        }
    }
    but i use offset of this page : http://www.mmowned.com/forums/world-...mp-thread.html


    if I test with : 0x8B3FB0 ( player name ) => it work
    but with 0x898 (UNIT_FIELD_X ) => its doesn't work , my program return 0 for all type !

    why ?

    [c#]BlackMagic.dll for make a bot.
  2. #2
    Ploouck's Avatar Private
    Reputation
    1
    Join Date
    Jan 2011
    Posts
    12
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    no solution, no idea?

    it works only with the character's name, nothing else !!! Why ?

  3. #3
    Jaerin's Avatar Former Staff
    Reputation
    641
    Join Date
    Sep 2008
    Posts
    1,290
    Thanks G/R
    29/126
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It was patch day today. Sure you're not running 4.0.6 now?

    New offsets will be needed.

  4. #4
    Neffarian's Avatar Member
    Reputation
    -5
    Join Date
    Sep 2006
    Posts
    53
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    im pretty sure your not pulsing your client connection.

    ever had a broken calcsreen?

  5. #5
    DarkLinux's Avatar Former Staff
    CoreCoins Purchaser Authenticator enabled
    Reputation
    1584
    Join Date
    May 2010
    Posts
    1,829
    Thanks G/R
    188/531
    Trade Feedback
    16 (100%)
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    You just cant use UNIT_FIELD_X, you must add that onto your UNIT. You need to code an object manager to use that. Use BlackRain, it has one already. Also, only use rebased offsets. If you are looking for the players x location that is different from UNIT_FIELD_X.

    BlackRain
    Code:
            /// <summary>
            /// Memory locations specific to the WowObject type.
            /// Version: 4.0.6 13623
            /// </summary>
            public enum WowObject : uint
            {
                X = 0x898,
                Y = X + 0x4,
                Z = X + 0x8,
                GameObjectX = 0x110,
                GameObjectY = GameObjectX + 0x4,
                GameObjectZ = GameObjectX + 0x8,
                Pitch = X + 0x14,
                Rotation = X + 0x10,
            }
    You will also need to add the baseaddress

    ----EDIT
    WoW this is a really old post.... Also UNIT_FIELD is not the best name, I got a little confused by it. I am wrong....
    Last edited by DarkLinux; 05-05-2011 at 11:29 AM.

Similar Threads

  1. Replies: 5
    Last Post: 02-20-2012, 05:36 AM
  2. How to find addresses for using Blackmagic dll?
    By hwma in forum WoW Memory Editing
    Replies: 1
    Last Post: 02-08-2012, 02:26 AM
  3. [c#]Using BlackMagic.dll for make a bot
    By Ploouck in forum WoW Bots Questions & Requests
    Replies: 3
    Last Post: 01-22-2011, 05:00 PM
  4. [Bot] [c#] I need help for make a bot
    By Ploouck in forum WoW Memory Editing
    Replies: 1
    Last Post: 01-21-2011, 06:28 PM
  5. Wanna get paid for making a simple bot?
    By Matarazz in forum World of Warcraft General
    Replies: 6
    Last Post: 08-29-2007, 08:06 AM
All times are GMT -5. The time now is 12:03 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search