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.

Java Process Id

Featured Replies

Need the java process id within the script. I need it to manage my bots outside of the scripting environment.

The initial java process created is not the final process of the bot either.

I have tried all the solutions using reflection and they are not even working with the reflection flag.

2 hours ago, Trees said:

Need the java process id within the script. I need it to manage my bots outside of the scripting environment.

The initial java process created is not the final process of the bot either.

I have tried all the solutions using reflection and they are not even working with the reflection flag.

execute (for windows)
 

WMIC path win32_process get Caption,Processid,Commandline

if line.contains(getBot().getUsername())
the last thing in that line however you wanna filter it out will be the pid 
then do what you want with it

Edited by Isolate

  • Author
3 hours ago, Isolate said:

execute (for windows)
 


WMIC path win32_process get Caption,Processid,Commandline

if line.contains(getBot().getUsername())
the last thing in that line however you wanna filter it out will be the pid 
then do what you want with it

 

Does it provide whole CLI argument like user/pass of acct itself (not OSBot)? Otherwise kinda useless with more than one process.

9 hours ago, Trees said:

 

Does it provide whole CLI argument like user/pass of acct itself (not OSBot)? Otherwise kinda useless with more than one process.

yea it should, you can strip the info you need like world and script and reboot a new one or whatever you're doing

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.