stav Posted September 3, 2017 Share Posted September 3, 2017 how do you go about making an auto login script? i cant use the built-in one, since it appears to be using color detection which is problematic since im running it on vps with no graphical environment Quote Link to comment Share on other sites More sharing options...
Butters Posted September 3, 2017 Share Posted September 3, 2017 Use this. Might need some tweaking to suite your personal needs but works well. I seriously doubt you'll have problems with "color detection" when running a VPS without a graphical interface. Correct me if I'm wrong Quote Link to comment Share on other sites More sharing options...
stav Posted September 3, 2017 Author Share Posted September 3, 2017 (edited) thanks, ill try it out. to be honest i dont think its the color detection thats the problem either because im using xvfb which should still keep track of all the graphics in memory, so it should still work. but for some reason when i run it, it doesn't seem to log in? even with the random solver enabled the command i use to run it: xvfb-run -a java -jar osbot.jar -login stav:mepassword -bot account1@mailimator.com:mepassword:000 0 -world 393 -script testscript:null -allow randoms it doesn't give me any errors, it just outputs: Starting local script with name: testscript [DEBUG][09/03 09:31:55 AM]: Injected 2 field list filters [DEBUG][09/03 09:31:55 AM]: Injected 2 field filters [DEBUG][09/03 09:31:55 AM]: Injected 2 method list filters [DEBUG][09/03 09:31:55 AM]: Injected 3 method filters so it appears to be working, but the account never actually logs on? has anyone ever successfully ran osbot on a vps before? Edited September 3, 2017 by stav Quote Link to comment Share on other sites More sharing options...
Butters Posted September 3, 2017 Share Posted September 3, 2017 (edited) 4 minutes ago, stav said: thanks, ill try it out. to be honest i dont think its the color detection thats the problem either because im using xvfb which should still keep track of all the graphics in memory, so it should still work. but for some reason when i run it, it doesn't seem to log in? even with the random solver enabled the command i use to run it: xvfb-run -a java -jar osbot.jar -login stav:mepassword -bot account1@mailimator.com:mepassword:000 0 -world 393 -script testscript:null it doesn't give me any errors, it just outputs: Starting local script with name: testbot [DEBUG][09/03 09:31:55 AM]: Injected 2 field list filters [DEBUG][09/03 09:31:55 AM]: Injected 2 field filters [DEBUG][09/03 09:31:55 AM]: Injected 2 method list filters [DEBUG][09/03 09:31:55 AM]: Injected 3 method filters so it appears to be working, but the account never actually logs on? has anyone ever successfully ran osbot on a vps before? Once again I might be wrong, but through my trial and error I think OSBot launches a new process after it's login screen. This means you can say bye bye to all the output afterwards. Use java -jar osbot.jar -debug 5011 Or any other port. This will pipe the output. Also, if you're new to this install a Graphical environment and VNC to just play around. Edited September 3, 2017 by nosepicker 1 Quote Link to comment Share on other sites More sharing options...
stav Posted September 3, 2017 Author Share Posted September 3, 2017 oh wow. it worked. i have no idea why though? guess my vps just didn't allow the bot to create another process, or something? anyways thanks so much. Quote Link to comment Share on other sites More sharing options...
Butters Posted September 3, 2017 Share Posted September 3, 2017 nah it was running, you just didn't see the output, cause you didn't add the -debug flag. 1 Quote Link to comment Share on other sites More sharing options...