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!