lisabe96 Posted January 23, 2016 Posted January 23, 2016 (edited) This script is written by request. It cooks fish at the Al-Kharid range. Also has a "cook all raws" option, which will cook every raw fish in your bank which you have the required level for. Version 1.0 (F2P Fish only) Click here to download Version 1.1 (All fish F2P & P2P) Click here to download Place the download jar in "c:\Users\YOUR_USER\osbot\scripts\" Edited January 23, 2016 by lisabe96 1
lisabe96 Posted January 23, 2016 Author Posted January 23, 2016 (edited) damn you're on a roll! Wow calm down, the SDN is overheating. Just a small script somebody requested, didn't take long. Going on cooldown and play some league now P2P version added, supports all P2P fish. To bad I can't change the thread title Edited January 23, 2016 by lisabe96
Animos Posted January 23, 2016 Posted January 23, 2016 Just a small script somebody requested, didn't take long. Going on cooldown and play some league now P2P version added, supports all P2P fish. To bad I can't change the thread title report yourself and tell them in that.
lisabe96 Posted January 23, 2016 Author Posted January 23, 2016 report yourself and tell them in that. Done
LoudPacks Posted January 23, 2016 Posted January 23, 2016 public static float round(float d, int decimalPlace) { return BigDecimal.valueOf(d).setScale(decimalPlace, BigDecimal.ROUND_HALF_UP).floatValue(); }
lisabe96 Posted January 23, 2016 Author Posted January 23, 2016 public static float round(float d, int decimalPlace) { return BigDecimal.valueOf(d).setScale(decimalPlace, BigDecimal.ROUND_HALF_UP).floatValue(); } Or just use (int)Math.round(value); :p It's fixed in the download
LoudPacks Posted January 23, 2016 Posted January 23, 2016 Or just use (int)Math.round(value); It's fixed in the download I figured u wanted to specify to which decimal the number is rounded to.
lisabe96 Posted January 23, 2016 Author Posted January 23, 2016 I figured u wanted to specify to which decimal the number is rounded to. The the proper way would probably be formatting the string DecimalFormat df = new DecimalFormat("#.##");