This is my first attempt at scripting (so please be gentle !!) - after getting a bit disenchanted with Export Statistics & UPLINK - mostly due to it reducing the value of my factories by 80million for no apparent reason I thought I would have a go at writing a script to do the job with a bit more detail. This is the result..........
G-Corp Auditor v1
To install just unzip the file into your x2 directory using the paths stored.
To run the report you select "Order a GCorp Audit Report" from the ship/additional commands menu. This will freeze x2 whilst the report compiles (200+ factories and 600+ships on my machine takes about 10 seconds), returning 3 incoming messages:
Page 1: Ship breakdown by class
Page 2: Valuation of Ships & Station - Hull value and Ware value
Page 3: Cash Values and Summary
It will also make a log file in CSV format called "LOG05150.TXT" in the X2 directory - this contains everything that goes in to make the report. Which includes pretty much everything all cash, stations, wares in stations, ships, wares in cargo, installed wares and tunings. If you really want to find out where your wealth is then this can be loaded into your favourite spreadsheet.
For those with BIG empires the report should handle values of up to 999,999,999,999,999,999 credits. Although I have only tested on my largest empire which was just over 3 billion !!
There are a few screenshots of the report and the script files available from here
Credit for the "engine" for finding ships and stations came from the old XUStats report - logaan.companyvalues - and there is a lot of inspiration from the newer X3 Asset Summary Report - most importantly how to get around the 2 billion limit !!!
Hope you like it !!!
G
[Edit] - Forgot to add that you need the Trading System Extension for the command to appear !!
[Script] G-Corp Auditor v1
The place to discuss scripting and game modifications for X²: The Threat.
Moderators: Scripting / Modding Moderators, Moderators for English X Forum
1 post
• Page 1 of 1
-
- Posts: 1463
- Joined: Fri, 20. Feb 04, 15:14
[Script] G-Corp Auditor v1
Post by Gazzareth »
1 post
• Page 1 of 1
Return to “X²: The Threat - Scripts and Modding”
Jump to
- English Forums
- ↳ X4: Foundations
- ↳ X4: Foundations - Spoilers
- ↳ X4: Foundations - Technical Support
- ↳ X4: Foundations - Scripts and Modding
- ↳ Construction Community
- ↳ X Wiki Discussion
- ↳ X Rebirth Universe
- ↳ X Rebirth VR Edition
- ↳ X Rebirth - Technical Support
- ↳ X Rebirth - Scripts and Modding
- ↳ X³: Farnham's Legacy
- ↳ X³: Farnham's Legacy - Scripts and Modding
- ↳ X Trilogy Universe
- ↳ X³: Terran Conflict / Albion Prelude / Farnham's Legacy - Technical Support
- ↳ X³: Terran Conflict / Albion Prelude - Scripts and Modding
- ↳ X³: Reunion, X²: The Threat, X-T and X-BTF - Technical Support
- ↳ X³: Reunion - Scripts and Modding
- ↳ X²: The Threat - Scripts and Modding
- ↳ Creative Universe
- ↳ Off Topic English
- Deutschsprachige Foren
- ↳ X4: Foundations
- ↳ X4: Foundations - Spoilers
- ↳ X4: Foundations - Technische Unterstützung
- ↳ X4: Foundations - Scripts und Modding
- ↳ X Rebirth Universum
- ↳ X Rebirth VR Edition
- ↳ X Rebirth - Technische Unterstützung
- ↳ X Rebirth - Scripts und Modding
- ↳ X³: Farnham's Legacy
- ↳ X³: Farnham's Legacy - Scripts und Modding
- ↳ X Trilogie Universum
- ↳ X³: Terran Conflict / Albion Prelude / Farnham's Legacy - Technische Unterstützung
- ↳ X³: Terran Conflict / Albion Prelude - Scripts und Modding
- ↳ X³: Reunion, X²: Die Bedrohung, X-T und X-BTF - Technische Unterstützung
- ↳ X³: Reunion - Scripts und Modding
- ↳ X²: Die Bedrohung - Scripts und Modding
- ↳ Kreative Zone
- ↳ Off Topic Deutsch
- Forum Français
- ↳ X4: Foundations
- ↳ Support et Aide pour X4: Foundations
- ↳ Script et Modding pour X4: Foundations
- ↳ L'Univers X Rebirth
- ↳ Support et Aide pour X Rebirth
- ↳ Script et Modding pour X Rebirth
- ↳ Support et Aide pour la Trilogie X
- ↳ L'Univers de la Trilogie X
- ↳ Script et Modding pour la Trilogie X
- ↳ Off Topic Français
- Forum Italiano
- ↳ X4: Foundations
- ↳ Supporto Tecnico per X4: Foundations
- ↳ Script e Modding per X4: Foundations
- ↳ L'Universo di X Rebirth
- ↳ Script e Modding per X Rebirth
- ↳ Supporto Tecnico per X Rebirth
- ↳ L'Universo della Trilogia di X
- ↳ Script e Modding per la Trilogia di X
- ↳ Supporto Tecnico per la Trilogia di X
- ↳ Off Topic Italiano
- Polskie Fora
- ↳ Polskie / Polish X-Forum
- ↳ Polskie / Polish Off Topic
- Other Languages
- ↳ Česky / Czech X-Forum
- ↳ Dansk / Danish X-Forum
- ↳ Español / Spanish X-Forum
- ↳ Nederlands / Dutch X-Forum
- ↳ Português / Portuguese X-Forum
- ↳ Русский / Russian X-Forum
- DevNet: General
- ↳ MSCI Reference
- DevNet: X4: Foundations
- DevNet: X Rebirth
- ↳ XR - Technical Troubleshooting