Thread: MITB 317 Deob - SrcPackagedWithoutJFrame Run and Compile Help

Results 1 to 6 of 6
  1. #1 MITB 317 Deob - SrcPackagedWithoutJFrame Run and Compile Help 
    Extreme Donator

    Join Date
    Feb 2014
    Posts
    289
    Thanks given
    22
    Thanks received
    19
    Rep Power
    39
    Trying to get this client from this thread here: [Only registered and activated users can see links. ]

    to run and compile with .bat files.

    For the Compiler, this is the code I've tried using:
    Code:
    @echo off
    title Compiling
    "C:\Program Files\Java\jdk1.6.0_07\bin\javac.exe" -d ./bin/rs/ src/rs/*.java src/rs/sign/*.java src/rs/animable/*.java src/rs/anticheat/*.java src/rs/config/*.java src/rs/constants/*.java src/rs/graphics/*.java src/rs/net/*.java src/rs/stream/*.java src/rs/cache/*.java
    pause
    And for the Run file, this is the code I've tried using:
    Code:
    @echo off
    title Client
    cd bin
    "C:\Program Files\Java\jre7\bin\java.exe" rs/client 10 0 highmem members 32
    pause
    It keeps getting stuck on the following:
    Code:
    java.io.FileNotFoundException: .\cache\main_file_cache.dat (The system cannot find the path specified)
        at java.io.RandomAccessFile.open0(Native Method)
        at java.io.RandomAccessFile.open(Unknown Source)
        at java.io.RandomAccessFile.<init>(Unknown Source)
        at java.io.RandomAccessFile.<init>(Unknown Source)
        at rs.sign.signlink.run(signlink.java:52)
        at java.lang.Thread.run(Unknown Source)
    I'm not used to making .bat files, so this is weird and new to me.
    Reply With Quote  
     

  2. #2  
    Administrator

    Kevy's Avatar
    Join Date
    Jul 2006
    Posts
    1,212
    Thanks given
    90
    Thanks received
    1,611
    Discord
    View profile
    Rep Power
    4970
    You need to have a cache folder in the same directory where you run the client.
    Thanks, Kevin.
    Reply With Quote  
     

  3. Thankful user:


  4. #3  
    Respected Member


    Join Date
    Jan 2009
    Posts
    5,667
    Thanks given
    1,072
    Thanks received
    3,384
    Rep Power
    5000
    Quote Originally Posted by Excavation View Post
    Trying to get this client from this thread here: [Only registered and activated users can see links. ]

    to run and compile with .bat files.

    For the Compiler, this is the code I've tried using:
    Code:
    @echo off
    title Compiling
    "C:\Program Files\Java\jdk1.6.0_07\bin\javac.exe" -d ./bin/rs/ src/rs/*.java src/rs/sign/*.java src/rs/animable/*.java src/rs/anticheat/*.java src/rs/config/*.java src/rs/constants/*.java src/rs/graphics/*.java src/rs/net/*.java src/rs/stream/*.java src/rs/cache/*.java
    pause
    And for the Run file, this is the code I've tried using:
    Code:
    @echo off
    title Client
    cd bin
    "C:\Program Files\Java\jre7\bin\java.exe" rs/client 10 0 highmem members 32
    pause
    It keeps getting stuck on the following:
    Code:
    java.io.FileNotFoundException: .\cache\main_file_cache.dat (The system cannot find the path specified)
        at java.io.RandomAccessFile.open0(Native Method)
        at java.io.RandomAccessFile.open(Unknown Source)
        at java.io.RandomAccessFile.<init>(Unknown Source)
        at java.io.RandomAccessFile.<init>(Unknown Source)
        at rs.sign.signlink.run(signlink.java:52)
        at java.lang.Thread.run(Unknown Source)
    I'm not used to making .bat files, so this is weird and new to me.
    Make a folder named "cache" then put the cache into it.
    Reply With Quote  
     

  5. Thankful user:


  6. #4  
    Extreme Donator

    Join Date
    Feb 2014
    Posts
    289
    Thanks given
    22
    Thanks received
    19
    Rep Power
    39
    Quote Originally Posted by Kevy View Post
    You need to have a cache folder in the same directory where you run the client.
    Quote Originally Posted by Spooky View Post
    Make a folder named "cache" then put the cache into it.
    Yeah I just figured it out.

    You have to have your own cache already in place, as apposed to the srcAllDummysRemoved client which I was very well pleased using prior, which loaded the cache automatically, something I didn't even have to worry about to begin with.

    I figured this one out on my own, but I think it's fair to give credit for help, thank you guys.

    Oh and in regards for the compiler, this is the piece of shit I used after idfk how many retard attempts:

    (For the srcPackaged With JFrame)
    Code:
    @echo off
    title Compiling...
    cd src
    "C:\Program Files\Java\jdk1.6.0_07\bin\javac.exe" -cp . -d ../bin/ ./rs/*.java
    pause
    Now I can get a nice clean experience for once.
    I wonder if I can get it to load the cache automatically EXACTLY like srcAllDummysRemoved, that way I don't have to worry about it.
    Reply With Quote  
     

  7. #5  
    RuneTimes

    RainDropzZ's Avatar
    Join Date
    Oct 2010
    Posts
    244
    Thanks given
    10
    Thanks received
    52
    DiscordTag
    RainDropzZ #2454
    Rep Power
    199
    Quote Originally Posted by Excavation View Post

    Now I can get a nice clean experience for once.
    I wonder if I can get it to load the cache automatically EXACTLY like srcAllDummysRemoved, that way I don't have to worry about it.
    You can use an AutoCache Downloader, there are many posts and tutorials on that. Also you should throw away the start and run.bat and use an IDE like Eclipse to make everything easier for you. Espacially Debugging and finding Errors.
    Reply With Quote  
     

  8. #6  
    Extreme Donator

    Join Date
    Feb 2014
    Posts
    289
    Thanks given
    22
    Thanks received
    19
    Rep Power
    39
    Oh, hang on I forgot one other thing that really fucking pissed me off.

    You have to go into "signlink.java", search for "./cache/" and change it to "/cache/".
    After all of that, compile, and you should be up and running.
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. Run and Compiler Help Needed
    By Xoath in forum Help
    Replies: 2
    Last Post: 05-12-2015, 01:47 PM
  2. Help with 742 "Run" and "Compiler"!
    By Atrium in forum Help
    Replies: 2
    Last Post: 04-27-2013, 12:29 AM
  3. Help With "Run" and "Compiler"
    By Atrium in forum Help
    Replies: 0
    Last Post: 04-26-2013, 10:50 PM
  4. Client run and compiler help! please!
    By BenjaminZz in forum Help
    Replies: 2
    Last Post: 01-21-2013, 03:50 PM
  5. Run.bat and compiler help please
    By rcolby18 in forum Help
    Replies: 0
    Last Post: 02-10-2012, 06:02 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •