Looking for help getting started/reaching my goal! menu

User Tag List

Results 1 to 4 of 4
  1. #1
    UOgod619's Avatar Private
    Reputation
    1
    Join Date
    Sep 2012
    Posts
    2
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Looking for help getting started/reaching my goal!

    So this is my first forum (any forum anywhere... please troll people leave me be!) post ever... In the past I have always spent hours tinkering until I'm usually able to find the answer to my questions, however after spending multiple days now, I am resorting to you people @ ownedcore! Let me give you a little background... I have no formal coding training/tutelage; everything I know has been learned via ebooks/Bob Tabor (I purchased a lifetime membership over at LearnVisualStudio.NET). I have created multiple applications both at my place of employment and for personal use; however I cannot seem to wrap my head around reading memory.

    I've installed CheatEngine 6.2 and worked through all of the tutorials (Step 9 I had to watch a YouTube video to accomplish); however I am still unable to apply this new knowledge to my current objective. Essentially all that I am trying to accomplish is to read basic attributes from my Diablo III character from memory to populate them in my application. I currently have an application that will take metrics such as weapon DPS, class attribute skill (INT,DEX,STR), and bonus DMG to calculate the total damage. I find it useful when I am hunting for a new weapon from the auction house and want to figure out if it will be an improvement or not.

    Before anyone trolls me, I'd like to say that I read what DarkLinux said in the following post about creating my own library and totally agree:
    HTML Code:
    www.ownedcore.com/forums/general/programming/361232-wtb-c-memoryreading-writing-lessons-give.html
    I have been trying to accomplish my goal using the ProcessMemory library provided by yellowspark:
    HTML Code:
    www.ownedcore.com/forums/general/programming/358768-c-memory-reading-writing-class.html
    So I guess I'm just looking for some guidance... I've tried using CE to capture the pointer path to INT; however I can't get past the first pointer... finding the pointer path was sooooo much easier in the tutorial! If someone could give me some guidance as how to go about this seemingly simple task that would be helpful. If someone knows of a good tutorial that exists that would help me in creating my own library that would also rock. I found this tutorial here that shows reading memory in C++, perhaps someone knows of one in C#? If you are unable to provide the aforementioned, but you can help by showing me how to use the ProcessMemory library to read Intelligence with the offsets provided here that would also be something very helpful. I've turned the Attribute IDs that DarthTon posted on page 1 of the link in the previous sentence into an enumerator; however I am unsure how to use them in code... Perhaps someone could enlighten me to this as well?

    Let me finish this post by apologizing... I really hate asking for assistance as I feel most answers can be answered if you just read long enough! However I have tackled this for many days now and feel like I haven't made any progress! There is a disconnect in my head somewhere and things just aren't clicking... Thanks to all who take the time to read this and to any who are able to help me understand memory reading better!

    Below is the code (written in WPF, however was going to switch it to winforms as I was having problems implementing ProcessMemory class in WPF) that I am looking to modify, essentially I want it to do the same functionality, except I want to auto-populate the fields from memory rather than type them myself! Another sweet addition would be to have the application read the weapon I am currently hovering over in the auction house and pull its properties into the application as well.

    Code:
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Windows;
    using System.Windows.Controls;
    using System.Windows.Data;
    using System.Windows.Documents;
    using System.Windows.Input;
    using System.Windows.Media;
    using System.Windows.Media.Imaging;
    using System.Windows.Navigation;
    using System.Windows.Shapes;
    
    
    
    namespace DiabloIII_Damage_Calculator
    {
        /// <summary>
        /// Interaction logic for MainWindow.xaml
        /// </summary>
        public partial class MainWindow : Window
        {
            public MainWindow()
            {
                InitializeComponent();
            }
    
            private void comboBoxCharacterClass_SelectionChanged(object sender, SelectionChangedEventArgs e)
            {
                if (comboBoxCharacterClass.SelectedIndex == 0)
                {
                    labelSkill.Content = "Skill (Strength)";
                }
                if (comboBoxCharacterClass.SelectedIndex == 1 || comboBoxCharacterClass.SelectedIndex == 2)
                {
                    labelSkill.Content = "Skill (Dexterity)";
                }
                if (comboBoxCharacterClass.SelectedIndex == 3 || comboBoxCharacterClass.SelectedIndex == 4)
                {
                    labelSkill.Content = "Skill (Intelligence)";
                }
            }
    
            private void textBox_PreviewTextInput(object sender, TextCompositionEventArgs e)
            {
                e.Handled = !e.Text.All(cc => Char.IsNumber(cc) || cc == '.');
                base.OnPreviewTextInput(e);
            }
    
            private void buttonCalculate_Click(object sender, RoutedEventArgs e)
            {
                if (!(String.IsNullOrEmpty(textBoxSkill.Text)) && !(String.IsNullOrEmpty(textBoxWeaponDamagerPerSecond.Text)))
                {
                    CalculateDamage();
                }
                else
                {
                    MessageBox.Show("Weapon Damage Per Second and Skill cannot be null. Cannot calculate damage with an empty value, please populate and try again!");
                }
            }
    
            private void CalculateDamage()
            {
                double S = (double.Parse(textBoxSkill.Text) / 100.0) + 1.0;
                double DPS = double.Parse(textBoxWeaponDamagerPerSecond.Text);
                double ch = 0.0;
                double cd = 0.0;
                if (String.IsNullOrEmpty(textBoxCriticalHitChance.Text))
                {
                    ch = 5.0 / 100.0;
                }
                else
                {
                    ch = double.Parse(textBoxCriticalHitChance.Text) / 100.0;
                }
                if (String.IsNullOrEmpty(textBoxCriticalDamage.Text))
                {
                    cd = 50.0;
                }
                else
                {
                    cd = double.Parse(textBoxCriticalDamage.Text) / 100.0;
                }
                double C = (ch * cd) + 1.0;
                double DB = 1.0;
                if (!(String.IsNullOrEmpty(textBoxSkillDamageBonus.Text)))
                {
                    DB = (double.Parse(textBoxSkillDamageBonus.Text) / 100.0) + 1.0;
                }
                double TD = DPS * S * C * DB;
                textBoxTotalDamage.Text = TD.ToString();
            }
        }
    }

    Looking for help getting started/reaching my goal!
  2. #2
    UOgod619's Avatar Private
    Reputation
    1
    Join Date
    Sep 2012
    Posts
    2
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    So not really looking for spoon feeding, rather was just looking for someone to throw the food on the tray in front of me! Then perhaps say ok use hand to put in mouth... yadda yadda. :-D
    I just picked up "Reverse Engineering Code with IDA Pro.pdf" and IDAPRO55.exe... as I'm attempting to learn to fish by myself! Any tips?

  3. #3
    boredevil's Avatar Active Member Authenticator enabled
    Reputation
    46
    Join Date
    Feb 2008
    Posts
    166
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    just read this forum. start at the last page. all important stuff was posted in the old threads when d3 was still in beta.
    if you read em all you should have enough knowledge to build a whole botting framework or whatever you want to do.

  4. #4
    infotech1's Avatar Member
    Reputation
    3
    Join Date
    Jan 2007
    Posts
    43
    Thanks G/R
    0/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yeah deffinatly start at the start of this forum and read forward. If you can get a hold of d3adventure its C# and will save you translating a bunch of autoit.

Similar Threads

  1. Need 5$ to start a website looking for help
    By l33tqueen in forum WoW Scams Help
    Replies: 1
    Last Post: 11-30-2008, 05:44 AM
  2. [Help] Looking For Help :)
    By Xevio in forum World of Warcraft Emulator Servers
    Replies: 3
    Last Post: 12-01-2007, 07:57 PM
  3. Boting: Need help getting started
    By grond in forum World of Warcraft General
    Replies: 3
    Last Post: 10-30-2007, 02:19 PM
  4. [Question] Noob looking for help plz...
    By zachbbb23 in forum WoW ME Questions and Requests
    Replies: 1
    Last Post: 10-20-2007, 12:38 AM
All times are GMT -5. The time now is 06:06 PM. 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