-
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
May 1, 2016
1 parent
c5de406
commit 5693589
Showing
6 changed files
with
187 additions
and
32 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 @@ | ||
start "" bin\mintty.exe -o Columns=88 -o Rows=32 -o AllowBlinking=0 -o FontQuality=3 -o Font="DejaVu Sans Mono" -o FontHeight=10 -o CursorType=2 -o CursorBlinks=0 -h error -t "iServer Debug Console" -w max bin\x\proxy.bat --enable-ansi %* |
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 @@ | ||
start "" bin\mintty.exe -o Columns=88 -o Rows=32 -o AllowBlinking=0 -o FontQuality=3 -o Font="DejaVu Sans Mono" -o FontHeight=10 -o CursorType=2 -o CursorBlinks=0 -h error -t "iServer Debug Console" -w max bin\x\server.bat --enable-ansi %* |
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,60 @@ | ||
@echo off | ||
TITLE iServer Proxy v1.09b | ||
echo INITIALIZING... | ||
ping 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. | ||
if exist HOST_1 ( | ||
echo Loading hosts... | ||
) else ( | ||
echo PLEASE SET UP HOSTS | ||
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: " | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
@echo off | ||
TITLE iServer Beta Build #13 | ||
echo [INFO] Starting Server on 127.0.0.1:19132 | ||
echo [INFO] Loading assets... | ||
ping 192.0.2.2 -n 5 > nul | ||
echo [NOTICE] Level saving not yet implented. Neither is player data saving, closing the server delets everything. | ||
if exist server.conf ( | ||
echo [INFO] Loading server.conf files... | ||
|
||
) else ( | ||
echo [CRITICAL] server.conf not found, generating new key...> server.motd | ||
) | ||
if exist proxySetup.conf ( | ||
echo [INFO] Loading proxySetup.conf message... | ||
|
||
) else ( | ||
echo [CRITICAL] proxySetup.conf not found, generating new key...> join.msg | ||
) | ||
echo [INFO] Loading plugins... | ||
|
||
if exist task.sci ( | ||
echo [INFO] Loading packaged task file... | ||
|
||
) else ( | ||
echo [WARNING] Non-packaged server installation detected. Not suitable for a production server. | ||
|
||
) | ||
echo [INFO] Loading plugins... | ||
|
||
echo ----------[ Addon Manager ]----------- | ||
echo Loading addons... | ||
if exist addons\MCPETransfer.jfs ( | ||
if exist addons\patches\mct.patch ( | ||
echo [MCPETransfer] MCPETransfer loaded and ready! | ||
) else ( | ||
echo [CRITICAL] bootstrapProcess failed for loading addon process of MCPETransfer | ||
echo [MCPETransfer] An error ocurred and the process canceled | ||
) | ||
|
||
) else ( | ||
echo No addons to load! | ||
) | ||
echo ----------[ Addon Manager ]----------- | ||
echo [THREAD] ThreadWork Finished! | ||
goto :loop | ||
:loop | ||
set /p CMD="> " | ||
if %CMD% == help ( | ||
echo --- Command Help --- | ||
echo help - Shows a list of commands. | ||
echo sudo - Initiates 'sudo' mode [EXPIERIMENTAL] | ||
echo [NOTICE] Commands have not yet been implented! | ||
) else if %CMD% == sudo ( | ||
echo [ALERT] Attempting to 'sudo' a command // Doesn't seem to be working. | ||
type /p SUDO_CMD="$ " | ||
ping 127.8.0.1 -n 1>nul | ||
%SUDO_CMD% | ||
) else ( | ||
echo [INFO] Failed to execute command | ||
) | ||
goto :loop |
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
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