Created
July 11, 2013 12:20
-
-
Save Dark32/5974973 to your computer and use it in GitHub Desktop.
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
rem @set appd=%appdata% | |
@set APPDATA=%~dp0/.. | |
rem echo %appdata% | |
@set curl="curl.exe" | |
@set java="java" | |
@set [email protected] | |
@set pass=youpass | |
@%curl% -d "user=%mail%&password=%pass%&version=2" srv.cravs.org/minecraft/v1/auth.php >sess.ls | |
@Set file=sess.ls | |
@For /F "usebackq tokens=* delims=" %%i In ("%file%") Do Set var=%%i | |
@Echo %var%>sess.ls | |
@set /p sess=<sess.ls | |
@set sess= %sess:~-33,-1% | |
@set sess= %sess::=% | |
@echo session get: %sess% | |
@%java% -Xms512m -Xmx1024m -cp "%APPDATA%\.cravs\bin\*" -Djava.library.path="%APPDATA%\.cravs\bin\natives" net.minecraft.client.Minecraft %nick% %sess% | |
@pause |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment