The Bytecode Club
Log inJoin the club
Video Game Reverse Engineering

[BUG] v5.5.1 Variable used without being declared

Started by tro69 · Feb 6, 2015

20 replies330,758 views
Feb 6, 2015#11

Ok... I am able to reproduce that error...

Please move your mouse away from BS windows and try again....

Feb 6, 2015#12

dinobot, do what you said, still getting this error, added those variables in that file and mouse is not over the bs window, still getting error.

Feb 6, 2015#13

Was gonna post new thread. But seems u got the exact same problem :p
This stuff:

------------------------
     BLUESTACKS
------------------------
Version: 0.9.6.4092
BlueStacks is open and not minimized
Resolution: 860, 720
------------------------
     AUTOIT
------------------------
Version: 3.3.12.0
Native x32
Au3 Script
------------------------
     SPECS
------------------------
CPU: X64
OS: X86; WIN_VISTA
------------------------
     DESKTOP
------------------------
Aero Disabled. Please enable Aero and try again
Depth: 32
Resolution: 1080, 1920
Refresh rate: 60
------------------------
     FUNCTION CALL
------------------------
_WinAPI_GetDC: 0x48010674
_WinAPI_CreateCompatibleDC: 0x100111EB
_WinAPI_CreateCompatibleBitmap: 0x0D05119C

Found a couple big problems within 5 minutes of playing with this.

B.A.G.G WB mode. Does not set up troops sensibly at all. Builds 8 giants in 1 barracks, 4 wbs in another, a few goblins, in the next, and then a bunch of barbs in the last. Doesn't even train any archers.
Suggestion: make it set up troops like LF robot. Calculate the total # of each troop needed, divide by 4 and add that many to each barracks.

Real problem: I get the error "Line 24223 (File "C:\ ... \COC Bot.exe") Error: Variable used without being declared"

This happens every single time.

It runs through all the collecting, training, etc. Then goes back to the barracks and crashes.

Anyways, heres some useful information,
I get this AutoIT Error:

Line 3 (File "C:\ ... \COC-Bot-5.5.1\COCBot\functions\Read Text\getOther.au3"):

Func getOther($x_start, $y_start, $type)
^ ERROR

Error: Variable used without being declared.

Feb 6, 2015#14

I'm having the exact same problem as above...

Feb 6, 2015#15

Anyways, heres some useful information,
I get this AutoIT Error:

Line 3 (File "C:\ ... \COC-Bot-5.5.1\COCBot\functions\Read Text\getOther.au3"):

Func getOther($x_start, $y_start, $type)
^ ERROR

Error: Variable used without being declared.

Me too.

Feb 6, 2015#16

the same error for me too

Feb 7, 2015#17

i got the same error line 24223 error: variable used without being declared


AutoIt Error

Line 24223 (File "C:\Users\OaT\Desktop\cbot\COC-Bot-5.5.1\COC Bot.exe"):

Error: Variable used without being declared.

OK

once barracks are full it gives that error.

Also sometimes when searching it misses the next button and initiates a battle and the bot gets stucks thinking its still searching

thank you for the amazing work!

Feb 7, 2015#19

Is this bug fixed in 5.5.1.1?

Feb 7, 2015#20

ye its fixed, iam running the 5.5.1.1 version for 2 hours, no errors yet.

Got something to add?

Log in to post a reply.

Join the conversation