1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

Pinging

Discussion in 'Development' started by Vaxrp, Oct 19, 2017.

  1. Vaxrp

    Vaxrp Witch

    Messages:
    73
    GitHub:
    Vaxrp
    Hey, Im currently working a server “ project” since im a new to this programming stuff. Yes I know I should atleast show an attemp at a code for this. I dont know even a single thing about this or if this is even possible.

    explaination:
    I want to be able to /ping and get the actual ping like if a player has 10ms to the server or 26ms to the server. Is there any way I can find this? Thanks hopefully I explained enough. Thanks
     
  2. Muqsit

    Muqsit Chicken

    Messages:
    1,548
    GitHub:
    muqsit
    jasonwynn10 likes this.
  3. Thunder33345

    Thunder33345 Moderator Staff Member

    Messages:
    2,137
    GitHub:
    Thunder33345
    simple answer: not possible unless raknet was changed
    other ways like pinging the user IP are just bad examples
    as they ware fault prone(user might opt to block ping packets)
    or inaccurate(as ping route of server -> client is not the same route as client -> server)
     
    Vaxrp and EdwardHamHam like this.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.