How to use quick start arguments with the launcher


  • Director

    How to use quickstart aguments with the RSPeer launcher.

    Don't have the launcher? Click here to download.

    What are quickstart args?
    Quickstart args are a way to automatically start your clients with certain parameters from the command line.

    They are extremely helpful in launching large quantities of clients without manual input.

    Step 1: Build out the configuration file.

    {
    	"RspeerEmail": "[email protected]",
    	"RspeerPassword": "FAKE_PASS",
    	"AutoUpdateClient": true,
    	"Clients": [{
    		"RsUsername": "MadDev123",
    		"RsPassword": "rips",
    		"World": 82,
    		"ScriptName": "Manly Chopper",
    		"IsRepoScript": true,
    		"ScriptArgs": "-tree yew",
    		"UseProxy": false,
    		"ProxyPort": 80,
    		"ProxyIp": "",
    		"ProxyUser": "MadDev",
    		"ProxyPass": "FakePass",
    		"Config": {
    			"LowCpuMode": true,
    			"SuperLowCpuMode": true,
    			"EngineTickDelay": 0,
    			"DisableModelRendering": false,
    			"DisableSceneRendering": false
    		}
    	}]
    }
    

    The launcher accepts JSON input for configuration.
    This is the payload that is expects.

    Lets break it down a little bit.

    Key Value
    RspeerEmail Your RSPeer email to login to all the services. This is used to automatically log your client in without the UI.
    RspeerPassword Your RSPeer password.
    AutoUpdateClient Set this to true to automatically update the client to newest revisions upon startup.
    Clients Array An array of information regarding the data for each specific client. This will include the rs account, script, and configuration.
    RsUsername Your runescape accounts username.
    RsPassword Your runescape accounts password.
    World The world you would like to automatically be set.
    ScriptName The name of the script to run once the client is loaded.
    IsRepoScript Set this to true if you are loading a script from the repository to prevent conflicts with local scripts.
    ScriptArgs A raw string passed to the script you are starting, you can enter anything here, its up to the script to use it.
    UseProxy Set to true to start the client with a proxy
    ProxyPort The port of the proxy, must be set if UseProxy is enabled.
    ProxyIp The ip of the proxy, must be set if UseProxy is enabled.
    ProxyUser The username of the proxy for proxies that require authentication (Optional)
    ProxyPass The password of the proxy for proxies that require authentication (Optional)
    Config.UseSuperLowCpuMode Enable super low cpu mode. (Overrides UseLowCpuMode)
    Config.UseLowCpuMode Enable low cpu mode. (Overrides disable model and scene rendering)
    Config.EngineTickDelay Set a delay between game engine ticks for lower cpu (Recommended 0-50)
    Config.DisableModelRendering Disable rendering of models for lower cpu and ram (low cpu does this automatically)
    Config.DisableSceneRendering Disable rendering of scenes for lower cpu and ram (low cpu does this automatically)

    Step 2: Upload or put the configuration into a file.

    The launcher supports a direct absolute path to the .json or .txt file containing this json, or a http url returning the json as a response.

    For this example, i will be using an http route returning my json configuration:
    https://api.myjson.com/bins/17pnmy

    ^ This is a great site to host json for things like this.

    Once we have the path to our configuration, we can just execute the launcher in the command line, passing the file url or http as the second argument.

    java -jar /Users/maddev/downoads/rspeer-launcher.jar https://api.myjson.com/bins/17pnmy
    

    Once that is complete, the launcher should automatically log you in and start the clients up 🙂


  • VIP

    thanks mad

    -- mad



  • Having issues getting it to work with .txt or .json files directly.

    https://i.imgur.com/EXICasa.png


  • Director

    @nutty Strange, i fixed that bug earlier, try re-downloading the launcher again. It thinks that the file path is a url.



  • @maddev @nutty Got the same errors as nutty even after redownloading
    Edit: Ran rspeer-launcher-windows and was prompted to download dependencies which fixed the errors, although when it launches the clients for the accounts I have in the json it only logs in and starts the script for the first client in the array. Can't seem to fix.
    Edit2: After various testing, I found that only one account will cause the client to log into the account and start the script. No matter how I've tried it (creating completely fresh json file, renaming file, running command through different methods, etc.) no other account will log in and start the script.. Wondered if you had any tips.



  • i will make a good soontm of quickargs with launcher since it took me a long ass time to find out how it works


  • Director

    @adivorcedfork Can you show me your JSON file (removing all passes), it shouldn't be possible that it does that assuming they are seperate json objects inside the array.



  • what command do i punch in the terminal to make the launcher boot my configurations I have saved in a text file on my desktop?



  • @burundanga
    java -jar C:\Users\UR USER\Documents\RSPeer\cache\rspeer.jar -qsArgs "/Users/UR URSER/Desktop/file.json"



  • managing to openned 2 clients, im having some inssues 1- they arent injected with proxys (i was trying log in using https proxys expecting conneting error), 2-they open with another world that not the especifiqued (assuming that they don't pick it when the scripts ran), 3- They dont ran scripts... just appears the 2 clients without doing anything more...
    https://imgur.com/YciUh0b
    Could it have this last 2 lines something to do with it?
    Fact: Im newbie at java programing.


  • Director

    @samuxd Nah those lines don't change anything. Your JSON may be invalid, can you send it to me, removing all passes.



  • @samuxd Having exactly the same issue, did you manage to resolve it?


  • Script Writer

    0_1533319282925_Screen Shot 2018-08-03 at 20.01.02.png



  • It opens the clients for me but loads the wrong world and doesn't log in to the accounts. Do anyone of you know why?


  • Director

    I think its actually broken, ill be investigating it tonight.



  • @maddev Thank you.



  • @daalmyte yup a few of us are having the same issue. sit tight and wait for fix:)


  • Director

    This is fixed now I believe. Re-download the new launcher on the site 🙂



  • @maddev fk yes! it works now, ty 😄

    how do we build out the configuration file to have it launch multiple accounts?


  • Director

    @burundanga You can just add another entry to the json.

    {
    	"RspeerEmail": "[email protected]",
    	"RspeerPassword": "FAKE_PASS",
    	"AutoUpdateClient": true,
    	"Clients": [{
    		"RsUsername": "MadDev123",
    		"RsPassword": "rips",
    		"World": 82,
    		"ScriptName": "Manly Chopper",
    		"IsRepoScript": true,
    		"ScriptArgs": "-tree yew",
    		"UseProxy": false,
    		"ProxyPort": 80,
    		"ProxyIp": "",
    		"ProxyUser": "MadDev",
    		"ProxyPass": "FakePass",
    		"Config": {
    			"LowCpuMode": true,
    			"SuperLowCpuMode": true,
    			"EngineTickDelay": 0,
    			"DisableModelRendering": false,
    			"DisableSceneRendering": false
    		}
    	}, {
    		"RsUsername": "MadDev123",
    		"RsPassword": "rips",
    		"World": 82,
    		"ScriptName": "Manly Chopper",
    		"IsRepoScript": true,
    		"ScriptArgs": "-tree yew",
    		"UseProxy": false,
    		"ProxyPort": 80,
    		"ProxyIp": "",
    		"ProxyUser": "MadDev",
    		"ProxyPass": "FakePass",
    		"Config": {
    			"LowCpuMode": true,
    			"SuperLowCpuMode": true,
    			"EngineTickDelay": 0,
    			"DisableModelRendering": false,
    			"DisableSceneRendering": false
    		}
    	}]
    }
    

 

67
Online

3.1k
Users

444
Topics

5.0k
Posts