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-16-2014 RE: Developing Bot - AtoZ - 12-16-2014 Got these errors: Tesseract Open Source OCR Engine v3.02.03 with Leptonica row xheight=8.66667, but median xheight = 12.4762 FAIL! APPLY_BOXES: boxfile line 0/0 ((101,3183),(117,3200)): FAILURE! Couldn't find a matching blob FAIL! APPLY_BOXES: boxfile line 1/1 ((126,3184),(133,3201)): FAILURE! Couldn't find a matching blob FAIL! APPLY_BOXES: boxfile line 2/2 ((142,3184),(154,3201)): FAILURE! Couldn't find a matching blob FAIL! APPLY_BOXES: boxfile line 3/3 ((163,3183),(176,3201)): FAILURE! Couldn't find a matching blob FAIL! APPLY_BOXES: boxfile line 4/4 ((184,3184),(199,3201)): FAILURE! Couldn't find a matching blob FAIL! APPLY_BOXES: boxfile line 128/6 ((101,3161),(115,3178 )): FAILURE! Couldn't find a matching blob FAIL! APPLY_BOXES: boxfile line 129/9 ((117,3160),(130,3178 )): FAILURE! Couldn't find a matching blob FAIL! APPLY_BOXES: boxfile line 130/7 ((139,3161),(151,3178 )): FAILURE! Couldn't find a matching blob FAIL! APPLY_BOXES: boxfile line 131/0 ((153,3160),(169,3177)): FAILURE! Couldn't find a matching blob FAIL! APPLY_BOXES: boxfile line 132/7 ((178,3161),(190,3178 )): FAILURE! Couldn't find a matching blob FAIL! APPLY_BOXES: boxfile line 133/1 ((192,3161),(199,3178 )): FAILURE! Couldn't find a matching blob FAIL! APPLY_BOXES: boxfile line 271/1 ((101,3138 ),(108,3155)): FAILURE! Couldn't find a matching blob FAIL! APPLY_BOXES: boxfile line 272/2 ((110,3138 ),(122,3155)): FAILURE! Couldn't find a matching blob FAIL! APPLY_BOXES: boxfile line 2876/9 ((116,2700),(129,2718 )): FAILURE! Couldn't find a matching blob FAIL! APPLY_BOXES: boxfile line 2877/5 ((131,2700),(143,2718 )): FAILURE! Couldn't find a matching blob FAIL! APPLY_BOXES: boxfile line 2878/9 ((153,2700),(166,2718 )): FAILURE! Couldn't find a matching blob FAIL! APPLY_BOXES: boxfile line 2879/9 ((168,2700),(181,2718 )): FAILURE! Couldn't find a matching blob FAIL! APPLY_BOXES: boxfile line 2882/9 ((221,2700),(234,2718 )): FAILURE! Couldn't find a matching blob FAIL! APPLY_BOXES: boxfile line 2885/9 ((273,2700),(286,2718 )): FAILURE! Couldn't find a matching blob FAIL! APPLY_BOXES: boxfile line 2887/9 ((311,2700),(324,2718 )): FAILURE! Couldn't find a matching blob FAIL! APPLY_BOXES: boxfile line 2888/9 ((327,2700),(340,2718 )): FAILURE! Couldn't find a matching blob APPLY_BOXES: Boxes read from boxfile: 2892 Boxes failed resegmentation: 21 Found 2871 good blobs. TRAINING ... Font name = supercell-magic Generated training data for 925 words My tesseract is reading better than before even with the errors above. Thanks Antidote for the automated Tesseract training I almost did the manual. I'm also thinking, can we edit the tiff file so that the font will look white and the background green? RE: Developing Bot - Malosa - 12-16-2014 Guys , LF is not using tesseract but. Glyph algorithm, Hehe try that ! ITS easyer RE: Developing Bot - vanadium - 12-16-2014 Right, i'm also experimenting glyph recognition algorithm, and i get almost 100% success. And it's way easier than using Tesseract, although it requires to make png files of each displayed number (but in a matter of minutes you get this done using Gimp or Paint.net). RE: Developing Bot - AtoZ - 12-17-2014 Do you guys have tutorial link for glyph? RE: Developing Bot - vanadium - 12-17-2014 You don't even need a tutorial for that, it's pretty simple: 1. Make Pngs of numbers from 0 to 9, 2. Capture the part of the screen containing the numbers, 3. Use image search algorithm to find the position of the number by testing all of them, 4. Order the found numbers by increasing x-axis, 5. You have your number read by concatenating the ordered numbers. RE: Developing Bot - GkevinOD - 12-17-2014 This is great! Once we have the techniques to 100% recognition of the gold and elixir, we can progress to the auto raid functions and such. I'm at school right now and I will take a look at the Image Recognition technique later. RE: Developing Bot - AtoZ - 12-17-2014 (12-17-2014, 12:42 AM)vanadium Wrote: You don't even need a tutorial for that, it's pretty simple:Nice that was brief.. Thanks! It just sounds easy man but I feel like I'm heading for a brick wall just thinking about coding it (for a novice like me). Still no luck for me in tesseract training. More accurate but same issues. I've been trying to extract the numbers by string manipulation just before removing the empty spaces and numerating it thereafter But the script keeps on closing while I'm testing it. I'm still looking for the error. RE: Developing Bot - miraKidaaH - 12-17-2014 Hello everyone. I'm not a coder, but I was wondering if you guys have produced any bots, and if you have could I have the link. Also, when I've tried to use bots in the past, everything works until I click "start". Nothing happens. I couldn't find anything online to help. If anyone could explain how to use a bot and give me a link to one, I'd be very grateful. RE: Developing Bot - TeebS - 12-17-2014 Hey guys. This is my first post on The Bytecode Club. I am a freshman college student with some coding knowledge in C/C++. I believe that it may actually be possible to completely bypass the image recognition step which has proven to be both inaccurate and inefficient. Rather, can we try to intercept at the transport level by wiresharking the packets sent between Bluestacks and the CoC Server? |