xTheEc0

LoL Server Ping Checker.bat

Sep 17th, 2016
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 1.25 KB | None | 0 0
  1. :start
  2. @ECHO off
  3. REM League of Legends Ping tester edited by xTheEc0. Original code from PlanetSide 2 Ping Tester by Sh4rkill3rSG
  4. REM IPs copied from https://www.reddit.com/r/leagueoflegends/comments/4efy17/how_to_check_your_ping_without_getting_into_the/
  5. REM which were provided by RIOT Laslow21
  6. ECHO - LoL PING TESTER by xTheEc0 v0.1337
  7. ECHO - IPs copied from https://www.reddit.com/r/leagueoflegends/4efy17/
  8. ECHO ======================================
  9. CALL:pingServer 104.160.141.3
  10. ECHO - EUW: %ms%
  11. CALL:pingServer 104.160.142.3
  12. ECHO - EUNE:%ms%
  13. CALL:pingServer 104.160.131.3
  14. ECHO - NA:  %ms%
  15. CALL:pingServer 104.160.156.1
  16. ECHO - OCE: %ms%
  17. CALL:pingServer 104.160.136.3
  18. ECHO - LAN: %ms%
  19. CALL:pingServer 104.160.152.3
  20. ECHO - BR:  %ms%
  21. ECHO ======================================
  22. ECHO.
  23. ECHO - The listed IPs are of one among the servers used in a cluster.
  24. ECHO - Which is enough to approximately determine the ping.
  25. ECHO.
  26. ECHO  RIOT has ICMP protection so pings may show higher than it would be in game.
  27. ECHO  This tool is to give general idea. Your ingame ping should be +-10ms what is shown here.
  28.  
  29. timeout 10
  30. cls
  31. goto Start
  32.  
  33. :pingServer
  34. SET ms=Error
  35. FOR /F "tokens=4 delims==" %%i IN ('ping.exe -n 1 %1 ^| FIND "ms"') DO SET ms=%%i
  36. GOTO:EOF
Add Comment
Please, Sign In to add comment