proxy bypass©
Active Member
- Joined
- Jun 12, 2010
- Sythe Gold
- 0
- Messages
- 139
Ok so people are having problems with setting up RsBot, so here is my TuT
Note* This will work for every version, and all to come.
Contents:
1) Downloading RSBot (normal)
2) Installing JDK (needed if you want to add scripts and want to use SVN)
3) Downloading RSBot (SVN) optional
4) Running the bot.
5) Adding new scripts.
1: DownLoading The Bot
*To run the bot normally, which is without SVN, is simple. First of all you'll need JRE, which can be found at the following link:
http://java.sun.com/javase/downloads/index.jsp
You'll wanna get JDK 6 Update 20 [JDK or JRE]
Then you need to download the RsBot!
http://www.rsbot.org/go/download
Now were going to set up your path, so the bot works!
1-Goto My Computer>Program files> Java>Then JDK 1.6, or whatever JDK>Bin
2-Copy that address should look like [C:\Program Files (x86)\Java\jdk1.6.0_15]
3-Goto Control panel> System> Advanced Tab> Enviromental Variables
4-Choose path, it may say something just add a semi colon [;] without the brackets, and then add the path that you just copy pasted.
2:Setting up RsBot SVN
This IS optional!
First of all, set up a folder named "RsBotSVN"
Then you'll need to download http://tortoisesvn.net/downloads which is tortoise SVN. After downloading it you DO need to restart your computer.
Once you've installed the program, and restarted your computer, right click the folder "RsBot SVN" and hit SVN checkout.
K so first, your URL of repository will be blank. You need to enter this:
svn://dev.rsbot.org/rsbot/trunk
After that, Checkout Directory is just were it is saved to.
Hit OK, and then the folder on your desk will have a green check on it and it should look like this inside:
IMPORTANT* Every time RsBot updates, you have to right click and hit SVN update!
Now hit compile scripts, BEFORE opening the bot, and run it!
4: Adding scripts
For this you'll need the JRE off the website.
Adding scripts is easy.
Errors:
Common error I find:
When you hit compile scripts, it says "Cannot find JDK"
To fix this!
1- Goto My documents
2-Right click compile-scripts and hit edit
3- Replace the code inside with the following:
Post any errors, here I will do my best to fix them!
Note* This will work for every version, and all to come.
Contents:
1) Downloading RSBot (normal)
2) Installing JDK (needed if you want to add scripts and want to use SVN)
3) Downloading RSBot (SVN) optional
4) Running the bot.
5) Adding new scripts.
1: DownLoading The Bot
*To run the bot normally, which is without SVN, is simple. First of all you'll need JRE, which can be found at the following link:
http://java.sun.com/javase/downloads/index.jsp
You'll wanna get JDK 6 Update 20 [JDK or JRE]
Then you need to download the RsBot!
http://www.rsbot.org/go/download
Now were going to set up your path, so the bot works!
1-Goto My Computer>Program files> Java>Then JDK 1.6, or whatever JDK>Bin
2-Copy that address should look like [C:\Program Files (x86)\Java\jdk1.6.0_15]
3-Goto Control panel> System> Advanced Tab> Enviromental Variables
4-Choose path, it may say something just add a semi colon [;] without the brackets, and then add the path that you just copy pasted.
2:Setting up RsBot SVN
This IS optional!
First of all, set up a folder named "RsBotSVN"
Then you'll need to download http://tortoisesvn.net/downloads which is tortoise SVN. After downloading it you DO need to restart your computer.
Once you've installed the program, and restarted your computer, right click the folder "RsBot SVN" and hit SVN checkout.
K so first, your URL of repository will be blank. You need to enter this:
svn://dev.rsbot.org/rsbot/trunk
After that, Checkout Directory is just were it is saved to.
Hit OK, and then the folder on your desk will have a green check on it and it should look like this inside:
IMPORTANT* Every time RsBot updates, you have to right click and hit SVN update!
Now hit compile scripts, BEFORE opening the bot, and run it!
4: Adding scripts
For this you'll need the JRE off the website.
Adding scripts is easy.
- Get the script you want
- Open Notepad, copy and paste
- Find the name of the script in notepad
- File, save as, copy paste the name
- Save it as a .java
- Name IS case sensative
Errors:
Common error I find:
When you hit compile scripts, it says "Cannot find JDK"
To fix this!
1- Goto My documents
2-Right click compile-scripts and hit edit
3- Replace the code inside with the following:
Code:
@ECHO OFF
TITLE RSBot Scripts
SET cc=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.
PAUSE
EXIT
)
FOR /F "delims=" %%G IN (%jarpathfile%) DO SET jarpath=%%G
ECHO Compiling scripts
ECHO. > "%scripts%\.class"
DEL /F /Q "%scripts%\*.class" > NUL
"%cc%" %cflags% -cp "%jarpath%" %scripts%\*.java
XCOPY /B /Y %scriptspre%\*.class %scripts%\*.class 2>NUL
PAUSE
Post any errors, here I will do my best to fix them!

