XTreme Fighter

⭐ — (6 endorsements) 📥 151 downloads 📌 v0.1 📅 8/28/2019
⚪ Last updated 2019

By Rapsys · Miscellaneous

⬇ Download Mod Source: Nexus Mods ↗ 📅 Updated: 8/28/2019 📅 Created: 8/28/2019

🔍 Analysis

  • 🏆 #126 of 140 Miscellaneous mods in this game by downloads

📋 About This Mod

This allow to get the achievement X-Treme Fighter by reducing the fight_score requirement from 2560000000 to 2000000000 not reachable normaly as of 2.5HF1 patch.

Until version 2. 5HF1 it is impossible to reach the rank of X-Treme Fighter due to a bug in the engine.

The problem is likely in a failing comparison between the values of fight_score when over maximum signed int value (2147483647) to the required value of 2560000000 to unlock the achievement.

I suspect that the fight_score is casted from a double type to a signed int somewhere, the comparaison with a value over maximum signed int value then fail.

I fix this by patching the libraries/stats.xml file and reduce the requirement to a possible value.

Link to upstream bug report : https://forum.egosoft.com/viewtopic.php?f=180&t=418449

Original post :

There seems to be something wrong where the fight_score reach like intended 2560000000, but the fight_rank stay stuck at 29 and will never reach the "X-Treme" and will stay stuck at "Supreme Veteran"

I tried with 3 different playthrough to get this last missing achievement, there seems to be no way to get it.

Here is a savegame from unmodded/unmodified game, with signature and everything, just one destroyed ship away (fight_score=2559999999) to get the rank :

https://rapsys.eu/egosoft/achievement/quicksave. 7z

(plz uncompress it and recompress it to gzip if needed)

Here are the stats in savegame :

<modified modified="0"/>

<stats>

<stat id="trade_score" value="210"/><stat id="trade_rank" value="6"/>

<stat id="fight_score" value="2559999999"/><stat id="fight_rank" value="29"/>

</stats>

The problem seems to ONLY exists with fight_score/fight_rank, where with trade I got the achievement without problems.

There seems to be an other problem with ships_owned value which may becomes negative if you sell enough ships, claimed after a pilot bailout (maybe the same with unowned ships in the wild ?).

There seems to have a type value problem on the ships_destroyed, limited to the value of a signed int (2147483647) after which it goes negative.

📊 Mod Details

Game
X4foundations Mods
Author
Rapsys
Version
0.1
Downloads
151
Endorsements
6
Category
Miscellaneous
Created
8/28/2019
Updated
8/28/2019

🔧 How to Install X4: Foundations Mods

Download from Nexus Mods.

📖 Full step-by-step install guide for X4: Foundations →

Visit the official mod page for specific installation instructions for this mod.

🎮 Need cheat codes or console commands? Check ur gaming wiki for X4: Foundations commands, item IDs, and more.

Keep browsing — more X4: Foundations mods await

📋 All X4: Foundations Mods 🏆 Top 25 📂 More Miscellaneous 👤 More by Rapsys 🔎 Similar Mods 🌐 Best Miscellaneous (All Games) 🔀 Check Compatibility ⚖️ Compare Mods 🆕 New Mods