Jump to content

How to use a Proxy to connect with OSRS [Pictures for the ]


XavierM

Recommended Posts

 

First of all, just wanted to say that this is common sense to people that know Java and I'm writing this quick guide because it was requested.

Also, I'm quite sure that OSBot will add proxy feature in the client itself soon.

 

NOTE: There's a small problem. You are setting the proxy to the whole application, so all tabs ran in this client will use the same ip/proxy. Solution: Run multiple clients.

 

NOTE2: People is saying that proxies dont work. You are using dead/slow proxies that you probably found in free lists. You will never be able to bot with that. You need to buy premium lists/private proxies.

I turned one of my vps into a proxy (temporarily) so you know that good proxies work well with little latency:

-DsocksProxyHost=atscripts.servebeer.com -DsocksProxyPort=69 

 

 

STEP #1

-Make a new folder

-Copy latest osbot client into the new folder

-Rename osbot client to "osbot.jar"

1lAO7.png

 

 

STEP #2

1lB18.png

 

1lB1d.png

 

1lB1D.png

 

1lB2b.png

 

 

-Open Notepad

-Paste this text on it 

@echo off
java -DsocksProxyHost=PROXY_IP -DsocksProxyPort=PROXY_PORT -jar osbot.jar
pause

-If you dont want the black cmd window to show, you can use replace "java" with "start javaw"

 

-Replace "PROXY_IP" and "PROXY_PORT" for your respective proxy ip/port. Example: 

@echo off
java -DsocksProxyHost=96.246.224.18 -DsocksProxyPort=17217 -jar osbot.jar
pause

-Save As -> "anyname.bat" (Select all types)

-You can simply edit it anytime you want by right-click and chose "Edit"

 

STEP #3

-Double-click the .bat file to open osbot using the proxy.

 

-If you get an error saying "'java' is not a recognized command blablabla", edit your .bat file and do this:

 

-Find your java location, find in your program files or something like this:

 

1lBwA.png

 

then edit the file.bat with the correct java location

 

1lBxy.png

 

 

-If you get an error saying 'unable to find "osbot.jar" blabla, you probably fucked up renaming osbot.jar and you renamed it to osbot.jar.jar because your OS isnt configured to show all file extensions.

 

 

FAQyou

 

Q.This guide only shows how to do it on Windows, how can we do it in our operating systems?

A.Google.

 

Q.Where can I get Socks5 proxies?

A.Google.

 

Q.Why are you so sexy?

A.Google.

 

 

I tried to google the 3rd question and there was no results; that has never happened to me in my whole google experience.

 

biggrin.png

  • Like 1
Link to comment
Share on other sites

[INFO ][12/09/13 10:00:42 PM]: Connecting to remote server...
[INFO ][12/09/13 10:00:43 PM]: Failed to connect to remote server!
java.net.SocketException: Can't connect to SOCKS proxy:Connection refused: connect
	at java.net.SocksSocketImpl.connect(Unknown Source)
	at java.net.Socket.connect(Unknown Source)
	at org.osbot.GB.f(xo:176)
	at org.osbot.GB.L(xo:167)
	at org.osbot.Ec.run(xo:662)
	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
	at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
	at java.util.concurrent.FutureTask.run(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
[INFO ][12/09/13 10:00:44 PM]: Retrying in 5 seconds...
[INFO ][12/09/13 10:00:49 PM]: Connecting to remote server...
[INFO ][12/09/13 10:00:50 PM]: Failed to connect to remote server!
java.net.SocketException: Can't connect to SOCKS proxy:Connection refused: connect
	at java.net.SocksSocketImpl.connect(Unknown Source)
	at java.net.Socket.connect(Unknown Source)
	at org.osbot.GB.f(xo:176)
	at org.osbot.GB.L(xo:167)
	at org.osbot.Ec.run(xo:662)
	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
	at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
	at java.util.concurrent.FutureTask.run(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
[INFO ][12/09/13 10:00:50 PM]: Retrying in 5 seconds...
[INFO ][12/09/13 10:00:55 PM]: Connecting to remote server...
[INFO ][12/09/13 10:00:56 PM]: Failed to connect to remote server!
java.net.SocketException: Can't connect to SOCKS proxy:Connection refused: connect
	at java.net.SocksSocketImpl.connect(Unknown Source)
	at java.net.Socket.connect(Unknown Source)
	at org.osbot.GB.f(xo:176)
	at org.osbot.GB.L(xo:167)
	at org.osbot.Ec.run(xo:662)
	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
	at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
	at java.util.concurrent.FutureTask.run(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
[INFO ][12/09/13 10:00:56 PM]: Retrying in 5 seconds...


This is what i get when i do this with an ip/port i bought from Ricky

 

 

Link to comment
Share on other sites

 

FAQyou

 

Q.This guide only shows how to do it on Windows, how can we do it in our operating systems?

A.Google.

 

Q.Where can I get Socks5 proxies?

A.Google.

 

Q.Why are you so sexy?

 

A.Google.

 

you sexy funny bitch

 


 

[INFO ][12/09/13 10:00:42 PM]: Connecting to remote server...
[INFO ][12/09/13 10:00:43 PM]: Failed to connect to remote server!
java.net.SocketException: Can't connect to SOCKS proxy:Connection refused: connect
	at java.net.SocksSocketImpl.connect(Unknown Source)
	at java.net.Socket.connect(Unknown Source)
	at org.osbot.GB.f(xo:176)
	at org.osbot.GB.L(xo:167)
	at org.osbot.Ec.run(xo:662)
	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
	at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
	at java.util.concurrent.FutureTask.run(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
[INFO ][12/09/13 10:00:44 PM]: Retrying in 5 seconds...
[INFO ][12/09/13 10:00:49 PM]: Connecting to remote server...
[INFO ][12/09/13 10:00:50 PM]: Failed to connect to remote server!
java.net.SocketException: Can't connect to SOCKS proxy:Connection refused: connect
	at java.net.SocksSocketImpl.connect(Unknown Source)
	at java.net.Socket.connect(Unknown Source)
	at org.osbot.GB.f(xo:176)
	at org.osbot.GB.L(xo:167)
	at org.osbot.Ec.run(xo:662)
	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
	at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
	at java.util.concurrent.FutureTask.run(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
[INFO ][12/09/13 10:00:50 PM]: Retrying in 5 seconds...
[INFO ][12/09/13 10:00:55 PM]: Connecting to remote server...
[INFO ][12/09/13 10:00:56 PM]: Failed to connect to remote server!
java.net.SocketException: Can't connect to SOCKS proxy:Connection refused: connect
	at java.net.SocksSocketImpl.connect(Unknown Source)
	at java.net.Socket.connect(Unknown Source)
	at org.osbot.GB.f(xo:176)
	at org.osbot.GB.L(xo:167)
	at org.osbot.Ec.run(xo:662)
	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
	at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
	at java.util.concurrent.FutureTask.run(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
[INFO ][12/09/13 10:00:56 PM]: Retrying in 5 seconds...


This is what i get when i do this with an ip/port i bought from Ricky

 

 

o.o will I run into the same issue?

Link to comment
Share on other sites

Same issue as above.

 

 

 

[INFO ][12/09/13 10:00:42 PM]: Connecting to remote server...
[INFO ][12/09/13 10:00:43 PM]: Failed to connect to remote server!
java.net.SocketException: Can't connect to SOCKS proxy:Connection refused: connect
	at java.net.SocksSocketImpl.connect(Unknown Source)
	at java.net.Socket.connect(Unknown Source)
	at org.osbot.GB.f(xo:176)
	at org.osbot.GB.L(xo:167)
	at org.osbot.Ec.run(xo:662)
	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
	at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
	at java.util.concurrent.FutureTask.run(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
[INFO ][12/09/13 10:00:44 PM]: Retrying in 5 seconds...
[INFO ][12/09/13 10:00:49 PM]: Connecting to remote server...
[INFO ][12/09/13 10:00:50 PM]: Failed to connect to remote server!
java.net.SocketException: Can't connect to SOCKS proxy:Connection refused: connect
	at java.net.SocksSocketImpl.connect(Unknown Source)
	at java.net.Socket.connect(Unknown Source)
	at org.osbot.GB.f(xo:176)
	at org.osbot.GB.L(xo:167)
	at org.osbot.Ec.run(xo:662)
	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
	at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
	at java.util.concurrent.FutureTask.run(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
[INFO ][12/09/13 10:00:50 PM]: Retrying in 5 seconds...
[INFO ][12/09/13 10:00:55 PM]: Connecting to remote server...
[INFO ][12/09/13 10:00:56 PM]: Failed to connect to remote server!
java.net.SocketException: Can't connect to SOCKS proxy:Connection refused: connect
	at java.net.SocksSocketImpl.connect(Unknown Source)
	at java.net.Socket.connect(Unknown Source)
	at org.osbot.GB.f(xo:176)
	at org.osbot.GB.L(xo:167)
	at org.osbot.Ec.run(xo:662)
	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
	at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
	at java.util.concurrent.FutureTask.run(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
[INFO ][12/09/13 10:00:56 PM]: Retrying in 5 seconds...


This is what i get when i do this with an ip/port i bought from Ricky

 

 

 

Why don't you actually try ASKING RICKY?

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...