Dreamliner Posted January 17, 2014 Share Posted January 17, 2014 (edited) Hi devs/others. I like to run my osbot client with the command window open to look for exceptions that aren't thrown in the clients console. I typically find myself getting frustrated having to update my batch file so often so I made this. @echo off SET /a i=100 :loop IF %i%==0 GOTO END if exist ".\osbot 1.7.%i%.jar" GOTO run SET /a i=%i%-1 GOTO LOOP :run java -jar ".\osbot 1.7.%i%.jar" pause :end echo No osbot files found. Please contact Dreamliner on OsBot forums. pauseCopy and paste this into a text document and save it as a batch file. You can now run osbot up to 1.7.100 (can change if need be god forbid..) without needing to change a thing!this must be run from the same directory you save osbot jars in Edited January 17, 2014 by dreamliner 2 Link to comment Share on other sites More sharing options...
TheScrub Posted January 17, 2014 Share Posted January 17, 2014 you can run osbot through your IDE to pick up output messages resulting in this type of result Eclipse: but that is a nice batch file as you don't need to update your dependance's when you want to run it 1 Link to comment Share on other sites More sharing options...
S Connor Posted January 18, 2014 Share Posted January 18, 2014 Nice but it takes like 5 secs to manually edit it yourself. 1 Link to comment Share on other sites More sharing options...
Dreamliner Posted January 18, 2014 Author Share Posted January 18, 2014 (edited) Nice but it takes like 5 secs to manually edit it yourself. I'm lazy. Nice to meet you! *work smarter not harder Edited January 18, 2014 by dreamliner Link to comment Share on other sites More sharing options...
Sex Posted January 21, 2014 Share Posted January 21, 2014 Update in batch Link to comment Share on other sites More sharing options...