• Log in or sign up for an account here: https://www.sythe.org/login

AIO Guide to botting on a Ubuntu VPS

Status
Not open for further replies.

Xolr

1AabBjVuxCNCN9ZCU6fjbSDPnqybcHuwDU

$50 USD Donor New
Joined
Jan 15, 2014
Sythe Gold
0
Messages
1,711
Two Factor Authentication User
SytheSteamer
St. Patrick's Day 2014
Sythe's 10th Anniversary
Tier 1 Prizebox
Cheezy intro:
Ever wanted to bot with your computer off? Thought it was impossible? Nope. With today's technology you can do that quite easily. Actually, this is old technology, but we'll assume it's new to you ;). In this guide I will be going through, step by step, the process of setting up a VPS. A VPS is known as a Virtual Private Server. A VPS is essentially a computer away from home. We've all heard of remote desktopping to a different computer, well this is the same thing but with a "virtual" machine. These machines are virtual because they have no physical hardware. All resources are partitioned and shared from a physical machine through a process called virtualization. Imagine a physical machine split up into many different machines. For example think of a machine with 4 processor cores (quadcore), 4 gb of ram, and a 200 gb harddrive can be split into 4 machines with 1 processor core, 1 gb of ram and 50 gb of harddrive space each. You may think that a single core and 1 gb ram machine may run slow, but with today's speed of hardware it will perform quite well with most applications that aren't resource heavy: it's actually great hardware to bot with. These virtual machines are typically sold by hosting companies and you can get them at a pretty decent price, if you know where to look ;).

Here's how to setup a bot on an Ubuntu VPS.

Table of Contents:
  • I. Tools you will need
  • II. Setting up the server through PuTTY
  • III. Easy Server Setup
  • IV. Using VNC

I. Tools you will need:

  1. PuTTY
    Download: http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
  2. UltraVNC
    Download: http://www.uvnc.com/downloads/ultravnc.html
  3. A VPS
    Good place to find a cheap one: http://www.webhostingtalk.com/forumdisplay.php?f=104
    - Note: It's recommended to have at least 1 full core and 1GB of RAM. If you find a good deal this shouldn't cost more than 6$ a month.

- Note: These are recommended tools. You can use whatever version of SSH protocol you'd like, or a different VNCviewer, but these are just my favorite and some of the simplest.
- Note: I'm going to be using DMEhosting's VPS for the examples.

1. When you go to buy a server at any site you will see something like this
3GoBYPz.png

- Note: The hostname is not important. You can name it whatever you wish. You will need to remember the root password. The root password is what your will use to log into the virtual machine. If you have a password on your home computer that you use to log in then this is effectively the samet hing.

2. Select Ubuntu 13.10 (current version at time of posting this)
2xYvTlO.png

- Note: You can use Debian with this guide, but you will -not- be able to use CentOS. If you accidentally select the wrong OS then most hosting companies will have software that allows you to reinstall the entire server to a different OS with the click of a mouse. The email we will receive from DMEhosting will have a link in it to take us to a panel where we could do exactly that. Just make sure you select the right OS from the beginning and you won't have to mess with it ;).
- Unimportant note: The closer the server is to your house the faster the connection. Pick whatever you'd like, but remember if your account starts playing in different countries then it may set off some red flags on Jagexs end.

3. Buy the server
kuzSptD.png


4. You will receive an email that looks like this shortly after purchase
nZqGqKb.png

- Note: Most hosting providers will have this same layout.

II. Setting up the server through PuTTY

1. Open PuTTY
vokr11v.png

With the information from the email, place the IP into the Hostname or IP field.
- Note: You can save the profile by typing in a profile name and clicking save. This will save you time on having to type in the IP every time.

2. Click "Open"
- Note: You will be prompted with a security warning on the first time, just click yes through it.

3. Your log in username will be "root". Type root and press enter. It will always be root unless you opted to have a different root name when purchasing the server.
ndrHKgr.png


4. Press enter and your password will be whatever password you set when buying the server.
- Note: It doesn't show that you're typing a password but when you type, it's there. Just type the password and press enter.

5. You should now be logged in, congratulations
gPkpwtl.png


6. From here you have 2 options.
- Option 1: Skip the remainder of this section and go straight to section III (3). Follow the setups with the script I wrote. (RECOMMENDED)
- Option 2: Continue reading and install everything manually and learn a few things along the way.

7. If you have selected to do the advanced method we need to install a few things onto your server.

  • Necessary updates
  • Destktop Environment (Xubuntu)
  • Vncserver
  • Java

8. Type/copy and paste the following commands in order. Press "y" when if it prompts you to confirm installation on anything.

Code:
sudo apt-get update
Code:
sudo apt-get -y install xubuntu-desktop vnc4server default-jre
20150424062107133.png

- Note: This may take a few minutes depending on the servers speed and internet speed. Additionally, it may prompt you for a few things, just press enter or accept everything.

9. This part is tricky, pay close attention. You have to edit your startup file to start XFCE automatically in VNC. If you do this improperly then you may only see a grey screen with a bold X cursor in VNC. To begin, type the following code into PuTTY
Code:
vim .vnc/xstartup
TNPuXNR.png

- Note: You may or may not see colors depending on the version of PuTTY that you have, but this is not important. The main focus here is to make the characters in the files look like this. You will need to comment out the lines that need commented out and add one line to the end. To comment out an line you will need to put a "#" at the front of the line. This effectively will make the line useless and it will not be read or execute.
- Note: To make it look like this, press "i". This will put you into INSERT mode. You can see "-- INSERT --" in the bottom left hand corner. Now use your arrows to put you in the right spaces where you need to make the changes. Make sure you put a # in front of all the necessary lines and add the bottom line to the file. To make the new line you will have to put the cursor (the green block) at the last character and press "enter". To exit INSERT mode press ESCAPE. Once you've pressed escape and exited insert mode, type ":wq" and press enter. Typing :wq is a command to save and exit the file.

10. Now we need to start the VNC server, type this into PuTTY
Code:
vncserver
8kfyyYO.png

It will ask for a password, type one in and remember it. Like most password applications it will ask twice for the password.

11. VNC server is now started.
- Note: To kill the VNCserver type the following code
Code:
vncserver -kill :1
- Note: If the server is ever taken down or restarted you will need to connect to putty and simply type "vncserver" to start the vncserver.


III. Easy Server Setup
1. After you have logged into PuTTY type the following commands
Code:
wget http://xolr.com/vpssetup.sh
Code:
chmod +x vpssetup.sh
Code:
./vpssetup.sh
- Note: These files are not malicious. You can view them at any time on my server. They are simple shell scripts.

2. This will begin the download, install and execution of everything needed in setups 7-11 of section II.

3. It may prompt you to answer a few questions about keyboard layouts, just press enter through them. (See last picture of section II #8.)

4. Near the end it will ask for a password for the vncserver, type one in and remember it. Like most password applications it will ask twice for the password. You will use this password to log into UltraVNC in section 4.

5. You are now done with PuTTY, it can be closed.
- Note: If the server is ever taken down or restarted you will need to connect to putty and simply type "vncserver" to start the vncserver.

IV. Using VNC

1. Attempt to connect to the VNC with UltraVNC

FQjlUvU.png

- Important Note: You must append :5901 to your IP for the port. It will not work without this port added to the IP. UVNC will ask you for the VNC password you made when you started the VNC server back in PuTTY.
- Note: It may ask you what type of panel you want for your first time. Select default
20150424062728812.png


2. If you have followed all the steps correctly then you should be successfully connect to the VNC.
5GvPZXF.png


3. At the top is an "applications menu", go to it and then internet, then firefox.
cXbFOi1.png


4. Go to your favorite bot site and download the client.
- Note: Save file.
VEJfOaX.png


5. Click "show in folder". The show in folder button is the circular folder button to the right in the following picture
s8v2ak8.png


6. Drag and drop the bot file to the desktop
bNI5BBh.png


7. Double click the bots .jar file
M6GxJr6.png

- Last note: Happy botting ;).

Btw I'm super noob when it comes to the newer versions of RS and RS bots. Don't ask any particular questions about the game or the bots themselves.
 
Two Factor Authentication User
SytheSteamer
St. Patrick's Day 2014
Sythe's 10th Anniversary
Tier 1 Prizebox
Yeah I heard it's not a good time for botting right now.

Anyway, again, I'll spoof it up and make this guide look pretty some other time. I'm tired and it was a personal achievement for me to be able to get a VPS bot started from scratch with very little knowledge of the bots and the game.

Success, none-the-less. :D
 
Are the ban rates still quite high? I botted 3 mill fm xp in around 3 days with no ban about a month ago.

Oh yeah nice guide btw.

Yeah ban rates are up pretty high in 07 and rs3
 
Two Factor Authentication User
SytheSteamer
St. Patrick's Day 2014
Sythe's 10th Anniversary
Tier 1 Prizebox
Updated and cleaned up ;)

Sticky?
 
Two Factor Authentication User
SytheSteamer
St. Patrick's Day 2014
Sythe's 10th Anniversary
Tier 1 Prizebox
any chance you can add me on skype miltobils and help me setup my vps?

Try to follow the steps first. I promise you I made it easy to follow.
 
Two Factor Authentication User
SytheSteamer
St. Patrick's Day 2014
Sythe's 10th Anniversary
Tier 1 Prizebox
I will soon be updating this to a basic shell script that you can wget and execute and it will do -everything- for you.
 
Two Factor Authentication User
SytheSteamer
St. Patrick's Day 2014
Sythe's 10th Anniversary
Tier 1 Prizebox
Sorry for the constant bumping...

Anyway, updated thread... Now has a new section 3 with a script I wrote to install everything on the server that you will need, make all necessary file edits, and execute the VNC server. I may eventually update the script to install all current bots and make them executable from the desktop. The only problem is when a bot is updated it the old botfile will be useless and may cause confusion. I'm currently thinking of a way to get around this. This should clear up ANY problems with server installs.

Edit: will be changing Java versions in a bit when I get some time. Got some good recommendations from apos.
 
420 yolo swag blaze it fuck the popo legalize it anyone got some chips
Shitting Rainbow
Lawrence
Doge
Potamus
Heidy
Wait, do you not have an Archer rank?
Extreme Homosex
Gohan has AIDS
We Are Legion
Wubba Lubba Dub Dub
Why is there BACON in the SOAP!?
The Mortyest Morty
Cook
I'm LAAAAAAAME
In Memory of Jon
STEVE
MushyMuncher
Bojack
Community Participant
Very nice guide! I appreciate the time and effort you put into this. It's going to help out a lot of people.
 
Two Factor Authentication User
SytheSteamer
St. Patrick's Day 2014
Sythe's 10th Anniversary
Tier 1 Prizebox
My server is down so the easy setup scripts will not work until I get it fixed. Sorry for any problems it may cause.
 
Two Factor Authentication User
SytheSteamer
St. Patrick's Day 2014
Sythe's 10th Anniversary
Tier 1 Prizebox
Server back up, scripts re-wrote and working.
 
correct me if i'm wrong but,

most bots today run on opengl which requires hardware acceleration. i have never seen a host offer hosting on a server that is capable of graphical payloads. this guide is made obsolete by that fact alone.
 
Two Factor Authentication User
SytheSteamer
St. Patrick's Day 2014
Sythe's 10th Anniversary
Tier 1 Prizebox
correct me if i'm wrong but,

most bots today run on opengl which requires hardware acceleration. i have never seen a host offer hosting on a server that is capable of graphical payloads. this guide is made obsolete by that fact alone.

No, the games great on virtual servers.
 
Two Factor Authentication User
SytheSteamer
St. Patrick's Day 2014
Sythe's 10th Anniversary
Tier 1 Prizebox
Hmm it's still there mind telling me what it says?
 
No, the games great on virtual servers.

sure you can play through software, but how would you run any bots that require opengl? no host on the planet equips their servers with hardware acceleration capable gpu's. and even if they did, virtualizing opengl hasn't been perfected enough for routine use.
 
Status
Not open for further replies.
Runescape Gamblingrunescape gambling
Back
Top