The Bytecode Club
Log inJoin the club
Video Game Reverse Engineering

❗ Bot Fails when LCD turned OFF

Started by v3n0m · Feb 7, 2015

32 replies485,074 views
Feb 7, 2015#12

dinobot, could you mind explaning some more?

Feb 7, 2015#14
[22:47:43] ~~~Waiting for full army~~~
[22:48:13] Trying to locate Main Screen
[22:48:14] Waiting for Main Screen
[22:48:51] Main Screen Located
[22:48:53] Collecting Resources
[22:48:57] Training Troops...
[22:49:13] Training Troops Complete
[22:49:15] Donating Troops
[22:49:18] Donating Archers
[22:49:21] Finished Donating
[22:49:22] Time Idle: 0 hours 3 minutes 31 seconds
[22:49:22] ~~~Waiting for full army~~~
[22:49:52] Trying to locate Main Screen
[22:49:52] Main Screen Located
[22:49:54] Training Troops...
[22:50:09] Training Troops Complete
[22:50:11] Donating Troops
[22:50:14] Finished Donating
[22:50:14] Time Idle: 0 hours 4 minutes 24 seconds
[22:50:14] ~~~Waiting for full army~~~
[22:50:45] Trying to locate Main Screen
[22:50:45] Main Screen Located
[22:50:47] Training Troops...
[22:51:02] Training Troops Complete
[22:51:04] Donating Troops
[22:51:07] Finished Donating
[22:51:07] Time Idle: 0 hours 5 minutes 17 seconds
[22:51:07] ~~~Waiting for full army~~~
[22:51:37] Trying to locate Main Screen
[22:51:37] Main Screen Located
[22:51:40] Training Troops...
[22:51:41] Barrack 1 is not available
[22:51:45] Barrack 2 is not available
[22:51:48] Barrack 3 is not available
[22:51:52] Barrack 4 is not available
[22:51:53] Training Troops Complete
[22:51:56] Donating Troops
[22:51:58] Finished Donating
[22:51:58] Time Idle: 0 hours 6 minutes 8 seconds
[22:51:58] ~~~Waiting for full army~~~
[22:52:29] Trying to locate Main Screen
[22:52:29] Main Screen Located
[22:52:31] Training Troops...
[22:52:33] Barrack 1 is not available
[22:52:36] Barrack 2 is not available
[22:52:39] Barrack 3 is not available
[22:52:43] Barrack 4 is not available
[22:52:45] Training Troops Complete
[22:52:47] Donating Troops
[22:52:50] Finished Donating
[22:52:50] Time Idle: 0 hours 6 minutes 59 seconds
[22:52:50] ~~~Waiting for full army~~~
[22:53:20] Trying to locate Main Screen
[22:53:20] Main Screen Located
[22:53:22] Training Troops...
[22:53:24] Barrack 1 is not available
[22:53:27] Barrack 2 is not available
[22:53:31] Barrack 3 is not available
[22:53:34] Barrack 4 is not available
[22:53:36] Training Troops Complete
[22:53:38] Donating Troops
[22:53:41] Finished Donating
[22:53:41] Time Idle: 0 hours 7 minutes 50 seconds
[22:53:41] ~~~Waiting for full army~~~
[22:54:15] Trying to locate Main Screen
[22:54:17] Waiting for Main Screen
[22:54:17] Main Screen Located
[22:54:19] Training Troops...
[22:54:35] Training Troops Complete
[22:54:37] Donating Troops
[22:54:40] Donating Archers
[22:54:43] Finished Donating
[22:54:44] Time Idle: 0 hours 8 minutes 53 seconds
[22:54:44] ~~~Waiting for full army~~~
[22:55:14] Trying to locate Main Screen
[22:55:14] Main Screen Located
[22:55:16] Training Troops...
[22:55:31] Training Troops Complete
[22:55:33] Donating Troops
[22:55:36] Finished Donating
[22:55:37] Time Idle: 0 hours 9 minutes 46 seconds
[22:55:37] ~~~Waiting for full army~~~
[22:56:07] Trying to locate Main Screen
[22:56:07] Main Screen Located
[22:56:09] Training Troops...
[22:56:24] Training Troops Complete
[22:56:26] Donating Troops
[22:56:29] Finished Donating
[22:56:29] Time Idle: 0 hours 10 minutes 39 seconds
[22:56:29] ~~~Waiting for full army~~~
[22:56:59] Trying to locate Main Screen
[22:56:59] Main Screen Located
[22:57:02] Collecting Resources
[22:57:06] Training Troops...
[22:57:21] Training Troops Complete
[22:57:23] Donating Troops
[22:57:26] Finished Donating
[22:57:27] Time Idle: 0 hours 11 minutes 36 seconds

After the screen turns off the main screen is located and not the barracks... Even donate function seems to work...

Feb 7, 2015#15

was that the result of the method i mentioned?

Is BS on foreground or hidden? Is background mode on or off?

Very strange on your log. At ending part, the training was ok? Is that the point your turn back on your monitor?

Feb 7, 2015#16

was that the result of the method i mentioned?
-Yes

Is BS on foreground or hidden? Is background mode on or off?
-background mode on

Very strange on your log. At ending part, the training was ok? Is that the point your turn back on your monitor?
-yes that is the point I turn ON my monitor

Feb 7, 2015#17

Update:
Turning off my Monitor of Desktop PC (WIN 7 x86 / BS 0.9.1) , the Bot works perfectly fine..

Feb 7, 2015#18

yeah the bot doesn't work for me either when i turn off the laptop monitor.

Feb 7, 2015#19

The problem is _PixelSearch can't use when LCD was turned off.
Rearm traps and Barracks are using it. so in next update i will use 1 pixel detection instead of _PixelSearch
it will fix the LCD turn off problem

Thanks for your reports

Feb 8, 2015#20

Try using a PC, and turn the screen off.
using a laptop with Screen Off will make the bot can't see anything.

*this bot still Alpha :D

Got something to add?

Log in to post a reply.

Join the conversation