Coder Social home page Coder Social logo

Comments (4)

gorisanson avatar gorisanson commented on May 19, 2024 1

@jakesabathia2
Maybe the physical distance between you and the peer connected with you would be the reason. Maybe you live in Seattle, USA. But, currently, most users in the quick match mode live in South Korea. I'm considering to divide users by their location. But, the number of users outside South Korea are very few, so, I think users outside South Korea would not find a peer near them in the quick match mode if they are divided by their location. So, currently, I'm sorry about that, but, I think you can play the game without lag only with one of your friends who live near you.

from pikachu-volleyball-p2p-online.

jakesabathia2 avatar jakesabathia2 commented on May 19, 2024

@gorisanson
Thanks for replying.
But I found that when the game begin (by inviting people to my room), it goes pretty smooth on both sides, even though I'm at the US and my friend is in Taiwan
However, I observed that after the middle of the game (says 7 points),
it becomes super lag on my side.
So I'm wondering if it is a bug?

from pikachu-volleyball-p2p-online.

gorisanson avatar gorisanson commented on May 19, 2024

@jakesabathia2

Thank you for detailed explanation!

How high is the average ping value displayed before the game starts when you play with your friend in Taiwan? About half of the value would be input lag. And had you and your friend connected to the internet via Ethernet, or via WiFi? (As you will probably be aware, Ethernet is more reliable for constant packet deliveries than WiFi. Since WiFi is more susceptible to interference.)

Speaking of my experience, when I played the game with one of my friends in US (I live in South Korea), the average ping value was about 180ms. There's some input lag (maybe about 90ms) and it feels quite laggy, but the game itself was playable. It's when I connected to the internet via Ethernet, and my friend WiFi.

And when both I and my friend had connected to the internet via WiFi, the ping value had been higher than 180ms, and the game was almost impossible to be played maybe since jitter — the rate at which ping changes over a period of time: the more inconsistent the packet delivery times, the higher the jitter — was high.

You can see the ping value list logged in console in developer tool (you can open it by pressing F12 in Chrome) like below:

Screen Shot 2020-07-01 at 11 22 46 AM

(On the image above, the pings are 9, 7, 7, 7, 6 on five measurements, so the average is 7.2 ms.)

Could you capture an image like this when you play with your friend? Then, we can see how much the jitter is.

from pikachu-volleyball-p2p-online.

gorisanson avatar gorisanson commented on May 19, 2024

However, I observed that after the middle of the game (says 7 points),
it becomes super lag on my side.
So I'm wondering if it is a bug?

I can't figure out the exact reason, but sometimes the p2p connection can become unstable in the middle of playing the game. Does every game you play become laggy in the middle of playing? Or, just some of the games becomes laggy? And could you tell me what kind of lag you talk about? Is it input lag?

from pikachu-volleyball-p2p-online.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.