Need some help with editing my server

Discussion in 'RuneScape Miscellaneous' started by psychokid718, Nov 6, 2008.

Thread Status:
Not open for further replies.
Need some help with editing my server
  1. Unread #1 - Nov 6, 2008 at 5:52 PM
  2. psychokid718
    Joined:
    Dec 29, 2007
    Posts:
    315
    Referrals:
    0
    Sythe Gold:
    0

    psychokid718 Forum Addict
    Banned

    Need some help with editing my server

    I've got a hamachi server, it works just fine. me and my friends have been playing. However, i'm using ddsspeced source, and i cant figure out how to edit it. like add spawns, edit drops, etc... i can make admins and stuff like that, but when i edit somethin in .cfg files it never works. anyone know whats wrong? thanks for all help :)
     
  3. Unread #2 - Nov 6, 2008 at 6:12 PM
  4. MCR__Ftw
    Joined:
    Mar 19, 2007
    Posts:
    1,084
    Referrals:
    0
    Sythe Gold:
    0

    MCR__Ftw Guru
    $5 USD Donor

    Need some help with editing my server

    It's been a while since I've edited one, but I should still remember.

    Alright what you do is go to the top of the autospawn.java, and press enter
    Next enter the NPC ID followed by a tab, and the X and Y coordinates, then a walk type, just put 0, same for the next 2 lines, then put a description.

    Code:
    
    spawn = 2613	3377	3257	0	0	0	0	0	0	TzHaar-Ket
    
    
    Then save, compile, then run.
     
  5. Unread #3 - Nov 6, 2008 at 6:44 PM
  6. locked1337
    Joined:
    Jul 12, 2008
    Posts:
    210
    Referrals:
    0
    Sythe Gold:
    0

    locked1337 Active Member

    Need some help with editing my server

    if you want a really cool server i can help you out cuz im good and editing :)
     
  7. Unread #4 - Nov 6, 2008 at 7:52 PM
  8. psychokid718
    Joined:
    Dec 29, 2007
    Posts:
    315
    Referrals:
    0
    Sythe Gold:
    0

    psychokid718 Forum Addict
    Banned

    Need some help with editing my server

    hmmm maybe compiling is why nothing happens.... but the thing is, when i click compile.bat, nothing happens. doesnt say error or success, box is just blank :'(
     
  9. Unread #5 - Nov 6, 2008 at 7:55 PM
  10. MCR__Ftw
    Joined:
    Mar 19, 2007
    Posts:
    1,084
    Referrals:
    0
    Sythe Gold:
    0

    MCR__Ftw Guru
    $5 USD Donor

    Need some help with editing my server

    Here, I'll give you a compiler.

    Code:
    @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 Ric914's Multi Compiler v2
    echo Welcome To Ric914's Multi Compiler v2
    echo Created by Ric914
    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 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 -------------------------------------------------------------------------------
    echo ~Websites and Forums~
    echo.
    echo ricscape - Takes you to the RicScape home page
    echo runelocus - Takes you to the Runelocus home page
    echo moparscape - Takes you to the Moparscape forums
    echo sythe - Takes you to the Sythe.org forums
    echo -------------------------------------------------------------------------------
    echo This part is only and only for the people who has done the auto cache
    echo downloading tutorial by clienthax
    echo.
    echo ac - Compiles your server
    echo ar - Runs your server
    echo.
    set /p c=Option: 
    if %c%==runelocus goto runelocus
    if %c%==moparscape goto moparscape
    if %c%==ricscape goto ricscape
    if %c%==sythe goto sythe
    if %c%==ac goto ac
    if %c%==ar goto ar
    if %c%==c goto c
    if %c%==C goto c
    if %c%==C goto c
    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%\Java\jdk1.6.0
    set jav=bin\javac.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%\Java\jdk1.6.0
    set jav=bin\jar.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%\Java\jdk1.6.0
    set jav=bin\java.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 Ric914's 'Ultimate
    echo Compiler' topic on RicScape.
    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%\Java\jdk1.6.0
    set jav=bin\javac.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%\Java\jdk1.6.0
    set jav=bin\java.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 .\classes\server.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 "%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)
    :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 the correct jdk version.
    echo Go to RicScape 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 Ric914's Multi 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 Ric914's Multi 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 Ric914's Multi 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 Ric914's Multi 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 Ric914's Multi 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
    
    
    :ac
    cls
    echo Compiling all Ricscape .java Files...
    "%ProgramFiles%\Java\jdk1.6.0_06\bin\javac.exe" *.java -cp .;./lib/sbbi-upnplib-1.0.4.jar;./lib/jxta.jar
    pause
    goto menu
    
    :ar
    cls
    java -Xmx1024m -cp .;./lib/* server 0
    pause
    
    :ricscape
    start http://ricscape.screamnet.net/
    goto menu
    
    :runelocus
    start http://runelocus.com/
    goto menu
    
    :moparscape
    start http://moparscape.org/smf
    goto menu
    
    :sythe
    start http://www.sythe.org
    goto menu
    
    Save it as compiler.bat (added the sythe.org) :p
     
  11. Unread #6 - Nov 6, 2008 at 9:03 PM
  12. psychokid718
    Joined:
    Dec 29, 2007
    Posts:
    315
    Referrals:
    0
    Sythe Gold:
    0

    psychokid718 Forum Addict
    Banned

    Need some help with editing my server

    ok, but i have JDK 6 update 7. will it still work? and do i copy the entiiiiire thing??

    EDIT: i tried, it says "the system cannot find path specified"

    =*(
     
  13. Unread #7 - Nov 6, 2008 at 10:30 PM
  14. MCR__Ftw
    Joined:
    Mar 19, 2007
    Posts:
    1,084
    Referrals:
    0
    Sythe Gold:
    0

    MCR__Ftw Guru
    $5 USD Donor

    Need some help with editing my server

    Press ctrl+h when you're in notepad, and replace 06, with 07. Then it should work.
     
  15. Unread #8 - Nov 7, 2008 at 6:39 AM
  16. psychokid718
    Joined:
    Dec 29, 2007
    Posts:
    315
    Referrals:
    0
    Sythe Gold:
    0

    psychokid718 Forum Addict
    Banned

    Need some help with editing my server

    awsome it worked. thanks alot man :)

    well, i believe it did.. my edited drops still aint workin
     
  17. Unread #9 - Nov 7, 2008 at 9:08 AM
  18. i fake pics
    Joined:
    Oct 31, 2008
    Posts:
    70
    Referrals:
    0
    Sythe Gold:
    0

    i fake pics Member
    Banned

    Need some help with editing my server

    your not adding it in the right spot...

    317's have 2 places you can add em..

    find the right one :)

    alsoooooooooooo move onto 508 dude..
     
  19. Unread #10 - Nov 7, 2008 at 9:30 AM
  20. psychokid718
    Joined:
    Dec 29, 2007
    Posts:
    315
    Referrals:
    0
    Sythe Gold:
    0

    psychokid718 Forum Addict
    Banned

    Need some help with editing my server

    is 508 harder to do? and where do i add the compiler then? im editing the compiler that was already there and adding what MCR told me
     
  21. Unread #11 - Nov 7, 2008 at 2:46 PM
  22. mastermind12
    Referrals:
    0

    mastermind12 Guest

    Need some help with editing my server

    k for spawn just use the orginal spawn and convert thats what i do : Example:
    original version : spawn = 57 3096 3499 0 0 0 0 0 1 fairy home

    New version :
    spawn = 53 3034 4434 0 0 0 0 0 1 Beast
    Dont use that 1 i just made it up but thats basiclly what i do
     
  23. Unread #12 - Nov 7, 2008 at 4:30 PM
  24. psychokid718
    Joined:
    Dec 29, 2007
    Posts:
    315
    Referrals:
    0
    Sythe Gold:
    0

    psychokid718 Forum Addict
    Banned

    Need some help with editing my server

    ummm not sure what you mean rly.. lol. and since its my first server, i'll just stick with what i've got goin for now lol.
    anyways, about the compiler... how come it ain't working?? it actually says completed, just the changes don't happen..
     
< Custom Client Needed! | Zezima's Private Server? + JMod? >

Users viewing this thread
1 guest
Thread Status:
Not open for further replies.


 
 
Adblock breaks this site