[Release] A Working Compiler.

Results 1 to 5 of 5
  1. #1
    Enthusiast Jadams3781 is offline
    MemberRank
    Jul 2007 Join Date
    25Posts

    [Release] A Working Compiler.

    I HAVE JORDANS COMPILER. (CREDIT TO UHMM... SOME GUY OFF SYTHES FORUMS.. =P)
    IF YOU ALREADY HAVE A SERVER SKIP TO STEP 4!


    OK.

    HOW TO ADD YOUR COMPILER

    STEP 1) MAKE SURE YOU HAVE A SERVER. THERE ARE SOME GOOD SERVERS LOCATED,
    Download List - Rune-Evolution

    STEP 2) NOW MAKE SURE YOU HAVE WINRAR. (LOCATED AT THE RARLAB)

    STEP 3) NOW YOULL HAVE A FOLDER OPEN, CLICK (ONCE) THE ONE THAT SAYS "...", NOW AT THE TOP YOU CAN CLICK EXTRACT. THEN CLICK "DESKTOP" OR WHEREEVER YOU WANT SERVER FILES TO BE!

    STEP 4) NOW BACK-CLICK YOUR COMPILER, THEN CLICK "EDIT".
    THEN, DELETE EVERYTHING IN COMPILR, THEN COPY AND PASTE THE CODE BELOW TO THAT SPOT.
    @echo off
    if exist "C:Program Files (x86)Java" set programfiles=C:Program Files (x86)
    set pr=%programfiles%Java
    :co1
    goto co2
    :co2
    color %b%%t%
    :menu
    cls
    title Jordan's Ultimate Compiler
    echo Welcome To Jordan's Ultimate Compiler.
    echo Go To The Url Below For Updates On My Compiler And Servers
    echo the new ip is jordanscap3.servegame.com no more devias sorry
    echo To Get Started Please Choose An Option Below.
    echo -------------------------------------------------------------------------------
    echo c - Compiles Your Server.
    echo r - Runs Your Server.
    echo cc - Clears Character Files
    echo cr - Close Your Current RunServer And Compiles it and Runs Your Server Again
    echo cm - Creates Commands and Saves It To Commands.txt
    echo fm - Creates Any File You Want like .java or .bat
    echo jar - Creates Your Server Into An Executable Jar Archive.
    echo color - Changes The Text And Background Colors Of This Compiler.
    echo reset - Resets Your Compiler And Server Logs.
    echo exit - Exits The Program.
    echo.
    echo.
    set /p c=Option:
    if %c%==c goto c
    if %c%==C goto c
    if %c%==C goto c
    if %c%==Cr goto cr
    if %c%==cr goto cr
    if %c%==cc goto menus
    if %c%==CC goto menus
    if %c%==Cc goto menus
    if %c%==cm goto index
    if %c%==Cm goto index
    if %c%==CM goto index
    if %c%==fm goto file
    if %c%==Fm goto file
    if %c%==FM goto file
    if %c%==r goto r
    if %c%==R goto r
    if %c%==R goto r
    if %c%==jar goto jar
    if %c%==Jar goto jar
    if %c%==JAR goto jar
    if %c%==color goto color
    if %c%==Color goto color
    if %c%==COLOR goto color
    if %c%==reset goto reset
    if %c%==Reset goto reset
    if %c%==RESET goto reset
    if %c%==exit goto e
    if %c%==Exit goto e
    if %c%==EXIT goto e
    if %c%==* goto er
    goto er
    :jar
    title Jar Creator
    cls
    echo What will be the name of the Jar file?
    echo.
    set /p name=Name:
    if exist *.class (del *.class)
    set pro=%programfiles%Javajdk1.6.0
    set pro2=%programfiles%Javajdk1.6.0_02
    set jav=binjavac.exe
    set go=jar2
    goto cj
    :jar2
    %java% -cp . *java
    echo Manifest-Version: 1.0 >> manifest
    echo Created-By: 1.5.0_04 (Sun Microsystems Inc.) >> manifest
    echo Main-Class: server >> manifest
    set pro=%programfiles%Javajdk1.6.0
    set pro2=%programfiles%Javajdk1.6.0_02
    set jav=binjar.exe
    set go=jar3
    goto cj
    :jar3
    if not exist *.class (goto jre)
    %java% -cvfm %name%.jar manifest *.class
    del runserver.bat
    del manifest
    del *.class
    goto jl
    :jar4
    set pro=%programfiles%Javajdk1.6.0
    set pro2=%programfiles%Javajdk1.6.0_02
    set jav=binjava.exe
    set go=jar5
    goto cj
    :jar5
    echo @echo off >> runserver.bat
    echo title %name% >> runserver.bat
    echo %java% -cp .;%name%.jar server >> runserver.bat
    echo pause >> runserver.bat
    cls
    echo %name% Jar file successfully made. The runserver.bat will
    echo now load the Jar file. If you have any errors while runnning
    echo the Jar file, please post about it in Jordan's 'Perfect
    echo Compiler' topic on MoparScape.
    pause
    goto menu
    set
    :color
    cls
    echo Would you like to change the background color, change
    echo the text color, or reset it to default?
    echo.
    echo back - Change the background color.
    echo text - Change the text color.
    echo def - Change all colors back to default.
    echo.
    echo.
    set /p color=Option:
    if %color%==back goto back
    if %color%==BACK goto back
    if %color%==text goto text
    if %color%==TEXT goto text
    if %color%==def goto co1
    if %color%==DEF goto co1
    if %color%==* goto er
    goto er
    :back
    cls
    echo Please select a color to change the background to:
    echo.
    echo black
    echo white
    echo red
    echo yellow
    echo green
    echo blue
    echo purple
    echo.
    echo.
    set /p back=Color:
    if %back%== black (set b=0)
    if %back%== white (set b=7)
    if %back%== red (set b=4)
    if %back%== yellow (set b=6)
    if %back%== green (set b=2)
    if %back%== blue (set b=1)
    if %back%== purple (set b=5)
    goto co2
    :text
    cls
    echo Please select a color to change the text to:
    echo.
    echo black
    echo white
    echo red
    echo yellow
    echo green
    echo blue
    echo purple
    echo.
    echo.
    set /p back=Color:
    if %back%== black (set t=0)
    if %back%== white (set t=7)
    if %back%== red (set t=4)
    if %back%== yellow (set t=6)
    if %back%== green (set t=2)
    if %back%== blue (set t=1)
    if %back%== purple (set t=5)
    goto co2
    :c
    cls
    title Compiler
    set pro=%programfiles%Javajdk1.6.0
    set pro2=%programfiles%Javajdk1.6.0_02
    set jav=binjavac.exe
    set go=c2
    goto cj
    :c2
    if exist src (goto cl) else (goto c3)
    :c3
    if exist *.java (goto cl2) else (goto ce)
    :c4
    %java% -cp . *.java
    echo Files Compiled Successfully!
    pause
    cls
    goto menu
    :c5
    %java% -cp . .src*.java
    echo Files Compiled Successfully!
    pause
    move .src*.class .classes
    cls
    goto menu
    :ce
    cls
    echo You must have Java files for this Compiler to Compile.
    pause
    cls
    goto menu
    :r
    cls
    title Runserver
    set pro=%programfiles%Javajdk1.6.0
    set pro2=%programfiles%Javajdk1.6.0_02
    set jav=binjava.exe
    set go=r2
    goto cj
    :r2
    set rjava=%java% -Xmx1024m -cp .;./jython.jar;./MySql/mysql-connector-java-3.0.17-ga-bin.jar server
    cls
    goto r3
    :r3
    if exist .classesserver.class (goto sl2) else (goto r4)
    :r4
    if exist .server.class (goto sl) else (goto se)
    :r5
    %rjava%
    pause
    cls
    goto menu
    :r6
    set rjava=
    set rjava=%java% -cp .;./classes; Server
    %rjava%
    pause
    cls
    goto menu
    :se
    cls
    title Error
    echo You do not have a Server.class. Make sure that you have used the
    echo compiler with your server BEFORE you try runing it.
    pause
    cls
    goto menu
    :er
    cls
    title Error
    echo Invalid command. Please make sure the command you type
    echo in are correct.
    pause
    cls
    goto menu
    :e
    cls
    exit
    :cj
    if exist "%pro2%_01%jav%" (goto sj)
    if exist "%pro2%%jav%" (goto sj2)
    if exist "%pro%_10%jav%" (goto sj3)
    if exist "%pro%_09%jav%" (goto sj4)
    if exist "%pro%_08%jav%" (goto sj5)
    if exist "%pro%_07%jav%" (goto sj6)
    if exist "%pro%_06%jav%" (goto sj7)
    if exist "%pro%_05%jav%" (goto sj8)
    if exist "%pro%_04%jav%" (goto sj9)
    if exist "%pro%_03%jav%" (goto sj10)
    if exist "%pro%_02%jav%" (goto sj11)
    if exist "%pro%_01%jav%" (goto sj12)
    if exist "%pro%%jav%" (goto sj13) else (goto je)
    :sj
    set java="%pro2%_01%jav%"
    goto %go%
    :sj2
    set java="%pro2%%jav%"
    goto %go%
    :sj3
    set java="%pro%_10%jav%"
    goto %go%
    :sj4
    set java="%pro%_09%jav%"
    goto %go%
    :sj5
    set java="%pro%_08%jav%"
    goto %go%
    :sj6
    set java="%pro%_07%jav%"
    goto %go%
    :sj7
    set java="%pro%_06%jav%"
    goto %go%
    :sj8
    set java="%pro%_05%jav%"
    goto %go%
    :sj9
    set java="%pro%_04%jav%"
    goto %go%
    :sj10
    set java="%pro%_03%jav%"
    goto %go%
    :sj11
    set java="%pro%_02%jav%"
    goto %go%
    :sj12
    set java="%pro%_01%jav%"
    goto %go%
    :sj13
    set java="%pro%%jav%"
    goto %go%
    :je
    cls
    title Error
    echo You do not have JDK 6.0 or JDK 6.2 or any JDK 6.0 and 6.2 updates.
    echo Go to RicScape v2 Tutorials section
    echo for step-by-step instructions to download the newest JDK Update.
    pause
    cls
    goto menu
    :sl
    cls
    echo Ran Server at %time% and on %date%. >> "Server Logs.txt"
    echo Server was run using %java%. >> "Server Logs.txt"
    echo Thank you for using Jordan's 'Ultimate' Compiler! >> "Server Logs.txt"
    echo. >> "Server Logs.txt"
    goto r5
    :sl2
    cls
    echo Ran Server at %time% and on %date%. >> "Server Logs.txt"
    echo Server was run using %java%. >> "Server Logs.txt"
    echo Thank you for using Jordan's 'Ultimate' Compiler! >> "Server Logs.txt"
    echo. >> "Server Logs.txt"
    goto r6
    :cl
    cls
    echo Compiled Java files at %time% and on %date%. >> "Compiler Logs.txt"
    echo Java files were compiled using %java%. >> "Compiler Logs.txt"
    echo Thank you for using Jordan's 'Ultimate' Compiler! >> "Compiler Logs.txt"
    echo. >> "Compiler Logs.txt"
    goto c5
    :cl2
    cls
    echo Compiled Java files at %time% and on %date%. >> "Compiler Logs.txt"
    echo Java files were compiled using %java%. >> "Compiler Logs.txt"
    echo Thank you for using Jordan's 'Ultimate' Compiler! >> "Compiler Logs.txt"
    echo. >> "Compiler Logs.txt"
    goto c4
    :jl
    cls
    echo %name% Jar file created at %time% and on %date%. >> "Compiler Logs.txt"
    echo Jar file was created using %java%. >> "Compiler Logs.txt"
    echo Thank you for using Jordan's 'Ultimate' Compiler! >> "Compiler Logs.txt"
    echo. >> "Compiler Logs.txt"
    goto jar4
    :reset
    cls
    echo Resetting the Compiler's Logs...
    echo Resetting the Server's Logs...
    pause
    del "Compiler Logs.txt"
    del "Server Logs.txt"
    goto menu
    :menus
    echo -------------------------------------------------------------------------------
    echo This utility can be used to clear all of the current character information
    echo WARNING: Once you use this, there will be no way to recover lost character files
    echo.
    echo Type C to clear all character files and information
    echo Type Back to go back to main menu
    echo.
    set /p option=Option:
    if %option%==c goto clear
    if %option%==C goto clear
    if %option%==back goto menu
    if %option%==Back goto menu
    if %option%==* goto error
    goto error
    :clear
    cls
    del /F /S /Q characters
    del /F /S /Q connectedfrom
    del /F /S /Q moreinfo
    del /F /S /Q flagged
    del /F /S /Q flaggedauto
    del /F /S /Q savedgames
    echo All character related information has been deleted now
    pause
    goto menu

    :file
    cls
    echo Please type in the below commands to continue to the next page.
    echo.
    echo bat =To create a Batch file
    echo java =To create a Java source file
    echo jar =To create a Jar source file
    echo cfg =To create a cfg source file
    echo class =To create a class source file
    echo txt =To create a text source file
    echo dat =To create a data source file
    echo obj =To create a obj source file
    echo wav =To create a wav source file
    echo rar =To create a rar source file
    echo zip =To create a zip source file
    echo GIF =To create a GIF source file
    echo jpg =To create a jpg source file
    echo bmp =To create a bmp source file
    echo mpeg =To create a mpeg source file
    echo wps =To create a wps source file
    echo pdf =To create a pdf source file
    echo.
    echo Back =Takes You Back To The Main Menu
    echo.
    echo.
    set /p type=Extension Type:
    if %type%==bat goto makeBat
    if %type%==java goto makeJava
    if %type%==jar goto makeJar
    if %type%==cfg goto makecfg
    if %type%==class goto makeclass
    if %type%==txt goto maketxt
    if %type%==dat goto makedat
    if %type%==obj goto makeobj
    if %type%==wav goto makewav
    if %type%==rar goto makerar
    if %type%==zip goto makezip
    if %type%==GIF goto makeGIF
    if %type%==jpg goto makejpg
    if %type%==bmp goto makebmp
    if %type%==mpeg goto makempeg
    if %type%==wps goto makewps
    if %type%==pdf goto makepdf
    if %type%==back goto menu
    if %type%==Back goto menu
    if %type%==* goto error
    goto error
    :error
    cls
    echo Invalid command. Please type in only commands from the command menu.
    pause
    goto menu
    :makeBat
    cls
    set /p name=What is the name of the file?
    cls
    set /p contents=Please enter in the contents of the Batch file:
    cls
    echo %contents% >> %name%.bat
    echo %name% Batch file created successfully!
    pause
    goto menu
    :makeJava
    cls
    set /p name=What is the name of the file?
    cls
    set /p contents=Please enter in the contents of the Java source file:
    cls
    echo %contents% >> %name%.java
    echo %name% Java file created successfully!
    pause
    goto menu
    :makeJar
    cls
    set /p name=What is the name of the file?
    cls
    set /p contents=Please enter in the contents of the Jar source file:
    cls
    echo %contents% >> %name%.jar
    echo %name% Jar file created successfully!
    pause
    goto menu
    :makecfg
    cls
    set /p name=What is the name of the file?
    cls
    set /p contents=Please enter in the contents of the cfg source file:
    cls
    echo %contents% >> %name%.cfg
    echo %name% cfg file created successfully!
    pause
    goto menu
    :makeclass
    cls
    set /p name=What is the name of the file?
    cls
    set /p contents=Please enter in the contents of the class source file:
    cls
    echo %contents% >> %name%.class
    echo %name% class file created successfully!
    pause
    goto menu
    :maketxt
    cls
    set /p name=What is the name of the file?
    cls
    set /p contents=Please enter in the contents of the txt source file:
    cls
    echo %contents% >> %name%.txt
    echo %name% txt file created successfully!
    pause
    goto menu
    :makedat
    cls
    set /p name=What is the name of the file?
    cls
    set /p contents=Please enter in the contents of the data source file:
    cls
    echo %contents% >> %name%.dat
    echo %name% data file created successfully!
    pause
    goto menu
    :makeobj
    cls
    set /p name=What is the name of the file?
    cls
    set /p contents=Please enter in the contents of the obj source file:
    cls
    echo %contents% >> %name%.obj
    echo %name% obj file created successfully!
    pause
    goto menu
    :makewav
    cls
    set /p name=What is the name of the file?
    cls
    set /p contents=Please enter in the contents of the wav source file:
    cls
    echo %contents% >> %name%.wav
    echo %name% wav file created successfully!
    pause
    goto menu
    :makerar
    cls
    set /p name=What is the name of the file?
    cls
    set /p contents=Please enter in the contents of the rar source file:
    cls
    echo %contents% >> %name%.rar
    echo %name% rar file created successfully!
    pause
    goto menu
    :makezip
    cls
    set /p name=What is the name of the file?
    cls
    set /p contents=Please enter in the contents of the zip source file:
    cls
    echo %contents% >> %name%.zip
    echo %name% zip file created successfully!
    pause
    goto menu
    :makeGIF
    cls
    set /p name=What is the name of the file?
    cls
    set /p contents=Please enter in the contents of the GIF source file:
    cls
    echo %contents% >> %name%.GIF
    echo %name% GIF file created successfully!
    pause
    goto menu
    :makejpg
    cls
    set /p name=What is the name of the file?
    cls
    set /p contents=Please enter in the contents of the jpg source file:
    cls
    echo %contents% >> %name%.jpg
    echo %name% jpg file created successfully!
    pause
    goto menu
    :makebmp
    cls
    set /p name=What is the name of the file?
    cls
    set /p contents=Please enter in the contents of the bmp source file:
    cls
    echo %contents% >> %name%.bmp
    echo %name% bmp file created successfully!
    pause
    goto menu
    :makempeg
    cls
    set /p name=What is the name of the file?
    cls
    set /p contents=Please enter in the contents of the mpeg source file:
    cls
    echo %contents% >> %name%.mpeg
    echo %name% mpeg file created successfully!
    pause
    goto menu
    :makewps
    cls
    set /p name=What is the name of the file?
    cls
    set /p contents=Please enter in the contents of the wps source file:
    cls
    echo %contents% >> %name%.wps
    echo %name% wps file created successfully!
    pause
    goto menu
    :makepdf
    cls
    set /p name=What is the name of the file?
    cls
    set /p contents=Please enter in the contents of the pdf source file:
    cls
    echo %contents% >> %name%.pdf
    echo %name% pdf file created successfully!
    pause
    goto menu

    @echo off
    :index
    bold
    set voi=commands.txt
    set dir=.
    if exist .sources set dir=.sources
    if exist .Sources set dir=.Sources
    set code=
    set code1=
    set code2=
    set code3=
    set code4=
    set code5=
    set code6=
    set code7=
    set code8=
    set code9=
    set code10=
    cls
    title Command maker - Home
    echo :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
    echo :: How to make a command: ::
    echo :: 1. Choose command name ::
    echo :: 2. Choose selection ::
    echo :: 3. Follow onscreen instructions ::
    echo :: You can make fully functional commands in under 10 seconds! ::
    echo :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
    echo Start - Start making the command.
    echo Back - Takes You Back To Main Menu
    echo.
    echo.
    set /p opt=Option:
    if %opt%==start goto step1a
    if %opt%==Start goto step1a
    if %opt%==START goto step1a
    if %opt%==back goto menu
    if %opt%==Back goto menu
    if %opt%==BACK goto menu
    if %opt%==* goto er
    goto er
    :er
    title Command maker - Error!
    cls
    echo Unrecognized command. Make sure you are spelling
    echo the commands correctly.
    pause
    goto index
    :er2
    title Command maker - Error!
    cls
    echo You do not have commands.txt. Would you like to
    echo create it now?
    echo.
    echo.
    set /p yn=(Y/N)?
    if %yn%==y goto y
    if %yn%==Y goto y
    if %yn%==yes goto y
    if %yn%==Yes goto y
    if %yn%==YES goto y
    if %yn%==n goto n
    if %yn%==N goto n
    if %yn%==no goto n
    if %yn%==No goto n
    if %yn%==NO goto n
    if %yn%==* goto er
    goto er
    :y
    echo //made by command maker >> %dir%%voi%
    echo. >> %dir%%voi%
    echo import java.io.*; >> %dir%%voi%
    echo import java.util.StringTokenizer; >> %dir%%voi%
    echo import java.util.Calendar; >> %dir%commands.txt
    echo import java.util.GregorianCalendar; >> %dir%%voi%
    echo. >> %dir%%voi%
    goto step1
    :n
    cls
    echo You can not continue until you have commands.txt.
    pause
    goto intro
    :end
    cls
    exit
    :step1
    cls
    title Command maker - Step 1
    if not exist %dir%%voi% (goto er2) else (goto step1a)
    if not exist %dir%%voi% (goto er2) else (goto step1a)
    if not exist %dir%%voi% (goto er2) else (goto step1a)
    :step1a
    cls
    title Command maker - Step 2
    set /p name=What is the name of the command?
    :step1b
    echo Now select which features you would like.
    echo all - teleport, additem and sendmessage
    echo 1 - teleport and additem
    echo 2 - additem and sendmessage
    echo 3 - teleport and sendmessage
    set /p opt3=Option:
    if %opt3%==all goto step1g
    if %opt3%==All goto step1g
    if %opt3%==ALL goto step1g
    if %opt3%==1 goto stepsel1g
    if %opt3%==2 goto stepsel2x
    if %opt3%==3 goto stepsel3g
    if %opt3%==* goto er
    :stepsel1
    cls
    title Command maker - Step 3
    echo Now install the features one by one starting with tele
    echo item - (second)Adds additem to your command
    echo tele - (first)Adds teleto to your command
    echo finish - Finalizes the command.
    echo.
    echo.
    set /p opt3=Option:
    if %opt3%==finish goto step1e
    if %opt3%==Finish goto step1e
    if %opt3%==FINISH goto step1e
    if %opt3%==item goto stepsel1x
    if %opt3%==Item goto stepsel1x
    if %opt3%==ITEM goto stepsel1x
    if %opt3%==tele goto stepsel1g
    if %opt3%==Tele goto stepsel1g
    if %opt3%==TELE goto stepsel1g
    if %opt3%==* goto er
    goto er
    :stepsel2
    cls
    title Command maker - Step 3
    echo Now install the features one by one starting with additem
    echo message - (second)Adds a sendMessage to your command.
    echo item - (first)Adds additem to your command
    echo finish - Finalizes the command.
    echo.
    echo.
    set /p opt3=Option:
    if %opt3%==message goto stepsel2d
    if %opt3%==Message goto stepsel2d
    if %opt3%==MESSAGE goto stepsel2d
    if %opt3%==finish goto step1e
    if %opt3%==Finish goto step1e
    if %opt3%==FINISH goto step1e
    if %opt3%==item goto stepsel2x
    if %opt3%==Item goto stepsel2x
    if %opt3%==ITEM goto stepsel2x
    if %opt3%==* goto er
    goto er
    :stepall
    cls
    title Command maker - Step 3
    echo Now install the features one by one starting with tele
    echo message - (third)Adds a sendMessage to your command.
    echo item - (second)Adds additem to your command
    echo tele - (first)Adds teleto to your command
    echo finish - Finalizes the command.
    echo.
    echo.
    set /p opt3=Option:
    if %opt3%==message goto step1d
    if %opt3%==Message goto step1d
    if %opt3%==MESSAGE goto step1d
    if %opt3%==finish goto step1e
    if %opt3%==Finish goto step1e
    if %opt3%==FINISH goto step1e
    if %opt3%==item goto step1x
    if %opt3%==Item goto step1x
    if %opt3%==ITEM goto step1x
    if %opt3%==tele goto step1g
    if %opt3%==Tele goto step1g
    if %opt3%==TELE goto step1g
    if %opt3%==* goto er
    goto er
    :stepsel3
    cls
    title Command maker - Step 3
    echo Now install the features one by one starting with tele
    echo message - (second)Adds a sendMessage to your command.
    echo tele - (first)Adds teleto to your command
    echo finish - Finalizes the command.
    echo.
    echo.
    set /p opt3=Option:
    if %opt3%==message goto stepsel3d
    if %opt3%==Message goto stepsel3d
    if %opt3%==MESSAGE goto stepsel3d
    if %opt3%==finish goto step1e
    if %opt3%==Finish goto step1e
    if %opt3%==FINISH goto step1e
    if %opt3%==tele goto stepsel3g
    if %opt3%==Tele goto stepsel3g
    if %opt3%==TELE goto stepsel3g
    if %opt3%==* goto er
    goto er
    :stepsel1x
    cls
    title Command maker - Step 5
    set /p mess=What item number/how much do you want? eg: 995, 2000000000 for 2billion gp:
    set item=addItem(%mess%);
    goto stepsel1f
    :step1x
    cls
    title Command maker - Step 5
    set /p mess=What item number/how much do you want? eg: 995, 2000000000 for 2billion gp:
    set item=addItem(%mess%);
    goto step1d
    :stepsel2x
    cls
    title Command maker - Step 5
    set /p mess=What item number/how much do you want? eg: 995, 2000000000 for 2billion gp:
    set item=addItem(%mess%);
    goto stepsel2d
    :stepsel2d
    cls
    title Command maker - Step 5
    set /p mess=What do you want the message to say?
    set code=sendMessage("%mess%");
    goto stepsel2f
    :step1d
    cls
    title Command maker - Step 5
    set /p mess=What do you want the message to say?
    set code=sendMessage("%mess%");
    goto step1f
    :step1g
    cls
    title Command maker - Step 5
    set /p mess=teleport x coord:
    set telex=teleportToX = %mess%;
    goto step1z
    :step1z
    cls
    title Command maker - Step 5
    set /p mess=teleport y coord:
    set teley=teleportToY = %mess%;
    goto step1x
    :stepsel3d
    cls
    title Command maker - Step 5
    set /p mess=What do you want the message to say?
    set code=sendMessage("%mess%");
    goto stepsel3f
    :stepsel3g
    cls
    title Command maker - Step 5
    set /p mess=teleport x coord:
    set telex=teleportToX = %mess%;
    goto stepsel3z
    :stepsel3z
    cls
    title Command maker - Step 5
    set /p mess=teleport y coord:
    set teley=teleportToY = %mess%;
    goto stepsel3d
    :stepsel1g
    cls
    title Command maker - Step 5
    set /p mess=teleport x coord:
    set telex=teleportToX = %mess%;
    goto stepsel1z
    :stepsel1z
    cls
    title Command maker - Step 5
    set /p mess=teleport y coord:
    set teley=teleportToY = %mess%;
    goto stepsel1x
    :step1f
    cls
    title Command maker - Generating command
    echo Generating the command and adding it to commands.txt...
    pause
    cls
    if not defined code goto step1fa
    echo if (command.startsWith("%name%")) >> %dir%%voi%
    echo { >> %dir%%voi%
    echo %code% >> %dir%%voi%
    echo %item% >> %dir%%voi% >> %dir%%voi%
    echo %telex% >> %dir%%voi% >> %dir%%voi%
    echo %teley% >> %dir%%voi% >> %dir%%voi%
    echo } >> %dir%%voi%
    echo. >> %dir%%voi%
    goto step1g
    :stepsel3f
    cls
    title Command maker - Generating command
    echo Generating the command and adding it to commands.txt...
    pause
    cls
    if not defined code goto step1fa
    echo if (command.startsWith("%name%")) >> %dir%%voi%
    echo { >> %dir%%voi%
    echo %code% >> %dir%%voi%
    echo %telex% >> %dir%%voi% >> %dir%%voi%
    echo %teley% >> %dir%%voi% >> %dir%%voi%
    echo } >> %dir%%voi%
    echo. >> %dir%%voi%
    goto step1g
    :stepsel2f
    cls
    title Command maker - Generating command
    echo Generating the command and adding it to commands.txt...
    pause
    cls
    if not defined code goto step1fa
    echo if (command.startsWith("%name%")) >> %dir%%voi%
    echo { >> %dir%%voi%
    echo %code% >> %dir%%voi%
    echo %item% >> %dir%%voi% >> %dir%%voi%
    echo } >> %dir%%voi%
    echo. >> %dir%%voi%
    goto step1g
    :stepsel1f
    cls
    title Command maker - Generating command
    echo Generating the command and adding it to commands.txt...
    pause
    cls
    echo if (command.startsWith("%name%")) >> %dir%%voi%
    echo { >> %dir%%voi%
    echo %item% >> %dir%%voi% >> %dir%%voi%
    echo %telex% >> %dir%%voi% >> %dir%%voi%
    echo %teley% >> %dir%%voi% >> %dir%%voi%
    echo } >> %dir%%voi%
    echo. >> %dir%%voi%
    goto step1g
    :step1fa
    if %nummess% GEQ 2 goto step1fb
    echo if (command.startsWith("%name%")) >> %dir%%voi%
    echo { >> %dir%%voi%
    echo } >> %dir%%voi%
    echo. >> %dir%%voi%
    goto step1g
    :step1fc
    echo } >> %dir%%voi%
    echo. >> %dir%%voi%
    :step1g
    cls
    title Command maker - Command Created Successfully!
    echo The command was created and added to commands.txt
    echo succesffully! Where would you like to go now?
    echo.
    echo start - Starts another command.
    echo back - Takes You Back To The Main Menu
    echo.
    echo.
    set /p opt5=Option:
    if %opt5%==start goto step1a
    if %opt5%==Start goto step1a
    if %opt5%==START goto step1a
    if %opt5%==back goto menu
    if %opt5%==Back goto menu
    if %opt5%==BACK goto menu
    if %opt5%==* goto er
    goto er
    :cr
    cls
    tskill java /a
    cls
    @echo off
    "C:Program FilesJavajdk1.6.0binjavac.exe" -cp . *.java
    @echo Files Compiled Successfully!
    cls
    java -Xmx1024m -cp .;./jython.jar;./MySql/mysql-connector-java-3.0.17-ga-bin.jar server
    STEP 5) OHH HOW SAD, YOU THOUGHT YOU WERE DONE... WAIT, YOU ARE! NOW START COMPILING!


  2. #2
    right + down + X GhostSnyper is offline
    MemberRank
    May 2006 Join Date
    AZ, USALocation
    2,818Posts

    Re: [helper] A Working Compiler.

    Um...Yea...pointless...Before you start c&p'ing tutorials, make sure you are in the right section oh and lets [/seizurecolor], will ya?

  3. #3
    Enthusiast Jadams3781 is offline
    MemberRank
    Jul 2007 Join Date
    25Posts

    Re: [helper] A Working Compiler.

    God whats the **** is up with everone wow i postedo n rong section, i know that now im moving it, sorry, exept to yall **** faces that cant be nice.
    Last edited by Mike; 11-06-08 at 08:38 PM.

  4. #4
    Account Upgraded | Title Enabled! xXxShazxXx is offline
    MemberRank
    Jul 2007 Join Date
    EnglandLocation
    1,043Posts

    Re: [helper] A Working Compiler.

    Quote Originally Posted by Jadams3781 View Post
    God whats the **** is up with everone wow i postedo n rong section, i know that now im moving it, sorry, exept to yall **** faces that cant be nice.
    What'd you expect?
    It's crap, also... Keep the swearing to a minimum, we have minors here.
    Last edited by Mike; 11-06-08 at 08:38 PM.

  5. #5
    Canadian Mike is offline
    MemberRank
    Dec 2007 Join Date
    Toronto, ONLocation
    2,747Posts

    Re: [Release] A Working Compiler.

    drop the swearing, and insulting others.



Advertisement