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
  • Changing Proxy after client launch


    code_zero

    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

    Archived

    This topic is now archived and is closed to further replies.

    ×
    ×
    • 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.