Results 1 to 6 of 6
  1. #1
    agentsix1's Avatar
    Join Date
    Aug 2013
    Gender
    male
    Posts
    21
    Reputation
    10
    Thanks
    11

    [Help] C# Bomb Info [EXTERNAL]

    So I was twidling with an idea of doing some esp and possibly overlay stuff for my hack. However, when I went to go about it I was unsure of how to do it. So I am curios how I would get the defuse length, countdown and c4blow. I have tried 3 different methods of which I figured were wrong but with no avail. I was curious if you can lead me to where and what I am missing.

    Code:
    Globals.c4blow = ReadMemory<float>((int)g_pClient + Offsets.offsetList["m_flC4Blow"]);
                        Globals.defusecount = ReadMemory<float>((int)g_pClient + Offsets.offsetList["m_flDefuseCountDown"]);
                        Globals.defuselength = ReadMemory<float>((int)g_pClient + Offsets.offsetList["m_flDefuseLength"]);
    I have tried g_pClient, dwLocalPlayer, and dwEntityList (up to 64). Am I missing something. I know its gonna be fairly obvious but it seems to always be that way...

    Thank you ahead of time for your guys help. It is greatly appreciated!
    Last edited by agentsix1; 07-21-2019 at 01:06 AM.

  2. The Following User Says Thank You to agentsix1 For This Useful Post:

    magentic (08-15-2019)

  3. #2
    CraftedChamp.'s Avatar
    Join Date
    Dec 2018
    Gender
    male
    Location
    United States of America
    Posts
    282
    Reputation
    10
    Thanks
    698
    My Mood
    Amazed
    u can prolly lookup one for c++ and convert it

  4. #3
    agentsix1's Avatar
    Join Date
    Aug 2013
    Gender
    male
    Posts
    21
    Reputation
    10
    Thanks
    11
    Quote Originally Posted by CraftedChamp. View Post
    u can prolly lookup one for c++ and convert it
    I have in the past and currently and really haven't found anything that really helps me...

  5. #4
    agentsix1's Avatar
    Join Date
    Aug 2013
    Gender
    male
    Posts
    21
    Reputation
    10
    Thanks
    11
    So I didn't exactly figure out how to get the above stuff just yet but this code should help

    Code:
    ----------- Variables
    
                static int bombTime = 0;
                static Stopwatch stopwatch = new Stopwatch();
    
    ----------- Main Code
    
                int bombBase = ReadMemory<int>((int)g_pClient + Offsets.offsetList["dwGameRulesProxy"]);
                bool BombPlanted = ReadMemory<bool>(bombBase + Offsets.offsetList["m_bBombPlanted"]);
                int Local = ReadMemory<int>((int)g_pClient + Offsets.offsetList["dwLocalPlayer"]);
    
                if (BombPlanted && !stopwatch.IsRunning)
                {
                    stopwatch.Start();
                }
                else if (!BombPlanted)
                {
                    Globals.bBombPlanted = false;
                    Globals.iTimeLeft = 0;
                    bombTime = 0;
                    stopwatch.Stop();
                    stopwatch.Reset();
                }
                if (BombPlanted && stopwatch.IsRunning && !M8) //M& is team checking
                {
                    Globals.bBombPlanted = true;
                    bombTime = (int)stopwatch.ElapsedMilliseconds;
                    if (ReadMemory<bool>(Local + Offsets.offsetList["m_bHasDefuser"]) && bombTime < 35000)
                    {
                        Globals.iTimeLeft = 35000 - bombTime;
                    }
                    else if (bombTime < 30000)
                    {
                        Globals.iTimeLeft = 30000 - bombTime;
                    }
                    else
                    {
                        Globals.iTimeLeft = 0;
                    }
                }
    
    
    
    ----------- Glow Code
                    bool defusing = ReadMemory<bool>(EntBase + Offsets.offsetList["m_bIsDefusing"]);
                    bool hasKit = ReadMemory<bool>(EntBase + Offsets.offsetList["m_bHasDefuser"]);
                    int iTime = Globals.iTimeLeft;
                    if (defusing)
                    {
                        if (hasKit)
                        {
                            iTime -= 5000;
                            if (iTime <= 0)
                            {
                                GlowObj.r = 1.0f;
                                GlowObj.g = 1.0f;
                                GlowObj.b = 1.0f;
                            }
                            else
                            {
                                GlowObj.r = 0f;
                                GlowObj.g = 0.5f;
                                GlowObj.b = 1.0f;
                            }
                        }
                        else
                        {
                            if (iTime <= 0)
                            {
                                GlowObj.r = 1f;
                                GlowObj.g = 1f;
                                GlowObj.b = 1f;
                            }
                            else
                            {
                                GlowObj.r = 0.5f;
                                GlowObj.g = 0f;
                                GlowObj.b = 1.0f;
                            }
                        }

    If you guys have any questions. I will do my best to respond.
    Last edited by agentsix1; 08-01-2019 at 11:06 PM.

  6. #5
    agentsix1's Avatar
    Join Date
    Aug 2013
    Gender
    male
    Posts
    21
    Reputation
    10
    Thanks
    11
    I am still working on improving this hack so I will post an update here once that is done...

  7. #6
    CraftedChamp.'s Avatar
    Join Date
    Dec 2018
    Gender
    male
    Location
    United States of America
    Posts
    282
    Reputation
    10
    Thanks
    698
    My Mood
    Amazed
    Okay thanks for the info!

Similar Threads

  1. [Request] External Hud/Interface to detect rewards + adds info?
    By konradmm in forum WarFrame Hacks & Cheats
    Replies: 0
    Last Post: 11-03-2016, 03:01 PM
  2. [Help Request] Looking for bomb damage info
    By Diotic in forum Realm of the Mad God Help & Requests
    Replies: 1
    Last Post: 12-14-2015, 09:49 PM
  3. [Outdated] Rust Pal (legacy external map and network protocol info)
    By KillerLUA in forum Rust Hacks / Cheats
    Replies: 14
    Last Post: 07-22-2015, 02:57 PM
  4. [Help Request] help info MW3 .NET External ESP v3.5 [1.9.453]
    By enkenk in forum Call of Duty Modern Warfare 3 Help
    Replies: 12
    Last Post: 12-13-2012, 12:20 AM
  5. WarRock WPE Info...
    By RebornAce in forum WarRock - International Hacks
    Replies: 7
    Last Post: 12-31-2005, 09:55 AM