i need help with my RsBot!
ive download everthing and all that!
my rsbotsvn folder is download and finsihed
but when i go to play-free it comes with error:
could not find main class. Program will close!
any helps
my compile.batch file looks like this:
@ECHO OFF
SET cc=%PROGRAMFILES%\Java\[you jdk folder]\bin\javac.exe
SET cflags=-nowarn -Xlint:deprecation -Xlint:none
SET out=out
SET bin=rs.jar
SET quiet=0
IF "%1"=="/Q" SET quiet=1
IF "%1"=="/F" (
SET quiet=1
GOTO :scripts
)
ECHO Compiling Bot
SET lstf=_jlist.txt
IF EXIST %lstf% DEL /F /Q %lstf%
FOR /F "usebackq tokens=*" %%G IN (`DIR /B /S Bot\*.java`) DO CALL :append "%%G"
IF EXIST %out% RMDIR /S /Q %out% >NUL
MKDIR %out%
%cc% %cflags% -cp %bin% -d %out% "@%lstf%"
DEL /F /Q "%lstf%"
CALL :compset Randoms
CALL :compset AntiBan
:scripts
CALL :compset Scripts
XCOPY /B /Y Scripts\Precompiled\*.class Scripts\*.class 2>NUL
ECHO Compilation successful, click play or play-free to start!
IF "%quiet%"=="0" PAUSE
GOTO :eof
:append
SET gx=%1
SET gx=%gx:\=\\%
ECHO %gx% >> %lstf%
GOTO :eof
:compset
ECHO Compiling %1
ECHO. > %1\.class
DEL /F /Q %1\*.class > NUL
%cc% %cflags% -cp "%out%;%bin%" %1\*.java > NUL
GOTO :eof
what do i need to edit/
ive download everthing and all that!
my rsbotsvn folder is download and finsihed
but when i go to play-free it comes with error:
could not find main class. Program will close!
any helps
my compile.batch file looks like this:
@ECHO OFF
SET cc=%PROGRAMFILES%\Java\[you jdk folder]\bin\javac.exe
SET cflags=-nowarn -Xlint:deprecation -Xlint:none
SET out=out
SET bin=rs.jar
SET quiet=0
IF "%1"=="/Q" SET quiet=1
IF "%1"=="/F" (
SET quiet=1
GOTO :scripts
)
ECHO Compiling Bot
SET lstf=_jlist.txt
IF EXIST %lstf% DEL /F /Q %lstf%
FOR /F "usebackq tokens=*" %%G IN (`DIR /B /S Bot\*.java`) DO CALL :append "%%G"
IF EXIST %out% RMDIR /S /Q %out% >NUL
MKDIR %out%
%cc% %cflags% -cp %bin% -d %out% "@%lstf%"
DEL /F /Q "%lstf%"
CALL :compset Randoms
CALL :compset AntiBan
:scripts
CALL :compset Scripts
XCOPY /B /Y Scripts\Precompiled\*.class Scripts\*.class 2>NUL
ECHO Compilation successful, click play or play-free to start!
IF "%quiet%"=="0" PAUSE
GOTO :eof
:append
SET gx=%1
SET gx=%gx:\=\\%
ECHO %gx% >> %lstf%
GOTO :eof
:compset
ECHO Compiling %1
ECHO. > %1\.class
DEL /F /Q %1\*.class > NUL
%cc% %cflags% -cp "%out%;%bin%" %1\*.java > NUL
GOTO :eof
what do i need to edit/












