Macro yazılım yardım

Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...
Üye
Katılım
13 Şub 2018
Mesajlar
29
Tepki puanı
0
Yaş
22
8 HİZMET YILI
Yazılımın çalıştığı tuş scroll tuşu yani ortadaki tekerlek bunu sol click tuşu yapabilir misiniz ?

Kod:
//globalpolicy
//c0dew0rth.blogspot.com
//26th May, 2018
//Hold middle mouse button to auto fire any single shot gun
//Also performs recoil compensation

#pragma once
#include <Windows.h>
#include <stdio.h>
using namespace std;


void leftClickDown()
{
    mouse_event(MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0);
}

void leftClickUp()
{
    mouse_event(MOUSEEVENTF_LEFTUP, 0, 0, 0, 0);
}

void mouseMove(int dx, int dy, int step = 1, int sleep = 10)
{
    int stepx, stepy;

    stepx = (dx < 0) ? (step*-1) : (step);
    for (int cnt = 1; cnt <= abs(dx / stepx); cnt++)
    {
        mouse_event(MOUSEEVENTF_MOVE, stepx, 0, 0, 0);
        Sleep(sleep / 2);
    }

    stepy = (dy < 0) ? (step*-1) : (step);
    for (int cnt = 1; cnt <= abs(dy / stepy); cnt++)
    {
        mouse_event(MOUSEEVENTF_MOVE, 0, stepy, 0, 0);
        Sleep(sleep / 2);
    }
}

void typeGraveAccent()
{
    keybd_event(VK_OEM_3, 0, 0, 0);
    keybd_event(VK_OEM_3, 0, KEYEVENTF_KEYUP, 0);
}

void monitorLoop(int dx, int dy, int waitMs, int shootDelayMs)
{

    while (true)
    {
        SHORT gaks = GetAsyncKeyState(VK_MBUTTON);
        if (gaks & 0b1000000000000000) //if MSB is set(non-zero) i.e. being held down
        {
            leftClickDown();
            leftClickUp();

            typeGraveAccent();
            leftClickDown();

#pragma region Recoil compensation/pull
            /*
            * first param : horizontal recoil correction per shot in pixels
            * second param : vertical recoil correction per shot in pixels (greater value=stronger downward pull)
            * third param : recoil correction step size in pixels (game seems to not register the pull if >=2 (?) )
            * fourth param : wait period between consecutive step-pulls/step-corrections (lower value=faster fire rate) (game doesn't register the pull if <=1)
            */
            mouseMove(dx, dy, 1, shootDelayMs);
            /*
            * Recommended parameters for :
            + 5.56 guns :
            - M16A4 : 0, 29, 1, 4
            - Mini 14 : 0, 35, 1, 2
            - SCAR-L : 0, 35, 1, 2
            + 7.72 guns : (generally worse recoil consistency than 5.56 guns)
            - SKS : 5, 40, 1, 2
            - AKM : 5, 35, 1, 2 (really just use auto mode with manual correction for this; AKM is just all over the place)
            - Mk14 : 0, 35, 1, 2 (better recoil consistency than AKM but still not that good)
            */
#pragma endregion

            leftClickUp();
            typeGraveAccent();
        }

#pragma region Firing rate delay
        /*
        * the lower it is, the faster the firing rate
        * any lower than 6 and the game will freeze
        * the lower it is, the greater the recoil
        */
        Sleep(shootDelayMs);
        /*
        * Recommended delay for :
        - M16A4 : 6-8
        - SKS, AKM, Mk14, Mini 14, SCAR-L : 6
        */
#pragma endregion

    }
}
 
aka panic.rs
Kurucu
Katılım
18 Haz 2015
Mesajlar
3,379
Çözümler
50
Tepki puanı
13,156
Ödüller
22
Sosyal
10 HİZMET YILI
C++:
SHORT gaks = GetAsyncKeyState(VK_MBUTTON);

Bu kısmı bul Bununla değiştir. :kaybear:

C++:
SHORT gaks = GetAsyncKeyState(VK_LBUTTON);
 
Üye
Katılım
13 Şub 2018
Mesajlar
29
Tepki puanı
0
Yaş
22
8 HİZMET YILI
visual basic programım yok elimde indirmesi uzun sürüyor acaba siz değiştirip upload eder misiniz siteye hem pubg mobile için güzel içerik olur @LeftSpace
 
Üye
Katılım
13 Şub 2018
Mesajlar
29
Tepki puanı
0
Yaş
22
8 HİZMET YILI
@#Eq1NoX anladım fakat elimde visual programı yok :( mümkünse siz değiştirebilir misiniz ?
 
Üye
Katılım
13 Şub 2018
Mesajlar
29
Tepki puanı
0
Yaş
22
8 HİZMET YILI
@BaBaYuSuF56 değil işte kota doldu ttnetin allah belasını versin 20 kb indirme hızı var geceye anca iner 2 dk lık işlem için malesef 10 saat bekleyeceğim :/
 
Bir Gün Ölmek Dileğiyle
Süper Üye
Katılım
21 Eyl 2016
Mesajlar
641
Çözümler
3
Tepki puanı
71
Ödüller
9
Yaş
28
9 HİZMET YILI
Bu hangi oyunun makrosu?
 
Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...
Üst