Developing Bot - Printable Version +- The Bytecode Club - Reverse Engineering Forum (https://the.bytecode.club) +-- Forum: Lobby (https://the.bytecode.club/forumdisplay.php?fid=1) +--- Forum: Game Cheating, Botting & Reverse Engineering (https://the.bytecode.club/forumdisplay.php?fid=97) +--- Thread: Developing Bot (/showthread.php?tid=155) Pages:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
|
RE: Developing Bot - odySSeys - 12-13-2014 (12-13-2014, 04:47 AM)qaqaq Wrote: Thanks odySSeys . Ops.. I forgotten to tell you that you MUST zoom all the way out.. til maximum.. I have edited the step above. If possible, try delete the video on youtube. We would like to keep it low profile first as it is very buggy and we would like people to contribute rather leeching only RE: Developing Bot - odySSeys - 12-13-2014 RE: Developing Bot - qaqaq - 12-13-2014 (12-13-2014, 06:02 AM)odySSeys Wrote:(12-13-2014, 04:47 AM)qaqaq Wrote: Thanks odySSeys . I deleted vid. But It seems the same old. I think i missing something. RE: Developing Bot - odySSeys - 12-13-2014 (12-13-2014, 02:40 PM)qaqaq Wrote:(12-13-2014, 06:02 AM)odySSeys Wrote:(12-13-2014, 04:47 AM)qaqaq Wrote: Thanks odySSeys . Try install tesseract installer with the .exe. (https://code.google.com/p/tesseract-ocr/downloads/list) If it still doesn't work, try install AutoIt3 with the full installation (https://www.autoitscript.com/site/autoit/downloads/) RE: Developing Bot - qaqaq - 12-13-2014 It working right now ! Thanks odySSys. Great!. But i just noticed that sometime recognize wrong number gold and elixir :D RE: Developing Bot - odySSeys - 12-15-2014 RE: Developing Bot - qaqaq - 12-15-2014 I Forgot copy Tesseract-OCR folder to /AppData/Local/Tesseract-OCR lol RE: Developing Bot - AtoZ - 12-15-2014 I tried adding more value to '$Left' on Line 21 and the script read the search values properly. Global $Left = 45+10, $Top = 70, $Right = 660, $Bottom = 490 Alternatively, you can try make the adjustments on line 463 as not to affect other configurations. $Read = _TesseractWinCapture($HWnD,"",0,"",1,2,($Left+10)*$x_ratio,$Top*$y_ratio,$Right*$x_ratio,$Bottom*$y_ratio,0) ;Capture screen region with gold and elixir btw, I still wasn't able to manually set my barracks properly with the script. RE: Developing Bot - qaqaq - 12-15-2014 (12-15-2014, 02:23 AM)AtoZ Wrote: I tried adding more value to '$Left' on Line 21 and the script read the search values properly. Nice job RE: Developing Bot - GkevinOD - 12-15-2014 I am having the same problem that qaqaq use to have, I am running the Search Function script yet it only clicks next once and fails to do anything else. I've looked at the code and it clicks next first without trying to run CheckScreen functions, so I believe that I am having some difficulties with tesseract. Any help would be much appreciated, I want to be involved in improving the script and helping create a bot . EDIT: I didn't read qaqaq's more recent reply and it worked I got it working, I copied the Tesseract-OCR that came with the bot to the location of where I installed tesseract, 'C:\Program Files (x86)\Tesseract-OCR'. I merged the folder and it worked after that. |