Results 1 to 15 of 21

Threaded View

  1. #1
    Silent's Avatar
    Join Date
    Jan 2015
    Gender
    male
    Location
    Melbourne, Australia
    Posts
    5,071
    Reputation
    2172
    Thanks
    8,475
    My Mood
    Bitchy

    Updated dvar dumper. 12 games supported!

    Hey all, Just fixed my dvar dumper, It's a lot better then what it was before.

    New features:
    - Reads dvar string length.(main new feature)
    - New memory class
    - fully re-coded

    Supported games:
    No Game
    MW3 - MP
    MW2 - MP
    BlackOps - MP
    BlackOps II - MP
    MW1 - MP
    WAW - MP
    MW3 - SP
    MW2 - SP
    BlackOps - SP
    BlackOps II - SP
    BlackOps II - ZM
    WAW - SP

    For nerds:
     
    Code:
    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Diagnostics;
    using System.Drawing;
    using System****;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;
    using System.Windows.Forms;
    
    namespace New_dvar_dumper
    {
        public partial class FormMain : Form
        {
            public FormMain()
            {
                InitializeComponent();
    
                games = new Game[]
                {
                    new Game { name = "No Game",  processName = "...", dvarBase = 0, dvarSize = 0, pointerToAddress = 0 },
                    new Game { name = "MW3 - MP",  processName = "iw5mp", dvarBase = 0x59CDE00, dvarSize = 76, pointerToAddress = 12 },
                    new Game { name = "MW2 - MP",  processName = "iw4mp", dvarBase = 0x63813F0, dvarSize = 76, pointerToAddress = 12 },
                    new Game { name = "BlackOps - MP",  processName = "BlackOpsMP", dvarBase = 0x3860E90, dvarSize = 112, pointerToAddress = 0x18 },
                    new Game { name = "BlackOps II - MP",  processName = "t6mp", dvarBase = 0x2A1FC48, dvarSize = 96, pointerToAddress = 0x18 },
                    new Game { name = "MW1 - MP",  processName = "iw3mp", dvarBase = 0xCBAB808, dvarSize = 76, pointerToAddress = 12 },
                    new Game { name = "WAW - MP",  processName = "CoDWaWmp", dvarBase = 0xF3F3F70, dvarSize = 92, pointerToAddress = 16 },
                    new Game { name = "MW3 - SP",  processName = "iw5sp", dvarBase = 0x1C473C0, dvarSize = 76, pointerToAddress = 12 },
                    new Game { name = "MW2 - SP",  processName = "iw4sp", dvarBase = 0x196AA90, dvarSize = 80, pointerToAddress = 12 },
                    new Game { name = "BlackOps - SP",  processName = "BlackOps", dvarBase = 0x2621BF0, dvarSize = 112, pointerToAddress = 0x18 },
                    new Game { name = "BlackOps II - SP",  processName = "t6sp", dvarBase = 0x2A41B10, dvarSize = 96, pointerToAddress = 0x18 },
                    new Game { name = "BlackOps II - ZM",  processName = "t6zm", dvarBase = 0x29F5548, dvarSize = 96, pointerToAddress = 0x18 },
                    new Game { name = "WAW - SP",  processName = "CoDWaW", dvarBase = 0x21B1348, dvarSize = 92, pointerToAddress = 16 },
                };
            }
    
            static Memory memory = new Memory();
            static Game[] games;
            int gameFound = 0;
    
            private struct Game
            {
                public string processName;
                public string name;
                public int dvarBase;
                public int dvarSize;
                public int pointerToAddress;
            }
    
            private void timerGameCheck_Tick(object sender, EventArgs e)
            {
                for (int i = 0; i < games.Length; i++)
                {
                    Process[] processes = Process.GetProcessesByName(games[i].processName);
                    if (processes.Length != 0)
                    {
                        gameFound = i;
                        labelFoundGame.Text = games[i].name;
                    }
                }
            }
    
            private void buttonDump_Click(object sender, EventArgs e)
            {
                textDumped.Text = null;
                if(!memory.Open_pHandel(games[gameFound].processName))
                {
                    MessageBox.Show("Game not found!");
                    return;
                }
    
                bool containIndex = checkContainIndex.Checked;
                bool containDebugInfo = checkHaveDebugInfo.Checked;
                int startTime = Environment.TickCount;
                textDumped.Text += (containIndex ? "Index | " : "") + "Name | Address\r\n\r\n";
    
                for (int i = 0; i <= 4096; i++)
                {
                    int tempBase = games[gameFound].dvarBase + (games[gameFound].dvarSize * i);
    
                    string name = memory.ReadStringAdvanced(memory.ReadInt(tempBase), 32);
                    int address = tempBase + games[gameFound].pointerToAddress;
    
                    if (name == null || address == 0)
                        break;//I would do continue, But either way works.
    
                    textDumped.Text += (containIndex ? i.ToString() + " - " : "") + name + " - 0x" + address.ToString("X") + "\r\n";
                }
    
                if(containDebugInfo)
                {
                    int timeTaken = Environment.TickCount - startTime;
                    textDumped.Text += "\r\nDebugInformation\r\n\r\nTime taken: " + timeTaken.ToString() + "ms(" + (timeTaken / 1000).ToString() + "seconds)\r\n";
                }
            }
    
            private void buttonSave_Click(object sender, EventArgs e)
            {
                if (gameFound != 0)
                    File.WriteAllText(Environment.GetFolderPath(Environment.SpecialFolder.Desktop) + "\\" + games[gameFound].name + " dvar dump.txt", textDumped.Text);
            }
        }
    }


    Virus scans:
    https://www.virustotal.com/en/file/f...is/1492930374/
    https://virusscan.jotti.org/en-US/fi...job/te7ts02f1f


    <b>Downloadable Files</b> Downloadable Files
    Last edited by Silent; 04-23-2017 at 01:02 AM. Reason: adding source code
    Click Here to visit the official MPGH wiki! Keep up with the latest news and information on games and MPGH! To check out pages dedicated to games, see the links below!











    dd/mm/yyyy
    Member - 31/01/2015
    Premium - 12/09/2016
    Call of Duty minion - 05/11/2016 - 05/11/2019
    BattleOn minion - 28/02/2017 - 05/11/2019
    Battlefield minion - 30/05/2017 - 05/11/2019
    Other Semi-Popular First Person Shooter Hacks minion - 21/09/2017 - 17/09/2019
    Publicist - 07/11/2017 - 02/08/2018
    Cock Sucker - 01/12/2017 - Unknown
    Minion+ - 06/03/2018 - 05/11/2019
    Fortnite minion - 08/05/2018 - 05/11/2019
    Head Publicist - 08/10/2018 - 10/01/2020
    Developer Team - 26/10/2019 - 10/01/2020
    Former Staff - 10/01/2020



  2. The Following 29 Users Say Thank You to Silent For This Useful Post:

    .e7 (05-05-2018),Combine24 (07-02-2017),CrunchLikeTwix (06-04-2017),CrypticMods (06-04-2017),dredyk (03-21-2019),E8aGT00x (10-09-2018),eamrle (11-15-2023),Gus1337 (01-10-2019),Hydra (04-26-2017),iL33T (07-16-2019),Iw4.ir (09-11-2017),Iwesley93I (07-13-2019),KentaziFolf (09-28-2020),koavewin (03-18-2018),larsbrekke10 (05-25-2017),lordvoldemort666 (09-13-2017),noobyara (11-17-2021),proking1272 (01-04-2020),QuentinFR (05-25-2017),Siotus (02-08-2018),SJMairaB (08-08-2017),talegamer (07-24-2021),TigerOfTheDoom (10-14-2017),trashstaker (06-29-2020),UnlegitSuchti (06-18-2018),xdgxdg123 (11-26-2019),xenio2000 (10-23-2019),ZeubyX (08-21-2017),zezemorreu (04-29-2017)

Similar Threads

  1. New battleye update messing my game up?
    By Glxi in forum DayZ Mod & Standalone Hacks & Cheats
    Replies: 7
    Last Post: 10-07-2012, 08:07 AM
  2. [Solved] z8 games...support ticket? IM MAD
    By JimTheGreat in forum CrossFire Help
    Replies: 21
    Last Post: 03-13-2012, 09:17 PM
  3. [Discussion] [NOTICE] Updated: Regarding Current Game Server Shutdown
    By m0k1 in forum Combat Arms EU Discussions
    Replies: 0
    Last Post: 11-02-2011, 11:15 AM
  4. [Solved] The game supports 64-bit Windows XP Service Pack 2?
    By sasuke133 in forum CrossFire Help
    Replies: 6
    Last Post: 09-09-2011, 04:30 PM
  5. [Discussion] z8 games support
    By tiyan in forum CrossFire Discussions
    Replies: 5
    Last Post: 08-03-2011, 05:26 PM