The Bytecode Club
Log inJoin the club
Video Game Reverse Engineering

Test Function for Background Feature

Started by Antidote · Jan 14, 2015

61 replies1,045,966 views
Jan 24, 2015#41

I can't make it work on cross version. but works on 5.4.2.2 what bot version are you guys using?

Jan 24, 2015#42

Cross version background is disable... Stated in first post

Jan 24, 2015#43

Thank You Very Much dinobot

Version 5.4.2.2 giant version working in background mode ..

YEHEY! i can surf, wacthing movie . .. etc! while using bot at coc ( background mode)

Dinobot is right cross version not working in background mode ..

Jan 24, 2015#44

🖼️

Sometimes i got an error .... when the bot meet already the base have 100k gold and elixir ..

Line 1299 ( File "C:\Users\Marvin\Desktop\COC bot v5.4.2.2 - donate + giant.au3

Local SnumGiantPerSpot = Ceiling(((($atkTroops[$Giant][1]/2)/5)/2)

Local SnumGiantPerSpot = Ceiling(((($atkTroops[^ ERROR

Error: Variable subscript badly formatted.

Jan 24, 2015#45

using this to force enable aero.
net stop uxsms
net start uxsms
save as .bat , hope this helps.
*edit ( bluestacks hidden, screen shots still finds it. )


 BLUESTACKS

BlueStacks is open and not minimized
Resolution: 860, 720

 AUTOIT

Version: 3.3.12.0
Native x32
Au3 Script

 SPECS

CPU: X64
OS: X64; WIN_7

 DESKTOP

Aero Enabled
Depth: 32
Resolution: 768, 1366
Refresh rate: 60

 FUNCTION CALL

_WinAPI_GetDC: 0x0F010B9A
_WinAPI_CreateCompatibleDC: 0x08010D66
_WinAPI_CreateCompatibleBitmap: 0x5A050D67

Jan 24, 2015#46

@Update

When i try to use giant in 5.4.2.2 giant version bot ..
The error is gone ..

Jan 25, 2015#47

Not work for me for 2 version 5.4.2.2.2 and 5.4.2.2


 BLUESTACKS

BlueStacks is open and not minimized
Resolution: 860, 720

 AUTOIT

Version: 3.3.12.0
Native x64
Au3 Script

 SPECS

CPU: X64
OS: X64; WIN_7

 DESKTOP

Aero Disabled. Please enable Aero and try again
Depth: 32
Resolution: 1200, 1920
Refresh rate: 59

 FUNCTION CALL

_WinAPI_GetDC: 0x000000000F011F00
_WinAPI_CreateCompatibleDC: 0x000000005D011F7A
_WinAPI_CreateCompatibleBitmap: 0x00000000790515A3

Jan 26, 2015#48

i've spent the last couple days figuring out what the problem is with black screenshots and i think i've more or less cleared my mind about this.

i found this to be a useful reading
http://stackoverflow.com/questions/23898877/opengl-game-screen-capture

hooking to the opengl library in bs process (hd-frontend.exe) is effective as i can get a picture of the game even if the window is minimized or in the background.

hope someone more experienced than me could profit from this to make the project go on.

EDIT: maybe this other link could be of some use
http://www.codeproject.com/Articles/5051/Various-methods-for-capturing-the-screen

Jan 29, 2015#49

I'm using 5.4.2.2.2 and I wonder whenever I use background mode, my bluestacks always says 'Preparing for app use'

Feb 2, 2015#50

why i got blackscreen on Bluestacks?
Image source


 BLUESTACKS

Version: 0.9.6.4092
BlueStacks is open and not minimized
Resolution: 860, 720

 AUTOIT

Version: 3.3.12.0
Native x64
Compiled

 SPECS

CPU: X64
OS: X64; WIN_7

 DESKTOP

Aero Disabled. Please enable Aero and try again
Depth: 32
Resolution: 768, 1366
Refresh rate: 60

 FUNCTION CALL

_WinAPI_GetDC: 0xFFFFFFFFD0011384
_WinAPI_CreateCompatibleDC: 0xFFFFFFFFBA011609
_WinAPI_CreateCompatibleBitmap: 0xFFFFFFFFDC051634

anyone can help?

Got something to add?

Log in to post a reply.

Join the conversation