01-18-2015, 12:21 PM
Thread Rating:
Enhanced bot using memory reads
|
01-18-2015, 12:27 PM
A bit of progress last night:
- Clan Castle troop compositions - Collector resources (gold, elixir, DE) - Basic trap info This is a dump from a TH9 opponent in the war the clan leader started last night (great opportunity to look at TH9's for more than 2 minutes at a time!). As you can see, clan castle troops and traps are visible, despite being an enemy base. I have a good feeling about this war
01-18-2015, 12:33 PM
(01-17-2015, 09:58 PM)Greyman Wrote:(01-17-2015, 09:01 PM)madalilng Wrote: here's my computation to calculate miners/pumps this should work. Hi Madalilng, So the "res_time" parameter isn't directly readable from memory for a collector, but has to be calculated from a couple of values elsewhere in the struct and then divided by a constant. There's two separate "last collected time" and "active time this session" variables that are inputs into the equation. Other than that, your formula was perfect. There's a couple of VMT methods that expose the details, including the locations of the two variables and the constant divider. Thanks again for the information, it was incredibly useful in narrowing down the correct routines to analyze. Grey.
01-18-2015, 12:45 PM
Oops, I've broken storage capacities. Ah well, not terribly important for this particular application.
01-18-2015, 12:46 PM
good to hear that bro...
maybe i'm analyzing packets that server sends to client that's why they're not the same variables... btw can you see the loots in finding match?
01-18-2015, 01:01 PM
(01-18-2015, 12:46 PM)madalilng Wrote: good to hear that bro... Do you mean in raids? Those are not working at the moment - I get a null reference exception in my code when I try to look at an enemy base that's a potential raid. The code works for war enemies though, so I'm assuming it's something simple that I've broken. Hopefully will be able to fix it this evening after the kids go to bed.
01-18-2015, 01:09 PM
can you elaborate how to setup your method in reading memory? and how about static variables ?
01-18-2015, 01:23 PM
(01-18-2015, 01:09 PM)madalilng Wrote: can you elaborate how to setup your method in reading memory? and how about static variables ? For development, I use Cheat Engine server for Android running on the Andy emulator. CEServer isn't available from the creator as an Android x86 version, so you can find one that I've compiled here: http://greyman.org/ceserver.zip Once you're set up, let me know and I'll help you out with some additional details
01-18-2015, 01:26 PM
it will work with bluestacks?
01-18-2015, 01:28 PM
|
|
Users browsing this thread: 7 Guest(s)