t3n Posted November 13, 2015 Share Posted November 13, 2015 Merchant is a pretty simple game with seemingly simple values. Problem is, I've tried to scan money, and items, but I can never get any values. Tried: Float, bytes Android app store link Link to comment Share on other sites More sharing options...
Moderators NoFear Posted April 10, 2016 Moderators Share Posted April 10, 2016 Use what @Enyby posted http://www.tutorialspoint.com/compile_java_online.php Quote public class HelloWorld{ public static void main(String []args){ for (int i = 0; i < 100; i++) { long l = Double.doubleToLongBits((double)i); System.out.println(i + " = " + Long.toHexString(l) + " " + Float.intBitsToFloat((int)(l >> 32))); } } } change the range that is set from 0 to 30 to a different range. Something like this public class HelloWorld{ public static void main(String []args){ for (int i = 68000; i < 68001; i++) { long l = Double.doubleToLongBits((double)i); System.out.println(i + " = " + Long.toHexString(l) + " " + Float.intBitsToFloat((int)(l >> 32))); } } } Link to comment Share on other sites More sharing options...
Ansems Posted October 27, 2018 Share Posted October 27, 2018 Idont get it... On 4/10/2016 at 9:29 AM, NoFear said: Use what @Enyby posted http://www.tutorialspoint.com/compile_java_online.php change the range that is set from 0 to 30 to a different range. Something like this public class HelloWorld{ public static void main(String []args){ for (int i = 68000; i < 68001; i++) { long l = Double.doubleToLongBits((double)i); System.out.println(i + " = " + Long.toHexString(l) + " " + Float.intBitsToFloat((int)(l >> 32))); } } } Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.