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-23-2014 I think I know where the mistake is. Can you look through the code for this line: Code: If getDarkElixir($x_default+1, $y_default+58) <> "" & getDarkElixir($x_default, $y_default+57) <> "" Then Code: If getDarkElixir($x_default+1, $y_default+58) <> "" Or getDarkElixir($x_default, $y_default+57) <> "" Then RE: Developing Bot - GkevinOD - 12-23-2014 RE: Developing Bot - kojometa - 12-23-2014 yeah autoit is a very good-natured language! im gonna screen all types of error messages to check for similarities. they current attacking type works pretty good for me though always extremly good pickings. since i screenshot every after-fight message i cant ell you that i usually gain over 100k of both gold and elixir as an average value. best was a LOSE with 300.000 gold and 300.000 elixis as profit RE: Developing Bot - MDMA - 12-23-2014 RE: Developing Bot - Antidote - 12-23-2014 RE: Developing Bot - kojometa - 12-23-2014 since the bot is not memory-based background work will probably be hard to do. in the past i already read out the values for gold and elixir with cheatengine but the problem is that you cant find any pointer due to bluestacks. you would have to root bluestacks and run a program inside of it which is a lot too lavishly! but im gonna have a look at it since controlclick is more good-natured with that than mouseclick or mousemove RE: Developing Bot - Envyus - 12-23-2014 Strange... I have AutoIT installed, I downloaded all 3 files and placed them in the same folder. I launch the exe and click on "start" it asks me to locate the barracks and that is as far as it goes :S. use the start button! all other buttons are only for testing purposes! RE: Developing Bot - warrockblack - 12-23-2014 I got a problem on bot, he's dont recognize the ''popup'' when click train troops he saw pixels in background only... i have no idea how to fix PixelGetColor, on bot script for he read ''popup'' window on bs... Can someone give me a hand ? XD RE: Developing Bot - odySSeys - 12-23-2014 RE: Developing Bot - GkevinOD - 12-23-2014 (12-23-2014, 07:07 AM)odySSeys Wrote: @GkevinOD: You may refer to this GNU organization of steps to register GPL. http://www.gnu.org/licenses/gpl-howto.htmlWell, the bot located the position of the window first and using that, I found where the first pixel is relative to the window. Now the way the bot locates the position of the window is weird, it ignores parts of the window handle and 0,0 of the window would be: This is not actually the way I did it. I used AutoIT tool and used the Finder Tool and manually placed it in the first pixel which requires some accuracy Using the method above is much easier and does not require you to look super close into your computer screen to see the individual pixels |