Что нового

[CrossFire] Автоматизация стрельбы с активацией скрипта функциональной клавишей

scanfail

Знающий
Сообщения
244
Репутация
17
Сам когда-то играл в КФ, в то время был отличный автошот "TriggerBot", но потом обновили защиту, вследствие чего, перестали работать читы написанные на автойти.
 
Автор
M

Matisse

Новичок
Сообщения
25
Репутация
1

scanfail

Знающий
Сообщения
244
Репутация
17
Вот его исходник, если что...:
Код:
#RequireAdmin
Global Const $GUI_EVENT_CLOSE = -3
Global Const $GUI_EVENT_MINIMIZE = -4
Global Const $GUI_EVENT_RESTORE = -5
Global Const $GUI_EVENT_MAXIMIZE = -6
Global Const $GUI_EVENT_PRIMARYDOWN = -7
Global Const $GUI_EVENT_PRIMARYUP = -8
Global Const $GUI_EVENT_SECONDARYDOWN = -9
Global Const $GUI_EVENT_SECONDARYUP = -10
Global Const $GUI_EVENT_MOUSEMOVE = -11
Global Const $GUI_EVENT_RESIZED = -12
Global Const $GUI_EVENT_DROPPED = -13
Global Const $GUI_RUNDEFMSG = "GUI_RUNDEFMSG"
Global Const $GUI_AVISTOP = 0
Global Const $GUI_AVISTART = 1
Global Const $GUI_AVICLOSE = 2
Global Const $GUI_CHECKED = 1
Global Const $GUI_INDETERMINATE = 2
Global Const $GUI_UNCHECKED = 4
Global Const $GUI_DROPACCEPTED = 8
Global Const $GUI_NODROPACCEPTED = 4096
Global Const $GUI_ACCEPTFILES = $GUI_DROPACCEPTED
Global Const $GUI_SHOW = 16
Global Const $GUI_HIDE = 32
Global Const $GUI_ENABLE = 64
Global Const $GUI_DISABLE = 128
Global Const $GUI_FOCUS = 256
Global Const $GUI_NOFOCUS = 8192
Global Const $GUI_DEFBUTTON = 512
Global Const $GUI_EXPAND = 1024
Global Const $GUI_ONTOP = 2048
Global Const $GUI_FONTITALIC = 2
Global Const $GUI_FONTUNDER = 4
Global Const $GUI_FONTSTRIKE = 8
Global Const $GUI_DOCKAUTO = 1
Global Const $GUI_DOCKLEFT = 2
Global Const $GUI_DOCKRIGHT = 4
Global Const $GUI_DOCKHCENTER = 8
Global Const $GUI_DOCKTOP = 32
Global Const $GUI_DOCKBOTTOM = 64
Global Const $GUI_DOCKVCENTER = 128
Global Const $GUI_DOCKWIDTH = 256
Global Const $GUI_DOCKHEIGHT = 512
Global Const $GUI_DOCKSIZE = 768
Global Const $GUI_DOCKMENUBAR = 544
Global Const $GUI_DOCKSTATEBAR = 576
Global Const $GUI_DOCKALL = 802
Global Const $GUI_DOCKBORDERS = 102
Global Const $GUI_GR_CLOSE = 1
Global Const $GUI_GR_LINE = 2
Global Const $GUI_GR_BEZIER = 4
Global Const $GUI_GR_MOVE = 6
Global Const $GUI_GR_COLOR = 8
Global Const $GUI_GR_RECT = 10
Global Const $GUI_GR_ELLIPSE = 12
Global Const $GUI_GR_PIE = 14
Global Const $GUI_GR_DOT = 16
Global Const $GUI_GR_PIXEL = 18
Global Const $GUI_GR_HINT = 20
Global Const $GUI_GR_REFRESH = 22
Global Const $GUI_GR_PENSIZE = 24
Global Const $GUI_GR_NOBKCOLOR = -2
Global Const $GUI_BKCOLOR_DEFAULT = -1
Global Const $GUI_BKCOLOR_TRANSPARENT = -2
Global Const $GUI_BKCOLOR_LV_ALTERNATE = -33554432
Global Const $GUI_WS_EX_PARENTDRAG = 1048576
Global Const $BS_GROUPBOX = 7
Global Const $BS_BOTTOM = 2048
Global Const $BS_CENTER = 768
Global Const $BS_DEFPUSHBUTTON = 1
Global Const $BS_LEFT = 256
Global Const $BS_MULTILINE = 8192
Global Const $BS_PUSHBOX = 10
Global Const $BS_PUSHLIKE = 4096
Global Const $BS_RIGHT = 512
Global Const $BS_RIGHTBUTTON = 32
Global Const $BS_TOP = 1024
Global Const $BS_VCENTER = 3072
Global Const $BS_FLAT = 32768
Global Const $BS_ICON = 64
Global Const $BS_BITMAP = 128
Global Const $BS_NOTIFY = 16384
Global Const $BS_SPLITBUTTON = 12
Global Const $BS_DEFSPLITBUTTON = 13
Global Const $BS_COMMANDLINK = 14
Global Const $BS_DEFCOMMANDLINK = 15
Global Const $BCSIF_GLYPH = 1
Global Const $BCSIF_IMAGE = 2
Global Const $BCSIF_STYLE = 4
Global Const $BCSIF_SIZE = 8
Global Const $BCSS_NOSPLIT = 1
Global Const $BCSS_STRETCH = 2
Global Const $BCSS_ALIGNLEFT = 4
Global Const $BCSS_IMAGE = 8
Global Const $BUTTON_IMAGELIST_ALIGN_LEFT = 0
Global Const $BUTTON_IMAGELIST_ALIGN_RIGHT = 1
Global Const $BUTTON_IMAGELIST_ALIGN_TOP = 2
Global Const $BUTTON_IMAGELIST_ALIGN_BOTTOM = 3
Global Const $BUTTON_IMAGELIST_ALIGN_CENTER = 4
Global Const $BS_3STATE = 5
Global Const $BS_AUTO3STATE = 6
Global Const $BS_AUTOCHECKBOX = 3
Global Const $BS_CHECKBOX = 2
Global Const $BS_RADIOBUTTON = 4
Global Const $BS_AUTORADIOBUTTON = 9
Global Const $BS_OWNERDRAW = 11
Global Const $GUI_SS_DEFAULT_BUTTON = 0
Global Const $GUI_SS_DEFAULT_CHECKBOX = 0
Global Const $GUI_SS_DEFAULT_GROUP = 0
Global Const $GUI_SS_DEFAULT_RADIO = 0
Global Const $BCM_FIRST = 5632
Global Const $BCM_GETIDEALSIZE = ($BCM_FIRST + 1)
Global Const $BCM_GETIMAGELIST = ($BCM_FIRST + 3)
Global Const $BCM_GETNOTE = ($BCM_FIRST + 10)
Global Const $BCM_GETNOTELENGTH = ($BCM_FIRST + 11)
Global Const $BCM_GETSPLITINFO = ($BCM_FIRST + 8)
Global Const $BCM_GETTEXTMARGIN = ($BCM_FIRST + 5)
Global Const $BCM_SETDROPDOWNSTATE = ($BCM_FIRST + 6)
Global Const $BCM_SETIMAGELIST = ($BCM_FIRST + 2)
Global Const $BCM_SETNOTE = ($BCM_FIRST + 9)
Global Const $BCM_SETSHIELD = ($BCM_FIRST + 12)
Global Const $BCM_SETSPLITINFO = ($BCM_FIRST + 7)
Global Const $BCM_SETTEXTMARGIN = ($BCM_FIRST + 4)
Global Const $BM_CLICK = 245
Global Const $BM_GETCHECK = 240
Global Const $BM_GETIMAGE = 246
Global Const $BM_GETSTATE = 242
Global Const $BM_SETCHECK = 241
Global Const $BM_SETDONTCLICK = 248
Global Const $BM_SETIMAGE = 247
Global Const $BM_SETSTATE = 243
Global Const $BM_SETSTYLE = 244
Global Const $BCN_FIRST = -1250
Global Const $BCN_DROPDOWN = ($BCN_FIRST + 2)
Global Const $BCN_HOTITEMCHANGE = ($BCN_FIRST + 1)
Global Const $BN_CLICKED = 0
Global Const $BN_PAINT = 1
Global Const $BN_HILITE = 2
Global Const $BN_UNHILITE = 3
Global Const $BN_DISABLE = 4
Global Const $BN_DOUBLECLICKED = 5
Global Const $BN_SETFOCUS = 6
Global Const $BN_KILLFOCUS = 7
Global Const $BN_PUSHED = $BN_HILITE
Global Const $BN_UNPUSHED = $BN_UNHILITE
Global Const $BN_DBLCLK = $BN_DOUBLECLICKED
Global Const $BST_CHECKED = 1
Global Const $BST_INDETERMINATE = 2
Global Const $BST_UNCHECKED = 0
Global Const $BST_FOCUS = 8
Global Const $BST_PUSHED = 4
Global Const $BST_DONTCLICK = 128
Global Const $ES_LEFT = 0
Global Const $ES_CENTER = 1
Global Const $ES_RIGHT = 2
Global Const $ES_MULTILINE = 4
Global Const $ES_UPPERCASE = 8
Global Const $ES_LOWERCASE = 16
Global Const $ES_PASSWORD = 32
Global Const $ES_AUTOVSCROLL = 64
Global Const $ES_AUTOHSCROLL = 128
Global Const $ES_NOHIDESEL = 256
Global Const $ES_OEMCONVERT = 1024
Global Const $ES_READONLY = 2048
Global Const $ES_WANTRETURN = 4096
Global Const $ES_NUMBER = 8192
Global Const $EC_ERR = -1
Global Const $ECM_FIRST = 5376
Global Const $EM_CANUNDO = 198
Global Const $EM_CHARFROMPOS = 215
Global Const $EM_EMPTYUNDOBUFFER = 205
Global Const $EM_FMTLINES = 200
Global Const $EM_GETCUEBANNER = ($ECM_FIRST + 2)
Global Const $EM_GETFIRSTVISIBLELINE = 206
Global Const $EM_GETHANDLE = 189
Global Const $EM_GETIMESTATUS = 217
Global Const $EM_GETLIMITTEXT = 213
Global Const $EM_GETLINE = 196
Global Const $EM_GETLINECOUNT = 186
Global Const $EM_GETMARGINS = 212
Global Const $EM_GETMODIFY = 184
Global Const $EM_GETPASSWORDCHAR = 210
Global Const $EM_GETRECT = 178
Global Const $EM_GETSEL = 176
Global Const $EM_GETTHUMB = 190
Global Const $EM_GETWORDBREAKPROC = 209
Global Const $EM_HIDEBALLOONTIP = ($ECM_FIRST + 4)
Global Const $EM_LIMITTEXT = 197
Global Const $EM_LINEFROMCHAR = 201
Global Const $EM_LINEINDEX = 187
Global Const $EM_LINELENGTH = 193
Global Const $EM_LINESCROLL = 182
Global Const $EM_POSFROMCHAR = 214
Global Const $EM_REPLACESEL = 194
Global Const $EM_SCROLL = 181
Global Const $EM_SCROLLCARET = 183
Global Const $EM_SETCUEBANNER = ($ECM_FIRST + 1)
Global Const $EM_SETHANDLE = 188
Global Const $EM_SETIMESTATUS = 216
Global Const $EM_SETLIMITTEXT = $EM_LIMITTEXT
Global Const $EM_SETMARGINS = 211
Global Const $EM_SETMODIFY = 185
Global Const $EM_SETPASSWORDCHAR = 204
Global Const $EM_SETREADONLY = 207
Global Const $EM_SETRECT = 179
Global Const $EM_SETRECTNP = 180
Global Const $EM_SETSEL = 177
Global Const $EM_SETTABSTOPS = 203
Global Const $EM_SETWORDBREAKPROC = 208
Global Const $EM_SHOWBALLOONTIP = ($ECM_FIRST + 3)
Global Const $EM_UNDO = 199
Global Const $EC_LEFTMARGIN = 1
Global Const $EC_RIGHTMARGIN = 2
Global Const $EC_USEFONTINFO = 65535
Global Const $EMSIS_COMPOSITIONSTRING = 1
Global Const $EIMES_GETCOMPSTRATONCE = 1
Global Const $EIMES_CANCELCOMPSTRINFOCUS = 2
Global Const $EIMES_COMPLETECOMPSTRKILLFOCUS = 4
Global Const $EN_ALIGN_LTR_EC = 1792
Global Const $EN_ALIGN_RTL_EC = 1793
Global Const $EN_CHANGE = 768
Global Const $EN_ERRSPACE = 1280
Global Const $EN_HSCROLL = 1537
Global Const $EN_KILLFOCUS = 512
Global Const $EN_MAXTEXT = 1281
Global Const $EN_SETFOCUS = 256
Global Const $EN_UPDATE = 1024
Global Const $EN_VSCROLL = 1538
Global Const $TTI_NONE = 0
Global Const $TTI_INFO = 1
Global Const $TTI_WARNING = 2
Global Const $TTI_ERROR = 3
Global Const $TTI_INFO_LARGE = 4
Global Const $TTI_WARNING_LARGE = 5
Global Const $TTI_ERROR_LARGE = 6
Global Const $__EDITCONSTANT_WS_VSCROLL = 2097152
Global Const $__EDITCONSTANT_WS_HSCROLL = 1048576
Global Const $GUI_SS_DEFAULT_EDIT = BitOR($ES_WANTRETURN, $__EDITCONSTANT_WS_VSCROLL, $__EDITCONSTANT_WS_HSCROLL, $ES_AUTOVSCROLL, $ES_AUTOHSCROLL)
Global Const $GUI_SS_DEFAULT_INPUT = BitOR($ES_LEFT, $ES_AUTOHSCROLL)
Global Const $WS_TILED = 0
Global Const $WS_OVERLAPPED = 0
Global Const $WS_MAXIMIZEBOX = 65536
Global Const $WS_MINIMIZEBOX = 131072
Global Const $WS_TABSTOP = 65536
Global Const $WS_GROUP = 131072
Global Const $WS_SIZEBOX = 262144
Global Const $WS_THICKFRAME = 262144
Global Const $WS_SYSMENU = 524288
Global Const $WS_HSCROLL = 1048576
Global Const $WS_VSCROLL = 2097152
Global Const $WS_DLGFRAME = 4194304
Global Const $WS_BORDER = 8388608
Global Const $WS_CAPTION = 12582912
Global Const $WS_OVERLAPPEDWINDOW = 13565952
Global Const $WS_TILEDWINDOW = 13565952
Global Const $WS_MAXIMIZE = 16777216
Global Const $WS_CLIPCHILDREN = 33554432
Global Const $WS_CLIPSIBLINGS = 67108864
Global Const $WS_DISABLED = 134217728
Global Const $WS_VISIBLE = 268435456
Global Const $WS_MINIMIZE = 536870912
Global Const $WS_CHILD = 1073741824
Global Const $WS_POPUP = -2147483648
Global Const $WS_POPUPWINDOW = -2138570752
Global Const $DS_MODALFRAME = 128
Global Const $DS_SETFOREGROUND = 512
Global Const $DS_CONTEXTHELP = 8192
Global Const $WS_EX_ACCEPTFILES = 16
Global Const $WS_EX_MDICHILD = 64
Global Const $WS_EX_APPWINDOW = 262144
Global Const $WS_EX_COMPOSITED = 33554432
Global Const $WS_EX_CLIENTEDGE = 512
Global Const $WS_EX_CONTEXTHELP = 1024
Global Const $WS_EX_DLGMODALFRAME = 1
Global Const $WS_EX_LEFTSCROLLBAR = 16384
Global Const $WS_EX_OVERLAPPEDWINDOW = 768
Global Const $WS_EX_RIGHT = 4096
Global Const $WS_EX_STATICEDGE = 131072
Global Const $WS_EX_TOOLWINDOW = 128
Global Const $WS_EX_TOPMOST = 8
Global Const $WS_EX_TRANSPARENT = 32
Global Const $WS_EX_WINDOWEDGE = 256
Global Const $WS_EX_LAYERED = 524288
Global Const $WS_EX_CONTROLPARENT = 65536
Global Const $WS_EX_LAYOUTRTL = 4194304
Global Const $WS_EX_RTLREADING = 8192
Global Const $WM_GETTEXTLENGTH = 14
Global Const $WM_GETTEXT = 13
Global Const $WM_SIZE = 5
Global Const $WM_SIZING = 532
Global Const $WM_USER = 1024
Global Const $WM_CREATE = 1
Global Const $WM_DESTROY = 2
Global Const $WM_MOVE = 3
Global Const $WM_ACTIVATE = 6
Global Const $WM_SETFOCUS = 7
Global Const $WM_KILLFOCUS = 8
Global Const $WM_ENABLE = 10
Global Const $WM_SETREDRAW = 11
Global Const $WM_SETTEXT = 12
Global Const $WM_PAINT = 15
Global Const $WM_CLOSE = 16
Global Const $WM_QUIT = 18
Global Const $WM_ERASEBKGND = 20
Global Const $WM_SYSCOLORCHANGE = 21
Global Const $WM_SHOWWINDOW = 24
Global Const $WM_WININICHANGE = 26
Global Const $WM_DEVMODECHANGE = 27
Global Const $WM_ACTIVATEAPP = 28
Global Const $WM_FONTCHANGE = 29
Global Const $WM_TIMECHANGE = 30
Global Const $WM_CANCELMODE = 31
Global Const $WM_SETCURSOR = 32
Global Const $WM_MOUSEACTIVATE = 33
Global Const $WM_CHILDACTIVATE = 34
Global Const $WM_QUEUESYNC = 35
Global Const $WM_GETMINMAXINFO = 36
Global Const $WM_PAINTICON = 38
Global Const $WM_ICONERASEBKGND = 39
Global Const $WM_NEXTDLGCTL = 40
Global Const $WM_SPOOLERSTATUS = 42
Global Const $WM_DRAWITEM = 43
Global Const $WM_MEASUREITEM = 44
Global Const $WM_DELETEITEM = 45
Global Const $WM_VKEYTOITEM = 46
Global Const $WM_CHARTOITEM = 47
Global Const $WM_SETFONT = 48
Global Const $WM_GETFONT = 49
Global Const $WM_SETHOTKEY = 50
Global Const $WM_GETHOTKEY = 51
Global Const $WM_QUERYDRAGICON = 55
Global Const $WM_COMPAREITEM = 57
Global Const $WM_GETOBJECT = 61
Global Const $WM_COMPACTING = 65
Global Const $WM_COMMNOTIFY = 68
Global Const $WM_WINDOWPOSCHANGING = 70
Global Const $WM_WINDOWPOSCHANGED = 71
Global Const $WM_POWER = 72
Global Const $WM_NOTIFY = 78
Global Const $WM_COPYDATA = 74
Global Const $WM_CANCELJOURNAL = 75
Global Const $WM_INPUTLANGCHANGEREQUEST = 80
Global Const $WM_INPUTLANGCHANGE = 81
Global Const $WM_TCARD = 82
Global Const $WM_HELP = 83
Global Const $WM_USERCHANGED = 84
Global Const $WM_NOTIFYFORMAT = 85
Global Const $WM_CUT = 768
Global Const $WM_COPY = 769
Global Const $WM_PASTE = 770
Global Const $WM_CLEAR = 771
Global Const $WM_UNDO = 772
Global Const $WM_CONTEXTMENU = 123
Global Const $WM_STYLECHANGING = 124
Global Const $WM_STYLECHANGED = 125
Global Const $WM_DISPLAYCHANGE = 126
Global Const $WM_GETICON = 127
Global Const $WM_SETICON = 128
Global Const $WM_NCCREATE = 129
Global Const $WM_NCDESTROY = 130
Global Const $WM_NCCALCSIZE = 131
Global Const $WM_NCHITTEST = 132
Global Const $WM_NCPAINT = 133
Global Const $WM_NCACTIVATE = 134
Global Const $WM_GETDLGCODE = 135
Global Const $WM_SYNCPAINT = 136
Global Const $WM_NCMOUSEMOVE = 160
Global Const $WM_NCLBUTTONDOWN = 161
Global Const $WM_NCLBUTTONUP = 162
Global Const $WM_NCLBUTTONDBLCLK = 163
Global Const $WM_NCRBUTTONDOWN = 164
Global Const $WM_NCRBUTTONUP = 165
Global Const $WM_NCRBUTTONDBLCLK = 166
Global Const $WM_NCMBUTTONDOWN = 167
Global Const $WM_NCMBUTTONUP = 168
Global Const $WM_NCMBUTTONDBLCLK = 169
Global Const $WM_KEYDOWN = 256
Global Const $WM_KEYUP = 257
Global Const $WM_CHAR = 258
Global Const $WM_DEADCHAR = 259
Global Const $WM_SYSKEYDOWN = 260
Global Const $WM_SYSKEYUP = 261
Global Const $WM_SYSCHAR = 262
Global Const $WM_SYSDEADCHAR = 263
Global Const $WM_INITDIALOG = 272
Global Const $WM_COMMAND = 273
Global Const $WM_SYSCOMMAND = 274
Global Const $WM_TIMER = 275
Global Const $WM_HSCROLL = 276
Global Const $WM_VSCROLL = 277
Global Const $WM_INITMENU = 278
Global Const $WM_INITMENUPOPUP = 279
Global Const $WM_MENUSELECT = 287
Global Const $WM_MENUCHAR = 288
Global Const $WM_ENTERIDLE = 289
Global Const $WM_MENURBUTTONUP = 290
Global Const $WM_MENUDRAG = 291
Global Const $WM_MENUGETOBJECT = 292
Global Const $WM_UNINITMENUPOPUP = 293
Global Const $WM_MENUCOMMAND = 294
Global Const $WM_CHANGEUISTATE = 295
Global Const $WM_UPDATEUISTATE = 296
Global Const $WM_QUERYUISTATE = 297
Global Const $WM_CTLCOLORMSGBOX = 306
Global Const $WM_CTLCOLOREDIT = 307
Global Const $WM_CTLCOLORLISTBOX = 308
Global Const $WM_CTLCOLORBTN = 309
Global Const $WM_CTLCOLORDLG = 310
Global Const $WM_CTLCOLORSCROLLBAR = 311
Global Const $WM_CTLCOLORSTATIC = 312
Global Const $WM_CTLCOLOR = 25
Global Const $MN_GETHMENU = 481
Global Const $NM_FIRST = 0
Global Const $NM_OUTOFMEMORY = $NM_FIRST - 1
Global Const $NM_CLICK = $NM_FIRST - 2
Global Const $NM_DBLCLK = $NM_FIRST - 3
Global Const $NM_RETURN = $NM_FIRST - 4
Global Const $NM_RCLICK = $NM_FIRST - 5
Global Const $NM_RDBLCLK = $NM_FIRST - 6
Global Const $NM_SETFOCUS = $NM_FIRST - 7
Global Const $NM_KILLFOCUS = $NM_FIRST - 8
Global Const $NM_CUSTOMDRAW = $NM_FIRST - 12
Global Const $NM_HOVER = $NM_FIRST - 13
Global Const $NM_NCHITTEST = $NM_FIRST - 14
Global Const $NM_KEYDOWN = $NM_FIRST - 15
Global Const $NM_RELEASEDCAPTURE = $NM_FIRST - 16
Global Const $NM_SETCURSOR = $NM_FIRST - 17
Global Const $NM_CHAR = $NM_FIRST - 18
Global Const $NM_TOOLTIPSCREATED = $NM_FIRST - 19
Global Const $NM_LDOWN = $NM_FIRST - 20
Global Const $NM_RDOWN = $NM_FIRST - 21
Global Const $NM_THEMECHANGED = $NM_FIRST - 22
Global Const $WM_MOUSEMOVE = 512
Global Const $WM_LBUTTONDOWN = 513
Global Const $WM_LBUTTONUP = 514
Global Const $WM_LBUTTONDBLCLK = 515
Global Const $WM_RBUTTONDOWN = 516
Global Const $WM_RBUTTONUP = 517
Global Const $WM_RBUTTONDBLCK = 518
Global Const $WM_MBUTTONDOWN = 519
Global Const $WM_MBUTTONUP = 520
Global Const $WM_MBUTTONDBLCK = 521
Global Const $WM_MOUSEWHEEL = 522
Global Const $WM_XBUTTONDOWN = 523
Global Const $WM_XBUTTONUP = 524
Global Const $WM_XBUTTONDBLCLK = 525
Global Const $WM_MOUSEHWHEEL = 526
Global Const $PS_SOLID = 0
Global Const $PS_DASH = 1
Global Const $PS_DOT = 2
Global Const $PS_DASHDOT = 3
Global Const $PS_DASHDOTDOT = 4
Global Const $PS_NULL = 5
Global Const $PS_INSIDEFRAME = 6
Global Const $LWA_ALPHA = 2
Global Const $LWA_COLORKEY = 1
Global Const $RGN_AND = 1
Global Const $RGN_OR = 2
Global Const $RGN_XOR = 3
Global Const $RGN_DIFF = 4
Global Const $RGN_COPY = 5
Global Const $ERRORREGION = 0
Global Const $NULLREGION = 1
Global Const $SIMPLEREGION = 2
Global Const $COMPLEXREGION = 3
Global Const $TRANSPARENT = 1
Global Const $OPAQUE = 2
Global Const $CCM_FIRST = 8192
Global Const $CCM_GETUNICODEFORMAT = ($CCM_FIRST + 6)
Global Const $CCM_SETUNICODEFORMAT = ($CCM_FIRST + 5)
Global Const $CCM_SETBKCOLOR = $CCM_FIRST + 1
Global Const $CCM_SETCOLORSCHEME = $CCM_FIRST + 2
Global Const $CCM_GETCOLORSCHEME = $CCM_FIRST + 3
Global Const $CCM_GETDROPTARGET = $CCM_FIRST + 4
Global Const $CCM_SETWINDOWTHEME = $CCM_FIRST + 11
Global Const $GA_PARENT = 1
Global Const $GA_ROOT = 2
Global Const $GA_ROOTOWNER = 3
Global Const $SM_CXSCREEN = 0
Global Const $SM_CYSCREEN = 1
Global Const $SM_CXVSCROLL = 2
Global Const $SM_CYHSCROLL = 3
Global Const $SM_CYCAPTION = 4
Global Const $SM_CXBORDER = 5
Global Const $SM_CYBORDER = 6
Global Const $SM_CXDLGFRAME = 7
Global Const $SM_CYDLGFRAME = 8
Global Const $SM_CYVTHUMB = 9
Global Const $SM_CXHTHUMB = 10
Global Const $SM_CXICON = 11
Global Const $SM_CYICON = 12
Global Const $SM_CXCURSOR = 13
Global Const $SM_CYCURSOR = 14
Global Const $SM_CYMENU = 15
Global Const $SM_CXFULLSCREEN = 16
Global Const $SM_CYFULLSCREEN = 17
Global Const $SM_CYKANJIWINDOW = 18
Global Const $SM_MOUSEPRESENT = 19
Global Const $SM_CYVSCROLL = 20
Global Const $SM_CXHSCROLL = 21
Global Const $SM_DEBUG = 22
Global Const $SM_SWAPBUTTON = 23
Global Const $SM_RESERVED1 = 24
Global Const $SM_RESERVED2 = 25
Global Const $SM_RESERVED3 = 26
Global Const $SM_RESERVED4 = 27
Global Const $SM_CXMIN = 28
Global Const $SM_CYMIN = 29
Global Const $SM_CXSIZE = 30
Global Const $SM_CYSIZE = 31
Global Const $SM_CXFRAME = 32
Global Const $SM_CYFRAME = 33
Global Const $SM_CXMINTRACK = 34
Global Const $SM_CYMINTRACK = 35
Global Const $SM_CXDOUBLECLK = 36
Global Const $SM_CYDOUBLECLK = 37
Global Const $SM_CXICONSPACING = 38
Global Const $SM_CYICONSPACING = 39
Global Const $SM_MENUDROPALIGNMENT = 40
Global Const $SM_PENWINDOWS = 41
Global Const $SM_DBCSENABLED = 42
Global Const $SM_CMOUSEBUTTONS = 43
Global Const $SM_SECURE = 44
Global Const $SM_CXEDGE = 45
Global Const $SM_CYEDGE = 46
Global Const $SM_CXMINSPACING = 47
Global Const $SM_CYMINSPACING = 48
Global Const $SM_CXSMICON = 49
Global Const $SM_CYSMICON = 50
Global Const $SM_CYSMCAPTION = 51
Global Const $SM_CXSMSIZE = 52
Global Const $SM_CYSMSIZE = 53
Global Const $SM_CXMENUSIZE = 54
Global Const $SM_CYMENUSIZE = 55
Global Const $SM_ARRANGE = 56
Global Const $SM_CXMINIMIZED = 57
Global Const $SM_CYMINIMIZED = 58
Global Const $SM_CXMAXTRACK = 59
Global Const $SM_CYMAXTRACK = 60
Global Const $SM_CXMAXIMIZED = 61
Global Const $SM_CYMAXIMIZED = 62
Global Const $SM_NETWORK = 63
Global Const $SM_CLEANBOOT = 67
Global Const $SM_CXDRAG = 68
Global Const $SM_CYDRAG = 69
Global Const $SM_SHOWSOUNDS = 70
Global Const $SM_CXMENUCHECK = 71
Global Const $SM_CYMENUCHECK = 72
Global Const $SM_SLOWMACHINE = 73
Global Const $SM_MIDEASTENABLED = 74
Global Const $SM_MOUSEWHEELPRESENT = 75
Global Const $SM_XVIRTUALSCREEN = 76
Global Const $SM_YVIRTUALSCREEN = 77
Global Const $SM_CXVIRTUALSCREEN = 78
Global Const $SM_CYVIRTUALSCREEN = 79
Global Const $SM_CMONITORS = 80
Global Const $SM_SAMEDISPLAYFORMAT = 81
Global Const $SM_IMMENABLED = 82
Global Const $SM_CXFOCUSBORDER = 83
Global Const $SM_CYFOCUSBORDER = 84
Global Const $SM_TABLETPC = 86
Global Const $SM_MEDIACENTER = 87
Global Const $SM_STARTER = 88
Global Const $SM_SERVERR2 = 89
Global Const $SM_CMETRICS = 90
Global Const $SM_REMOTESESSION = 4096
Global Const $SM_SHUTTINGDOWN = 8192
Global Const $SM_REMOTECONTROL = 8193
Global Const $SM_CARETBLINKINGENABLED = 8194
Global Const $BLACKNESS = 66
Global Const $CAPTUREBLT = 1073741824
Global Const $DSTINVERT = 5570569
Global Const $MERGECOPY = 12583114
Global Const $MERGEPAINT = 12255782
Global Const $NOMIRRORBITMAP = -2147483648
Global Const $NOTSRCCOPY = 3342344
Global Const $NOTSRCERASE = 1114278
Global Const $PATCOPY = 15728673
Global Const $PATINVERT = 5898313
Global Const $PATPAINT = 16452105
Global Const $SRCAND = 8913094
Global Const $SRCCOPY = 13369376
Global Const $SRCERASE = 4457256
Global Const $SRCINVERT = 6684742
Global Const $SRCPAINT = 15597702
Global Const $WHITENESS = 16711778
Global Const $DT_BOTTOM = 8
Global Const $DT_CALCRECT = 1024
Global Const $DT_CENTER = 1
Global Const $DT_EDITCONTROL = 8192
Global Const $DT_END_ELLIPSIS = 32768
Global Const $DT_EXPANDTABS = 64
Global Const $DT_EXTERNALLEADING = 512
Global Const $DT_HIDEPREFIX = 1048576
Global Const $DT_INTERNAL = 4096
Global Const $DT_LEFT = 0
Global Const $DT_MODIFYSTRING = 65536
Global Const $DT_NOCLIP = 256
Global Const $DT_NOFULLWIDTHCHARBREAK = 524288
Global Const $DT_NOPREFIX = 2048
Global Const $DT_PATH_ELLIPSIS = 16384
Global Const $DT_PREFIXONLY = 2097152
Global Const $DT_RIGHT = 2
Global Const $DT_RTLREADING = 131072
Global Const $DT_SINGLELINE = 32
Global Const $DT_TABSTOP = 128
Global Const $DT_TOP = 0
Global Const $DT_VCENTER = 4
Global Const $DT_WORDBREAK = 16
Global Const $DT_WORD_ELLIPSIS = 262144
Global Const $RDW_ERASE = 4
Global Const $RDW_FRAME = 1024
Global Const $RDW_INTERNALPAINT = 2
Global Const $RDW_INVALIDATE = 1
Global Const $RDW_NOERASE = 32
Global Const $RDW_NOFRAME = 2048
Global Const $RDW_NOINTERNALPAINT = 16
Global Const $RDW_VALIDATE = 8
Global Const $RDW_ERASENOW = 512
Global Const $RDW_UPDATENOW = 256
Global Const $RDW_ALLCHILDREN = 128
Global Const $RDW_NOCHILDREN = 64
Global Const $WM_RENDERFORMAT = 773
Global Const $WM_RENDERALLFORMATS = 774
Global Const $WM_DESTROYCLIPBOARD = 775
Global Const $WM_DRAWCLIPBOARD = 776
Global Const $WM_PAINTCLIPBOARD = 777
Global Const $WM_VSCROLLCLIPBOARD = 778
Global Const $WM_SIZECLIPBOARD = 779
Global Const $WM_ASKCBFORMATNAME = 780
Global Const $WM_CHANGECBCHAIN = 781
Global Const $WM_HSCROLLCLIPBOARD = 782
Global Const $HTERROR = -2
Global Const $HTTRANSPARENT = -1
Global Const $HTNOWHERE = 0
Global Const $HTCLIENT = 1
Global Const $HTCAPTION = 2
Global Const $HTSYSMENU = 3
Global Const $HTGROWBOX = 4
Global Const $HTSIZE = $HTGROWBOX
Global Const $HTMENU = 5
Global Const $HTHSCROLL = 6
Global Const $HTVSCROLL = 7
Global Const $HTMINBUTTON = 8
Global Const $HTMAXBUTTON = 9
Global Const $HTLEFT = 10
Global Const $HTRIGHT = 11
Global Const $HTTOP = 12
Global Const $HTTOPLEFT = 13
Global Const $HTTOPRIGHT = 14
Global Const $HTBOTTOM = 15
Global Const $HTBOTTOMLEFT = 16
Global Const $HTBOTTOMRIGHT = 17
Global Const $HTBORDER = 18
Global Const $HTREDUCE = $HTMINBUTTON
Global Const $HTZOOM = $HTMAXBUTTON
Global Const $HTSIZEFIRST = $HTLEFT
Global Const $HTSIZELAST = $HTBOTTOMRIGHT
Global Const $HTOBJECT = 19
Global Const $HTCLOSE = 20
Global Const $HTHELP = 21
Global Const $COLOR_SCROLLBAR = 0
Global Const $COLOR_BACKGROUND = 1
Global Const $COLOR_ACTIVECAPTION = 2
Global Const $COLOR_INACTIVECAPTION = 3
Global Const $COLOR_MENU = 4
Global Const $COLOR_WINDOW = 5
Global Const $COLOR_WINDOWFRAME = 6
Global Const $COLOR_MENUTEXT = 7
Global Const $COLOR_WINDOWTEXT = 8
Global Const $COLOR_CAPTIONTEXT = 9
Global Const $COLOR_ACTIVEBORDER = 10
Global Const $COLOR_INACTIVEBORDER = 11
Global Const $COLOR_APPWORKSPACE = 12
Global Const $COLOR_HIGHLIGHT = 13
Global Const $COLOR_HIGHLIGHTTEXT = 14
Global Const $COLOR_BTNFACE = 15
Global Const $COLOR_BTNSHADOW = 16
Global Const $COLOR_GRAYTEXT = 17
Global Const $COLOR_BTNTEXT = 18
Global Const $COLOR_INACTIVECAPTIONTEXT = 19
Global Const $COLOR_BTNHIGHLIGHT = 20
Global Const $COLOR_3DDKSHADOW = 21
Global Const $COLOR_3DLIGHT = 22
Global Const $COLOR_INFOTEXT = 23
Global Const $COLOR_INFOBK = 24
Global Const $COLOR_HOTLIGHT = 26
Global Const $COLOR_GRADIENTACTIVECAPTION = 27
Global Const $COLOR_GRADIENTINACTIVECAPTION = 28
Global Const $COLOR_MENUHILIGHT = 29
Global Const $COLOR_MENUBAR = 30
Global Const $COLOR_DESKTOP = 1
Global Const $COLOR_3DFACE = 15
Global Const $COLOR_3DSHADOW = 16
Global Const $COLOR_3DHIGHLIGHT = 20
Global Const $COLOR_3DHILIGHT = 20
Global Const $COLOR_BTNHILIGHT = 20
Global Const $HINST_COMMCTRL = -1
Global Const $IDB_STD_SMALL_COLOR = 0
Global Const $IDB_STD_LARGE_COLOR = 1
Global Const $IDB_VIEW_SMALL_COLOR = 4
Global Const $IDB_VIEW_LARGE_COLOR = 5
Global Const $IDB_HIST_SMALL_COLOR = 8
Global Const $IDB_HIST_LARGE_COLOR = 9
Global Const $STARTF_FORCEOFFFEEDBACK = 128
Global Const $STARTF_FORCEONFEEDBACK = 64
Global Const $STARTF_RUNFULLSCREEN = 32
Global Const $STARTF_USECOUNTCHARS = 8
Global Const $STARTF_USEFILLATTRIBUTE = 16
Global Const $STARTF_USEHOTKEY = 512
Global Const $STARTF_USEPOSITION = 4
Global Const $STARTF_USESHOWWINDOW = 1
Global Const $STARTF_USESIZE = 2
Global Const $STARTF_USESTDHANDLES = 256
Global Const $CDDS_PREPAINT = 1
Global Const $CDDS_POSTPAINT = 2
Global Const $CDDS_PREERASE = 3
Global Const $CDDS_POSTERASE = 4
Global Const $CDDS_ITEM = 65536
Global Const $CDDS_ITEMPREPAINT = 65537
Global Const $CDDS_ITEMPOSTPAINT = 65538
Global Const $CDDS_ITEMPREERASE = 65539
Global Const $CDDS_ITEMPOSTERASE = 65540
Global Const $CDDS_SUBITEM = 131072
Global Const $CDIS_SELECTED = 1
Global Const $CDIS_GRAYED = 2
Global Const $CDIS_DISABLED = 4
Global Const $CDIS_CHECKED = 8
Global Const $CDIS_FOCUS = 16
Global Const $CDIS_DEFAULT = 32
Global Const $CDIS_HOT = 64
Global Const $CDIS_MARKED = 128
Global Const $CDIS_INDETERMINATE = 256
Global Const $CDIS_SHOWKEYBOARDCUES = 512
Global Const $CDIS_NEARHOT = 1024
Global Const $CDIS_OTHERSIDEHOT = 2048
Global Const $CDIS_DROPHILITED = 4096
Global Const $CDRF_DODEFAULT = 0
Global Const $CDRF_NEWFONT = 2
Global Const $CDRF_SKIPDEFAULT = 4
Global Const $CDRF_NOTIFYPOSTPAINT = 16
Global Const $CDRF_NOTIFYITEMDRAW = 32
Global Const $CDRF_NOTIFYSUBITEMDRAW = 32
Global Const $CDRF_NOTIFYPOSTERASE = 64
Global Const $CDRF_DOERASE = 8
Global Const $CDRF_SKIPPOSTPAINT = 256
Global Const $GUI_SS_DEFAULT_GUI = BitOR($WS_MINIMIZEBOX, $WS_CAPTION, $WS_POPUP, $WS_SYSMENU)
HotKeySet("^!n", "EXITKEYS")
Opt("TrayMenuMode", 1)
Local $ISOFF
$ISOFF = TrayCreateItem("OFF?")
ProcessSetPriority("TriggerBotv9.exe", 4)
Global $EPICNUMBER
Assign("epicNumber", Random(500, 2000, 1))
TraySetState()
Global $EXITBUTTON
TRAY()
Func INJECTOR()
    MsgBox(0, "TriggerBot", "TrollerCoaster's Triggerbot :)")
    Local $EXITBUTTON, $MSGE
    GUICreate("TriggerBotv9")
    GUISetState(@SW_SHOW)
    $WAITFORCFTEXT = GUICtrlCreateLabel("Waiting for crossfire.exe ...", 1, 1, 300)
    GUICtrlSetFont($WAITFORCFTEXT, 12, 400, 0, "Fixedsys")
    GUICtrlSetColor($WAITFORCFTEXT, 16711680)
    WinWait("CrossFire")
    Sleep($EPICNUMBER)
    GUICtrlDelete($WAITFORCFTEXT)
    $CONFIRMINJECTTEXT = GUICtrlCreateLabel("Injected!", 1, 1, 300)
    GUICtrlSetFont($CONFIRMINJECTTEXT, 12, 400, 0, "Fixedsys")
    GUICtrlSetColor($CONFIRMINJECTTEXT, 255)
    WinActivate("TriggerBotv9")
    Assign("epicNumber", Random(4000, 6000, 1))
    Sleep($EPICNUMBER)
    $CHECKINJECTIONTEXT = GUICtrlCreateLabel("Checking if injected properly... 0%", 1, 30, 300)
    GUICtrlSetFont($CHECKINJECTIONTEXT, 12, 400, 0, "Fixedsys")
    GUICtrlSetColor($CHECKINJECTIONTEXT, 16711935)
    Sleep(1000)
    If WinExists("CrossFire") Then
        WinActivate("CrossFire")
        BlockInput(1)
        AutoItSetOption("MouseCoordMode", 0)
        Sleep(1200)
        MouseMove(353, 342, 0)
        Sleep(1000)
        MouseMove(447, 342, 50)
        Sleep(200)
        MouseMove(353, 353, 50)
        Sleep(200)
        MouseMove(447, 353, 50)
        GUICtrlDelete($CHECKINJECTIONTEXT)
        $CHECKINJECTIONTEXT = GUICtrlCreateLabel("Checking if injected properly... 33%", 1, 30, 300)
        GUICtrlSetFont($CHECKINJECTIONTEXT, 12, 400, 0, "Fixedsys")
        GUICtrlSetColor($CHECKINJECTIONTEXT, 16711935)
        Sleep(50)
        $TEAMA = MouseGetPos(0)
        $TEAMB = MouseGetPos(1)
        If $TEAMA = 447 Then
            GUICtrlDelete($CHECKINJECTIONTEXT)
            $CHECKINJECTIONTEXT = GUICtrlCreateLabel("Checking if injected properly... 66%", 1, 30, 300)
            GUICtrlSetFont($CHECKINJECTIONTEXT, 12, 400, 0, "Fixedsys")
            GUICtrlSetColor($CHECKINJECTIONTEXT, 16711935)
            Sleep(500)
            If $TEAMB = 353 Then
                Global $ISWORK
                Assign("isWork", 1)
                GUICtrlDelete($CHECKINJECTIONTEXT)
                $CHECKINJECTIONTEXT = GUICtrlCreateLabel("Checking if injected properly... 100%", 1, 30, 300)
                GUICtrlSetFont($CHECKINJECTIONTEXT, 12, 400, 0, "Fixedsys")
                GUICtrlSetColor($CHECKINJECTIONTEXT, 16711935)
                Sleep(1000)
                WinActivate("TriggerBotv9")
                BlockInput(0)
                $ISWORKTRUE = GUICtrlCreateLabel("Hack injected properly...", 1, 45, 300)
                GUICtrlSetFont($ISWORKTRUE, 12, 400, 0, "Fixedsys")
                GUICtrlSetColor($ISWORKTRUE, 255)
                Global $BURST
                Global $SLIDERAMOUNT
                Assign("Burst", 0)
                Assign("SliderAmount", 0)
                Sleep(1500)
                MAINGUI()
            Else
                Global $ISWORK
                Assign("isWork", 0)
                GUICtrlDelete($CHECKINJECTIONTEXT)
                $CHECKINJECTIONTEXT = GUICtrlCreateLabel("Checking if injected properly... 100%", 1, 30, 300)
                GUICtrlSetFont($CHECKINJECTIONTEXT, 12, 400, 0, "Fixedsys")
                GUICtrlSetColor($CHECKINJECTIONTEXT, 16711935)
                Sleep(1000)
                WinActivate("TriggerBotv9")
                BlockInput(0)
                $ISWORKTRUE = GUICtrlCreateLabel("ERROR CODE Y1", 1, 45, 300)
                GUICtrlSetFont($ISWORKTRUE, 12, 400, 0, "Fixedsys")
                GUICtrlSetColor($ISWORKTRUE, 16711680)
                $ISWORKTRUEY11 = GUICtrlCreateLabel("Hack did not inject properly...", 1, 60, 300)
                GUICtrlSetFont($ISWORKTRUEY11, 12, 400, 0, "Fixedsys")
                GUICtrlSetColor($ISWORKTRUEY11, 16711680)
                $ISWORKTRUEY12 = GUICtrlCreateLabel("Computer not compatible or Z8 has patched it.", 1, 75, 600)
                GUICtrlSetFont($ISWORKTRUEY12, 12, 400, 0, "Fixedsys")
                GUICtrlSetColor($ISWORKTRUEY12, 16711680)
                $ISWORKTRUEY13 = GUICtrlCreateLabel("You can try restarting TriggerBot to see if it will fix this problem.", 1, 90, 300, 300)
                GUICtrlSetFont($ISWORKTRUEY13, 12, 400, 0, "Fixedsys")
                GUICtrlSetColor($ISWORKTRUEY13, 16711935)
                $EXITBUTTON = GUICtrlCreateButton("Exit", 1, 120, 100)
                GUI()
            EndIf
        Else
            Global $ISWORK
            Assign("isWork", 0)
            GUICtrlDelete($CHECKINJECTIONTEXT)
            $CHECKINJECTIONTEXT = GUICtrlCreateLabel("Checking if injected properly... 100%", 1, 30, 300)
            GUICtrlSetFont($CHECKINJECTIONTEXT, 12, 400, 0, "Fixedsys")
            GUICtrlSetColor($CHECKINJECTIONTEXT, 16711935)
            Sleep(1000)
            WinActivate("TriggerBotv9")
            BlockInput(0)
            $ISWORKTRUE = GUICtrlCreateLabel("ERROR CODE X1", 1, 45, 300)
            GUICtrlSetFont($ISWORKTRUE, 12, 400, 0, "Fixedsys")
            GUICtrlSetColor($ISWORKTRUE, 16711680)
            $ISWORKTRUEY11 = GUICtrlCreateLabel("Hack did not inject properly...", 1, 60, 300)
            GUICtrlSetFont($ISWORKTRUEY11, 12, 400, 0, "Fixedsys")
            GUICtrlSetColor($ISWORKTRUEY11, 16711680)
            $ISWORKTRUEY12 = GUICtrlCreateLabel("Computer not compatible or Z8 has patched it.", 1, 75, 600)
            GUICtrlSetFont($ISWORKTRUEY12, 12, 400, 0, "Fixedsys")
            GUICtrlSetColor($ISWORKTRUEY12, 16711680)
            $ISWORKTRUEY13 = GUICtrlCreateLabel("You can try restarting TriggerBot to see if it will fix this problem.", 1, 90, 300, 300)
            GUICtrlSetFont($ISWORKTRUEY13, 12, 400, 0, "Fixedsys")
            GUICtrlSetColor($ISWORKTRUEY13, 16711935)
            $EXITBUTTON = GUICtrlCreateButton("Exit", 1, 120, 100)
            GUI()
        EndIf
    Else
        Global $ISWORK
        Assign("isWork", 0)
        GUICtrlDelete($CHECKINJECTIONTEXT)
        $CHECKINJECTIONTEXT = GUICtrlCreateLabel("Checking if injected properly... 100%", 1, 30, 300)
        GUICtrlSetFont($CHECKINJECTIONTEXT, 12, 400, 0, "Fixedsys")
        GUICtrlSetColor($CHECKINJECTIONTEXT, 16711935)
        Sleep(1000)
        WinActivate("TriggerBotv9")
        BlockInput(0)
        $ISWORKTRUE = GUICtrlCreateLabel("ERROR CODE XY1", 1, 45, 300)
        GUICtrlSetFont($ISWORKTRUE, 12, 400, 0, "Fixedsys")
        GUICtrlSetColor($ISWORKTRUE, 16711680)
        $ISWORKTRUEY11 = GUICtrlCreateLabel("Hack did not inject properly...", 1, 60, 300)
        GUICtrlSetFont($ISWORKTRUEY11, 12, 400, 0, "Fixedsys")
        GUICtrlSetColor($ISWORKTRUEY11, 16711680)
        $ISWORKTRUEY12 = GUICtrlCreateLabel("Computer not compatible or TriggerBot could not make use of CrossFire.exe .", 1, 75, 300, 300)
        GUICtrlSetFont($ISWORKTRUEY12, 12, 400, 0, "Fixedsys")
        GUICtrlSetColor($ISWORKTRUEY12, 16711680)
        $ISWORKTRUEY13 = GUICtrlCreateLabel("You can try restarting TriggerBot to see if it will fix this problem.", 1, 105, 300, 300)
        GUICtrlSetFont($ISWORKTRUEY13, 12, 400, 0, "Fixedsys")
        GUICtrlSetColor($ISWORKTRUEY13, 16711935)
        $EXITBUTTON = GUICtrlCreateButton("Exit", 1, 135, 100)
        GUI()
    EndIf
EndFunc
Func MAINFUNCTION()
    While 1
        PixelSearch(353, 342, 447, 353, 15878679, 2)
        If Not @error Then
            $BURSTING = GUICtrlRead($SLIDERAMOUNT)
            If GUICtrlRead($BURST) = 1 Then
                $BURSTING += 240
                MouseClick("left")
                Sleep(80)
                MouseClick("left")
                Sleep(80)
                MouseClick("left")
                Sleep(80)
            Else
                MouseClick("left")
            EndIf
            Sleep($BURSTING)
            If GUICtrlRead($BURST) = 1 Then
                $BURSTING -= 240
            EndIf
        Else
            BlockInput(0)
        EndIf
    WEnd
EndFunc
Func MAINGUI()
    GUIDelete()
    Global $SLIDERAMOUNT, $TESTING, $BURSTING, $BURST, $BUTTON_4, $BUTTON_3, $BUTTON_2, $BUTTON_1, $SHOULDFUNCTION, $MSGE
    GUICreate("TriggerBot v9")
    Opt("GUICoordMode", 2)
    $STRINGONE = GUICtrlCreateLabel("Thanks for using my TriggerBot!", 1, 1, 500, 24)
    GUICtrlSetFont($STRINGONE, 10, 400, 0, "Fixedsys")
    $STRINGTWO = GUICtrlCreateLabel("Here are the controls:", -1, 0, 500, 24)
    GUICtrlSetFont($STRINGTWO, 10, 400, 0, "Fixedsys")
    $SLIDERAMOUNT = GUICtrlCreateInput("0", -1, 0, 50, 24, $ES_NUMBER)
    GUICtrlSetLimit($SLIDERAMOUNT, 3)
    GUICtrlSetFont($SLIDERAMOUNT, 8.5, 400, 0, "Fixedsys")
    GUICtrlSetColor($SLIDERAMOUNT, 16711935)
    Sleep(10)
    GUICtrlRead($SLIDERAMOUNT)
    $STRINGFOUR = GUICtrlCreateLabel("Numeric input will adjust cooldown of triggerbot(in milliseconds)", -1, 0, 370, 48)
    GUICtrlSetFont($STRINGFOUR, 10, 400, 0, "Fixedsys")
    $BURST = GUICtrlCreateCheckbox("3 Round Burst?", -1, 0, 500, 24)
    GUICtrlSetFont($BURST, 10, 400, 0, "Fixedsys")
    $BUTTON_1 = GUICtrlCreateButton("Apply", -1, 1, 50, 24)
    GUICtrlSetFont($BUTTON_1, 10, 400, 0, "Fixedsys")
    $STRINGFIVE = GUICtrlCreateLabel("Clicking Apply will apply current settings.", -2, 0, 370, 24)
    GUICtrlSetFont($STRINGFIVE, 10, 400, 0, "Fixedsys")
    GUICtrlSetColor($STRINGFIVE, 255)
    $BUTTON_2 = GUICtrlCreateButton("Test", -1, 0, 50, 24)
    GUICtrlSetFont($BUTTON_2, 10, 400, 0, "Fixedsys")
    $BUTTON_3 = GUICtrlCreateButton("Exit", -1, 0, 50, 24)
    GUICtrlSetFont($BUTTON_3, 10, 400, 0, "Fixedsys")
    $BUTTON_4 = GUICtrlCreateButton("Start", -1, 0, 50, 24)
    GUICtrlSetFont($BUTTON_4, 10, 400, 0, "Fixedsys")
    Sleep(50)
    GUISetState(@SW_SHOW)
    $SHOULDFUNCTION = 1
    While 1
        $MSGI = GUIGetMsg()
        Select
            Case $MSGI = $GUI_EVENT_CLOSE
                Exit
            Case $MSGI = $BUTTON_1
                MsgBox(0, "Settings Saved", GUICtrlRead($BURST))
                _ROOT()
            Case $MSGI = $BUTTON_2
                _TEST()
            Case $MSGI = $BUTTON_3
                MsgBox(0, "Good-bye", "Thanks for using :)")
                Exit
            Case $MSGI = $BUTTON_4
                GUICtrlDelete($BUTTON_3)
                GUICtrlDelete($BUTTON_2)
                GUICtrlDelete($BUTTON_1)
                $FUNCTIONING = GUICtrlCreateLabel("CTRL + ALT + N will shut down program.", -1, 0, 370, 24)
                GUICtrlSetFont($FUNCTIONING, 10, 400, 0, "Fixedsys")
                GUICtrlSetColor($FUNCTIONING, 16711935)
                GUICtrlDelete($BUTTON_4)
                MAINFUNCTION()
        EndSelect
    WEnd
EndFunc
Func _ROOT()
    GUICtrlRead($BURST)
    GUICtrlRead($SLIDERAMOUNT)
EndFunc
Func _TEST()
    If GUICtrlRead($BURST) = 4 Then
        Beep(500, 10)
        Sleep(GUICtrlRead($SLIDERAMOUNT))
        Beep(500, 10)
        Sleep(GUICtrlRead($SLIDERAMOUNT))
        Beep(500, 10)
        Sleep(GUICtrlRead($SLIDERAMOUNT))
    Else
        Beep(500, 10)
        Sleep(80)
        Beep(500, 10)
        Sleep(80)
        Beep(500, 10)
        $TESTER = GUICtrlRead($SLIDERAMOUNT)
        $TESTER += 240
        Sleep($TESTER)
        $TESTER -= 240
        Beep(500, 10)
        Sleep(80)
        Beep(500, 10)
        Sleep(80)
        Beep(500, 10)
        Sleep(80)
    EndIf
EndFunc
Func GUI()
    While 1
        $MSGE = GUIGetMsg()
        Select
            Case $MSGE = $EXITBUTTON
                MsgBox(0, "ERROR", "Error ocurred...")
                Exit
        EndSelect
    WEnd
EndFunc
Func TRAY()
    INJECTOR()
    While 1
        $MSG = TrayGetMsg()
        Select
            Case $MSG = 0
                ContinueLoop
            Case $MSG = $ISOFF
                IF (TrayItemGetState($ISOFF) = 0) Then
                    TrayItemSetState($ISOFF, 1)
                    Sleep(6000000)
                Else
                    TrayItemSetState($ISOFF, 0)
                    Sleep(0)
                EndIf
        EndSelect
    WEnd
EndFunc
Func DISABLE()
    If $SHOULDFUNCTION = 1 Then
        $SHOULDFUNCTION = 0
    Else
        MAINFUNCTION()
    EndIf
EndFunc
Func EXITKEYS()
    MsgBox(0, "TriggerBot", "Thanks for using!")
    Exit
EndFunc
 

S1R1US

скрипт мне запили!
Сообщения
50
Репутация
6
:rofl:
переменная $Paused
в обоих скриптах пустая и вы хотите получитьотрицние пустоты...
как вы это тебе бредставляете???

Код:
Global $Paused


Тип переменной true/false то есть 0 или 1, поэтому Вы не правы
 

Vasilyi890

Новичок
Сообщения
1
Репутация
0
Доброго времени суток. Я так же хотел воспользоваться Autoit для этой игры, создать бота на пример. Сам пользуюсь х7 и до какого то момента это меня устраивало, но друзья спрашивают: как нам сделать такой же бот, но без мышки.
Решил проверить что я могу сделать сам в Autoit. Говорили что тут ничего сложного, но на деле оказалось всё не так, я даже не могу вставить свою кнопку в уже готовый код. Прочитал кучу документации всё бестолку(( Нужно учить язык....
Вообщем покопался в кодах 3 дня. нашел простенький готовый кликер проверил что работает. Но тут появилась как раз вот эта проблема: в игре (сам скрипт) работает, но не работают кнопки управления им. То есть нельзя поставить паузу и т.д. Режим-Полноэкранный, Приходится сворачивать игру кнопками ALT+TAB, чтобы запустить или остановить скрипт Возможно это решение поможет Matisse, но хотелось бы чтоб всё работало нормально. Даже простой марос мышки х7 прекрасно работает там. В игре полно АФК ботов на этих мышках. Я пробовал менять кнопки запуска скрипта Autoit на клавиатуре на: F , цифры, Клавиатуру Num и т.д., но в игре они никак не реагируют. Это вроде как мощная программа горазда функциональнее мышки, но мышка работает превосходно, а тут возникают проблемы, причём как я уже написал сам макрос созданный в Autoit в игре работает, но не работают кнопки управления им. Может просто нужно добавить какой-то код, который бы открывал скрипт поверх окна игры, или запуск какой-то комбинацией кнопок, или может той же мышкой, только простой, не верю что такая программа не сможет с этим справится.

Вот код, который я слизал с какого то сайта и тестил в этой игре:
AutoIt код:
MsgBox(0, "Кликалка", "Для запуска нажмите ОК, старт/стоп по кнопкам F5/F6, выход на F7")
WinActivate( "- ArcheAge DX11 - Apr 25 2014 (16:28:55) Анталлон")
Global $Paused
HotKeySet("{F5}", "Start")
HotKeySet("{F6}", "Stop")
HotKeySet("{F7}", "Close")
While 1
Sleep(100)
WEnd
Func Start()
While true
MouseClick("primary", 900, 710, 1, 1)
Sleep(35)
WEnd
EndFunc
Func Stop()
$Paused = NOT $Paused
While $Paused
sleep(100)
WEnd
EndFunc
Func Close()
Exit 0
EndFunc
 
Последнее редактирование:

mr.Gbabak

Осваивающий
Сообщения
257
Репутация
24
в оконном или без рамочном режиме пробовали?
 

vovsla

Осваивающий
Сообщения
607
Репутация
36
Вот пример кликера, который можно останавливать / запускать по горячим клавишам
Код:
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>

Global $ClickingGlobal=True

Opt("GUIOnEventMode", 1)

$Clicks = IniRead(@ScriptDir&'\Settings.ini', 'Clicks', 'Clicks', '')
$Delay = IniRead(@ScriptDir&'\Settings.ini', 'Clicks', 'Delay', '')

#Region ### START Koda GUI section ### Form=D:\Distributiv\AutoIt\Project\Games\Storm The House\04.kxf
$Form1 = GUICreate("Clicker", 225, 80, -1, -1, -1, BitOR($WS_EX_TOPMOST,$WS_EX_WINDOWEDGE))
GUISetOnEvent($GUI_EVENT_CLOSE, "Form1Close")
$Input1 = GUICtrlCreateInput($Clicks, 4, 4, 50, 21, BitOR($GUI_SS_DEFAULT_INPUT,$ES_CENTER))
$Label1 = GUICtrlCreateLabel("Number of clicks", 60, 6, 96, 17)
$Input2 = GUICtrlCreateInput($Delay, 4, 28, 50, 21, BitOR($GUI_SS_DEFAULT_INPUT,$ES_CENTER))
$Label2 = GUICtrlCreateLabel("Delay between clicks", 60, 30, 157, 17)
$Label3 = GUICtrlCreateLabel("Waiting", 4, 56, 216, 17, $SS_CENTER)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

HotKeySet('{F1}', 'Start')
HotKeySet('{F2}', 'Stop')

$X = IniRead(@ScriptDir&'\Settings.ini', 'Position', 'X', '')
$Y = IniRead(@ScriptDir&'\Settings.ini', 'Position', 'Y', '')
If $X Or $Y Then FormMove($X, $Y)



While 1
    Sleep(100)
WEnd



Func FormMove($X, $Y)
    Local $Pos

    $Pos = WinGetPos($Form1)

    If $X Then
        If $X + $Pos[2] > @DesktopWidth Then $X = @DesktopWidth - $Pos[2]
        If $X + $Pos[2] < 0 Then $X = 0
    Else
        $X = $Pos[0]
    EndIf

    If $Y Then
        If $Y + $Pos[3] > @DesktopHeight Then $Y = @DesktopHeight - $Pos[3]
        If $Y + $Pos[3] < 0 Then $Y = 0
    Else
        $Y = $Pos[1]
    EndIf

    WinMove($Form1, '', $X, $Y)
EndFunc


Func Stop()
    $ClickingGlobal=False
    GUICtrlSetData($Label3, 'Waiting')
EndFunc

Func Start()
    $N1=GUICtrlRead($Input1)
    If Not StringIsDigit($N1) Then GUICtrlSetData($Input1, 'Infinity')

    $N2=GUICtrlRead($Input2)
    If Not StringIsDigit($N2) Then $N2=0

    $ClickingGlobal=True
    GUICtrlSetData($Label3, 'Clicking')

    If Not StringIsDigit($N1) Then
        While 1
            MouseClick("left")
            Sleep($N2)
            If Not $ClickingGlobal Then Return GUICtrlSetData($Input1, '')
        WEnd
    EndIf

    For $Shot=1 To $N1
        MouseClick("left")
        Sleep($N2)
        If Not $ClickingGlobal Then Return True
    Next
    GUICtrlSetData($Label3, 'Waiting')
EndFunc

Func Form1Close()
    Exit
EndFunc
 
Верх