Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Random Screen Freezing #67

Open
btracz opened this issue Oct 31, 2015 · 42 comments
Open

Random Screen Freezing #67

btracz opened this issue Oct 31, 2015 · 42 comments

Comments

@btracz
Copy link

btracz commented Oct 31, 2015

Fisrt, thank you for your powerful mod.

Sometimes the interface freezes, most probably when splitting or exploding on a virus.
Only refreshing the page solves the issue.

To help you debug, I've noticed the following error in the javascript console :
Uncaught IndexSizeError: Failed to execute 'arc' on 'CanvasRenderingContext2D': The radius provided (-324.016) is negative

Has anyone experienced this behaviour lately ? It's very recent to me.

@sofiadif
Copy link

Have the very same problem.. Hope an update comes soon..
Probably duo to the new agario update..

Once the game freezes, i can stil see myself moving/splitting on the mini-map until i die

@ghost
Copy link

ghost commented Oct 31, 2015

Finaly my screen gets totally stuck... Its some minimap error

@ghost
Copy link

ghost commented Oct 31, 2015

Here you got material to work with http://pastebin.com/Q6kHtqzq
At the end of that file are errors catched in console with lines.

@vmagick59
Copy link

hello
Have the same issue, freeze and still moving on the minimap !
i ve noticed too freezing (without moving on the minimap this time) when name of players are chinese characters.
Hope it can help to fix it

Thanks for this mod its the best !

@ghost
Copy link

ghost commented Nov 2, 2015

@vmagick59 ye it can possible be bad manipulation with some unicode characters... bud I now cant access my main PC so I cant really help.. but here http://pastebin.com/Q6kHtqzq u have material to work with, if you want to try to fix this. At end of that file are error from console with lines.

@sofiadif
Copy link

sofiadif commented Nov 2, 2015

Where are the crew ? :)
Agario sucks without this mod, hope it won't be the end of this..

@mrblah1
Copy link

mrblah1 commented Nov 3, 2015

Having the same issue, doesn't seem to be related to splitting but just at random times the overall screen just freezes and the teams leaderboard disappears but you can still see the bot moving around on the minimap. I also noticed that the Apos bot experiences something similar so it appears to be a change in the agar servers

@TheCranky
Copy link

Same problem here started about 2-3 days ago only way I managed to temporarily fix it while in game is to hold the f11 key. It works but its painful to watch

@mrblah1
Copy link

mrblah1 commented Nov 5, 2015

Ok so I know very little about programming but found a workaround that just disables the mini-map which seems to fix the issue:

Go into the tapermonkey dashboard and click on zeach cobbler which brings up the code, scroll down just a little until you see "var miniMapCtx" and on the 2nd line where it says ".appendTo(jQuery('body'))" and change the word "body" to "canvas".

I'm sure there's a better way to do it but that at least disables the mini-map and seems to fix the freezing issues.

@ghost
Copy link

ghost commented Nov 5, 2015

@mrblah1 lol you dont disabling it, you just applying it to "canvas"...

@sofiadif
Copy link

sofiadif commented Nov 5, 2015

@mrblah1: Not working..

Sometimes you get lucky, being able to play for an hour.. But most times just after 10min or less

@ghost
Copy link

ghost commented Nov 5, 2015

@sofiadif if you want to play without this shit bug just comment line in code that executing the minimap.. apply it to "canvas" isnt really good fix

@sofiadif
Copy link

sofiadif commented Nov 5, 2015

@PepinCZ: I can live without the minimap, could you explain a bit more?
Maybe write the text and tell me where to paste/change it ? :)

@kaue
Copy link

kaue commented Nov 5, 2015

Just submit a PR with a temp fix until somebody fix it the right way

@ghost
Copy link

ghost commented Nov 5, 2015

@kauegimenes I already submitted few things but I think @RealDebugMonkey isnt there...

@ghost
Copy link

ghost commented Nov 5, 2015

If you want to temporarily fix the issue, follow this steps: (this will actually remove minimap - that causing the error)

  1. Open TamperMonkey's controll panel
  2. Edit the Zeach Cobbler script
  3. Go to line 1028, there will be drawMiniMap();
  4. Just add comment before it, so it will look like this: //drawMiniMap();
  5. Save it
  6. Done

Or if you are lazy, just install this modified version of the script https://github.com/PepinCZ/ZeachCobbler/raw/minimap_fix/ZeachCobbler.user.js (it also has some changes that are in my pull request...)

@kaue
Copy link

kaue commented Nov 5, 2015

@PepinCZ maybe @RealDebugMonkey should give permission for you to merge PRs or we could create a new fork. Almost a month to merge is sad :(

@ghost
Copy link

ghost commented Nov 5, 2015

@kauegimenes yep, thats good idea! Also please, give me report if my temporarily fix working.

@mrblah1
Copy link

mrblah1 commented Nov 5, 2015

Awesome! Thanks Pepin, I'll try it out tonight and let you know how it works.

@kaue
Copy link

kaue commented Nov 5, 2015

@PepinCZ If you want to move forward with a new fork, i will follow you. Just change the name of the bot to prevent conflict.
I will try your version this weekend.
Cheers

@ghost
Copy link

ghost commented Nov 6, 2015

@kauegimenes I dont know new fork is good idea, because a lot of people will use this "outdated" repository.

@sofiadif
Copy link

sofiadif commented Nov 6, 2015

@PepinCZ: Thank you, Can confirm that it works now with minimap disabled :)

@kaue
Copy link

kaue commented Nov 6, 2015

@PepinCZ Yeah, but since it's broken. It's a possible solution.

@ghost
Copy link

ghost commented Nov 6, 2015

Ok, I think I finaly fixed it, I just need few mins to test it.

@ghost
Copy link

ghost commented Nov 6, 2015

So I finaly managed to fix it... It's in pull request, but instead of waiting for @RealDebugMonkey to accept PR use my fork 😈 https://github.com/PepinCZ/ZeachCobbler/raw/master/ZeachCobbler.user.js
Also please test it, and let me know if it's working! (I tested it cca. hour, but who knows 😄)

@Aers20
Copy link

Aers20 commented Nov 6, 2015

@PepinCZ I tried your raw file, but now it wont connect any servers and the moment when i disable it, i can join servers again, just wanted to let you know

@sofiadif
Copy link

sofiadif commented Nov 6, 2015

@PepinCZ: Also tried your raw file, 2 x 45minutes.. Worked awesome for me :)

@kaue
Copy link

kaue commented Nov 6, 2015

@PepinCZ Awesome! so the problem was with the mapLeft and mapTop?

I think using Math.abs is still a temp fix, anyone noticed any strange stuff with the minimap after this change?

@ghost
Copy link

ghost commented Nov 6, 2015

@kauegimenes no, its it does not matter if its mapLeft and MapTop or MapRight and mapBottom... the problem was blob.size / minimapScale goin into negative value, so Math.abs solved the issue. And I dont think its temp fix, because that the minimap uses to not fall into negative value.

@ghost
Copy link

ghost commented Nov 6, 2015

@Aers20 I think that was pure accident.. its not possible. I tested it.

@mrblah1
Copy link

mrblah1 commented Nov 8, 2015

Anybody else getting the awwww snap crash error in chrome now?

@TheCranky
Copy link

Yeah I sometimes get it it might be because of not enough ram tho

@ghost
Copy link

ghost commented Nov 8, 2015

@mrblah1 hmm, thats weird.. please tell me your system information (cpu, ram...)

@mrblah1
Copy link

mrblah1 commented Nov 9, 2015

Corei5 3.5Ghz and 16GB of ram with win7.

@mrblah1
Copy link

mrblah1 commented Nov 9, 2015

I'm also experiencing another glitch where a split blob just gets stuck and can't move anymore, my other blobs can move but that one stays put forever, nobody else can eat it either. Anybody else experiencing this?

@ghost
Copy link

ghost commented Nov 9, 2015

@mrblah1 ok, thats weird... i not getting any of thsi bugs...

@kaue
Copy link

kaue commented Nov 10, 2015

@mrblah1 Can you confirm this only happens with ZeachCobbler bot?

@sofiadif
Copy link

I'm also having the issue as @mrblah1
I haven't tried playing without ZC, but also never seen anyone having the bug on /r/agario.

So my guess - maybe its ZC but i can't be sure. It happens randomly a few times..

I've also seen other smaller blobs being "afk", but won't be eaten. And I'm not sure other players can see them

My blob never disappears from the screen, if its stuck in a corner, and i'll go to the other corner, i would see the whole map
Here's a video: https://www.youtube.com/watch?v=EOXjCWM9KlA

@ghost
Copy link

ghost commented Nov 12, 2015

@sofiadif @mrblah1 When I testing many times I have issue that some player(s) on server get stucked and I cant eat them and they are stuck in the minimap forever.... This also happened to me with food pallets. But never when I split up. Hey Its a weird glitch. Anyone please help, because i dont know what is this.

@jgilpin
Copy link

jgilpin commented Nov 13, 2015

The problem is DebugMonkey didn't document the protocol, so when the
protocol changes, it's impossible to easily decipher which bytes are
new/changed even for an experienced programmer.

I'm not willing to reverse the agar.io protocol, so it's unfortunate that I
can't help.

On Thu, Nov 12, 2015 at 6:18 PM, Pepin [email protected] wrote:

@sofiadif https://github.com/sofiadif @mrblah1
https://github.com/mrblah1 When I testing many times I have issue that
some player(s) on server get stucked and I cant eat them and they are stuck
in the minimap forever.... This also happened to me with food pallets. But
never when I split up. Hey Its a weird glitch. Anyone please help, because
i dont know what is this.


Reply to this email directly or view it on GitHub
#67 (comment)
.

@ghost
Copy link

ghost commented Nov 17, 2015

I have the same issue so I open another bug copy/pasting @sofiadif comment with the self explanatory video.

@Basharb
Copy link

Basharb commented May 20, 2016

When i open agar.io it freezes it's like stuck

Check this >> http://prnt.sc/b6ggvg

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants