Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - gaaloul

Pages: [1]
1
Suggestions / Ping Checker.
« on: November 13, 2013, 09:43:06 am »
Hey guys for any of you who don't know what this is check this video
(Not made yet)

Go on skype Luke and i'll explain :D

Code: [Select]
@ECHO OFF
@setlocal enableextensions enabledelayedexpansion
cls


ECHO North America...(NA)
echo 66.150.148.0/24
echo 64.7.194.0/24
echo 192.64.170.0/24
echo.
ECHO Europe-West.....(EUW)
echo 95.172.65.0/24
echo 64.7.194.0/24
echo.
ECHO Europe-Nordic...(EUN)
echo 95.172.65.0/24
echo 66.150.148.0/24
echo 64.7.194.0/24
echo.

:end
SET /P serv=Please enter the server you want to test:
IF "%serv%"=="NA" GOTO NA
IF "%serv%"=="EUW" GOTO EUW
IF "%serv%"=="EUN" GOTO EUN
IF "%serv%"=="" GOTO Error


::did not choose correct server
:Error
ECHO You did not enter a proper server!
goto end


::North america
:NA
ECHO You chose the North America Server ping test.

set /p "=Checking 66.150.148.1 .... " <nul
for /f "delims=" %%a in ('ping -n 15 66.150.148.1') do @set foobar=%%a
for %%a in (%foobar%) do SET avgms=%%a
echo %avgms%

set /p "=Checking 64.7.194.1 ...... " <nul
for /f "delims=" %%a in ('ping -n 15 64.7.194.1') do @set foobar=%%a
for %%a in (%foobar%) do SET avgms=%%a
echo %avgms%

set /p "=Checking 192.64.170.1 .... " <nul
for /f "delims=" %%a in ('ping -n 15 192.64.170.1') do @set foobar=%%a
for %%a in (%foobar%) do SET avgms=%%a
echo %avgms%
goto end


::Europe-West
:EUW
ECHO You chose the Europe West Server ping test.

set /p "=Checking 95.172.65.1 ..... " <nul
for /f "delims=" %%a in ('ping -n 15 95.172.65.1') do @set foobar=%%a
for %%a in (%foobar%) do SET avgms=%%a
echo %avgms%

set /p "=Checking 64.7.194.1 ...... " <nul
for /f "delims=" %%a in ('ping -n 15 64.7.194.1') do @set foobar=%%a
for %%a in (%foobar%) do SET avgms=%%a
echo %avgms%
goto end


::Europe-North
:EUN
ECHO You chose the Europe North Server ping test.

set /p "=Checking 95.172.65.1 ..... " <nul
for /f "delims=" %%a in ('ping -n 15 95.172.65.1') do @set foobar=%%a
for %%a in (%foobar%) do SET avgms=%%a
echo %avgms%

set /p "=Checking 66.150.148.1 .... " <nul
for /f "delims=" %%a in ('ping -n 15 66.150.148.1') do @set foobar=%%a
for %%a in (%foobar%) do SET avgms=%%a
echo %avgms%

set /p "=Checking 64.7.194.1 ...... " <nul
for /f "delims=" %%a in ('ping -n 15 64.7.194.1') do @set foobar=%%a
for %%a in (%foobar%) do SET avgms=%%a
echo %avgms%
goto end

Pages: [1]