[SCR][TC/AP] Automatic Rank Variation Checker [v13a - 11/09/2012]

The place to discuss scripting and game modifications for X³: Terran Conflict and X³: Albion Prelude.

Moderators: Moderators for English X Forum, Scripting / Modding Moderators

Post Reply
User avatar
Juggernaut93
Posts: 2538
Joined: Sun, 17. Jul 11, 21:03

[SCR][TC/AP] Automatic Rank Variation Checker [v13a - 11/09/2012]

Post by Juggernaut93 » Sat, 8. Sep 12, 19:53

Automatic Rank Variation Checker

Image Italian topic

Latest version: 13a - 11/09/2012

Download links:
  • Zip version: Image
  • Spk version: Image
Alternative download link (.zip) from xdownloads:
Image


This script is compatible with any version of X3 Terran Conflict and X3 Albion Prelude and it should be compatible with any other script or mod.

The Automatic Rank Variation Checker is a script originally designed (as from the name) to control any change in reputation, including military and commercial one.

After various updates, the possibility to check the variation of credits and of the number of player ships, stations and minor properties (fighter drones, laser towers, satellites and mines) has been added. Please note that while the script divides ships into classes, it doesn't the same for stations and minor properties, ie the script doesn't distinguish between normal and advanced satellites, between a Fighter Drone MKII and a Keris or between a Ore Mine and a Solar Power Plant. I made this choice in order to weighing the script down.

Once installed, start the ARVC using the hotkey previously assigned to it.

A window will appear asking you to enter the time interval in seconds. In fact, the script checks at regular intervals for any variations of reputation or of the number of player properties and, if present, it will write them in the logbook and/or in an external log file, depending on what you specify. If the time interval is set to 0, the script will check approximately every 10 ms, to avoid that the game freezes.

When you set the time interval, the script will ask you if you want to check the changes in the number of your fighter drones and static properties (ie stations, satellites, mines and laser towers). If you select "Yes", the script will also monitor this kind of properties.

Finally, the script will ask you separately if you want it to write these changes in the logbook and if you want it to also create a log file. If you choose to create a log file, it will be created in the C:\Users\<user_name>\Documents\Egosoft\X3TC folder (if you have Windows 7 and use X3TC, otherwise the path may be different) with the name "log09304.txt".

When you've done and the script starts, you'll be regularly informed of any changes in your properties and reputations.

To disable the script, use the same hotkey you used to enable AVRC.

WARNING: Turning off the script does NOT uninstall it, but simply means that it will not send you messages or write to the log file until you reactivate it with the usual hotkey.

FOR SETUP INSTRUCTIONS AND FURTHER DETAILS, PLEASE READ THE README INCLUDED IN THE DOWNLOAD ZIP FILE

SCREENSHOTS:

ImageImageImage

Code: Select all

Change log:

v0 - 06/07/2012
- Initial version

v1 - 07/07/2012
- Added the check of player credits

v3 - 04/09/2012
- Added the possibility to select a custom time interval

v7 - 04/09/2012
- Possibility to select if the script will write the variations in the logbook and/or in an extern log file (log09304.txt)
- Improved the readability adding some colors
- Texts moved to extern files and added the English translation

v8 - 05/09/2012
- Added the check of player ships subdivided into classes

v9 - 06/09/2012
- Possibility to disable the script
- Added a hotkey to enable/disable the script
- Some little graphic improvements
- Automatic installation (see the "Installation" section)

v10 - 07/09/2012
- Texts edited to further improve the readability
- Added the possibility to check fighter drones, satellites, mines, laser towers and stations (without class subdivisions, ie the script won't distinguish between normal fighter drones and Keris, or between a Ore Mine and a Solar Power Plant). For more details, see the "Usage" section.

v11 - 08/09/2012
- Simplified the script updating
- Minor text corrections
- Possibility to install the script without activating the Script Editor (the game will be anyway "modified")

v12 - 08/09/2012
- Fixed a bug which reduced considerably the accuracy of the set time interval

v13 - 09/09/2012
- Fixed a bug which made the game freeze if you exited the menu without setting the time interval
- Added a confirm message when pressing the "Esc" key in the menu

v13a - 11/09/2012
- Enhanced the setup and removed the initial lag
- Now the other "setup.*" scripts won't have to wait 5 seconds before being run
Used resources:

Code: Select all

T-files: 9304
Text pages: 9304
Logfiles: 09304

Edit [1st December 2015]: added alternative download link from xdownloads. X2-Illuminatus
Last edited by Juggernaut93 on Tue, 20. Aug 13, 21:28, edited 7 times in total.

User avatar
DannyDSC
Posts: 6362
Joined: Sun, 5. Dec 04, 21:32

Post by DannyDSC » Sat, 8. Sep 12, 20:26

thi script is very useful!

stop to check our rank in the player panel, stop to chek the reputation. Easy, light... nice!
EX Egosoft Translator

User avatar
Juggernaut93
Posts: 2538
Joined: Sun, 17. Jul 11, 21:03

Post by Juggernaut93 » Sun, 9. Sep 12, 22:44

Upgrade to version 13

EDIT: Link redirected to last version of the script
Image

Changes:
  • Fixed a bug which made the game freeze if you exited the menu without setting the time interval
  • Added a confirm message when pressing the "Esc" key in the menu
Last edited by Juggernaut93 on Tue, 20. Aug 13, 20:40, edited 1 time in total.

User avatar
Juggernaut93
Posts: 2538
Joined: Sun, 17. Jul 11, 21:03

Post by Juggernaut93 » Tue, 11. Sep 12, 12:32

Minor upgrade to version 13a

Image

Changes:
  • Enhanced the setup and removed the initial lag
  • Now the other "setup.*" scripts won't have to wait 5 seconds before being run
This update doesn't change the main script behavior, but only enhances the setup script and speeds up the loading of the other setup scripts (such as those for the commercial agent or for the logistics).

Therefore you won't receive a confirm message unless this is your first installation.
Last edited by Juggernaut93 on Tue, 20. Aug 13, 20:40, edited 1 time in total.

User avatar
Juggernaut93
Posts: 2538
Joined: Sun, 17. Jul 11, 21:03

Post by Juggernaut93 » Tue, 11. Sep 12, 21:17

Now available spk version for Plugin Manager:

Image

The readme has been properly modified. :P

Post Reply

Return to “X³: Terran Conflict / Albion Prelude - Scripts and Modding”