Updated async I/O bat file

This commit is contained in:
Shoghi Cervantes Pueyo 2012-12-18 00:58:44 +01:00
parent fd23d34489
commit d515e44de9
2 changed files with 6 additions and 7 deletions

2
TODO
View File

@ -1,5 +1,5 @@
- Save placed blocks and relay them to other players.
- Fix spawn position resetting to 0,128,0
- Fix spawn position resetting
- Mob spawning, item pick up
- Fix metadata orientation
- Proper session checks

View File

@ -17,13 +17,12 @@ echo \ ^| /
echo \ ^| /
echo.
echo.
cd /d %~dp0
FOR /F "tokens=*" %%i in ('php -r "echo 1;"') do SET PHPOUTPUT=%%i
if not "%PHPOUTPUT%"=="1" (
echo [ERROR] Couldn't find PHP in PATH.
pause
exit
)
echo [ERROR] Couldn't find PHP binary in PATH.
ping 127.0.0.1 -n 3 -w 1000>nul
) else (
START /B CMD /C CALL php server.php
START /B /WAIT php input.php 1
pause
exit
)