lisabe96 Posted January 23, 2016 Share 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 Quote Link to comment Share on other sites More sharing options...
Realist Posted January 23, 2016 Share Posted January 23, 2016 damn you're on a roll! Quote Link to comment Share on other sites More sharing options...
Zikama Posted January 23, 2016 Share Posted January 23, 2016 Wow calm down, the SDN is overheating. Quote Link to comment Share on other sites More sharing options...
Animos Posted January 23, 2016 Share Posted January 23, 2016 this ********gga on fire lmfao Quote Link to comment Share on other sites More sharing options...
lisabe96 Posted January 23, 2016 Author Share 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 Quote Link to comment Share on other sites More sharing options...
Animos Posted January 23, 2016 Share 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. Quote Link to comment Share on other sites More sharing options...
lisabe96 Posted January 23, 2016 Author Share Posted January 23, 2016 report yourself and tell them in that. Done Quote Link to comment Share on other sites More sharing options...
LoudPacks Posted January 23, 2016 Share Posted January 23, 2016 public static float round(float d, int decimalPlace) { return BigDecimal.valueOf(d).setScale(decimalPlace, BigDecimal.ROUND_HALF_UP).floatValue(); } Quote Link to comment Share on other sites More sharing options...
lisabe96 Posted January 23, 2016 Author Share 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 Quote Link to comment Share on other sites More sharing options...
LoudPacks Posted January 23, 2016 Share 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. Quote Link to comment Share on other sites More sharing options...
lisabe96 Posted January 23, 2016 Author Share 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("#.##"); Quote Link to comment Share on other sites More sharing options...