|
You last visited: Today at 06:04
Advertisement
DO PixelBot by Axigan
Discussion on DO PixelBot by Axigan within the DarkOrbit forum part of the Browsergames category.
02/26/2011, 10:47
|
#16
|
elite*gold: 4
Join Date: Aug 2008
Posts: 176
Received Thanks: 36
|
ich will zwar nicht meckern, aber bei ca 70 downloads nur 3 thx??
und ich bitte um rückmeldung, falls er nicht richtig funktioniert, sonst weiss ich ja nicht, was ich verbessern soll
|
|
|
02/26/2011, 11:04
|
#17
|
elite*gold: 0
Join Date: Dec 2008
Posts: 1,676
Received Thanks: 635
|
2 Fragen
sammelt die 1.2er Version schneller?
Funzt sie auch auf der x-1?
|
|
|
02/26/2011, 11:12
|
#18
|
elite*gold: 6301
Join Date: Mar 2010
Posts: 8,144
Received Thanks: 5,309
|
1.2 not working
1.1 works like a ****
and Axigan u think that no one will see that u have stolen "your" pixel bot? this is a little bit edited "DO-GUI-Bot-1.1.5" by buettner123 ...
don't be stupid :|
Deutsch translator:
und Axigan u denken, dass niemand sehen, dass u gestohlen haben "Ihre " Pixel Bot? dies ist ein wenig bearbeitet "DO-GUI-Bot-1.1.5" von buettner123 ...
Sei nicht dumm: |
|
|
|
02/26/2011, 11:38
|
#19
|
elite*gold: 4
Join Date: Aug 2008
Posts: 176
Received Thanks: 36
|
Quote:
Originally Posted by [{~flayrender~}]
2 Fragen
sammelt die 1.2er Version schneller?
Funzt sie auch auf der x-1?
|
sie ist genauso schnell wie die 1.1 und sammelt auch auf der x-1, aber da musst du die anzeige für das schiff offen haben und dadurch wird der bildschirm zum teil verdeckt...
Es ist jetzt eine neue version draussen v1.3, die ist schneller im sammeln und hat noch ein paar vorteile mehr
da sollte eigentlich für jeden die passende unterversion sein...
and @kamieniarz, what are you talking about?? from where should i have the code of this bot you are talking about?? and i am sure that my bot is much different
and why should i steal an autoit bot?? autoit is really easy to learn, one day and you should be able to create a bot like mine
|
|
|
02/27/2011, 13:18
|
#20
|
elite*gold: 0
Join Date: Jun 2010
Posts: 73
Received Thanks: 11
|
i get an error:
line 658 :
error: Variable used without being declared
|
|
|
02/27/2011, 13:28
|
#21
|
elite*gold: 1369
Join Date: Jan 2009
Posts: 2,841
Received Thanks: 1,244
|
Quote:
Originally Posted by pippop
i get an error:
line 658 :
error: Variable used without being declared
|
I think, he will fix it.
I guess the variable wasn't typed in the right way.
|
|
|
02/27/2011, 13:36
|
#22
|
elite*gold: 6301
Join Date: Mar 2010
Posts: 8,144
Received Thanks: 5,309
|
Quote:
Originally Posted by Axigan
and @kamieniarz, what are you talking about?? from where should i have the code of this bot you are talking about?? and i am sure that my bot is much different
and why should i steal an autoit bot?? autoit is really easy to learn, one day and you should be able to create a bot like mine
|
haha so it is weird because GIU bot is the same as yours without icon ale some words
don't be silly
|
|
|
02/27/2011, 14:20
|
#23
|
elite*gold: 1003
Join Date: Dec 2010
Posts: 2,028
Received Thanks: 846
|
Quote:
Originally Posted by Axigan
and @kamieniarz, what are you talking about?? from where should i have the code of this bot you are talking about?? and i am sure that my bot is much different
and why should i steal an autoit bot?? autoit is really easy to learn, one day and you should be able to create a bot like mine
|
Oh man. Du kannst es doch ruhig zugeben... schreib dass du ihn verändert hast man und behaupte nicht es sei deiner. Man brauch nur "buettner123" bei Suche eingeben und schon hat man alles. Ich glaube nicht dass dir einer verbieten würde den Code zu nehmen, aber du kannst das ja wenistens erwähnen bzw. den Verfasser fragen!
Du bekommst jedenfalls von mir kein Thanks solange das nicht geklärt ist. Vor allem wegen "and why should i steal an autoit bot?? autoit is really easy to learn, one day and you should be able to create a bot like mine"
Gruß Trooper
Code:
HOTKEYSET("!e", "_Ende2")
HotKeySet("!p", "_Pause")
HotKeySet("!s", "_Start")
#region Constanten
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 $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_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_LBUTTONUP = 514
Global Const $WM_MOUSEMOVE = 512
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 $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 $ERROR = 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)
Global Const $SS_LEFT = 0
Global Const $SS_CENTER = 1
Global Const $SS_RIGHT = 2
Global Const $SS_ICON = 3
Global Const $SS_BLACKRECT = 4
Global Const $SS_GRAYRECT = 5
Global Const $SS_WHITERECT = 6
Global Const $SS_BLACKFRAME = 7
Global Const $SS_GRAYFRAME = 8
Global Const $SS_WHITEFRAME = 9
Global Const $SS_SIMPLE = 11
Global Const $SS_LEFTNOWORDWRAP = 12
Global Const $SS_BITMAP = 15
Global Const $SS_ETCHEDHORZ = 16
Global Const $SS_ETCHEDVERT = 17
Global Const $SS_ETCHEDFRAME = 18
Global Const $SS_NOPREFIX = 128
Global Const $SS_NOTIFY = 256
Global Const $SS_CENTERIMAGE = 512
Global Const $SS_RIGHTJUST = 1024
Global Const $SS_SUNKEN = 4096
Global Const $GUI_SS_DEFAULT_LABEL = 0
Global Const $GUI_SS_DEFAULT_GRAPHIC = 0
Global Const $GUI_SS_DEFAULT_ICON = $SS_NOTIFY
Global Const $GUI_SS_DEFAULT_PIC = $SS_NOTIFY
#EndRegion
Opt("MustDeclareVars", 1)
DOGUISTART()
Global $INI_VOLLBILD = IniRead("settings.ini", "vollbild", "yes_no", "0")
Global $OPT_COORD = 0
Global $Y_COORD = -46
Global $RAND1_1 = 660
Global $RAND1_2 = 800
Global $RAND2_1 = 600
Global $RAND2_2 = 700
Global $SIZE = WinGetPos("[active]")
If $INI_VOLLBILD = 1 Then
$SIZE[1] = 228
$SIZE[0] = $Y_COORD
EndIf
Global $SIZE2 = WinGetPos("[active]")
If $INI_VOLLBILD = 1 Then
$SIZE2[1] = 228
$SIZE2[0] = $Y_COORD
EndIf
Global $INIS
Global $RAND1 = Random(660 + $SIZE[0], 800 + $SIZE[0], 1)
Global $RAND2 = Random(600 + $SIZE[1], 700 + $SIZE[1], 1)
Global $RECHTS
Global $RECHTS2
Global $RES
Global $ENDE
Global $BOX2
Global $LINKS
Global $LINKS2
Global $STREUNER
Global $TIMER
Global $FORM = GUICreate("Kill Counter", 73, 21, 0, 0, $WS_POPUP, $WS_EX_TOPMOST)
Global $COUNTER
Global $G_BOXEN = 0
Global $G_ZEIT = 0
Global $G_STREUNER = 0
Global $G_CARGO = 0
Global $BASIS
Global $AKTV = 0
Global $TASTE_H
Global $PINKEL = 0
Global $G_OBEN_L
Global $G_OBEN_R
Global $G_UNTEN_L
Global $G_UNTEN_R
Global $NAZ
Global $EINER
Global $ZWEI
Global $DREI
Global $VIER
Global $FUENF
Global $REPP_ZEIT
Global $REPP_ANZAHL = 0
Global $KUERBIS
Func DOGUISTART()
Local $BUTTON_1, $BUTTON_2, $BUTTON_3, $MSG
GUICreate("Darkorbit - Bot", 220, 300)
Opt("GUICoordMode", 2)
$BUTTON_1 = GUICtrlCreateButton("Bot starten", 10, 30, 100)
$BUTTON_2 = GUICtrlCreateButton("Einstellungen", 0, -1)
GUICtrlCreateLabel("Beenden lässt sich der gestartete Bot mit Alt+e", -195, 5, 200, 25)
GUICtrlCreateLabel("Mit Alt+p kann er pausiert werden", -200, 5, 200, 15)
GUICtrlCreateLabel("Mit Alt+s startet man ihn wieder!", -200, 5, 200, 25)
GUICtrlCreateLabel("Wenn du auf Bot starten drückst, hast du 5 sek. Zeit in das Darkorbit Fenster zu wechseln, bevor der Bot mit seiner Arbeit beginnt.", -200, 5, 200, 55)
GUICtrlCreateLabel("Copyright by buettner123", -200, 25, 200, 25)
GUISetState()
While 1
$MSG = GUIGetMsg()
Select
Case $MSG = $GUI_EVENT_CLOSE
_ENDE()
ExitLoop
Case $MSG = $BUTTON_1
Global $OPT_COORD = 0
Global $Y_COORD = -10
Global $INI_VOLLBILD = IniRead("settings.ini", "vollbild", "yes_no", "0")
Global $G_BOXEN = 0
GUIDelete()
Global $SIZE = WinGetPos("[active]")
If $INI_VOLLBILD = 1 Then
$SIZE[1] = 228
$SIZE[0] = $Y_COORD
EndIf
Global $SIZE2 = WinGetPos("[active]")
If $INI_VOLLBILD = 1 Then
$SIZE2[1] = 228
$SIZE2[0] = $Y_COORD
EndIf
$G_ZEIT = TimerInit()
Sleep(5000)
_START()
Case $MSG = $BUTTON_2
EINSTELLUNGEN()
EndSelect
WEnd
EndFunc
Func EINSTELLUNGEN()
Local $STREUNER_SCHIESEN, $SPEICHERN, $ABBRECHEN
Local $S_CHECKED, $C_CHECKED, $CARGO, $SZEIT, $B_ZEIT
Local $MSG, $PROM, $END, $TERB, $P_SAM, $E_SAM, $T_SAM
Local $BASIS_RESSIS, $BASIS_RESSIS_END, $BASIS_RESSIS_PROM, $BASIS_RESSIS_TERB
Local $BASIS_RESSIS_PROME, $BASIS_RESSIS_DUR, $BASIS_RESSIS_PTID
Local $B_S, $P_V, $E_V, $T_V, $D_V, $PT_V, $PE_V, $PINKELN_GEHN, $PINKELN_MIN, $P_G, $PINKEL_L, $P_M
Local $GATE_FLUCHT, $EINER_FLUCHT, $ZWEI_FLUCHT, $DREI_FLUCHT, $VIER_FLUCHT, $FUENF_FLUCHT
Local $E_F, $Z_F, $D_F, $V_F, $F_F, $REPPEN, $REPP_LIMIT, $REPP_LIMIT_J, $R_ZEIT
Local $REPP, $REPP_L_J, $REPP_LIMIT, $REPP_L_A, $REPP_ZEIT_I, $REPP_ZEIT_L, $VOLLBILD, $VOLL
GUICreate("Einstellungen", 250, 600)
Global $INIS = IniRead("settings.ini", "StreuneR", "yes_no", "0")
Global $INIC = IniRead("settings.ini", "Cargo", "yes_no", "0")
Global $INIB = IniRead("settings.ini", "B_Zeit", "time", "0")
Global $INIP = IniRead("settings.ini", "Prom", "yes_no", "0")
Global $INIE = IniRead("settings.ini", "End", "yes_no", "0")
Global $INIT = IniRead("settings.ini", "Terb", "yes_no", "0")
Global $INIB_A = IniRead("settings.ini", "Basis", "yes_no", "0")
Global $INIB_A_P = IniRead("settings.ini", "Basis_P", "yes_no", "0")
Global $INIB_A_E = IniRead("settings.ini", "Basis_E", "yes_no", "0")
Global $INIB_A_T = IniRead("settings.ini", "Basis_T", "yes_no", "0")
Global $INIB_A_D = IniRead("settings.ini", "Basis_D", "yes_no", "0")
Global $INIB_A_PD = IniRead("settings.ini", "Basis_PD", "yes_no", "0")
Global $INIB_A_PE = IniRead("settings.ini", "Basis_PE", "yes_no", "0")
Global $INI_PINKEL = IniRead("settings.ini", "pinkel", "yes_no", "0")
Global $INI_EINER = IniRead("settings.ini", "einer", "yes_no", "0")
Global $INI_ZWEI = IniRead("settings.ini", "zwei", "yes_no", "0")
Global $INI_DREI = IniRead("settings.ini", "drei", "yes_no", "0")
Global $INI_VIER = IniRead("settings.ini", "vier", "yes_no", "0")
Global $INI_FUENF = IniRead("settings.ini", "fuenf", "yes_no", "0")
Global $INI_REPPEN = IniRead("settings.ini", "reppen", "yes_no", "0")
Global $INI_REPP_L_J = IniRead("settings.ini", "repp_limit_j", "yes_no", "0")
Global $INI_REPP_LIMIT = IniRead("settings.ini", "repp_limit", "anzahl", "0")
Global $INI_REPP_ZEIT = IniRead("settings.ini", "repp_zeit", "zeit", "0")
Global $P_ZEIT = IniRead("settings.ini", "pinkel_m", "zeit", "0")
Global $INI_VOLLBILD = IniRead("settings.ini", "vollbild", "yes_no", "0")
$STREUNER_SCHIESEN = GUICtrlCreateCheckbox("Aliens schießen", 20, 5)
If $INIS = 1 Then
GUICtrlSetState(-1, 1)
EndIf
$CARGO = GUICtrlCreateCheckbox("CARGO - Boxen sammeln", -94, 5, 140, 20)
If $INIC = 1 Then
GUICtrlSetState(-1, 1)
EndIf
GUICtrlCreateLabel("Benötigte Schusszeit (sek.):", -140, 2, 150, 25)
$SZEIT = GUICtrlCreateInput($INIB, 0, -26, 50, 20, 8192)
$PROM = GUICtrlCreateCheckbox("Prometium sammeln", -200, 5, 140, 20)
If $INIP = 1 Then
GUICtrlSetState($PROM, 1)
EndIf
$END = GUICtrlCreateCheckbox("Endurium sammeln", -140, 0, 140, 20)
If $INIE = 1 Then
GUICtrlSetState($END, 1)
EndIf
$TERB = GUICtrlCreateCheckbox("Terbium sammeln", -140, 0, 140, 20)
If $INIT = 1 Then
GUICtrlSetState($TERB, 1)
EndIf
$BASIS_RESSIS = GUICtrlCreateCheckbox("Rohstoffe an der Basis verkaufen", -140, 5, 180, 20)
If $INIB_A = 1 Then
GUICtrlSetState($BASIS_RESSIS, 1)
EndIf
$BASIS_RESSIS_PROM = GUICtrlCreateCheckbox("Prometium verkaufen", -135, 0, 180, 20)
If $INIB_A_P = 1 Then
GUICtrlSetState($BASIS_RESSIS_PROM, 1)
EndIf
$BASIS_RESSIS_END = GUICtrlCreateCheckbox("Endurium verkaufen", -180, 0, 180, 20)
If $INIB_A_E = 1 Then
GUICtrlSetState($BASIS_RESSIS_END, 1)
EndIf
$BASIS_RESSIS_TERB = GUICtrlCreateCheckbox("Terbium verkaufen", -180, 0, 180, 20)
If $INIB_A_T = 1 Then
GUICtrlSetState($BASIS_RESSIS_TERB, 1)
EndIf
$BASIS_RESSIS_PTID = GUICtrlCreateCheckbox("Prometid verkaufen", -180, 0, 180, 20)
If $INIB_A_PD = 1 Then
GUICtrlSetState($BASIS_RESSIS_PTID, 1)
EndIf
$BASIS_RESSIS_DUR = GUICtrlCreateCheckbox("Duranium verkaufen", -180, 0, 180, 20)
If $INIB_A_D = 1 Then
GUICtrlSetState($BASIS_RESSIS_DUR, 1)
EndIf
$BASIS_RESSIS_PROME = GUICtrlCreateCheckbox("Promerium verkaufen", -180, 0, 180, 20)
If $INIB_A_PE = 1 Then
GUICtrlSetState($BASIS_RESSIS_PROME, 1)
EndIf
$PINKELN_GEHN = GUICtrlCreateCheckbox("Pinkelpausen einlegen:", -225, 5, 130, 20)
If $INI_PINKEL = 1 Then
GUICtrlSetState($PINKELN_GEHN, 1)
EndIf
$PINKELN_MIN = GUICtrlCreateInput($P_ZEIT, 0, -19, 30, 20, 8192)
$PINKEL_L = GUICtrlCreateLabel("min.", 1, -19, 20, 20)
$GATE_FLUCHT = GUICtrlCreateLabel("NAZ aufsuchen:", -180, 5, 130, 20)
$EINER_FLUCHT = GUICtrlCreateCheckbox("Ab einem Gegner", -87, 0, 130, 20)
If $INI_EINER = 1 Then
GUICtrlSetState($EINER_FLUCHT, 1)
EndIf
$ZWEI_FLUCHT = GUICtrlCreateCheckbox("Ab zwei Gegner", -130, 0, 130, 20)
If $INI_ZWEI = 1 Then
GUICtrlSetState($ZWEI_FLUCHT, 1)
EndIf
$DREI_FLUCHT = GUICtrlCreateCheckbox("Ab drei Gegner", -130, 0, 130, 20)
If $INI_DREI = 1 Then
GUICtrlSetState($DREI_FLUCHT, 1)
EndIf
$VIER_FLUCHT = GUICtrlCreateCheckbox("Ab vier Gegner", -130, 0, 130, 20)
If $INI_VIER = 1 Then
GUICtrlSetState($VIER_FLUCHT, 1)
EndIf
$FUENF_FLUCHT = GUICtrlCreateCheckbox("Ab fünf und mehr Gegnern", -130, 0, 150, 20)
If $INI_FUENF = 1 Then
GUICtrlSetState($FUENF_FLUCHT, 1)
EndIf
$REPPEN = GUICtrlCreateCheckbox("Raumschiff nach Abschuss reparieren", -193, 5, 200, 20)
If $INI_REPPEN = 1 Then
GUICtrlSetState($REPPEN, 1)
EndIf
$REPP_ZEIT_L = GUICtrlCreateLabel("Benötigte Reperaturzeit (min.):", -157, 5, 145, 20)
$REPP_ZEIT_I = GUICtrlCreateInput($INI_REPP_ZEIT, 0, -21, 30, 20, 8192)
$REPP_LIMIT_J = GUICtrlCreateCheckbox("Reperatur Limit:", -175, 0, 100, 20)
If $INI_REPP_L_J = 1 Then
GUICtrlSetState($REPP_LIMIT_J, 1)
EndIf
$REPP_LIMIT = GUICtrlCreateInput($INI_REPP_LIMIT, 0, -19, 30, 20, 8192)
$VOLLBILD = GUICtrlCreateCheckbox("Vollbildmodus", -173, 0, 100, 20)
If $INI_VOLLBILD = 1 Then
GUICtrlSetState($VOLLBILD, 1)
EndIf
$SPEICHERN = GUICtrlCreateButton("Speichern", -102, 8, 70, 25)
$ABBRECHEN = GUICtrlCreateButton("Abbrechen", -70, 5, 70, 25)
GUISetState()
While 1
$MSG = GUIGetMsg()
Select
Case $MSG = $GUI_EVENT_CLOSE
GUIDelete()
ExitLoop
Case $MSG = $ABBRECHEN
GUIDelete()
ExitLoop
Case $MSG = $SPEICHERN
$S_CHECKED = GUICtrlRead($STREUNER_SCHIESEN)
IniWrite("settings.ini", "StreuneR", "yes_no", $S_CHECKED)
$C_CHECKED = GUICtrlRead($CARGO)
IniWrite("settings.ini", "Cargo", "yes_no", $C_CHECKED)
$B_ZEIT = GUICtrlRead($SZEIT)
IniWrite("settings.ini", "B_Zeit", "time", $B_ZEIT)
$P_SAM = GUICtrlRead($PROM)
IniWrite("settings.ini", "Prom", "yes_no", $P_SAM)
$E_SAM = GUICtrlRead($END)
IniWrite("settings.ini", "End", "yes_no", $E_SAM)
$T_SAM = GUICtrlRead($TERB)
IniWrite("settings.ini", "Terb", "yes_no", $T_SAM)
$B_S = GUICtrlRead($BASIS_RESSIS)
IniWrite("settings.ini", "Basis", "yes_no", $B_S)
$P_V = GUICtrlRead($BASIS_RESSIS_PROM)
IniWrite("settings.ini", "Basis_P", "yes_no", $P_V)
$E_V = GUICtrlRead($BASIS_RESSIS_END)
IniWrite("settings.ini", "Basis_E", "yes_no", $E_V)
$T_V = GUICtrlRead($BASIS_RESSIS_TERB)
IniWrite("settings.ini", "Basis_T", "yes_no", $T_V)
$PT_V = GUICtrlRead($BASIS_RESSIS_PTID)
IniWrite("settings.ini", "Basis_PD", "yes_no", $PT_V)
$D_V = GUICtrlRead($BASIS_RESSIS_DUR)
IniWrite("settings.ini", "Basis_D", "yes_no", $D_V)
$PE_V = GUICtrlRead($BASIS_RESSIS_PROME)
IniWrite("settings.ini", "Basis_PE", "yes_no", $PE_V)
$P_G = GUICtrlRead($PINKELN_GEHN)
IniWrite("settings.ini", "pinkel", "yes_no", $P_G)
$P_M = GUICtrlRead($PINKELN_MIN)
IniWrite("settings.ini", "pinkel_m", "zeit", $P_M)
$E_F = GUICtrlRead($EINER_FLUCHT)
IniWrite("settings.ini", "einer", "yes_no", $E_F)
$Z_F = GUICtrlRead($ZWEI_FLUCHT)
IniWrite("settings.ini", "zwei", "yes_no", $Z_F)
$D_F = GUICtrlRead($DREI_FLUCHT)
IniWrite("settings.ini", "drei", "yes_no", $D_F)
$V_F = GUICtrlRead($VIER_FLUCHT)
IniWrite("settings.ini", "vier", "yes_no", $V_F)
$F_F = GUICtrlRead($FUENF_FLUCHT)
IniWrite("settings.ini", "fuenf", "yes_no", $F_F)
$REPP = GUICtrlRead($REPPEN)
IniWrite("settings.ini", "reppen", "yes_no", $REPP)
$REPP_L_J = GUICtrlRead($REPP_LIMIT_J)
IniWrite("settings.ini", "repp_limit_j", "yes_no", $REPP_L_J)
$REPP_L_A = GUICtrlRead($REPP_LIMIT)
IniWrite("settings.ini", "repp_limit", "anzahl", $REPP_L_A)
$R_ZEIT = GUICtrlRead($REPP_ZEIT_I)
IniWrite("settings.ini", "repp_zeit", "zeit", $R_ZEIT)
$VOLL = GUICtrlRead($VOLLBILD)
IniWrite("settings.ini", "vollbild", "yes_no", $VOLL)
MsgBox(0, "Erfolg!", "Einstellungen wurden gespeichert!")
GUIDelete()
ExitLoop
EndSelect
WEnd
EndFunc
Func _ZIELHILFE()
EndFunc
Do
Until ""
Func _START()
Global $INIS = IniRead("settings.ini", "StreuneR", "yes_no", "0")
Global $INIC = IniRead("settings.ini", "Cargo", "yes_no", "0")
Global $INIP = IniRead("settings.ini", "Prom", "yes_no", "0")
Global $INIE = IniRead("settings.ini", "End", "yes_no", "0")
Global $INIT = IniRead("settings.ini", "Terb", "yes_no", "0")
Global $INIB_A = IniRead("settings.ini", "Basis", "yes_no", "0")
Global $INI_PINKEL = IniRead("settings.ini", "pinkel", "yes_no", "0")
Global $INI_REPPEN = IniRead("settings.ini", "reppen", "yes_no", "0")
Global $INI_VOLLBILD = IniRead("settings.ini", "vollbild", "yes_no", "0")
NAZ()
FEIND_FLUCHT()
If $INI_REPPEN = 1 Then
REPPEN()
EndIf
If $INI_PINKEL = 1 Then
$PINKEL = $PINKEL + 1
Global $DURCH_L = Random(45, 105, 1)
If $PINKEL = $DURCH_L Then
PINKEL_PAUSE()
EndIf
EndIf
If $INIS = 1 Then
ALIENS_SCHIESEN()
EndIf
If $INIC = 1 Then
CARGO_SAMMELN()
EndIf
If $INIP = 1 Then
PROM_SAMMELN()
EndIf
If $INIE = 1 Then
END_SAMMELN()
EndIf
If $INIT = 1 Then
TERB_SAMMELN()
EndIf
If $INIB_A = 1 Then
BASIS_RESSIS()
EndIf
WinSetOnTop("[ACTIVE]", "", 1)
$RAND1 = Random(660 + $SIZE[0], 800 + $SIZE[0], 1)
$RAND2 = Random(600 + $SIZE[1], 700 + $SIZE[1], 1)
If $INI_VOLLBILD = 1 Then
$SIZE[0] = 228
$SIZE[1] = 8
$RAND1 = Random(660 + $SIZE[0], 800 + $SIZE[0], 1)
$RAND2 = Random(600 + $SIZE[1], 700 + $SIZE[1], 1)
EndIf
MouseClick("left", $RAND1, $RAND2, 1, 1)
While True
Global $SIZE = WinGetPos("[active]")
If $INI_VOLLBILD = 1 Then
$SIZE[0] = 228
$SIZE[1] = $Y_COORD
EndIf
Global $TIMER = TimerInit()
Do
Global $ENDE = 0
$BOX2 = PixelSearch(12 + $SIZE[0], 59 + $SIZE[1], 826 + $SIZE[0], 580 + $SIZE[1], 8155863, 15, 3)
If @error Then
$BOX2 = PixelSearch(12 + $SIZE[0], 59 + $SIZE[1], 650 + $SIZE[0], 705 + $SIZE[1], 8155863, 15, 3)
If Not @error Then
For $ENDE = 0 To 4 Step 1
$BOX2 = PixelSearch(12 + $SIZE[0], 59 + $SIZE[1], 650 + $SIZE[0], 705 + $SIZE[1], 8155863, 15, 3)
If Not @error Then
MouseClick("left", $BOX2[0], $BOX2[1], 2, 1)
Sleep(1000)
Else
EndIf
Next
EndIf
Else
For $ENDE = 0 To 4 Step 1
$BOX2 = PixelSearch(12 + $SIZE[0], 59 + $SIZE[1], 826 + $SIZE[0], 580 + $SIZE[1], 8155863, 15, 3)
If Not @error Then
MouseClick("left", $BOX2[0], $BOX2[1], 2, 1)
Sleep(1000)
Else
EndIf
Next
EndIf
If $INIS = 1 Then
ALIENS_SCHIESEN()
EndIf
If $INIC = 1 Then
CARGO_SAMMELN()
EndIf
Until TimerDiff($TIMER) >= 10000
_START()
WEnd
EndFunc
Func _BOXSUCHEN()
EndFunc
Func ALIENS_SCHIESEN()
Global $INIB = IniRead("settings.ini", "B_Zeit", "time", "0")
$INIB = $INIB * 1000
$INIB = $INIB / 5000
Global $STREUNER = PixelSearch(12 + $SIZE[0], 59 + $SIZE[1], 826 + $SIZE[0], 704 + $SIZE[1], 11534336, 15)
If IsArray($STREUNER) Then
Global $RECHTS = $STREUNER[1]
Global $RECHTS2 = $RECHTS - 0
MouseClick("left", $STREUNER[0], $RECHTS2, 1, 1)
Sleep(1000)
EndIf
$STREUNER = PixelSearch(12 + $SIZE[0], 59 + $SIZE[1], 826 + $SIZE[0], 704 + $SIZE[1], 11534336, 15)
If IsArray($STREUNER) Then
If $ENDE < 10 Then
$RECHTS = $STREUNER[1]
$RECHTS2 = $RECHTS - 50
Global $LINKS = $STREUNER[0]
Global $LINKS2 = $LINKS + 25
Sleep(200)
MouseClick("left", $LINKS2, $RECHTS2, 1, 1)
Sleep(300)
MouseClick("left", $LINKS2, $RECHTS2, 1, 1)
Sleep(800)
Send("{LCTRL}")
For $I = 1 To $INIB Step +1
Send("{SPACE}")
Sleep(5000)
Next
EndIf
EndIf
Global $RES = PixelSearch(12 + $SIZE[0], 59 + $SIZE[1], 826 + $SIZE[0], 704 + $SIZE[1], 16579925, 15, 3)
If Not @error Then
$G_STREUNER = $G_STREUNER + 1
EndIf
EndFunc
Func CARGO_SAMMELN()
Global $RES = PixelSearch(12 + $SIZE[0], 59 + $SIZE[1], 826 + $SIZE[0], 704 + $SIZE[1], 16579925, 15, 3)
If Not @error Then
$G_CARGO = $G_CARGO + 1
EndIf
If IsArray($RES) Then
MouseClick("left", $RES[0], $RES[1], 1, 1)
Sleep(1000)
EndIf
$RES = PixelSearch(12 + $SIZE[0], 59 + $SIZE[1], 826 + $SIZE[0], 704 + $SIZE[1], 16579925, 15, 3)
If IsArray($RES) Then
If $ENDE < 10 Then
MouseClick("left", $RES[0], $RES[1], 1, 1)
EndIf
EndIf
EndFunc
Func BASIS_RESSIS()
$AKTV = $AKTV + 1
If $AKTV = 40 Then
$BASIS = PixelSearch(660 + $SIZE[0], 600 + $SIZE[1], 800 + $SIZE[0], 700 + $SIZE[1], 37834, 15, 15)
If Not @error Then
Global $INIB_A_P = IniRead("settings.ini", "Basis_P", "yes_no", "0")
Global $INIB_A_E = IniRead("settings.ini", "Basis_E", "yes_no", "0")
Global $INIB_A_T = IniRead("settings.ini", "Basis_T", "yes_no", "0")
Global $INIB_A_D = IniRead("settings.ini", "Basis_D", "yes_no", "0")
Global $INIB_A_PD = IniRead("settings.ini", "Basis_PD", "yes_no", "0")
Global $INIB_A_PE = IniRead("settings.ini", "Basis_PE", "yes_no", "0")
MouseClick("left", $BASIS[0] + 10, $BASIS[1] + 10, 1, 1)
Sleep(120 * 1000)
Send("{H}")
Sleep(6000)
MouseClick("left", 323 + $SIZE[0], 143 + $SIZE[1], 1, 1)
Sleep(2000)
If $INIB_A_P = 1 Then
MouseClick("left", 218 + $SIZE[0], 326 + $SIZE[1], 1, 1)
Sleep(1000)
EndIf
If $INIB_A_E = 1 Then
MouseClick("left", 300 + $SIZE[0], 326 + $SIZE[1], 1, 1)
Sleep(1000)
EndIf
If $INIB_A_T = 1 Then
MouseClick("left", 381 + $SIZE[0], 326 + $SIZE[1], 1, 1)
Sleep(1000)
EndIf
If $INIB_A_PD = 1 Then
MouseClick("left", 462 + $SIZE[0], 326 + $SIZE[1], 1, 1)
Sleep(1000)
EndIf
If $INIB_A_D = 1 Then
MouseClick("left", 542 + $SIZE[0], 326 + $SIZE[1], 1, 1)
Sleep(1000)
EndIf
If $INIB_A_PE = 1 Then
MouseClick("left", 624 + $SIZE[0], 326 + $SIZE[1], 1, 1)
Sleep(1000)
EndIf
MouseClick("left", 693 + $SIZE[0], 110 + $SIZE[1], 1, 1)
Sleep(5000)
Send("{H}")
Sleep(1500)
$AKTV = 0
NAZ()
EndIf
EndIf
EndFunc
Func PROM_SAMMELN()
Global $RES = PixelSearch(12 + $SIZE[0], 59 + $SIZE[1], 826 + $SIZE[0], 704 + $SIZE[1], 16556157, 15, 3)
If Not @error Then
EndIf
If IsArray($RES) Then
MouseClick("left", $RES[0], $RES[1], 1, 1)
Sleep(1000)
EndIf
$RES = PixelSearch(12 + $SIZE[0], 59 + $SIZE[1], 826 + $SIZE[0], 704 + $SIZE[1], 16556157, 15, 3)
If IsArray($RES) Then
If $ENDE < 10 Then
MouseClick("left", $RES[0], $RES[1], 1, 1)
EndIf
EndIf
EndFunc
Func END_SAMMELN()
Global $RES = PixelSearch(12 + $SIZE[0], 59 + $SIZE[1], 826 + $SIZE[0], 704 + $SIZE[1], 16252152, 15, 3)
If Not @error Then
EndIf
If IsArray($RES) Then
MouseClick("left", $RES[0], $RES[1], 1, 1)
Sleep(1000)
EndIf
$RES = PixelSearch(12 + $SIZE[0], 59 + $SIZE[1], 826 + $SIZE[0], 704 + $SIZE[1], 16252152, 15, 3)
If IsArray($RES) Then
If $ENDE < 10 Then
MouseClick("left", $RES[0], $RES[1], 1, 1)
EndIf
EndIf
EndFunc
Func TERB_SAMMELN()
Global $RES = PixelSearch(12 + $SIZE[0], 59 + $SIZE[1], 826 + $SIZE[0], 704 + $SIZE[1], 16449150, 15, 3)
If Not @error Then
EndIf
If IsArray($RES) Then
MouseClick("left", $RES[0], $RES[1], 1, 1)
Sleep(1000)
EndIf
$RES = PixelSearch(12 + $SIZE[0], 59 + $SIZE[1], 826 + $SIZE[0], 704 + $SIZE[1], 16449150, 15, 3)
If IsArray($RES) Then
If $ENDE < 10 Then
MouseClick("left", $RES[0], $RES[1], 1, 1)
EndIf
EndIf
EndFunc
Func PINKEL_PAUSE()
Global $P_ZEIT = IniRead("settings.ini", "pinkel_m", "zeit", "0")
$P_ZEIT = $P_ZEIT * 60 * 1000
$P_ZEIT = Random($P_ZEIT - 30000, $P_ZEIT + 60000, 1)
Global $P_ZEIT_1 = $P_ZEIT / 3
$G_OBEN_L = PixelSearch(666 + $SIZE[0], 607 + $SIZE[1], 688 + $SIZE[0], 625 + $SIZE[1], 16777215, 15, 1)
If Not @error Then
MouseClick("left", $G_OBEN_L[0], $G_OBEN_L[1])
Sleep($P_ZEIT_1)
Send("{C}")
Sleep($P_ZEIT_1)
Send("{C}")
Sleep($P_ZEIT_1)
$PINKEL = 0
Else
$G_OBEN_R = PixelSearch(789 + $SIZE[0], 624 + $SIZE[1], 806 + $SIZE[0], 605 + $SIZE[1], 16777215, 15, 1)
If Not @error Then
MouseClick("left", $G_OBEN_R[0], $G_OBEN_R[1])
Sleep($P_ZEIT_1)
Send("{C}")
Sleep($P_ZEIT_1)
Send("{C}")
Sleep($P_ZEIT_1)
$PINKEL = 0
Else
$G_UNTEN_L = PixelSearch(686 + $SIZE[0], 686 + $SIZE[1], 667 + $SIZE[0], 697 + $SIZE[1], 16777215, 15, 1)
If Not @error Then
MouseClick("left", $G_UNTEN_L[0], $G_UNTEN_L[1])
Sleep($P_ZEIT_1)
Send("{C}")
Sleep($P_ZEIT_1)
Send("{C}")
Sleep($P_ZEIT_1)
$PINKEL = 0
Else
$G_UNTEN_R = PixelSearch(785 + $SIZE[0], 676 + $SIZE[1], 805 + $SIZE[0], 690 + $SIZE[1], 16777215, 15, 1)
If Not @error Then
MouseClick("left", $G_UNTEN_R[0], $G_UNTEN_R[1])
Sleep($P_ZEIT_1)
Send("{C}")
Sleep($P_ZEIT_1)
Send("{C}")
Sleep($P_ZEIT_1)
$PINKEL = 0
EndIf
EndIf
EndIf
EndIf
EndFunc
Func NAZ()
$NAZ = PixelSearch(350 + $SIZE[0], 86 + $SIZE[1], 486 + $SIZE[0], 118 + $SIZE[1], 11534336, 15, 1)
If Not @error Then
MouseClick("left", 733 + $SIZE[0], 655 + $SIZE[1])
Sleep(20000)
EndIf
EndFunc
Func FEIND_FLUCHT()
Global $INI_EINER = IniRead("settings.ini", "einer", "yes_no", "0")
Global $INI_ZWEI = IniRead("settings.ini", "zwei", "yes_no", "0")
Global $INI_DREI = IniRead("settings.ini", "drei", "yes_no", "0")
Global $INI_VIER = IniRead("settings.ini", "vier", "yes_no", "0")
Global $INI_FUENF = IniRead("settings.ini", "fuenf", "yes_no", "0")
If $INI_EINER = 1 Then
$EINER = PixelSearch(812 + $SIZE[0], 604 + $SIZE[1], 824 + $SIZE[0], 695 + $SIZE[1], 16772505, 8, 1)
If Not @error Then
Send("{C}")
GATE_FLUCHT()
EndIf
$ZWEI = PixelSearch(812 + $SIZE[0], 604 + $SIZE[1], 824 + $SIZE[0], 695 + $SIZE[1], 16767296, 8, 1)
If Not @error Then
Send("{C}")
GATE_FLUCHT()
EndIf
$DREI = PixelSearch(812 + $SIZE[0], 604 + $SIZE[1], 824 + $SIZE[0], 695 + $SIZE[1], 16763955, 8, 1)
If Not @error Then
Send("{C}")
GATE_FLUCHT()
EndIf
$VIER = PixelSearch(812 + $SIZE[0], 604 + $SIZE[1], 824 + $SIZE[0], 695 + $SIZE[1], 16751360, 8, 1)
If Not @error Then
Send("{C}")
GATE_FLUCHT()
EndIf
$FUENF = PixelSearch(812 + $SIZE[0], 604 + $SIZE[1], 824 + $SIZE[0], 695 + $SIZE[1], 16737792, 8, 1)
If Not @error Then
Send("{C}")
GATE_FLUCHT()
EndIf
EndIf
If $INI_ZWEI = 1 Then
$ZWEI = PixelSearch(812 + $SIZE[0], 604 + $SIZE[1], 824 + $SIZE[0], 695 + $SIZE[1], 16767296, 8, 1)
If Not @error Then
GATE_FLUCHT()
EndIf
$DREI = PixelSearch(812 + $SIZE[0], 604 + $SIZE[1], 824 + $SIZE[0], 695 + $SIZE[1], 16763955, 8, 1)
If Not @error Then
GATE_FLUCHT()
EndIf
$VIER = PixelSearch(812 + $SIZE[0], 604 + $SIZE[1], 824 + $SIZE[0], 695 + $SIZE[1], 16751360, 8, 1)
If Not @error Then
GATE_FLUCHT()
EndIf
$FUENF = PixelSearch(812 + $SIZE[0], 604 + $SIZE[1], 824 + $SIZE[0], 695 + $SIZE[1], 16737792, 8, 1)
If Not @error Then
GATE_FLUCHT()
EndIf
EndIf
If $INI_DREI = 1 Then
$DREI = PixelSearch(812 + $SIZE[0], 604 + $SIZE[1], 824 + $SIZE[0], 695 + $SIZE[1], 16763955, 8, 1)
If Not @error Then
GATE_FLUCHT()
EndIf
$VIER = PixelSearch(812 + $SIZE[0], 604 + $SIZE[1], 824 + $SIZE[0], 695 + $SIZE[1], 16751360, 8, 1)
If Not @error Then
GATE_FLUCHT()
EndIf
$FUENF = PixelSearch(812 + $SIZE[0], 604 + $SIZE[1], 824 + $SIZE[0], 695 + $SIZE[1], 16737792, 8, 1)
If Not @error Then
GATE_FLUCHT()
EndIf
EndIf
If $INI_VIER = 1 Then
$VIER = PixelSearch(812 + $SIZE[0], 604 + $SIZE[1], 824 + $SIZE[0], 695 + $SIZE[1], 16751360, 8, 1)
If Not @error Then
GATE_FLUCHT()
EndIf
$FUENF = PixelSearch(812 + $SIZE[0], 604 + $SIZE[1], 824 + $SIZE[0], 695 + $SIZE[1], 16737792, 8, 1)
If Not @error Then
GATE_FLUCHT()
EndIf
EndIf
If $INI_FUENF = 1 Then
$FUENF = PixelSearch(812 + $SIZE[0], 604 + $SIZE[1], 824 + $SIZE[0], 695 + $SIZE[1], 16737792, 8, 1)
If Not @error Then
GATE_FLUCHT()
EndIf
EndIf
EndFunc
Func GATE_FLUCHT()
$G_OBEN_L = PixelSearch(666 + $SIZE[0], 607 + $SIZE[1], 688 + $SIZE[0], 625 + $SIZE[1], 16777215, 15, 1)
If Not @error Then
MouseClick("left", $G_OBEN_L[0], $G_OBEN_L[1])
Sleep(60000)
FEIND_FLUCHT()
Else
$G_OBEN_R = PixelSearch(789 + $SIZE[0], 624 + $SIZE[1], 806 + $SIZE[0], 605 + $SIZE[1], 16777215, 15, 1)
If Not @error Then
MouseClick("left", $G_OBEN_R[0], $G_OBEN_R[1])
Sleep(60000)
FEIND_FLUCHT()
Else
$G_UNTEN_L = PixelSearch(686 + $SIZE[0], 686 + $SIZE[1], 667 + $SIZE[0], 697 + $SIZE[1], 16777215, 15, 1)
If Not @error Then
MouseClick("left", $G_UNTEN_L[0], $G_UNTEN_L[1])
Sleep(60000)
FEIND_FLUCHT()
Else
$G_UNTEN_R = PixelSearch(785 + $SIZE[0], 676 + $SIZE[1], 805 + $SIZE[0], 690 + $SIZE[1], 16777215, 15, 1)
If Not @error Then
MouseClick("left", $G_UNTEN_R[0], $G_UNTEN_R[1])
Sleep(60000)
FEIND_FLUCHT()
EndIf
EndIf
EndIf
EndIf
EndFunc
Func REPPEN()
$REPP_ZEIT = IniRead("settings.ini", "repp_zeit", "zeit", "0")
$REPP_ZEIT = $REPP_ZEIT * 60 * 1000
PixelSearch(35 + $SIZE[0], 123 + $SIZE[1], 894 + $SIZE[0], 560 + $SIZE[1], 2621697, 15, 5)
If Not @error Then
PixelSearch(348 + $SIZE[0], 315 + $SIZE[1], 395 + $SIZE[0], 332 + $SIZE[1], 3355443, 15, 5)
If Not @error Then
PixelSearch(397 + $SIZE[0], 318 + $SIZE[1], 419 + $SIZE[0], 331 + $SIZE[1], 16777215, 15, 1)
If Not @error Then
Global $INI_REPP_L_J = IniRead("settings.ini", "repp_limit_j", "yes_no", "0")
If $INI_REPP_L_J = 1 Then
Global $INI_REPP_LIMIT = IniRead("settings.ini", "repp_limit", "anzahl", "0")
Else
Global $INI_REPP_LIMIT = 1
EndIf
If $REPP_ANZAHL < $INI_REPP_LIMIT Then
Sleep(5000)
WinKill("[ACTIVE]")
Sleep(5000)
MouseClick("left", 1026, 22, 1, 1)
Sleep(5000)
MouseClick("left", 628, 568, 1, 1)
Sleep(5000)
MouseClick("left", 776, 668, 1, 1)
Sleep(5000)
MouseClick("left", 628, 568, 1, 1)
Sleep(5000)
MouseClick("left", 888, 318, 1, 1)
Sleep(5000)
MouseClick("right", 742, 5, 1, 1)
Sleep(1000)
MouseClick("left", 750, 7, 1, 1)
Sleep(2000)
Send("{F5}")
Send("{F5}")
Sleep(2000)
MouseClick("left", 383 + $SIZE[0], 667 + $SIZE[1], 1, 1)
Sleep(8000)
MouseClick("left", 631 + $SIZE[0], 653 + $SIZE[1], 1, 1)
Sleep(1000)
MouseClick("left", 514 + $SIZE[0], 687 + $SIZE[1], 1, 1)
Sleep($REPP_ZEIT)
Send("{H}")
Global $INI_REPP_L_J = IniRead("settings.ini", "repp_limit_j", "yes_no", "0")
If $INI_REPP_L_J = 1 Then
$REPP_ANZAHL = $REPP_ANZAHL + 1
EndIf
EndIf
EndIf
EndIf
EndIf
EndFunc
Func _PAUSE()
Do
Sleep(100)
Until ""
EndFunc
Func _ENDE()
Exit 0
EndFunc
Func _ENDE2()
Local $MSG
$G_ZEIT = TimerDiff($G_ZEIT)
$G_ZEIT = $G_ZEIT / 60000
$G_ZEIT = Round($G_ZEIT, 2)
GUICreate("Ergebnis:", 300, 200)
GUICtrlCreateLabel("Achtung die Zahlen könnten ungenau sein!", 20, 5, 250, 25)
GUICtrlCreateLabel("Sammel Zeit (min.):", -240, 35, 100, 25)
GUICtrlCreateLabel($G_ZEIT, 0, -25, 70, 15)
GUICtrlCreateLabel("Abgeschossene Aliens:", -170, 5, 155, 25)
GUICtrlCreateLabel($G_STREUNER, 0, -25, 70, 15)
GUICtrlCreateLabel("Gesammelte Cargo-Boxen:", -225, 5, 155, 25)
GUICtrlCreateLabel($G_CARGO, 0, -25, 70, 15)
Global $OK = GUICtrlCreateButton("Ok", -200, 10, 100, 30)
WinSetOnTop("[ACTIVE]", "", 0)
GUISetState()
While 1
$MSG = GUIGetMsg()
Select
Case $MSG = $GUI_EVENT_CLOSE
_ENDE()
ExitLoop
Case $MSG = $OK
_ENDE()
ExitLoop
EndSelect
WEnd
EndFunc
|
|
|
02/27/2011, 15:44
|
#24
|
elite*gold: 4
Join Date: Aug 2008
Posts: 176
Received Thanks: 36
|
Quote:
Originally Posted by pippop
i get an error:
line 658 :
error: Variable used without being declared
|
strange, my code has only maximum 100 lines
1. finde ich den geposteten code nicht "einfach so", wenn ich bei google suche
2. weshalb sollte ich einen code von 1380 zeilen nehmen und daraus einen von 80 machen??
wenn ihr mich schon so beschuldigt, dann bringt auch beweise, ein "ähnliches gui" ist noch lange kein beweis. Und kommt jetzt nicht mit hotkeys: ""+e ""+s ""+p sind nun mal einfacher zu merken für die jeweilige funktion als irgendwelche f6 oder f2...
für die, die die codes vergleichen wollen, sie können es gerne machen:
Code:
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
HotKeySet("^e", "ende")
HotKeySet("^p", "pause")
HotKeySet("^s", "start")
Gui()
Func Gui()
Local $starter, $msg
GUICreate("DO PixelBot v1.3 by Axigan", 250, 140)
$starter = GUICtrlCreateButton("Start", 75, 15, 100)
GUICtrlCreateLabel("Beenden: Ctrl+e", 25, 55)
GUICtrlCreateLabel("Pause: Ctrl+p", 25, 70)
GUICtrlCreateLabel("Pause beenden: Ctrl+s", 25, 85)
GUICtrlCreateLabel("Du hast 7 Sekunden Zeit ins Spiel zu wechseln, nachdem du Start gedrückt hast.", 25, 100, 220, 50)
GUISetState()
While 1
$msg = GUIGetMsg()
Select
Case $msg = $GUI_EVENT_CLOSE
ende()
ExitLoop
Case $msg = $starter
GUIDelete()
Sleep(7000)
start()
EndSelect
WEnd
EndFunc
Do
Until ""
Func start()
Global $randomX = Random(992, 1170, 1)
Global $randomY = Random(496, 600, 1)
MouseClick("left", $randomX, $randomY, 1, 1)
While True
Global $timer = TimerInit()
Do
Global $next = 0
Global $randomTime1 = Random(300, 800, 1)
Global $randomTime2 = Random(5000, 7000, 1)
Global $bb = PixelSearch(170, 60, 1190, 620, 0x725F9B, 12, 2)
$bb = PixelSearch(170, 60, 1190, 620, 0x725F9B, 12, 2)
If IsArray($bb) Then
If $next < 8 Then
MouseClick("left", $bb[0], $bb[1], $next + 1, 1)
Sleep($randomTime1)
EndIf
EndIf
Until TimerDiff($timer) >= $randomTime2
start()
WEnd
EndFunc
Func pause()
Do
Sleep(200)
Until ""
EndFunc
Func ende()
Exit 0
EndFunc
|
|
|
02/27/2011, 16:08
|
#25
|
elite*gold: 27
Join Date: Apr 2010
Posts: 1,041
Received Thanks: 375
|
Eindutiger unterschied xD
mal ne Frage, konnten Pixelbots früher nicht auch auf Feinde zurückschießen?
Ich habe es so in erinnerung^^
|
|
|
02/27/2011, 18:08
|
#26
|
elite*gold: 1003
Join Date: Dec 2010
Posts: 2,028
Received Thanks: 846
|
Quote:
Originally Posted by Axigan
strange, my code has only maximum 100 lines
1. finde ich den geposteten code nicht "einfach so", wenn ich bei google suche
2. weshalb sollte ich einen code von 1380 zeilen nehmen und daraus einen von 80 machen??
wenn ihr mich schon so beschuldigt, dann bringt auch beweise, ein "ähnliches gui" ist noch lange kein beweis. Und kommt jetzt nicht mit hotkeys: ""+e ""+s ""+p sind nun mal einfacher zu merken für die jeweilige funktion als irgendwelche f6 oder f2...
für die, die die codes vergleichen wollen, sie können es gerne machen:
|
Ist das ein Witz? Du hast ihn auch nur Boxen sammeln lassen und alles was man nicht braucht gelöscht, natürlich kommt man da auf weniger Zeilen! Guck dir die Ähnlichkeiten der beiden Bots mal an, wie kommt es dann die Variablen zum größten Teil den selben Namen haben und ihr den selben aufbau habt? :O
Beispiel:
Original:
Code:
$BUTTON_1 = GUICtrlCreateButton("Bot starten", 10, 30, 100)
GUICtrlCreateLabel("Beenden lässt sich der gestartete Bot mit Alt+e", -195, 5, 200, 25)
GUICtrlCreateLabel("Mit Alt+p kann er pausiert werden", -200, 5, 200, 15)
GUICtrlCreateLabel("Mit Alt+s startet man ihn wieder!", -200, 5, 200, 25)
GUICtrlCreateLabel("Wenn du auf Bot starten drückst, hast du 5 sek. Zeit in das Darkorbit Fenster zu wechseln, bevor der Bot mit seiner Arbeit beginnt.", -200, 5, 200, 55)
GUICtrlCreateLabel("Copyright by buettner123", -200, 25, 200, 25)
GUISetState()
While 1
$MSG = GUIGetMsg()
Select
Case $MSG = $GUI_EVENT_CLOSE
_ENDE()
ExitLoop
Case $MSG = $BUTTON_1
Deine Version:
Code:
$starter = GUICtrlCreateButton("Start", 75, 15, 100)
GUICtrlCreateLabel("Beenden: Ctrl+e", 25, 55)
GUICtrlCreateLabel("Pause: Ctrl+p", 25, 70)
GUICtrlCreateLabel("Pause beenden: Ctrl+s", 25, 85)
GUICtrlCreateLabel("Du hast 7 Sekunden Zeit ins Spiel zu wechseln, nachdem du Start gedrückt hast.", 25, 100, 220, 50)
GUISetState()
While 1
$msg = GUIGetMsg()
Select
Case $msg = $GUI_EVENT_CLOSE
ende()
ExitLoop
Case $msg = $starter
Und den Rest hast du auch zusammengefasst, habe aber keine Lust jede einzelne Zeile im Original zu suchen. Egal, habe mal den Entwickler informiert und mal abwarten war er zu dem von dir genannten Code sagt. Aber das kann kein Zufall sein dass alles (siehe Beispiel) genau passt!!! :O
HAHAA ich sehe grade das Label "du hast 5 Sekunden Zeit" BEI DIR 7 Sekunden
|
|
|
02/27/2011, 20:57
|
#27
|
elite*gold: 170
Join Date: May 2009
Posts: 711
Received Thanks: 1,131
|
Danke erstmal an Trooper, DO-Freak2 und kamienarz
Nunja es ist mein erster Pixelbot gewesen, den ich bei autoitbot reingestellt hab...
Ich beschuldige Axigan jetzt nicht, aber die Ähnlichkeit ist doch seeehr aufällig...
Im Grunde ist mir das egal, ob er diesen Code verwendet, aber ein Hinweis könnte er ruhig hinterlassen....
Lg
|
|
|
02/28/2011, 12:51
|
#28
|
elite*gold: 4
Join Date: Aug 2008
Posts: 176
Received Thanks: 36
|
damit das geklärt ist, sage ich erstmal, wie ich davor schon sagte, dass ich den code oben noch nie davor gesehen habe, es würde auch wenig sinn machen so einen langen code nur nach dem boxencode abzusuchen und den rest zu löschen.
meine allererste version machte ich mit einer vorlage, das war aber als gerade die packtbots aufkamen und ich deshalb nichts released habe. jetzt wo wieder pixelbots auftauchen dachte ich wieder dran zu arbeiten. ich kann mich nicht mehr ganz erinneren woher ich die vorlage hatte, doch es stand nichts von wegen copyright by buettner... also muss es eine schon abgeänderte version gewesen sein und war auch nur höchstens 200 zeilen lang.
und woher sollte ich dann wissen, wen ich erwähnen sollte, wenn ich nicht weiss, woher es kommt??
es wird vielleicht auch aufgefallen sein, dass mein code viel simpler ist, weil ich vom ursprünglichen code das genommen und geändert(verbessert/verschlechtert) habe, was ich auch verstand und wie ich es auch selber schreiben würde...
hoffe dass das thema nun geklärt ist, hab den ersten post editiert und entschuldige mich natürlich an 4pr28u...
@edit: 4pr28u = buettner123??
|
|
|
02/28/2011, 13:22
|
#29
|
elite*gold: 100
Join Date: May 2010
Posts: 5,672
Received Thanks: 1,432
|
Jop buettner123 ist 4PR28U
|
|
|
02/28/2011, 18:17
|
#30
|
elite*gold: 1003
Join Date: Dec 2010
Posts: 2,028
Received Thanks: 846
|
Gut dass das endlich geklärt ist.
Hab einen Verbesserungsvorschlag, da der Bot sonst nur mit deiner Bildschirmauflösung läuft! (nicht die des Darkorbit Fensters.)
Also, du hast in deinem Code immer Koordinaten angegeben, diese sind aber bei einer größeren Auflösung viel weiter oben links und nicht mittig! Daher würde ich ganz am Anfang Imagesearch Logout Button (da das ja immer zu sehen ist), und von da aus die Koordinaten machen!
Also statt:
PHP Code:
Global $randomX = Random(992, 1170, 1) Global $randomY = Random(496, 600, 1)
Das hier:
PHP Code:
Global $randomX = Random($logoutbutton_x - 500, $logoutbutton_y - 100, 1) Global $randomY = Random($logoutbutton_x + 50, $logoutbutton_y + 500)
=> 500, 100 und 50 sind nur Beispielwertöö, die richtig müsstest du finden
Verstehst duwas ich meine??
|
|
|
Similar Threads
|
can some 1 tell me where i can get a pixelbot
02/20/2011 - General Gaming Discussion - 0 Replies
i wont to make my on bot but i dont no where to get the pixelbot to start makeing my on bot so can some pls point me in the right way
|
All times are GMT +2. The time now is 06:04.
|
|