Results 1 to 15 of 129

Threaded View

  1. #1
    vixmix's Avatar
    Join Date
    Nov 2013
    Gender
    male
    Location
    working...LOTS
    Posts
    16
    Reputation
    10
    Thanks
    274
    My Mood
    Busy

    Thumbs up Crosshair For Any Game (if used properly)

    Were very dead about cheats on MPGH, So im posting this:
    What it can be useful for?
    Sniping (cheap quick-scope)
    Most Games (if not working try running game in window mode and center existing crosshair with one i provided)
    How to center it or turn on? Press the "End" button
    How was is created? AutoHotKey. This takes no skill.
    Credits? F*ck Credits... Its All me and This Program.

    How to Make this yourself?
    1. Learn Basic
    2. Download AutoHotKey
    3. Write it.


    here is a very similar code that i stole from my buddy (Much more clean)
    ;-----------------------------------------------------------------------------------------
    SetTitleMatchMode, 3
    Menu, Tray, NoStandard
    Menu, Tray, Add, Disable Crosshair, m_hide
    Menu, Tray, Default, Disable Crosshair
    Menu, Tray, Add, &Reload, _reload
    Menu, Tray, Add, E&xit, _exit
    onexit _exit
    OnMessage(0x6, "Win_activate")
    #Include, Gdip.ahk
    #MaxHotkeysPerInterval 200
    #HotkeyInterval 2000

    ScriptName := A_ScriptName
    StringReplace, ScriptName, ScriptName, .ahk,, All
    StringReplace, ScriptName, ScriptName, .exe,, All

    _start:
    IfNotExist, %ScriptName%.ini
    Gosub, _firstrun
    else

    x_state := 1
    Gosub, _read


    Gui, +LastFound -Caption +E0x80000 +E0x20 +E0x8 +Owner
    hGui := WinExist()

    pToken := Gdip_Startup()

    x_Bitmap := Gdip_CreateBitmapFromFile(xFile)
    x_Width := Gdip_GetImageWidth(x_Bitmap)
    x_Height := Gdip_GetImageHeight(x_Bitmap)
    a_Bitmap := Gdip_CreateBitmapFromFile(aFile)
    a_Width := Gdip_GetImageWidth(a_Bitmap)
    a_Height := Gdip_GetImageHeight(a_Bitmap)
    nWidth := x_Width >= a_Width ? x_Width : a_Width
    nHeight := x_Height >= a_Height ? x_Height : a_Height
    OCX := Center_X + PosX
    OCY := Center_Y + PosY

    _create:
    hbm := CreateDIBSection(nWidth,nHeight)
    hdc := CreateCompatibleDC()
    obm := SelectObject(hdc, hbm)
    pGraphics := Gdip_GraphicsFromHDC(hdc)

    Gui, Show, X%OCX% Y%OCY% NoActivate
    UpdateLayeredWindow(hGui, hdc, OCX,OCY,nWidth,nHeight)
    Gdip_SetCompositingMode(pGraphics,1)


    _update:

    pBrush:=Gdip_BrushCreateSolid(0x0000000)
    Gdip_FillRectangle(pGraphics, pBrush, 0, 0, nWidth, nHeight)


    if (x_state == 1)
    {
    this_X := Round((nWidth - x_Width)/2)
    this_Y := Round((nHeight - x_Height)/2)
    Gdip_DrawImage(pGraphics, x_Bitmap, this_X, this_Y, x_Width, x_Height)
    }
    else
    {
    this_X := Round((nWidth - a_Width)/2)
    this_Y := Round((nHeight - a_Height)/2)
    Gdip_DrawImage(pGraphics, a_Bitmap, this_X, this_Y, a_Width, a_Height)
    }

    UpdateLayeredWindow(hGui, hdc)
    Gdip_DeleteBrush(pBrush)
    Return


    ~End UP::


    if (x_state == 0)
    {
    x_state := 1
    Gosub win_getposition
    Gui, +LastFound -Caption +E0x80000 +E0x20 +E0x8 +Owner
    hGui := WinExist()
    Gosub _create
    }
    else if (x_state == 1)
    {
    x_state := 2
    Gosub _update
    }
    else
    {
    Gui, Destroy
    x_state := 0
    }

    Return


    showch:
    OCX := Center_X + PosX
    OCY := Center_Y + PosY
    Gui, Show, X%OCX% Y%OCY% NoActivate
    UpdateLayeredWindow(hGui, hdc, OCX,OCY,nWidth,nHeight)
    Gdip_SetCompositingMode(pGraphics,1)
    return


    #Up::
    PosY -= 1
    GoSub, showch
    IniWrite, %PosY%, %ScriptName%.ini, Main, PosY
    return

    #Down::
    PosY += 1
    GoSub, showch
    IniWrite, %PosY%, %ScriptName%.ini, Main, PosY
    return

    #Left::
    PosX -= 1
    GoSub, showch
    IniWrite, %PosX%, %ScriptName%.ini, Main, PosX
    return

    #Right::
    PosX += 1
    GoSub, showch
    IniWrite, %PosX%, %ScriptName%.ini, Main, PosX
    return

    Home::
    WinGetClass, XhairWindow, A
    IniWrite, %XhairWindow%, %ScriptName%.ini, Main, XhairWindow
    PosX = 0
    PosY = 0
    IniWrite, %PosX%, %ScriptName%.ini, Main, PosX
    IniWrite, %PosY%, %ScriptName%.ini, Main, PosY
    Gosub, win_getposition
    GoSub, showch
    Return


    m_hide:

    Menu, Tray, ToggleCheck, Disable Crosshair
    Suspend
    if (x_state == -1)
    {
    x_state := 1
    Gui, Show, NoActivate
    Return
    }
    Gui, Hide
    x_state := -1
    Return


    win_getposition:

    WinGetPos, xwin_x, xwin_y, xwin_width, xwin_height, ahk_class %XhairWindow%
    if !xwin_width
    Return
    Center_X := Round(xwin_x + (xwin_width/2) - (nWidth/2))
    Center_Y := Round(xwin_y + (xwin_height/2) - (nHeight/2))
    IniWrite, %Center_X%, %ScriptName%.ini, Main, Center_X
    IniWrite, %Center_Y%, %ScriptName%.ini, Main, Center_Y
    Return

    _read:
    IniRead, PosX, %ScriptName%.ini, Main, PosX, %PosX%
    IniRead, PosY, %ScriptName%.ini, Main, PosY, %PosY%
    IniRead, XhairWindow, %ScriptName%.ini, Main, XhairWindow, %XhairWindow%
    IniRead, Center_X, %ScriptName%.ini, Main, Center_X, %Center_X%
    IniRead, Center_Y, %ScriptName%.ini, Main, Center_Y, %Center_Y%
    OCX := Center_X + PosX
    OCY := Center_Y + PosY
    Return

    _firstrun:
    WinGetClass, XhairWindow, A
    IniWrite, %XhairWindow%, %ScriptName%.ini, Main, XhairWindow
    PosX = 0
    PosY = 0
    IniWrite, %PosX%, %ScriptName%.ini, Main, PosX
    IniWrite, %PosY%, %ScriptName%.ini, Main, PosY
    Gosub, win_getposition
    GoSub, _start
    Return

    Win_activate()
    {
    WinActivate, ahk_class %XhairWindow%
    }


    _reload:
    SelectObject(hdc, obm)
    DeleteObject(hbm)
    DeleteDC(hdc)
    Gdip_DeleteGraphics(pGraphics)
    Gdip_DisposeImage(x_Bitmap)
    Gdip_DisposeImage(a_Bitmap)
    Gdip_Shutdown(pToken)
    Reload


    _exit:
    GuiClose:
    SelectObject(hdc, obm)
    DeleteObject(hbm)
    DeleteDC(hdc)
    Gdip_DeleteGraphics(pGraphics)
    Gdip_DisposeImage(x_Bitmap)
    Gdip_DisposeImage(a_Bitmap)
    Gdip_Shutdown(pToken)
    ExitApp

    ;----------------------------------------------------------------------------------------
    Paste this into AutoHotKey

    Create a txt and paste this:

    [Main]
    XhairWindow=UnityWndClass
    PosX=0
    PosY=0
    Center_X=483
    Center_Y=334

    Save As Crosshair.ini

    you will also need a crosshair.png (make one or find one)

    Good Luck!
    <b>Downloadable Files</b> Downloadable Files
    Last edited by vixmix; 04-06-2016 at 10:11 PM.
    to donate in bit coin use this
    go here:
    https://quickb*****m
    purchase it on this address
    1GPPwbETUiS4qLwtGeNoAKhiY5X1Ns6wDg
    Thank you1

  2. The Following 82 Users Say Thank You to vixmix For This Useful Post:

    Aenonar (02-09-2017),Ajax9023 (04-10-2017),asdgfahhasda3123 (02-20-2017),BangerHD (04-29-2017),Blood1122 (07-10-2016),bmark3212 (07-21-2016),bootycall316 (06-11-2017),Braxcquil (10-16-2020),breno1533 (09-08-2016),casscade (09-06-2016),conejox02 (04-10-2016),djadert (10-29-2018),epul001 (06-07-2017),Errexa (06-06-2016),FatherOdin (05-31-2016),fitry77 (12-01-2017),FlawlessWeirdo (03-25-2019),Flores Elreven (07-25-2016),Freddddo (02-23-2018),Gamer197rus (11-12-2016),GMs_Fang (05-07-2016),Gozzilla23 (04-18-2017),greatwall14321 (06-24-2022),Hackedmore (07-11-2018),hackerant27 (02-12-2018),hackertyu (05-29-2018),RuShi (06-07-2016),hosa.1 (10-04-2017),Infinity44 (04-28-2016),jaekool (02-05-2019),jamalg (06-08-2016),Jihadista97 (05-18-2016),jocker12373 (06-29-2016),Karum (06-09-2016),Kenroy Brown (05-23-2016),KhelMho (04-07-2016),LCASU (10-07-2018),loitloit (01-24-2017),manuel157 (12-20-2017),mardha2 (06-10-2016),memo1995 (09-28-2016),Minerva (04-07-2016),moomoney (04-06-2016),nasokha (01-16-2017),neraxcell (11-19-2016),nerk95 (11-02-2017),Newester_22 (07-08-2017),nexserx (04-08-2016),nousernamewhy (07-08-2016),paocommerda (11-18-2018),Paskeliini69 (08-08-2017),paulzkie09 (09-01-2017),pfsense (12-07-2016),Phoenixra062096 (10-04-2016),Presvetera1 (11-12-2017),PumpkinsCassava (06-04-2018),PurpleOldMaN (12-14-2016),reloadzero (10-27-2016),remzkee0903 (08-28-2021),Sandisk21 (07-31-2019),ShadowBrach (12-13-2016),shinjiru (11-22-2016),silence310154 (04-16-2016),SirHesham (07-28-2016),slalwl (04-19-2016),Snipes24 7 (07-14-2017),SteelPro (02-08-2017),StormBreaker12 (04-04-2017),subfall (02-04-2018),surachat14326 (10-20-2020),tatobaitaka (12-11-2016),thefirstpersongamer12 (04-12-2016),Toppzx (01-22-2017),vesslan (08-14-2017),wealnord (06-27-2017),windrunner145 (03-23-2017),xdgxdg123 (08-15-2017),Xmod12 (08-31-2017),xpokerlezzo (08-03-2017),xxqcsoulqcxx2 (03-09-2018),youssefriss (02-12-2019),zafercan49 (10-01-2017)

Similar Threads

  1. XTRAP UPDATE killer for any game use XTRAP guard
    By reavenz in forum Hack Requests
    Replies: 1
    Last Post: 03-10-2019, 05:18 PM
  2. Anti Recoil Tool For Any Game
    By ReLapse45 in forum Alliance of Valiant Arms (AVA) Hacks & Cheats
    Replies: 11
    Last Post: 04-24-2010, 12:50 PM
  3. How To Find .SWF For Any Game. Quick and Easy
    By JustTheWind in forum Programming Tutorials
    Replies: 1
    Last Post: 08-21-2009, 12:43 PM
  4. Makeing/Coding Hacks (for any game)
    By CloneTrooper in forum Programming Tutorial Requests
    Replies: 6
    Last Post: 08-12-2009, 07:19 PM
  5. *glitch for cusing* works for any game with chat
    By Reckless in forum Combat Arms Hacks & Cheats
    Replies: 66
    Last Post: 02-06-2009, 04:31 PM