owenashurst / agar.io-clone

Agar.io clone written with Socket.IO and HTML5 canvas
MIT License
2.88k stars 1.12k forks source link

Player freezes a lot #482

Closed Konzt closed 1 year ago

Konzt commented 7 years ago

Hi. i have published game but it freezes a lot, does any one have any idea why.

geopi commented 7 years ago

link of the server ? might be related with the bandwith usage .

if you use a domestic internet network you should do a real deploy on a server like heroku

Konzt commented 7 years ago

Thx for the replay. The link is www.targ.io . Player freezes only on chrome, firefox,opera but not in internet explorer. I did look in network in browser developer tools and saw a lot of connection on chrome, firefox and not stopping. I am using windows server iis 8.5

geopi commented 7 years ago

indeed it lags (i use chrome). Did you edit the code and which branch did you use ? It looks like it is client related (app.js) unless you edited the rate at which the server sends visible entities to the client.

try a deploy in heroku, its fast, simple and free, just to have a second view .

noahcoetsee commented 7 years ago

I just tested using Chrome. No lag here. I think you all are going bonkers ;)

LOL. Maybe it's your Chrome version. MAKE SURE IT IS UP TO DATE!

valonymeri commented 7 years ago

Nahh i changed the server thats why there is no lag now