Jump to content

Mines of mars


thebloodycarcass

Recommended Posts

  • Moderators
Posted

I can't remember the exact floating value the game uses. But something like qty of 2 is 2 floating. 3 is 2.125,4 is 2.25.  Fuzzy search can help get it. Worse case, I can make a video for you if needed. 

  • Moderators
Posted

 

 

 

 

 

 

 

 

Use this to help find exact values

http://www.tutorialspoint.com/compile_java_online.php

 

Change the 0 to 100 range to get the floating value of qty. 

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)));
         }
      
     }
}

 

 

 

When you find a resource value. 

Browse nearby values. 

For me I saw negative 1.875 then 3.the negative 1.875 was qty of resource (instead of it being 0).

Once you find one resource, can easily edit the others. 

 

I imagine you can convert the qty you have in your inventory to floating and directly edit them. 

 

Don't edit values too high, game will crash.

  • 1 year later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.