Jump to content

Photo

http://hawken.herokuapp.com and ping servers

- - - - - ping server statistics

  • Please log in to reply
4 replies to this topic

#1
Anichkov3

Anichkov3

    Advanced Member

  • Members
  • PipPipPip
  • 246 posts

Hello comrades!

I want to suggest this idea.

Would you like to see on the site http://hawken.herokuapp.com ping to the server from you?

Or alternatively it would be nice to see the ip-address of the server.


Edited by Anichkov3, 02 July 2015 - 08:58 PM.

http://www.hawken.ru- ???? ??????????? ?????????? ??????? (Website of the Russian community)

http://ru.hawken.wikia.com - ??????? ????????? ?? ???? (Russian Wikipedia HAWKEN)

http://vk.com/hawken - ???????? ??????????? ?????????? ??????? ? ?? (social network VK)


#2
Call_Me_Ishmael

Call_Me_Ishmael

    Advanced Member

  • Members
  • PipPipPip
  • 1114 posts

It would require Shadeness to know the IP of each server, and a protocol and port to ping each server with (if it exists outside of an Unreal connection).

 

The ICMP ping may not be the same as the Unreal ping, as the Unreal engine has to turn the request around, and it's tickrate/event loop select() timer may not be very fine.

 

I guess what I'm saying is it may not be easily possible for Shade.


Did I say Call Me Ishmael?

 

You should call me Luna.


#3
Ashfire908

Ashfire908

    Member

  • Members
  • PipPipPip
  • 209 posts

It is impossible for the heroku app to tell you the ping between you and a server, since there's no web endpoint (afaik) to hit on the server so it can't point your browser to ping it, and I'm pretty sure you don't want to know the lag between the heroku app servers and the game servers, since it will tell you basically nothing about your connection latency to the server.

 

As for listing the IPs, the only way for the heroku app to get the IP of a server is to request a game reservation (aka "I want to join this server, can you save me a slot?") and wait for it to succeed (or timeout). Requesting a game reservation on all servers, ignoring the fact that it would be difficult (has to be a slot open and you have to do it with a user in the right mmr range, among other things), will cause nothing but issues (taking slots away from real players, causing load on the servers, possibly bugging out some of the servers, etc). While it's not impossible like the first, it's well within the realm of 'no'.

 

Sorry. :(


  • crockrocket, MomOw and Shadeness like this
Creator of ScrimBot and other community tools.
 

[kloeri] And we're done for now with all the rebooting.. except for a single server that will be rebooted when it's done pretending it's a tree.


#4
Anichkov3

Anichkov3

    Advanced Member

  • Members
  • PipPipPip
  • 246 posts

It is sad. I still do not understand how you can know the names of the servers and not to know their IP-address. It would simply specify IP-address server and the user on their own before connecting could check it from your computer.

So all the game server are dynamic and are working on "virtual servers with random IP-addresses"? And every day, all the servers are floating from one physical server to another, getting new dynamic ip-address ...

How, then, the game client is available the server in the ocean called "the Internet"? Mystic ...


http://www.hawken.ru- ???? ??????????? ?????????? ??????? (Website of the Russian community)

http://ru.hawken.wikia.com - ??????? ????????? ?? ???? (Russian Wikipedia HAWKEN)

http://vk.com/hawken - ???????? ??????????? ?????????? ??????? ? ?? (social network VK)


#5
Shadeness

Shadeness

    Advanced Member

  • Members
  • PipPipPip
  • 44 posts
The IP addresses probably don't change, but the ports probably do. I haven't monitored them enough to notice.

Doing a TCP ping on the ip is possible with JavaScript while getting around cors, but it isn't aēcurate to what you get while constantly connected.





Also tagged with one or more of these keywords: ping, server, statistics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users