The Bytecode Club
Developing Bot - Printable Version

+- The Bytecode Club (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)



RE: Developing Bot - t0per666 - 12-31-2014

cant download the bot on tinyupload can u please put sir an alternative link thank you


RE: Developing Bot - AtoZ - 12-31-2014




RE: Developing Bot - dinobot - 12-31-2014

(12-31-2014, 04:16 AM)Kaz Wrote:  Hey all,
I was waiting for GKevinOD's release before I started working on it.
I've added a few things:
Pre-Alpha v005_1 Update Log (Kaz):
- Able to save position of GUI window
- Added Random Factor to be able to randomize the delays (avoid bot detection)
- Able to log now - under /logs (mainly for debug)

Link: http://s000.tinyupload.com/?file_id=98797944845128940889
Source code and 32/64 bit versions are also in this link.

Nice work Kaz,

Nice i know why i dont have those restart problem... Coz I did have but the restart went well and i didnt see the loop restart. The log really helps.

And also the save last position of GUI is good. Ask if you can also give the code to make bluestacks windows to move to last known position.


RE: Developing Bot - Kaz - 12-31-2014

(12-31-2014, 01:08 PM)dinobot Wrote:  
(12-31-2014, 04:16 AM)Kaz Wrote:  Hey all,
I was waiting for GKevinOD's release before I started working on it.
I've added a few things:
Pre-Alpha v005_1 Update Log (Kaz):
- Able to save position of GUI window
- Added Random Factor to be able to randomize the delays (avoid bot detection)
- Able to log now - under /logs (mainly for debug)

Link: http://s000.tinyupload.com/?file_id=98797944845128940889
Source code and 32/64 bit versions are also in this link.

Nice work Kaz,

Nice i know why i dont have those restart problem... Coz I did have but the restart went well and i didnt see the loop restart. The log really helps.

And also the save last position of GUI is good. Ask if you can also give the code to make bluestacks windows to move to last known position.

Yup I can do that! I'll add it to my list of things to do!


RE: Developing Bot - GkevinOD - 12-31-2014

Made some bug fixes and fixed the checkMainScreen function.

Pre-Alpha v005.2 Update Log (GkevinOD):
- Added Kaz's functions
- Fixed checkMainScreen function
- Added Two and Three sides attack in Barch Algorithm
- Increased speed in troop drop for more productivity
- Added a clear textbox once in a while

Compiled x32 : https://mega.co.nz/#!2Z5hkKDb!avTrxMrkl8P34lLA4LbC3pqoFOnwlp8u92Y6ncQmY2Q

Compiled x64: https://mega.co.nz/#!ndRSxQ7L!VS7KXY3mYcpCe0JQ8qt88dsGxFx_SK8ob6f8k14yAZo

Script v005.2: https://mega.co.nz/#!rFJiBJCa!AMvKkDEcF4rWQkdlCo1SG0sM6oeK_h5SUs7Pef_G0_o


RE: Developing Bot - cryzies - 12-31-2014

(12-31-2014, 02:22 PM)GkevinOD Wrote:  Made some bug fixes and fixed the checkMainScreen function.

Pre-Alpha v005.2 Update Log (GkevinOD):
- Added Kaz's functions
- Fixed checkMainScreen function
- Added Two and Three sides attack in Barch Algorithm
- Increased speed in troop drop for more productivity
- Added a clear textbox once in a while

Compiled x32 : https://mega.co.nz/#!2Z5hkKDb!avTrxMrkl8P34lLA4LbC3pqoFOnwlp8u92Y6ncQmY2Q

Compiled x64: https://mega.co.nz/#!ndRSxQ7L!VS7KXY3mYcpCe0JQ8qt88dsGxFx_SK8ob6f8k14yAZo

Script v005.2: https://mega.co.nz/#!rFJiBJCa!AMvKkDEcF4rWQkdlCo1SG0sM6oeK_h5SUs7Pef_G0_o

Thanks mate, reading through your script to see if I can help with some stuff. What resolution is required for bluestacks. After setting the barracks location, it can make troops on the first barrack but clicks in the middle of the menu and misses the other four barracks. I'm assuming this is a resolution error. What are you working on or would like others to work on. I'm familiar with bot making with ImageSearch, PixelSearch, and getPixelColor.

Cheers,
Cryzies


RE: Developing Bot - Layout - 12-31-2014

(12-31-2014, 02:50 PM)cryzies Wrote:  Thanks mate, reading through your script to see if I can help with some stuff. What resolution is required for bluestacks. After setting the barracks location, it can make troops on the first barrack but clicks in the middle of the menu and misses the other four barracks. I'm assuming this is a resolution error. What are you working on or would like others to work on. I'm familiar with bot making with ImageSearch, PixelSearch, and getPixelColor.

Cheers,
Cryzies

The bot uses 860x720 for the resolution


RE: Developing Bot - vahnshark - 12-31-2014




RE: Developing Bot - cryzies - 12-31-2014

Thanks guys, when I run the .reg file Antidote uploaded on his host site and run BlueStacks. I still get 866, 745 as a resolution according to AutoIt Window Info... Any tips?

Edit:
Got it worked out, seems like the search was clicking on a nearby wall to the left instead. However got this bug after it started searching:
[Image: Q85niii.jpg]


RE: Developing Bot - Layout - 12-31-2014

(12-31-2014, 04:16 AM)Kaz Wrote:  Hey all,
I was waiting for GKevinOD's release before I started working on it.
I've added a few things:
Pre-Alpha v005_1 Update Log (Kaz):
- Able to save position of GUI window
- Added Random Factor to be able to randomize the delays (avoid bot detection)
- Able to log now - under /logs (mainly for debug)

Link: http://s000.tinyupload.com/?file_id=98797944845128940889
Source code and 32/64 bit versions are also in this link.

Hey Kaz/everyone. How do we change the default position of the GUI window? I've been running BS on my second monitor so I can watch videos on the primary, and right now the bot is moving it to what I guess is (0,0) on my main monitor. Do we need to change within the code, or am I missing something obvious?