I need some help compiling scripts for RSbot

Discussion in 'RuneScape 3 General' started by Perf3ctskill, Oct 4, 2010.

I need some help compiling scripts for RSbot
  1. Unread #1 - Oct 4, 2010 at 4:00 PM
  2. Perf3ctskill
    Joined:
    Sep 1, 2010
    Posts:
    362
    Referrals:
    0
    Sythe Gold:
    0

    Perf3ctskill Forum Addict

    I need some help compiling scripts for RSbot

    Okay, So...First here's 2 things that I REALLY REALLY need help on.

    1. Someone leeched my script:)mad: :'(

    2. I can't compile my script! :-(

    I really need help with compiling(when I try to compile it says-
    No .java script source files found.
    Press any key to continue...)

    Please a major coder help me...I've already ran into the error of Javac not found/recognized). I've been at this for 4 HOURS!

    Please respond here, I will accept MSN only if I think you can help.

    I have JRE and JDK. I've fixed my paths(I think). So....Please help me
     
  3. Unread #2 - Oct 4, 2010 at 5:17 PM
  4. Laski
    Joined:
    Oct 3, 2010
    Posts:
    33
    Referrals:
    0
    Sythe Gold:
    0

    Laski Member
    Banned

    I need some help compiling scripts for RSbot

    Wrong section i believe matey
     
  5. Unread #3 - Oct 4, 2010 at 5:37 PM
  6. Perf3ctskill
    Joined:
    Sep 1, 2010
    Posts:
    362
    Referrals:
    0
    Sythe Gold:
    0

    Perf3ctskill Forum Addict

    I need some help compiling scripts for RSbot

    Where do I post?
     
  7. Unread #4 - Oct 4, 2010 at 8:15 PM
  8. cotonpk3r
    Joined:
    Mar 9, 2007
    Posts:
    1,992
    Referrals:
    4
    Sythe Gold:
    1

    cotonpk3r Guru

    I need some help compiling scripts for RSbot

    If you're getting the no .java source file found error there could be two problems.
    1. the compiler isn't made correctly
    2. you haven't saved the script as NAME.java in the correct place

    If you're getting the Javac is not recognized error, you need to set your PATH and CLASSPATH variables.
    My PATH and CLASSPATH are:
    Code:
    C:\Program Files\Java\jdk1.6.0_21\bin;
    and
    Code:
    CLASSPATH=C:\Program Files\Java\jdk1.6.0_21\bin;%CLASSPATH%;
    Make sure in your variables you have your correct java update.

    Hope this helps :)
     
  9. Unread #5 - Oct 5, 2010 at 11:36 AM
  10. Perf3ctskill
    Joined:
    Sep 1, 2010
    Posts:
    362
    Referrals:
    0
    Sythe Gold:
    0

    Perf3ctskill Forum Addict

    I need some help compiling scripts for RSbot

    Thank you helped a little bit >_<

    When I put what you have in(we have the same java. etc.) It gives me a javac error. So I "edit" compiler and I change the cc=javac to cc=java. Then I re-run. I put in a little .java file(Pulled off powerbot). and then it gives me this error-
    [​IMG]

    This is my compiler file(edited verison).

    @ECHO OFF

    TITLE RSBot Scripts

    SET cc=java(used to be javac).
    SET cflags=
    SET scripts=Scripts
    SET scriptspre=%scripts%\Precompiled
    SET jarpathfile=Settings\path.txt

    IF NOT EXIST "%jarpathfile%" (
    ECHO Path file does not exist. Please run RSBot and try again.
    GOTO end
    ) (used to be something here)

    FOR /F "delims=" %%G IN (%jarpathfile%) DO SET jarpath=%%G


    IF NOT EXIST %scripts%\*.java (
    ECHO No .java script source files found.
    GOTO end
    )

    ECHO Compiling scripts
    ECHO. > "%scripts%\.class"
    DEL /F /Q "%scripts%\*.class" > NUL
    "%cc%" %cflags% -cp "%jarpath%" %scripts%\*.java

    :end
    PAUSE
    EXIT

    If you help me fix this I will vouch you! and I will give you my unrealesed Sorc garden!
     
< Question about Membership | Jewed the Appeal System?? >

Users viewing this thread
1 guest


 
 
Adblock breaks this site