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 - Antidote - 12-11-2014 RE: Developing Bot - BoredCoder - 12-11-2014 Hi All, Antidote thanks for your posts. They've been very helpful. I just had a query relating to coc.traineddata. How did you go about making it? Can it be improved? I also had a similar issue where it would add numbers or not quite work properly and just trying to fine tune it even more. Cheers! Sorry probably should have googled a bit harder first: http://blog.cedric.ws/how-to-train-tesseract-301 Let me know if im on the wrong track, or specifically how you did it. Cheers RE: Developing Bot - BoredCoder - 12-11-2014 Sorry being real lazy here as new to AutoIT. Is there a way to easily show the captured bitmap/png in a popup box to compare what the script sees vs what the OCR data is returning? Will help with adjusting the capture window. Cheers and sorry for the lazy q's in advance. RE: Developing Bot - odySSeys - 12-12-2014 RE: Developing Bot - BoredCoder - 12-12-2014 Hi odySSeys, I did both... I have tesseract installed still, but am just using the package because i couldn't be stuffed changing all the paths and parameters in the installed version. If you're having problems still, make sure you change the temp path to a writeable location. C:\ isn't writeable unless running the script as administrator on Win7/8, so you might want to change it to mydocs or something like that. So in Tesseract.au3 file find the bit: Global $tesseract_temp_path = "C:\" Change to Global $tesseract_temp_path = "C:\Users\yourusername\Documents\" Where yourusername is your user profile folder name. That might fix your problem. Cheers RE: Developing Bot - Antidote - 12-12-2014 RE: Developing Bot - Antidote - 12-12-2014 I made a very simple GUI for the script, when started it asks you to click on barrack to record position then train troops according to your input and proceed to attack. Gonna start with attack function and image compare soon. Btw anyone knows how to interupt a running script? something like togglePause function but using GUI button and not Hot Key? RE: Developing Bot - Lobo - 12-12-2014 Hello though I just registered on this site I have some time following this great work , I've signed nothing more than to give my congratulations and let them know that the lf bot robot in directotio windows creates two folders: 1 c: windows \ coc \ 2 c: windows \ coc - in \ In these two folders there are more folders and in them there are terminated coc files: example ejemplo.coc Well arrived here these files can be opened with the paint from windows giving as a result catches couple makes lf robot program I hope you understand my English is the translator of google thank you RE: Developing Bot - odySSeys - 12-12-2014 RE: Developing Bot - Antidote - 12-12-2014 |