Posts: 278
Threads: 6
Joined: Dec 2014
By the way, more than 7 hrs on the bot restarter on dead base search.... Going strong.... It went thru the 6th and I got hit and it restart successfully and continue...
Also... Revial mentioned the sleep to reduce cpu... It works too...
https://the.bytecode.club/showthread.php?tid=259
Another question in mind, why _sleep func also helping to check for out of sync? Isn't it a redundant process since checkMainScreen already doing the job?
Posts: 61
Threads: 2
Joined: Dec 2014
Reputation:
4
Nice! This is very promising! Thanks for the update, Dinobot.
I thought of doing the stop start yesterday but I had no idea how to go about it but glad to see it working!
I am not at home at the moment but are you referring to the sleep that I just added in checkmainmenu? I added it because I noticed that after 6 hours when it tries to reconnect, it does it nonstop without any pause in between. This is a really a non-human behaviour, so decided to put a sleep.
Posts: 278
Threads: 6
Joined: Dec 2014
Not in checkmainmenu but the func _sleep itself... Notice that other than random factor add in, it also has function of checking for out of sync. And as we have so many _sleep func along the way, wouldn't that be taxing for the system to take?
Posts: 61
Threads: 2
Joined: Dec 2014
Reputation:
4
Identified the memory leak, it seems very likely it is coming from func _PixelSearch.
I ran 5.4 (without any modification) and noticed the memory leaks are happening too on me.
I'll talk to GkevinOD.
Posts: 61
Threads: 2
Joined: Dec 2014
Reputation:
4
Uploaded 2015-01-07_COC Bot v5.3.5.zip on the first post.
Reverted back to 5.3.4 by removing all of the 5.4 functions for the time being until sort out the whole memory leak issue.
Also changed some of the timings. Such as collect() will happen after 5 trainings to avoid collecting for no reason. Next release will include the stop/start as a workaround for the hang issue.
Posts: 68
Threads: 4
Joined: Dec 2014
Reputation:
0
01-08-2015, 11:52 AM
(This post was last modified: 01-08-2015, 12:23 PM by k3iroll.)
Kaz,
Just wanna let you know that the collect function in 5.3.4 by Antidote is working very well for me. In the codes, Antidote disabled it, but enabled it and have been using it for several days now, it's good.
That collect codes requires no locating and it only collect when there is a resource balloon popup over the collector ... neat.
Just letting you know, in case you are interested to take a look at the codes.