Skip to content

Commit

Permalink
I upgraded Triggerbot function
Browse files Browse the repository at this point in the history
Even if both Aimbot and Triggerbot are on, you will no longer keep shooting over enemy's head. The combo will completely destroy them quickly.
  • Loading branch information
vxcall committed Aug 5, 2020
1 parent 3a29888 commit 32f5981
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 12 deletions.
11 changes: 8 additions & 3 deletions Dainsleif/Hacks/Triggerbot.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,25 +4,30 @@
#include "Triggerbot.h"

extern uintptr_t moduleBase;
extern bool bAimbot;

void Triggerbot::Run(std::vector<Entity*> entityList)
{
uintptr_t* fa = reinterpret_cast<uintptr_t *>(moduleBase + dwForceAttack);
static bool bFreeMouse;
auto* fa = reinterpret_cast<uintptr_t *>(moduleBase + dwForceAttack);
LocalPlayer* lp = GetLocalPlayer();
int crosshairID = *reinterpret_cast<int*>(*reinterpret_cast<uintptr_t*>(lp) + m_iCrosshairId);
if (crosshairID != 0) {
//When you kill all enemy, it's somehow gonna be a number more than 300.
if (crosshairID < 2 ||crosshairID - 2 > 9) return;
if (lp->GetTeam() != entityList[crosshairID - 2]->GetTeam())
{
std::cout << *fa << std::endl;
bFreeMouse = false;
if (*fa == 4) {
Sleep(35);
*fa = 5;
} else if (*fa == 5) {
*fa = 4;
}
}
} else if (!crosshairID) {
}
if (crosshairID == 0 && !bFreeMouse) {
*fa = 4;
bFreeMouse = true;
}
}
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,6 @@ If the menu doesn't show up when you press <kbd>INSERT</kbd>, or your game crash
Copy and Paste contents in `offset.h` from mine to yours. Or if mine doesn't look updated, copy from [Hazedumper](https://github.com/frk1/hazedumper/blob/master/csgo.hpp)

# :computer: Hacks
I've already been supporting a few hacks but unfortunately they're really like...under construction.

Each of them could work correctly yet when they are on concurrently with others, they sometimes malfunction. I'll fix it shortly.

## Aimbot

Expand All @@ -109,6 +106,9 @@ This is the feature I can guarantee the highest quality in the hacks I offer her
Turning this function on automatically lets you aim at enemy's head with 100% precision.
It select the closest enemy from where your crosshair is as a target.

Tweaking Smoothness bar affects the smoothness of sticking aim.
By changing the value of the Range bar, you can change the range in which the aimbot will react

![aimbot](https://user-images.githubusercontent.com/33578715/89108283-b31e8d80-d469-11ea-8e55-e4e469d74576.gif)

## Glow hack
Expand All @@ -122,6 +122,8 @@ This feature allows you to see both opponents and teammate's outline through wal
Once you turn this on, you no longer have to press left click when you engage them.
This feature will complete the job for you.

This is designed to use in conjunction with Aimbot.

## Anti recoil

This is basically a recoil control system.
Expand All @@ -141,4 +143,4 @@ But this doesn't guarantee the 100% accuracy.
- [ ] Chams feature.

**Trigger bot**
- [ ] Fix a bug that keep shooting over hostile's head when you use Trigger bot in conjunction with Aimbot
- [x] Fix a bug that keep shooting over hostile's head when you use Trigger bot in conjunction with Aimbot
7 changes: 2 additions & 5 deletions README_jp.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,16 +95,13 @@ Visual Studioユーザー用のフォルダを用意しています。(もし最

# :computer: ハック

すでにいくつかのハックが開発済みですが、まだなんというか中途半端な部分もあります。

それぞれを単体で使う分には問題ないのですが、組み合わせて使うと想定外の動きになる可能性があります。

## エイムボット (Aimbot)

これが、現在のDainsleifの機能の中で一番完成度が高いです。(自負)

この機能をオンにすると、クロスヘアから一番近い敵の頭にエイムが吸い付きます。
Smoothnessという項目を変えると、吸い付きのゆるふわ度を変えることができます。
Rangeの項目を変えると、エイムボットが反応する範囲を変えることができます。

![aimbot](https://user-images.githubusercontent.com/33578715/89108283-b31e8d80-d469-11ea-8e55-e4e469d74576.gif)

Expand All @@ -120,7 +117,7 @@ Smoothnessという項目を変えると、吸い付きのゆるふわ度を変

これは、クロスヘアが敵と重なった瞬間に自動的に発砲するようになるハックです。

ただこの機能はまだ基礎を作ってからあまり改良していないため、低クオリティとなっています
一応エイムボットと併用して使うことを想定してデザインされています。今後単体でも十分使えるように改良していきます

## アンチリコイル(Anti recoil)

Expand Down

0 comments on commit 32f5981

Please sign in to comment.