- Joined
- Dec 9, 2016
- Messages
- 4,057
- Thread Author
- #1
Hi all,
As some of you are aware when you attempt to open multiple clients sometimes you come across the 'unable to create advertising error'. @Savior created a resource a few months ago to launch a specified number of clients from the command line after choosing the game-mode. I have adapted it to be able to open up multiple clients of both game modes for users who bot both game modes. You can find the code below, copy and paste it into a notepad document, save it as a .bat file and launch it.
As some of you are aware when you attempt to open multiple clients sometimes you come across the 'unable to create advertising error'. @Savior created a resource a few months ago to launch a specified number of clients from the command line after choosing the game-mode. I have adapted it to be able to open up multiple clients of both game modes for users who bot both game modes. You can find the code below, copy and paste it into a notepad document, save it as a .bat file and launch it.
Code:
@echo off
:AMOUNT_SETUP
SET result=false
SET /P rs3input="Amount of RS3 clients: "
SET /A rs3amount="%rs3input%"*1
SET /P osinput="Amount of OSRS clients: "
SET /A osamount="%osinput%"*1
IF %rs3amount% GTR 0 SET result=true
IF %osamount% GTR 0 SET result=true
IF "%result%" == "true" GOTO RUN
GOTO INVALID_AMOUNT
:INVALID_AMOUNT
ECHO Invalid input
GOTO AMOUNT_SETUP
:RUN
FOR /L %%i IN (1, 1, %rs3amount%) do (
START jagex-jav://runescape.com/jav_config.ws
)
FOR /L %%i IN (1, 1, %osamount%) do (
START jagex-jav://oldschool33.runescape.com/jav_config.ws
)