hey guys i was bored so i made this things its sexy and u dont have to waste time now opining you compile.bat then the run.bat and waiting for both of them when u can do them at once ive made this .bat thing so when u open it, it shows u an option saying would you like to compile and run or just run so if you type in C+R it compiles and runs it but if you type in R it just runs the server also if you type in C it compiles it. so here its:
just swap ur run.bat with this:
Note - Check which one are is like yours and swap it with it.
if yours has something like this in it "java -Xms812m -Xmx924m Launcher" then add the 1st one.
Code:
@echo off
title Fatality PvP Options
echo Choice an Option Please.
echo Type in:
echo (C+R) - for Compiling and running.
echo (R) - for just running the server.
echo (C) - for just compiling the server.
echo.
set /p C+R=Option:
if %C+R%==C+R goto Compile+Run
if %C+R%==R goto Run
if %C+R%==C goto Compile
:Compile+Run
javac *.java
java -Xms812m -Xmx924m Launcher
exit
:Run
java -Xms812m -Xmx924m Launcher
pause
:Compile
javac *.java
pause
if yours has something like this in it "C:\Program Files\Java\jre1.6.0_04\bin\java.exe" -Xmx500m Gui 30 0 lowmem members 32" then add the 2nd one.
Code:
@echo off
title Fatality PvP Options
echo Choice an Option Please.
echo Type in:
echo (C+R) - for Compiling and running.
echo (R) - for just running the server.
echo (C) - for just compiling the server.
echo.
set /p C+R=Option:
if %C+R%==C+R goto Compile+Run
if %C+R%==R goto Run
if %C+R%==C goto Compile
:Compile+Run
javac *.java
"C:\Program Files\Java\jre1.6.0_04\bin\java.exe" -Xmx500m Gui 30 0 lowmem members 32
exit
:Run
java -Xms812m -Xmx924m Launcher
pause
:Compile
javac *.java
pause
OK if yours is different to them just post ur run.bat and ill make u one.
Please REP and Press the Thax button.