RealDebugMonkey / ZeachCobbler

Custom Agario modifications
56 stars 51 forks source link

new grazer suicides #36

Open mrblah1 opened 9 years ago

mrblah1 commented 9 years ago

I've noticed over the past few days the new grazer just seems to suicide into larger blobs for no apparent reason. How can I switch back to the old grazer?

bkhax commented 9 years ago

I agree. I've noticed this behavior as well.

It seems to target grazing/next item to eat over evasion of a threat... it seems to try and go through a threat to get to the next thing to eat. Obviously, that doesn't go so well. :-) It seems like eating has too much weight...

bkhax commented 9 years ago

I see it also... "bounce/jitter" between two opposing directions/items to eat -- it creates a hesitation that makes it vulnerable. Perhaps don't retarget when a threat is near, but prioritize evasion....

Maybe add custom values for us to tweak the weight it gives to evading vs. eating/grazing.

addario-br commented 9 years ago

Current suicide rate / fail rate is off the charts. The bot has become nothing but a good set of extra perks like the colour coding or the split radius marker as the actual grazer is currently useless.

RealDebugMonkey commented 9 years ago

@addario-br Are you saying it's gotten worse? Aside from the multi-blob thing (which i quickly made off by default), nothing has changed.

But the grazer's always been intended as a simple player aid anyway ... if you're interested in a good bot i definitely recommend Apostolique's bot or GamerLio's bot

https://github.com/Apostolique/Agar.io-bot https://github.com/heyitsleo/agar.io-bot

addario-br commented 9 years ago

At the time the multi-blob thing was added something else must have changes. From pure anecdotal evidence I mean, I'm not running statistics on this, but I have had multiple instances of leaving the bot alone with what was called the "new grazer" and it made the top 10. Currently my success rate in making the top10 with the grazer is zero, to be honest it rarely survives more than a few minutes let alone thrive!

I've played around with Apostolique's implementation but I found your grazer to be more effective, especially as it had less of a tendency of running after smaller cells, just wasting time, and I even suggested some changes to Apostolique in order to improve the efficiency of his scrip.

Thanks for the reply anyways :)

ghost commented 9 years ago

The new grazer made me in top 4 players in europe server. But sometimes randomly stops movement. I have multiblob enabled

addario-br commented 9 years ago

@PepinCZ that might be but I would suspect it was a case of great luck and not real method.

I've just tried the bot again after noticing it had been updated (or at least so says tempermonkey). Anyways... The bot continues to suicide and I think I pinpointed the behavior. It happens when the bot completely ignores a large cell nearby as that is perceived as "low risk" and it simply tries to go "through" the cell to reach some food at the other end thus suiciding.

There was a point where the grazer behavior shifted and feels like the the threat level of enemy cells was rebalance but I believe there is either a bug in there or the rebalancing effectively made cells many times larger than you to be completely ignored by the bot who then tries to go through them.

EDIT: Nevermind... I finally figured it out! As I've always had the grazer lines turned off I could not notice that the hybrid mode being enabled prevents you from switching to the new grazer. I was pressing H (or whatever the key used to be to switch between them) and it said "New" on the top left-corner but the actual grazer being used was the OLD one that has a massive tendency to suicide!

RealDebugMonkey commented 9 years ago

The main reason for hybrid even existing is that though it isn't as smart, the old grazer is more aggressive as far as pursuing food. I'd recommend just lowering the cut-over number to 150 or 200