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 - Shriva - 01-04-2015 (01-04-2015, 01:15 AM)WarlockOPain Wrote:(01-04-2015, 12:47 AM)zealous Wrote: @atoz as you've seen , the loot is so bad if i dont turn on dead base such that the cost of searching would be even more than the loots. then , it would be pointless to even turn the bot on lol. Are you using v5.3? What TH... how many barrack you have? I see some problems with your config.. 1.. conditiongoldelixer =0 Should be =1 if you want to to attack a base that meets your gold/ elixer settings.. at =0 i dont think it will attack anything RE: Developing Bot - WarlockOPain - 01-04-2015 2 Barracks i removed the req for gold/elixer, so that it will attack any base; so if its 0 it wont attack anything? Ive tried lowering the req and watched it click next on bases that meet req... and yes, its 5.3, from this link: https://mega.co.nz/#!uAxEhaia!SnDIMs5DSeXEMN2eBv9XpA8R0b8epDXiHAoIbXC522o Changed what you mentioned in config; have watched it skip 3 bases that meet req...sigh RE: Developing Bot - Shapas - 01-04-2015 I hope, somebody will help me write attack algorithm. After loot value meets requirements, check the TH level, and locate half/full Storage's positions. If it is TH9 or TH10, then is not god idea to attack then loot is less 150k, if more 150k, then is not god idea to attack if Storages are half/full and in the middle of the base. In VillageSearch() *** GetResources() ;Reads Resource Values If $Restart = True Then ExitLoop (2) If CompareResources() Then if _TH9() or _TH10() Then ;Find TH level if _LocateStorage1() Then ;Locate half/full storages positions If $iradAttackMode = 0 Then RE: Developing Bot - Revial - 01-04-2015 |