The Bytecode Club
Log inJoin the club
Video Game Reverse Engineering

🖼️ Enhanced bot using memory reads

Started by Greyman · Jan 16, 2015

85 replies1,439,089 views
Feb 20, 2015#81

Before you head down this route. Please note the UPKEEP of such an approach will be large. SC could change the offsets and someone will have to update the bot all over.

I prefer the bot without using memory offsets.

Feb 20, 2015#82

I set up everything Andy - Root - CEserver - connection
I can scan and find my gold, elixer,... values

But addresses change after every start. What is normal. And i have to rescan it always.

How can I use these numbers:
public enum ClashBuildingType
{
ArmyCamp = 1000000,
TownHall = 1000001,
ElixirCollector = 1000002,
..
public enum ClashTroopType
{
Barbarian = 4000000,
Archer = 4000001,
Goblin = 4000002,
....

@Greyman http://www.greyman.org/CoC5.png Where can we view the source code? (Github?)

Thanks

Feb 20, 2015#83

...

I have not used CE Server, so I don't know exactly how it would work but until you find the pointers the memory values will be of no use to you.

Feb 22, 2015#84

How can I use these numbers:
public enum ClashBuildingType
{
ArmyCamp = 1000000,
TownHall = 1000001,
ElixirCollector = 1000002,
..
public enum ClashTroopType
{
Barbarian = 4000000,
Archer = 4000001,
Goblin = 4000002,
....

@Greyman http://www.greyman.org/CoC5.png Where can we view the source code? (Github?)

Thanks

I would like to have the code too.

Mar 2, 2015#85

After a week, no one has responded )-:

How do I find the base pointers (Buildings Array, Traps Array, TH Base) ?

And how can I use these numbers?
public enum ClashBuildingType
{
ArmyCamp = 1000000,
TownHall = 1000001,
ElixirCollector = 1000002,
..

Thanks

Mar 3, 2015#86

After a week, no one has responded )-:

How do I find the base pointers (Buildings Array, Traps Array, TH Base) ?

And how can I use these numbers?
public enum ClashBuildingType
{
ArmyCamp = 1000000,
TownHall = 1000001,
ElixirCollector = 1000002,
..

Thanks
https://the.bytecode.club/images/icons/sad.gif

Unfortunately, releasing the code publicly has the potential for the game company to analyze it and come up with ways to defeat how it works. I'll continue to help people who put in the effort and get in touch, as several could attest to, but the code itself stays closed for now.

Got something to add?

Log in to post a reply.

Join the conversation