aniki432789 Posted May 24, 2018 Posted May 24, 2018 Hello everyone, I developed my own handler for logging in and out that works perfectly for the default account, but now that I'm transitioning to more than one bot, I can't use the default account tab for more than one account and I'm running into issues where when an account on a non-default tab logs out, it automatically tries logging back in. I don't really want to fuss with changing very much in my script so I started researching on how to just disable the auto log in https://osbot.org/forum/topic/101247-disabling-auto-login/ https://osbot.org/forum/topic/64766-disable-autologin/ My research came up with both these links and in the comments are snippets of code that end up utilizing a "RandomBehaviourHook" class that doesn't exist. I'm not sure where to go from here? Thank you for your time.
packthebowlll Posted May 24, 2018 Posted May 24, 2018 27 minutes ago, aniki432789 said: Hello everyone, I developed my own handler for logging in and out that works perfectly for the default account, but now that I'm transitioning to more than one bot, I can't use the default account tab for more than one account and I'm running into issues where when an account on a non-default tab logs out, it automatically tries logging back in. I don't really want to fuss with changing very much in my script so I started researching on how to just disable the auto log in https://osbot.org/forum/topic/101247-disabling-auto-login/ https://osbot.org/forum/topic/64766-disable-autologin/ My research came up with both these links and in the comments are snippets of code that end up utilizing a "RandomBehaviourHook" class that doesn't exist. I'm not sure where to go from here? Thank you for your time. Stop using the tabs, and open more clients. Not necessarily what you're looking for but will be a temp fix.. plus I've heard there are issues with running tabs.
Alek Posted May 24, 2018 Posted May 24, 2018 Use CLI to disable randoms (which includes AutoLogin): "-allow norandoms" 1
aniki432789 Posted May 24, 2018 Author Posted May 24, 2018 Thanks for that, Alek. Unfortunately I was utilizing the random solver for getting past the welcome screen upon logging in, but I guess beggars can't be choosers eh. Whipping up something to handle that screen should be simple anyhow. Thanks again! 1
Explv Posted May 24, 2018 Posted May 24, 2018 1 hour ago, aniki432789 said: Thanks for that, Alek. Unfortunately I was utilizing the random solver for getting past the welcome screen upon logging in, but I guess beggars can't be choosers eh. Whipping up something to handle that screen should be simple anyhow. Thanks again! https://osbot.org/forum/topic/109560-a-simple-login-handler/