Results 1 to 9 of 9
  1. #1
    lucasheer715's Avatar
    Join Date
    Jul 2012
    Gender
    male
    Posts
    648
    Reputation
    10
    Thanks
    497
    My Mood
    Bored

    Crosshair Code for VB?

    Does anyone know a working crosshair code for visual basic? and not this:

    Code:
    Private Declare Function FindWindow Lib "user32" Alias "FindWindowA" (ByVal lpClassName As String, ByVal lpWindowName As String) As Integer
    Code:
    Dim Draw3D As Graphics = Graphics.FromHwnd(New IntPtr(FindWindow("CrossFire", "CrossFire"))) 
            Dim newImage As Image = My.Resources.crosshairs
            Dim ulCorner As New Point(775, 775)
            Draw3D.DrawImage(newImage, ulCorner)
    something that doesn't require a resource and doesn't glich out

  2. #2
    Stanman08's Avatar
    Join Date
    Jun 2012
    Gender
    male
    Location
    USA
    Posts
    338
    Reputation
    16
    Thanks
    892
    My Mood
    Mellow

    What i do for crosshairs

    I do
    If you use this Give Credit to me
    Code:
     Private Sub CheckBox1_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CheckBox1.CheckedChanged
            If CheckBox1.Checked = True Then
                Green.Show()
                Green2.Show()
            Else
                CheckBox1.Checked = False
                Green.Close()
                Green2.Close()
            End If
        End Sub
    End Class
    Click "THANKS" if i Helped You!

  3. #3
    lucasheer715's Avatar
    Join Date
    Jul 2012
    Gender
    male
    Posts
    648
    Reputation
    10
    Thanks
    497
    My Mood
    Bored
    really? dude i alread know how to do that....

    its just now the crosshairs dont work cause crossfire patched it...

  4. #4
    O conhecimento é o caminho para liberdade.
    MPGH Member
    dreek1's Avatar
    Join Date
    Jun 2012
    Gender
    male
    Location
    localhost
    Posts
    1,175
    Reputation
    74
    Thanks
    1,263
    My Mood
    In Love
    Code:
    Try
                Interaction.AppActivate("crossfire") 'example game process name without .exe
                Me.TopMost = True
            Catch
                Me.TopMost = True
            End Try
    I use this here

  5. #5
    lucasheer715's Avatar
    Join Date
    Jul 2012
    Gender
    male
    Posts
    648
    Reputation
    10
    Thanks
    497
    My Mood
    Bored
    the only problem with that is that is that the current code it uses a image and with a image u cant control the opacity. Get that?

  6. #6
    WPGH[BOT]'s Avatar
    Join Date
    Sep 2012
    Gender
    male
    Posts
    0
    Reputation
    10
    Thanks
    1
    I can tell u a manual way, male another form, make the background transparent, make an image of a crosshair how you want but with transparent background also, then go to the form propr. and make it topmost, true and make it always center, also remove the tool box you dont need it.

    Then just look to crossfire process or how you want and make form2.show() , simple, but works

  7. #7
    lucasheer715's Avatar
    Join Date
    Jul 2012
    Gender
    male
    Posts
    648
    Reputation
    10
    Thanks
    497
    My Mood
    Bored
    Ok, everyone doesnt get what i want... im wanting to draw it in the middle screen, not do it a jank way... lol

  8. #8
    Viktor's Avatar
    Join Date
    Feb 2012
    Gender
    male
    Location
    BC, Canada
    Posts
    4,433
    Reputation
    127
    Thanks
    598
    Quote Originally Posted by lucasheer715 View Post
    crosshairs dont work cause crossfire patched it
    Z8 didn't patch it, I still use it


     


  9. #9
    Stanman08's Avatar
    Join Date
    Jun 2012
    Gender
    male
    Location
    USA
    Posts
    338
    Reputation
    16
    Thanks
    892
    My Mood
    Mellow
    Quote Originally Posted by lucasheer715 View Post
    Ok, everyone doesnt get what i want... im wanting to draw it in the middle screen, not do it a jank way... lol
    Well a lot of people do it form1.show() and ect. Much simpler
    Last edited by Stanman08; 09-11-2012 at 10:09 PM.
    Click "THANKS" if i Helped You!

Similar Threads

  1. [Request] crosshair source code for dedicated server?
    By hamed2011 in forum Call of Duty Modern Warfare 2 Coding / Programming / Source Code
    Replies: 0
    Last Post: 10-13-2011, 05:53 PM
  2. [Help] pls help for crosshair code
    By CF_Hacker in forum CrossFire Hack Coding / Programming / Source Code
    Replies: 9
    Last Post: 12-18-2010, 11:29 PM
  3. Unlock code for mobile.
    By Dmx in forum General
    Replies: 4
    Last Post: 01-14-2007, 07:23 PM
  4. SERIAL CODE FOR PHOTOSHOP 9!!!!!!!! 100% working
    By -[standoff]- in forum Art & Graphic Design
    Replies: 10
    Last Post: 07-29-2006, 05:35 AM
  5. Replies: 37
    Last Post: 06-20-2006, 04:24 PM