Results 1 to 3 of 3
  1. #1
    yasiny's Avatar
    Join Date
    Oct 2014
    Gender
    male
    Posts
    59
    Reputation
    10
    Thanks
    3,927

    Con's AK Spray Helper [Idea]

    I coded a small program that shows spray of AK.
    Spray Patterns





    I will not publish this to protect program from VAC detection. I am just giving the idea. Some coders can put this together for public tho.

    .Net Code Parts
    Code:
    Imports System.Runtime.InteropServices
    #Region " Functions"  
         'GetAsyncKeyState and make Form click trough functions
        <System.Runtime.InteropServices.DllImport("user32.dll")> _
        Private Shared Function GetAsyncKeyState(ByVal vkey As System.Windows.Forms.Keys) As Short
        End Function
        <DllImport("user32.dll", EntryPoint:="GetWindowLong")> Public Shared Function GetWindowLong(ByVal hWnd As IntPtr, ByVal nIndex As Integer) As Integer
        End Function
        <DllImport("user32.dll", EntryPoint:="SetWindowLong")> Public Shared Function SetWindowLong(ByVal hWnd As IntPtr, ByVal nIndex As Integer, ByVal dwNewLong As Integer) As Integer
        End Function
    #End Region
    
     Private InitialStyle As Integer
    
      'PictureBox1 size is 156; 244
        Private Sub Form1_Shown(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Shown
            InitialStyle = GetWindowLong(Me.Handle, -20)
            SetWindowLong(Me.Handle, -20, InitialStyle Or &H80000 Or &H20)
            Me.Location = New Point(Me.Location.X, Me.Location.Y - 52)
        End Sub
    
     Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
            If GetAsyncKeyState(Keys.LButton) Then
                
                    Me.TopMost = True
                    PictureBox1.Refresh()
                    PictureBox1.Visible = True
                    
            Else
          
                PictureBox1.Visible = False
           
            End If

  2. #2
    Hunter's Avatar
    Join Date
    Dec 2013
    Gender
    male
    Location
    Depths Of My Mind.
    Posts
    17,468
    Reputation
    3771
    Thanks
    6,159
    My Mood
    Cheerful
    /Moved to the correct section.

  3. #3
    ImStyL's Avatar
    Join Date
    Jan 2016
    Gender
    male
    Location
    Antartica
    Posts
    145
    Reputation
    10
    Thanks
    2,063
    This a great i idea, but i'd prefer using this...
    https://www.mpgh.net/forum/showthread.php?t=1046468




    Got a question or need help?
    Click here to add me on Skype





Similar Threads

  1. There.com Any Hack Ideas?
    By supatanka in forum Hack Requests
    Replies: 6
    Last Post: 02-15-2019, 07:43 AM
  2. [Hack Ideas] Tomb Helper & Inc Announcer
    By CrazyJani in forum Realm of the Mad God Help & Requests
    Replies: 8
    Last Post: 03-02-2013, 11:06 PM
  3. Google Having To Copy Ideas?
    By Dave84311 in forum General
    Replies: 11
    Last Post: 01-20-2008, 09:05 AM
  4. Kwarrock an idea...
    By Onesock in forum WarRock - International Hacks
    Replies: 0
    Last Post: 01-15-2006, 05:34 AM

Tags for this Thread