Thread: better compile and running server at once

Results 1 to 9 of 9
  1. #1 better compile and running server at once 
    Registered Member Alien Creep's Avatar
    Join Date
    Nov 2011
    Posts
    128
    Thanks given
    3
    Thanks received
    18
    Rep Power
    13
    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.
    We Design for You!!
    Reply With Quote  
     

  2. Thankful user:


  3. #2  
    Super Donator


    Join Date
    Sep 2011
    Posts
    1,446
    Thanks given
    138
    Thanks received
    284
    Rep Power
    260
    even a better one not many know of buy its called IDE
    Reply With Quote  
     

  4. #3  
    Registered Member Alien Creep's Avatar
    Join Date
    Nov 2011
    Posts
    128
    Thanks given
    3
    Thanks received
    18
    Rep Power
    13
    IDE? neva heard of it. lol
    We Design for You!!
    Reply With Quote  
     

  5. Thankful user:


  6. #4  
    Registered Member
    Join Date
    May 2009
    Posts
    290
    Thanks given
    3
    Thanks received
    59
    Rep Power
    53
    Quote Originally Posted by Ellisha View Post
    IDE? neva heard of it. lol
    Eclipse Downloads

    IntelliJ IDEA :: Download Latest Version of IntelliJ IDEA

    Pick one
    Reply With Quote  
     

  7. #5  
    ಠ_ಠ

    Joshua's Avatar
    Join Date
    May 2010
    Posts
    1,903
    Thanks given
    397
    Thanks received
    708
    Rep Power
    803
    Orrrrrr.... use eclipse and just hit 1 button.
    Reply With Quote  
     

  8. #6  
    Learner

    Kaiser Btw's Avatar
    Join Date
    Dec 2010
    Posts
    2,420
    Thanks given
    509
    Thanks received
    445
    Rep Power
    209
    People still use command prompts?
    Reply With Quote  
     

  9. #7  
    Registered Member

    Join Date
    Feb 2012
    Age
    30
    Posts
    783
    Thanks given
    135
    Thanks received
    90
    Rep Power
    171
    Use eclipse mannng
    Reply With Quote  
     

  10. #8  
    Registered Member Alien Creep's Avatar
    Join Date
    Nov 2011
    Posts
    128
    Thanks given
    3
    Thanks received
    18
    Rep Power
    13
    eclipse sound like twilight eclipse lol
    We Design for You!!
    Reply With Quote  
     

  11. #9  
    Registered Member Risk It's Avatar
    Join Date
    Nov 2011
    Posts
    135
    Thanks given
    68
    Thanks received
    8
    Rep Power
    42
    Quote Originally Posted by Ellisha View Post
    eclipse sound like twilight eclipse lol

    "Logic will get you from A to B. Imagination will take you everywhere."

    - Albert Einstein

    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. Replies: 5
    Last Post: 03-21-2012, 08:55 AM
  2. [Delta|Hyperion] compile running issues [MAC]
    By IOException in forum Help
    Replies: 5
    Last Post: 11-08-2011, 10:04 AM
  3. Replies: 8
    Last Post: 03-24-2011, 07:50 AM
  4. Server compile help
    By Matt0wn3r in forum Help
    Replies: 3
    Last Post: 01-29-2011, 03:27 AM
  5. Replies: 2
    Last Post: 12-07-2009, 01:48 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •