Fortnite Shoot Through Walls source

Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...
Uzman Üye
Katılım
5 Ocak 2021
Mesajlar
203
Çözümler
3
Tepki puanı
78
Ödüller
5
Yaş
51
5 HİZMET YILI
C++:
float* (*CalcShot)(uintptr_t, uintptr_t, uintptr_t) = nullptr;
float* CalcShotHook(uintptr_t arg0, uintptr_t arg1, uintptr_t arg2) {

    auto ret = SpoofCall(CalcShot, arg0, arg1, arg2);
    auto root = GetPawnRootLocation(LocalPawn);

    SDK::FVector head;
    head.X = AimingActor.x;
    head.Y = AimingActor.y;
    head.Z = AimingActor.z;

    if (ret && bSilent && LocalPawn) {
 
        auto dx = head.X - root.x;
        auto dy = head.Y - root.y;
        auto dz = head.Z - root.z;


        ret[4] = head.X;
        ret[5] = head.Y;
        ret[6] = head.Z;

        head.Z -= 15.0f;

        head.X -= 15.0f;
        head.Y -= 15.0f;

        root.z += 45.0f;

        auto y = atan2f(head.Y - root.y, head.X - root.x);

        root.x += cosf(y + 1.5708f) * 32.0f;
        root.y += sinf(y + 1.5708f) * 32.0f;


        ret[4] = head.X;
        ret[5] = head.Y;
        ret[6] = head.Z;

        auto length = SpoofCall(sqrtf, powf(head.X - root.x, 2) + powf(head.Y - root.y, 2));
        auto x = -atan2f(head.Z - root.z, length);
        y = atan2f(head.Y - root.y, head.X - root.x);

        x /= 2.0f;
        y /= 2.0f;

        ret[0] = -(sinf(x) * sinf(y));
        ret[1] = sinf(x) * cosf(y);
        ret[2] = cosf(x) * sinf(y);
        ret[3] = cosf(x) * cosf(y);
    }

    return ret;
}

void hookthisshit()
{
addr = PatternScan(("48 89 5C 24 ? 4C 89 4C 24 ? 55 56 57 41 54 41 55 41 56 41 57 48 8D 6C 24 ? 48 81 EC ? ? ? ? 48 8B F9 4C 8D 6C 24 ?"));
    (DiscordHelper::hookint, addr, (uintptr_t)CalcShotHook, (uintptr_t)&CalcShot);
}
 
Onaylı Üye
Katılım
9 Şub 2021
Mesajlar
100
Tepki puanı
5
Ödüller
3
Yaş
20
5 HİZMET YILI
arıyordum bulamıyordum sağol işe yaradı knk
 
Onaylı Üye
Katılım
27 Tem 2019
Mesajlar
89
Çözümler
2
Tepki puanı
8
Ödüller
3
6 HİZMET YILI
sagolasın kardeşim çok işime yaradı
 
Scott Mccall
Seçkin Üye
Katılım
6 Ara 2020
Mesajlar
304
Çözümler
1
Tepki puanı
13
Ödüller
3
Yaş
25
5 HİZMET YILI
discordun filan varmı ordan halledelim işime yarıcak gibi
 
Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...
Üst