[Request] Visual Basic Code

Status
Not open for further replies.

raymaster8

Member
Joined
May 8, 2013
Messages
18
Reaction score
0
[center:yal1g4sl]Hello guys some of you may know this aimbot : [spoiler:yal1g4sl]
2192hol.png
[/spoiler:yal1g4sl] Its made in visual basic and it works very well for me but i wanted to put it in my gta sa trainer. so i wanted the code of the aimbot im searching all day long but cant find anything

(( if you cant see the pic? click here http://i43.tinypic.com/2192hol.png ))[/center:yal1g4sl]
 

0xB6F5F0

Active member
Joined
Aug 11, 2013
Messages
60
Reaction score
0
i've tried to make my aimbot with some sexy calculation but had a serious error using "SetCursorPos" ingame D:
 

Z0DY

Well-known member
Joined
Feb 20, 2013
Messages
225
Reaction score
0
This Code isn't Public and i think it's written in C# :) :):)
 

.silent

Well-known member
Joined
Apr 14, 2013
Messages
339
Reaction score
13
Gimme the download, vb is easy to decompile and if its c# then its like vb
 

0xB6F5F0

Active member
Joined
Aug 11, 2013
Messages
60
Reaction score
0
Gimme the download, vb is easy to decompile and if its c# then its like vb
that mean you can decompile "OCX/DLL/EXE" ? for example can you decompile "Opcode.eXe" ?? <TrollFace>
 

Opcode.eXe

Expert
Joined
Feb 18, 2013
Messages
1,488
Reaction score
231
Location
( ͡° ͜ʖ ͡°)
I only found this but its skinshot.

Code:
 /*
        SA:MP Aimbot
        Hold down fire & aim key
    */
    if (cAimbot)
    {
        ReadProcessMemory(GetCurrentProcess(), (LPCVOID)0xB6F5F0,  &gpoint, 4, 0);
            
        if ((gpoint > 0) && (t == 0))
        {
            t = 1;
        }
        if (gpoint > 0)
        {
            pmtrx1 = gpoint + 0x14;
            ReadProcessMemory(GetCurrentProcess(), (LPCVOID)pmtrx1, &pmtrx1, 4, 0);
            xpos1 = pmtrx1 + 0x30;
            ypos1 = pmtrx1 + 0x34; 
            ReadProcessMemory(GetCurrentProcess(), (LPCVOID)xpos1, &fxpos1, 4, 0);
            ReadProcessMemory(GetCurrentProcess(), (LPCVOID)ypos1, &fypos1, 4, 0);
            ReadProcessMemory(GetCurrentProcess(), (LPCVOID)0xB6F9CC, &fcxpos, 4, 0);
            ReadProcessMemory(GetCurrentProcess(), (LPCVOID)0xB6F9D0, &fcypos, 4, 0);
            ReadProcessMemory(GetCurrentProcess(), (LPCVOID)0xB6F3B8,  &ptarget, 4, 0);
            pped = ptarget + 0x79C;
            ReadProcessMemory(GetCurrentProcess(), (LPCVOID)pped,  &pped, 4, 0);
             
            if (pped > 0)
            {
                pvectorx = pped + 0x44;
                pvectory = pped + 0x48;
                ReadProcessMemory(GetCurrentProcess(), (LPCVOID)pvectorx, &fpvectorx, 4, 0);
                ReadProcessMemory(GetCurrentProcess(), (LPCVOID)pvectory, &fpvectory, 4, 0);
                pmtrx2 = pped + 0x14;
                ReadProcessMemory(GetCurrentProcess(), (LPCVOID)pmtrx2, &pmtrx2, 4, 0);
                xpos2 = pmtrx2 + 0x30;
                ypos2 = pmtrx2 + 0x34;
                ReadProcessMemory(GetCurrentProcess(), (LPCVOID)xpos2, &fxpos2, 4, 0);
                ReadProcessMemory(GetCurrentProcess(), (LPCVOID)ypos2, &fypos2, 4, 0);
                php = pped + 0x540;
                ReadProcessMemory(GetCurrentProcess(), (LPCVOID)php, &fphp, 4, 0);
                if (fphp > 0)
                { 
                    fxpos2a = fxpos2;
                    fypos2a = fypos2;
                    aa = fabs(fcxpos-fxpos2);
                    ab = fabs(fcypos-fypos2); 
                    ac = sqrt(aa*aa+ab*ab);
                    alpha = asin(aa/ac);
                    beta = acos(aa/ac);
                    if ((fxpos1 > fxpos2)&&(fypos1 < fypos2))
                    {
                        beta = -beta;
                    }
                    if ((fxpos1 > fxpos2)&&(fypos1 > fypos2))
                    {
                        beta = beta;
                    }
                    if ((fxpos1 < fxpos2)&&(fypos1 > fypos2))
                    {
                        beta = (alpha + (3.14/2));
                    }
                    if ((fxpos1 < fxpos2)&&(fypos1 < fypos2))
                    {
                        beta = (-alpha - (3.14/2));
                    }
                    camxpos = beta+0.0389;
                    // Rotate camera
                    WriteProcessMemory(GetCurrentProcess(), (LPVOID)0xB6F258, (LPVOID)&camxpos, 4, NULL);                             
                }    
            }
        }
    }
 
Status
Not open for further replies.
Top