Dreamliner Posted January 17, 2014 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
TheScrub Posted January 17, 2014 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
S Connor Posted January 18, 2014 Posted January 18, 2014 Nice but it takes like 5 secs to manually edit it yourself. 1
Dreamliner Posted January 18, 2014 Author 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