Jump to content
  • Treść wyszukiwania
    Search In
    • More options...
    Find results that contain...
    Find results in...
  • Sign Up
Password for all archives on our forum: 123

source Edge Bug Detection (Help)

Source code

Recommended Posts

Hi! I'm trying to do an edgebug detection, but its not working for me, can anyone help me? (When i hit the edgebug, the message dont send)

This is the code:

   if (g_ctx.local()->get_move_type() == MOVETYPE_LADDER || g_ctx.local()->get_move_type() == MOVETYPE_NOCLIP) return;

    if (engineprediction::get().backup_data.flags & FL_ONGROUND && !(g_ctx.local()->m_fFlags() & FL_ONGROUND))
        pCmd->m_buttons |= IN_DUCK;

    static CHudChat* chat = nullptr;

    if (!chat)
        chat = util::FindHudElement <CHudChat>(crypt_str("CHudChat"));

    bool caneb = !(g_ctx.local()->m_vecVelocity().z >= -7 || floor(g_ctx.local()->m_vecVelocity().z) != -7 || (g_ctx.local()->m_fFlags() & FL_ONGROUND));

    if (caneb) {
        chat->chat_print("Edge Bug Assisted");
    }

 

Link to post
Share on other sites

Most likely the problem is in the printing. Check this 

Hidden Content

    Give reaction to this post to see the hidden content.

 

  • Like 1
  • Haha 1
Link to post
Share on other sites
2 minutes ago, btc said:

Most likely the problem is in the printing. Check this 

Hidden Content

    Give reaction to this post to see the hidden content.

 

I am almost sure that this is not and is a problem with the bool caneb, since if I remove that bool and only leave the print, the message is sent, only that it spam because there is no bool

Link to post
Share on other sites
3 minutes ago, qDaaz said:

I am almost sure that this is not and is a problem with the bool caneb, since if I remove that bool and only leave the print, the message is sent, only that it spam because there is no bool

then take a look into this

Hidden Content

    Give reaction to this post to see the hidden content.

Link to post
Share on other sites
Posted (edited)

 

16 minutes ago, btc said:

then take a look into this

Hidden Content

    Give reaction to this post to see the hidden content.

 

Hmm, that's for long jump, i can't adapt it for a edge bug, have another methods that edge bug not have

Edited by qDaaz
Link to post
Share on other sites
1 minute ago, qDaaz said:

 

 

Hmm, that's for long jump, i can't adapt it for a edge bug, have another methods that edge bug not have

 

but there's "fix" for the print chat spam thing

Link to post
Share on other sites
3 minutes ago, btc said:

but there's "fix" for the print chat spam thing

I mean that the detection is for long jump, I need the method to detect an edge bug, or in the same code as the edge bug there is something that indicates that the edge bug was done

Link to post
Share on other sites
5 minutes ago, qDaaz said:

I mean that the detection is for long jump, I need the method to detect an edge bug, or in the same code as the edge bug there is something that indicates that the edge bug was done

hmm, I'll check this later, never really worked with edge bug, but if you cannot resolve it, try to make a thread into uc

Link to post
Share on other sites
1 minute ago, btc said:

hmm, I'll check this later, never really worked with edge bug, but if you cannot resolve it, try to make a thread into uc

Aight, i'll do, thanks!

  • Like 1
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...