Closed tjorim closed 8 years ago
Alright! Excited to see this change get in. I will test tonight!
I have tried to set one collor for all foods in the same way but without success, could you have a look on this:
var original_newfood = window.newFood;
var original_newfood_string = original_newfood.toString();
var newfood_string = original_newfood_string.replace(/per_color_imgs\[e.cv/gi, 'per_color_imgs[10');
window.newFood = new Function(newfood_string.substring(
newfood_string.indexOf('{') + 1, newfood_string.lastIndexOf('}')));
@alexzeit That's already in the script somewhere.
Please add a standard "master" code
We need more approvals! @OneEyed @chancity @MattDuffin @Drflash55 @ErmiyaEskandary @Evanito @FliiFe @K00sKlust @j-c-m @clemens-tolboom
Approved (forgot otherwise I had approved it long time ago ;))
Nice work @tjorim, thanks for landing this feature! :tada:
Performance has dropped severely after this merge. Windows 10 Firefox 47 with greasemonkey
@HamishBlank Can you try with the commit right before the merge to confirm this is the issue ?
Le mer. 29 juin 2016 00:19, HamishBlank notifications@github.com a écrit :
Performance has dropped severely after this merge. Windows 10 Firefox 47 with greasemonkey
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ErmiyaEskandary/Slither.io-bot/pull/311#issuecomment-229201749, or mute the thread https://github.com/notifications/unsubscribe/AIVeIfTbedtkAegEa-mxPcgiDdLyEeZ-ks5qQZ3-gaJpZM4I8l1k .
commit 420e562 is the commit right before, and screen goes completely blank edit: except for the background
commit 0e3a1b4 the one before 420e562 performance is back to normal without issues
working fine in Google chrome 51.0.2704.103 tampermonkey windows 10, only a slight/very minimal difference between 0e3a1b4 and latest
Dang, I tested in Chrome and didn't catch this. :P
Opening issue #315 to track this.
Description
Create custom redraw() for foodglow, this modifies the standard one.
Remove the foodglow as suggested by @pllsner in #310 , the issue is also stated in #236 . Since this modifies the redraw()-function, the zoom is altered as well instead of calling an extra function on each redraw.
TESTING STAGE
Current bot (develop and master is the same):
After these commits:
I have let a few bots run overnight, all scores where put in an excel-file where I did some quick statistics. I ran 4 bots: master, develop and 2x the custom_oef branch.
Map1.xlsx <-- Here are the results!!!
Both master and develop branches have the same bot code, you can see that the results differ a lot. This is just to demonstrate that 2 running bots can have totally different scores.
Types of changes
Checklist: