January 23, 201610 yr 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, 201610 yr by lisabe96
January 23, 201610 yr Author 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, 201610 yr by lisabe96
January 23, 201610 yr 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.
January 23, 201610 yr public static float round(float d, int decimalPlace) { return BigDecimal.valueOf(d).setScale(decimalPlace, BigDecimal.ROUND_HALF_UP).floatValue(); }
January 23, 201610 yr Author 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
January 23, 201610 yr 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.
January 23, 201610 yr Author 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("#.##");
Create an account or sign in to comment