Moderators NoFear Posted March 29, 2016 Moderators Share Posted March 29, 2016 (edited) Please, need help with determining how values are converted. Here is a list of values in game and the Dword value of it: 10 1076101120 7458 1086136832 7468 1086139392 7478 1086141952 2978 1084703680 3056 1084743680 3234 1084834816 3254 1084845056 3289 1084862976 3299 1084868096 3309 1084873216 3334 1084886016 3354 1084896256 15492 1087259136 15570 1087269120 Hopefully @Enyby you can help me Edited March 29, 2016 by NoFear1183 Fixed typo in value Link to comment Share on other sites More sharing options...
Administrators Enyby Posted March 29, 2016 Administrators Share Posted March 29, 2016 12 minutes ago, NoFear1183 said: 3289 1084868096 3299 1084868096 Same value. It is impossible. Link to comment Share on other sites More sharing options...
Moderators NoFear Posted March 29, 2016 Author Moderators Share Posted March 29, 2016 Lol. Typo. 3289 is 1084862976 Link to comment Share on other sites More sharing options...
Administrators Enyby Posted March 29, 2016 Administrators Share Posted March 29, 2016 Need more data from continuos range. 0-20 would be perfect. Link to comment Share on other sites More sharing options...
Moderators NoFear Posted March 29, 2016 Author Moderators Share Posted March 29, 2016 (edited) I'll try. Sorta difficult to obtain a value I want. Edit: Game is I Love Coffee. It is by Line. Edited March 29, 2016 by NoFear1183 Link to comment Share on other sites More sharing options...
Administrators Enyby Posted March 29, 2016 Administrators Share Posted March 29, 2016 And power of 2: 2 4 8 16 32 64 and so on Link to comment Share on other sites More sharing options...
Moderators NoFear Posted March 29, 2016 Author Moderators Share Posted March 29, 2016 See what I can do for you. Link to comment Share on other sites More sharing options...
Administrators Enyby Posted March 29, 2016 Administrators Share Posted March 29, 2016 Look like sorted bits from source number and some xor at the end. But not all data fit this theory. Need check - may be present some mistakes. Link to comment Share on other sites More sharing options...
Moderators NoFear Posted March 29, 2016 Author Moderators Share Posted March 29, 2016 Counting up from 1 1072693248 1073741824 1074266112 1074790400 1075052544 1075314688 1075576832 1075838976 1075970048 1076101120 1076232192 1076363264 1076494336 1076625408 1076887552 1076953088 1077018624 1077084160 1077149696 1077215232 1077280768 1077346304 Values 1 through 23. If something doesn't seem right, I could've mistyped... Link to comment Share on other sites More sharing options...
Administrators Enyby Posted March 29, 2016 Administrators Share Posted March 29, 2016 Answer: same as previous is double. double - double hex - first 32 bit as dword. 10 = 4024000000000000 1076101120 2978 = 40a7440000000000 1084703744 3056 = 40a7e00000000000 1084743680 3234 = 40a9440000000000 1084834816 3254 = 40a96c0000000000 1084845056 3289 = 40a9b20000000000 1084862976 3299 = 40a9c60000000000 1084868096 3309 = 40a9da0000000000 1084873216 3334 = 40aa0c0000000000 1084886016 3354 = 40aa340000000000 1084896256 7458 = 40bd220000000000 1086136832 7468 = 40bd2c0000000000 1086139392 7478 = 40bd360000000000 1086141952 15492 = 40ce420000000000 1087259136 15570 = 40ce690000000000 1087269120 Code for http://www.tutorialspoint.com/compile_java_online.php public class HelloWorld{ public static void main(String []args){ int[] arr = new int[] {10,2978,3056,3234,3254,3289,3299,3309,3334,3354,7458,7468,7478,15492,15570}; for (int j: arr) { long l = Double.doubleToLongBits((double)j); System.out.println(j + " = " + Long.toHexString(l) + " " + ((int)(l >> 32))); } } } For your new data: 1 = 3ff0000000000000 1072693248 2 = 4000000000000000 1073741824 3 = 4008000000000000 1074266112 4 = 4010000000000000 1074790400 5 = 4014000000000000 1075052544 6 = 4018000000000000 1075314688 7 = 401c000000000000 1075576832 8 = 4020000000000000 1075838976 9 = 4022000000000000 1075970048 10 = 4024000000000000 1076101120 11 = 4026000000000000 1076232192 12 = 4028000000000000 1076363264 13 = 402a000000000000 1076494336 14 = 402c000000000000 1076625408 15 = 402e000000000000 1076756480 16 = 4030000000000000 1076887552 17 = 4031000000000000 1076953088 18 = 4032000000000000 1077018624 19 = 4033000000000000 1077084160 20 = 4034000000000000 1077149696 21 = 4035000000000000 1077215232 22 = 4036000000000000 1077280768 23 = 4037000000000000 1077346304 2 Link to comment Share on other sites More sharing options...
Moderators NoFear Posted March 29, 2016 Author Moderators Share Posted March 29, 2016 How do you know this and figure this out? You are talented! 1 Link to comment Share on other sites More sharing options...
Administrators Enyby Posted March 29, 2016 Administrators Share Posted March 29, 2016 Many tries with script, xor, compare values in different way. In the end I noticed similar look up as previous task. I check and all worked. Link to comment Share on other sites More sharing options...
Administrators Enyby Posted March 29, 2016 Administrators Share Posted March 29, 2016 Usually cifer worked with xor - this is very comfortable for this operation. Because xor A twice got same number. And some shift: to left, to right or cyclic shift. Of course can be another biwise operators - and, or, not but it rarely. First step in any investigation - write source and destination in bit form and compare visually. Another step - compare changes from similar numbers and how it changes reflect in destination. Next steps dependent on getted results. Link to comment Share on other sites More sharing options...
acestars Posted March 30, 2016 Share Posted March 30, 2016 6 hours ago, NoFear1183 said: How do you know this and figure this out? You are talented! ikr, maybe he/she can create dedicated thread to find pattern Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now