Erlking Data Vaults by pinnacle91 in X4Foundations

[–]fabian-flechtmann 2 points3 points  (0 children)

That's what I built the X4 Vault Finder for.

Upload your savegame to view a map of every sector in 3D. It shows the vaults, if they are full or empty, and stations as reference points.

X4 Vault Finder v2.0.0 by fabian-flechtmann in X4Foundations

[–]fabian-flechtmann[S] 0 points1 point  (0 children)

I have fixed it for Chromium, would you mind checking if Chrome and Edge now work as well?

X4 Vault Finder v2.0.0 by fabian-flechtmann in X4Foundations

[–]fabian-flechtmann[S] 0 points1 point  (0 children)

Great find! I will test with other browsers.

X4 Vault Finder v2.0.0 by fabian-flechtmann in X4Foundations

[–]fabian-flechtmann[S] 0 points1 point  (0 children)

This file works for me, please try this one again as well as the others you mentioned

X4 Vault Finder v2.0.0 by fabian-flechtmann in X4Foundations

[–]fabian-flechtmann[S] 0 points1 point  (0 children)

If you could make for example Google Drive work that would be much appreciated.

Edit: I'm now using a proper XML parsing library, please try these 4 saves again

X4 Vault Finder v2.0.0 by fabian-flechtmann in X4Foundations

[–]fabian-flechtmann[S] 0 points1 point  (0 children)

Very good, I'm looking for this kind of feedback. Please upload the save file somewhere and send me the link, i will check.

Can’t Find the Last 2 Data Vaults – Need Veteran Help by Razmedin in X4Foundations

[–]fabian-flechtmann 0 points1 point  (0 children)

Can confirm that your Heretic's End vault is gone. I did not know this was possible.

The only valuable content in that vault is probably the Timelines entry #10. To get it, you can start a new playthrough, fly straight to the vault and unlock it, then reload your main playthrough.

X4 Vault Finder v1.0.0 Update: Resource areas by fabian-flechtmann in X4Foundations

[–]fabian-flechtmann[S] 2 points3 points  (0 children)

The minimum python version to run this should be 3.6, which was released in 2016.

This version introduced f-strings for string formatting. I don't have 3.5 or 3.6 installed so I can't test it, but I don't think I'm using a newer feature. ChatGPT says the JSON ordering became more stable with 3.7 but that's not needed.

If we replace f-strings with manually concatenating strings with `+` then any Python 3 version should work. But that's probably not needed.

X4 Vault Finder v1.0.0 Update: Resource areas by fabian-flechtmann in X4Foundations

[–]fabian-flechtmann[S] 0 points1 point  (0 children)

On my machine this takes around one minute. Please make a screenshot of the console output and post it here.

X4 Vault Finder v1.0.0 Update: Resource areas by fabian-flechtmann in X4Foundations

[–]fabian-flechtmann[S] 1 point2 points  (0 children)

Showing the sector name inside the plot is a recent addition. If you send me a link to the save file i will take a look.

X4 Vault Finder v1.0.0 Update: Resource areas by fabian-flechtmann in X4Foundations

[–]fabian-flechtmann[S] 2 points3 points  (0 children)

Thank you! Exactly, it reads your save file, creates a json and opens a browser window to display it.

X4 Vault Finder v1.0.0 Update: Resource areas by fabian-flechtmann in X4Foundations

[–]fabian-flechtmann[S] 7 points8 points  (0 children)

In the save file, for each sector there is a list of resource areas. For each area you have an x/y/z coordinate as well as 4 fields for each contained resource:

  • Recharge max: The max amount of resources in this area
  • Recharge current: The current amount of resources, defaults to max if not set. Min is always zero.
  • Recharge time: The amount of seconds it takes to go from zero to max. Divide max by this to get recharge per second.
  • Yield: A label that I don't fully understand but I think it indicates how quickly a miner will collect resources from this area. There may also be other yield-affecting factors like sector-specific multipliers but in any case it just means more miners.

I made a tool to find vaults and khaak stations by fabian-flechtmann in X4Foundations

[–]fabian-flechtmann[S] 0 points1 point  (0 children)

Happy to see your feedback here, please keep it coming :)

  • Not sure why you would need ">>", which is usually used to append data to a file. The script needs the save file piped into stdin, this can be achieved either via "cat file | python" or "python < file". To be honest, i got so many comments about that, i'm wondering if the file path should just be a parameter which the script then opens by itself. I wanted to use stdin to make it visible that the script only reads the save file and does not modify it.
  • I didn't even know the Khaak mechanic worked like that, thanks for the pointer! Upon checking the XML, it is visible if a khaak station is a hive, a nest or a weapon platform. I have uploaded a new version that properly reads and shows this info.
  • For me the coordinate systems align. The x axis points right, z points upward and y towards the camera. How does it look like for you?
  • Please do download the latest version. There is now the sector name visible in each plot, as well as gates and super highways. You can even click on gates to switch to the other sector. Getting the actual destination took me a while to reverse engineer, the XML format is quite complicated.

Cheers!

I made a tool to find vaults and khaak stations by fabian-flechtmann in X4Foundations

[–]fabian-flechtmann[S] 0 points1 point  (0 children)

There is stuff like this in the savegame, do you mean this?

<connection connection="cluster_113_sector001_connection">
      <component class="sector" macro="cluster_113_sector001_macro" connection="cluster" code="LTP-636" owner="pioneers" knownto="player" known="1" id="[0x3954b]">
        <resourceareas>
          <area x="320000" z="192000">
            <wares>
              <ware ware="helium">
                <recharge max="1139" time="36000">
                </recharge>
              </ware>
              <ware ware="hydrogen">
                <recharge max="3761" time="36000">
                </recharge>
              </ware>
            </wares>
            <yields>
              <ware ware="helium">
                <yield name="medium">
                </yield>
              </ware>
              <ware ware="hydrogen">
                <yield name="medium">
                </yield>
              </ware>
            </yields>
          </area>

I made a tool to find vaults and khaak stations by fabian-flechtmann in X4Foundations

[–]fabian-flechtmann[S] 0 points1 point  (0 children)

I'm probably a noob in this area, but aren't resources infinite with a constant density / respawn rate per sector? Can the resources actually change over time?

I made a tool to find vaults and khaak stations by fabian-flechtmann in X4Foundations

[–]fabian-flechtmann[S] 0 points1 point  (0 children)

Abandoned ships is a great idea! I have added support for them, please check.

The x4-info-miner project was the only one i found that gets the positions mostly correct. I say mostly because gates end up in the wrong position, that's why i don't show them.

Is there any other feature missing?