-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
BuildTools
committed
Apr 30, 2016
1 parent
851ec6d
commit c5de406
Showing
3 changed files
with
73 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
@echo off | ||
TITLE iServer Proxy v1.09b | ||
echo INITIALIZING... | ||
pine 9.9.9.9 -n 2.5>nul | ||
echo LOADING SRC\PROXY\MAIN.SCI | ||
echo LOADING SRC\PROXY\TASKLISTENER\MAIN.SCI | ||
ping 9.9.9.9 -n 3>nul | ||
echo LOADING SOURCES... | ||
ping 6.7.8.9 -n 1>nul | ||
echo DONE! | ||
echo. | ||
echo PLEASE SET UP HOSTS | ||
pause | ||
type /p HOST1_IP="Host 1 IP: " | ||
type /p HOST1_PORT="Host 1 Port: " | ||
type /p HOST2_IP="Host 2 IP: " | ||
type /p HOST2_PORT="Host 2 Port: " | ||
type /p HOST3_IP="Host 3 IP: " | ||
type /p HOST3_PORT="Host 3 Port: " | ||
type /p HOST4_IP="Host 4 IP: " | ||
type /p HOST4_PORT="Host 4 Port: " | ||
type /p HOST5_IP="Host 5 IP: " | ||
type /p HOST5_PORT="Host 5 Port: " | ||
pause | ||
echo ALL LOCATIONS: | ||
echo "%HOST1_IP%:%HOST1_PORT%" | ||
echo "%HOST2_IP%:%HOST2_PORT%" | ||
echo "%HOST3_IP%:%HOST3_PORT%" | ||
echo "%HOST4_IP%:%HOST4_PORT%" | ||
echo "%HOST5_IP%:%HOST5_PORT%" | ||
echo. | ||
echo Writing all data to files... | ||
if exist data\ ( | ||
) else ( | ||
echo Creating directory... | ||
mkdir data | ||
) | ||
echo %HOST1_IP%:%HOST1_PORT%>HOST_1 | ||
echo %HOST2_IP%:%HOST2_PORT%>HOST_2 | ||
echo %HOST3_IP%:%HOST3_PORT%>HOST_3 | ||
echo %HOST4_IP%:%HOST4_PORT%>HOST_4 | ||
echo %HOST5_IP%:%HOST5_PORT%>HOST_5 | ||
echo. | ||
echo Checking hosts... | ||
echo. | ||
echo Checking 1... | ||
ping %HOST1_IP%:%HOST1_PORT% | ||
echo Checking 2... | ||
ping %HOST2_IP%:%HOST2_PORT% | ||
echo Checking 3... | ||
ping %HOST3_IP%:%HOST3_PORT% | ||
echo Checking 4... | ||
ping %HOST4_IP%:%HOST4_PORT% | ||
echo Checking 5... | ||
ping %HOST5_IP%:%HOST5_PORT% | ||
echo. | ||
echo Done! | ||
pause |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters