Jump to content
View in the app

A better way to browse. Learn more.

OSBot :: 2007 OSRS Botting

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

get cli email and pass and proxy

Featured Replies

hey, im looking to grab the email and password as well as proxy info that is entered via cli

im planning to use it to login with norandoms (explvs login handler)

i currently:

grab new login and pass from a file, use explvs login handler to enter info, if banned/locked grab new info from file, retry

but it grabs the first email:pass from the file on very first login, where as i want it to login first with cli entered email/pass upon first login, then if banned/locked grab new info from a file

how would i make it so i can do:

    LoginEvent loginEvent = new LoginEvent(cli email, cli pass);

 

i need this as i plan to swap to:

if banned/locked

write a new .bat file with new login info and run

so you can see why id need it to login first with cli user/pass

 

i have to use norandoms due to script being paused when osbots handler logs in (meaning if acc disabled the script will end, where as i need it to continue)

Edited by Lewis

Just now, Lewis said:

doesnt get the parameters for -script SCRIPT:PARAMETERS?

it does, if you have code that you can show that would help

  • Author
1 minute ago, Tom said:

it does, if you have code that you can show that would help

i dont use getparameters since my script is just -script script:anythingcosidoneuseparams

and im not attempting to grab cli info atm so there isnt any code :p

31 minutes ago, Lewis said:

 

hey, im looking to grab the email and password as well as proxy info that is entered via cli

 

going by this

 

Say you have this as your cli

-script LewisScript:lewis@mail.com-123456

 

GetParameters will return: lewis@mail.com-123456

Split that by '-' and you have your params.

String[] params = getParameters().split("-");
String email = params[0];
String password = params[1]

 

I don't see why that wouldn't work, if you are using norandoms

 

I dont think you can grab the initial account details from CLI, so you are better off not using them, and having them all in a file and just starting from the top, and working down if accounts are banned

Edited by Tom

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.