Jump to content
Frequently Asked Questions
  • Are you not able to open the client? Try following our getting started guide
  • Still not working? Try downloading and running JarFix
  • Help! My bot doesn't do anything! Enable fresh start in client settings and restart the client
  • How to purchase with PayPal/OSRS/Crypto gold? You can purchase vouchers from other users
  • Try asking for help in the chatbox
  • Changing Proxy after client launch


    code_zero
     Share

    Recommended Posts

    Is there anyway to change the proxy after the client has been launched? I am working on a script that I would like to do a collection of tasks on one account and then log out and into another account on a different proxy. If anybody knows if this is possible and can point me into the right direction it would be greatly appreciated!

    Link to comment
    Share on other sites

    You can manually override the proxy by setting the system properties:

    System.setProperty("socksProxyHost", HOST);
    System.setProperty("socksProxyPort", PORT);
    System.setProperty("java.net.socks.username", USERNAME);
    System.setProperty("java.net.socks.password", PASSWORD);

     

    Link to comment
    Share on other sites

    39 minutes ago, Pandemic said:

    You can manually override the proxy by setting the system properties:

    System.setProperty("socksProxyHost", HOST);
    System.setProperty("socksProxyPort", PORT);
    System.setProperty("java.net.socks.username", USERNAME);
    System.setProperty("java.net.socks.password", PASSWORD);

     

    You're the best! THANKS! 

    Link to comment
    Share on other sites

    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now
     Share

    ×
    ×
    • Create New...

    Important Information

    We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.