April 24, 20178 yr 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.
April 24, 20178 yr 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 April 24, 20178 yr by Isolate
April 24, 20178 yr 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.
April 24, 20178 yr 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