Skip to content

Commit

Permalink
First commit
Browse files Browse the repository at this point in the history
Added Dota2ServerPing bat file.
  • Loading branch information
MrSunshyne committed May 21, 2013
0 parents commit 0c1cd07
Show file tree
Hide file tree
Showing 4 changed files with 356 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Auto detect text files and perform LF normalization
* text=auto

# Custom for Visual Studio
*.cs diff=csharp
*.sln merge=union
*.csproj merge=union
*.vbproj merge=union
*.fsproj merge=union
*.dbproj merge=union

# Standard to msysgit
*.doc diff=astextplain
*.DOC diff=astextplain
*.docx diff=astextplain
*.DOCX diff=astextplain
*.dot diff=astextplain
*.DOT diff=astextplain
*.pdf diff=astextplain
*.PDF diff=astextplain
*.rtf diff=astextplain
*.RTF diff=astextplain
215 changes: 215 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,215 @@
#################
## Eclipse
#################

*.pydevproject
.project
.metadata
bin/
tmp/
*.tmp
*.bak
*.swp
*~.nib
local.properties
.classpath
.settings/
.loadpath

# External tool builders
.externalToolBuilders/

# Locally stored "Eclipse launch configurations"
*.launch

# CDT-specific
.cproject

# PDT-specific
.buildpath


#################
## Visual Studio
#################

## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.

# User-specific files
*.suo
*.user
*.sln.docstates

# Build results

[Dd]ebug/
[Rr]elease/
x64/
build/
[Bb]in/
[Oo]bj/

# MSTest test Results
[Tt]est[Rr]esult*/
[Bb]uild[Ll]og.*

*_i.c
*_p.c
*.ilk
*.meta
*.obj
*.pch
*.pdb
*.pgc
*.pgd
*.rsp
*.sbr
*.tlb
*.tli
*.tlh
*.tmp
*.tmp_proj
*.log
*.vspscc
*.vssscc
.builds
*.pidb
*.log
*.scc

# Visual C++ cache files
ipch/
*.aps
*.ncb
*.opensdf
*.sdf
*.cachefile

# Visual Studio profiler
*.psess
*.vsp
*.vspx

# Guidance Automation Toolkit
*.gpState

# ReSharper is a .NET coding add-in
_ReSharper*/
*.[Rr]e[Ss]harper

# TeamCity is a build add-in
_TeamCity*

# DotCover is a Code Coverage Tool
*.dotCover

# NCrunch
*.ncrunch*
.*crunch*.local.xml

# Installshield output folder
[Ee]xpress/

# DocProject is a documentation generator add-in
DocProject/buildhelp/
DocProject/Help/*.HxT
DocProject/Help/*.HxC
DocProject/Help/*.hhc
DocProject/Help/*.hhk
DocProject/Help/*.hhp
DocProject/Help/Html2
DocProject/Help/html

# Click-Once directory
publish/

# Publish Web Output
*.Publish.xml
*.pubxml

# NuGet Packages Directory
## TODO: If you have NuGet Package Restore enabled, uncomment the next line
#packages/

# Windows Azure Build Output
csx
*.build.csdef

# Windows Store app package directory
AppPackages/

# Others
sql/
*.Cache
ClientBin/
[Ss]tyle[Cc]op.*
~$*
*~
*.dbmdl
*.[Pp]ublish.xml
*.pfx
*.publishsettings

# RIA/Silverlight projects
Generated_Code/

# Backup & report files from converting an old project file to a newer
# Visual Studio version. Backup files are not needed, because we have git ;-)
_UpgradeReport_Files/
Backup*/
UpgradeLog*.XML
UpgradeLog*.htm

# SQL Server files
App_Data/*.mdf
App_Data/*.ldf

#############
## Windows detritus
#############

# Windows image file caches
Thumbs.db
ehthumbs.db

# Folder config file
Desktop.ini

# Recycle Bin used on file shares
$RECYCLE.BIN/

# Mac crap
.DS_Store


#############
## Python
#############

*.py[co]

# Packages
*.egg
*.egg-info
dist/
build/
eggs/
parts/
var/
sdist/
develop-eggs/
.installed.cfg

# Installer logs
pip-log.txt

# Unit test / coverage reports
.coverage
.tox

#Translations
*.mo

#Mr Developer
.mr.developer.cfg
104 changes: 104 additions & 0 deletions Dota2ServerPing.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
@echo off
color A
title Dota 2 Ping -n 2 Servers

:start
echo Welcome, %USERNAME%
echo.This script was written by Mr.Sunshyne for MRU gamers.
echo.
echo What would you like to do?
echo.
echo 1. List all my ping.
echo 2. Watch the world burn.
echo 0. Quit
echo.
echo.Written by Mr.Sunshyne for MRU gamers.
echo.
set /p choice="So what's it gonna be? : "
if "%choice%"=="1" goto checktheping
if "%choice%"=="2" goto burnworld
if "%choice%"=="0" exit
echo Invalid choice: %choice%
echo.
pause
cls
goto start

:checktheping
echo.
echo -------------------------------------------------------------
echo Ping Check Starting. Un petit patience.
echo -------------------------------------------------------------
echo.
echo -------------------------------------------------------------
echo + Old Sea
echo -------------------------------------------------------------
ping -n 2 103.28.54.1
echo.
echo _____________________________________________________________
echo.
echo -------------------------------------------------------------
echo + New Sea
echo -------------------------------------------------------------
ping -n 2 103.10.124.148
echo.
echo _____________________________________________________________
echo.
echo -------------------------------------------------------------
echo + US West
echo -------------------------------------------------------------
ping -n 2 192.69.96.110
echo.
echo _____________________________________________________________
echo.
echo -------------------------------------------------------------
echo + US East
echo -------------------------------------------------------------
ping -n 2 208.78.164.1
echo.
echo _____________________________________________________________
echo.
echo -------------------------------------------------------------
echo + Luxembourg : Eu West
echo -------------------------------------------------------------
ping -n 2 146.66.152.1
echo.
echo _____________________________________________________________
echo.
echo -------------------------------------------------------------
echo + Austria : Eu East
echo -------------------------------------------------------------
ping -n 2 146.66.155.1
echo.
echo _____________________________________________________________
echo.
echo -------------------------------------------------------------
echo + Stockholm : Russia
echo -------------------------------------------------------------
ping -n 2 146.66.156.2
echo.
echo _____________________________________________________________
echo.
echo -------------------------------------------------------------
echo + South America
echo -------------------------------------------------------------
ping -n 2 209.197.29.2
echo.
echo _____________________________________________________________
echo.
echo -------------------------------------------------------------
echo + South Africa
echo -------------------------------------------------------------
ping -n 2 152.111.192.2
echo.
echo _____________________________________________________________
echo.Scroll up.. Check the 'average' for each of the results.
echo.Use your brain to decide which is the best.
echo.
pause
cls
goto start

:burnworld
http://google.com

15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Dota 2 Server Ping

## List of servers
### Provided by friends from the [MRU Dota 2 Group](https://www.facebook.com/groups/182167728583397/permalink/314677865332382/)
* New Sea - 103.10.124.148
* Old Sea - 103.28.54.1
* US West - 192.69.96.110
* US East - 208.78.164.1
* Luxembourg : Eu West - 146.66.152.1
* Austria : Eu East - 146.66.155.1
* Stockholm : Russia - 146.66.156.2
* South America - 209.197.29.2
* South Africa - 152.111.192.2
## Note
I have not inculded any malicious code in the script, but if your PC explodes, I cannot be blamed. In fact the source code is pretty simple, you should have a look.

0 comments on commit 0c1cd07

Please sign in to comment.