[SCR] [TC+AP] MK3-Commandmenu - v1.70: 28.12.19

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

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

Post Reply
User avatar
N8M4R3
Posts: 173
Joined: Fri, 24. Nov 06, 16:48
x3ap

[SCR] [TC+AP] MK3-Commandmenu - v1.70: 28.12.19

Post by N8M4R3 » Sun, 28. Apr 19, 00:30

Languages:

Deutscher Beitrag


Package comprehensive:

integrated: MK3-Profitansicht (Scriptdesignation till v1.4) + MK3 Improvement Reloaded v1.8.9.8 with Cargomanager by gnasirator + Trade Command Software MK3 - Technical Datasheet by SymTec ltd.


Info / Idea for further development:

This script is an further development of: UTProfit The basic idea and the original script originate from the author euclid

Dear :x3: fans,

Looking for a simple extension that allows you to see if and how much profit a MK3 trader can make, I found the UTPprofit script from Euclid in the English forum. Since in the same post Euclid replied to a user request: "By all means, please feel free to publish your German version." and I could find no implementation in the German forum, so I have created this by my own :)

In the meantime, a lot has changed compared to the original script due to the continuous further development. In addition to new trader information that is displayed, the script has developed more and more from a mere view menu to a platform that includes calling third-party scripts and thus also offers the possibility to configure / manage its MK3 traders.


Official Script Description:

The MK3-Commandmenu is a cross-software platform that provides standardized extensions to MK3's trading software by © BurnIt & MKess Software Ltd. connects with each other via a common user interface, thereby offering the user greater ease of use. Once a trader has been commissioned with the trading command, it is listed in the MK3 command menu and can be viewed there by the integrated trader overview, which provides most important information about a trader. Further detailed information can be viewed in the report view of a selected trader. In addition, integrated management functions, partly related to a single trader as well as at the global trader level, offer further customization options and thus round off this extensive administration menu. © Financial Tracking Software Ltd. - Grand Exchange, wish you a lot of profit and a good flight!


Functional Overview:

- Call via hotkey or station command
- Display of trader information in a self-updating menu
- Trade Command Reassignment or Change
- Other diverse change options such as name change, home base assignment etc.
- Calling configuration third-party tools

How that looks and what information is displayed, can be best illustrated by the following screenshots!


Screenshots:

Image Image Image Image Pictures left to right and from top to bottom show the pictures: Hotkey call, station call, trader overview (main menu), report view (submenu with more detailed information)


Extended Info:

- When called, the script accesses existing information that already exists in the game through the scripts of the MK3 trading software, reads this information and inserts it in a menu. An update of the information is always based on the traders who are active when the script is called up, even when switching between various submenus. If the menu is closed, all associated scripts of the command menu are closed and nothing remains active in the background. Informations does not stored permanently that would not have a negative effect on the size of the savegames in the long run.

- The Trader action usually consists of a "command" in connection with a product to be bought or sold "wantedware", depending on the "command" the information output has already been pre-formatted. However, should there be other types of expenditure ["Command"] + "Goods / station etc." come, I ask for a feedback that I can adjust the information output accordingly.

- Menu was developed in the game resolution of XXXX x 1050 pixels. At lower vertical resolutions, as well as in TC, the report view becomes "Scrollbar". Changing the graphics resolution can help with errors.

- The command menu was designed for the "MK3 Optimization Reloaded Software". When using the Vanilla MK3 trading software, different and incorrect information may appear.

- I am very happy about feedback on my scripcode but also generally for the further development of the script, such as wishes, tips and comments and general feedback, which help to remedy possible errors and to further improve the script and make it more user-friendly.

- Tip: In order to better differentiate the employed trader, it is advisable to name them differently!

- Tip: If you don't like my coloring in the menu, you can edit the file "7006-L049.xml" in Odner "t" and design the menu in a different color for yourself. Everyone knows that everyone has a different taste ;) The only important thing is that the coding "UTF-8" is not changed and thus the "T-file" is not readable for the game. A backup copy is recommended to avoid possible trouble.


Resource usage Commandmenu:

COMMAND_TYPE_STATION_55
6 Scriptfiles, search key: UTProfit
T-file: 7006 with containing page id = 9900


Compatibility:

- Vanilla TC v3.4 + AP v3.3
- DE + EN Language file available
- Already included in the following mods:
- EMC4AP by Aldebaran_Prime
- DAE by Klaus 11
- Other mods should also be compatible if appropriate game resources (see Resources) are not otherwise used.


Download:
Image v1.70: Soo show us your poster with the download link! ->> :tuichdoch: <<-

The change log for the versions is available in the next post!


Setup:

1. Copy Files from directory "X3 - Albion Prelude" or "X3 - Terran Conflict" to the same directorystructure as in your "Gamedirectory of X3: Terran Confilct" and override existing Files if you will be asked.
2. Start Game "X3 - Albion Prelude" or "X3 - Terran Conflict" and go to the "Controls" and pick up surface "Interface" then scroll down to "Extensions" and assign a Hotkey for "MK3 Commandmenu". Alternative you can open the "MK3 Commandmenu" by picking its entry at "Command Console" of your station.


Uninstallation:

1. Script Editor öffnen (open "Command Console" from a ship (shortcut Shift + C) and choose Entry "Script editor" (shortcut s), ckoose again "Script Editor" at opend window auswählen and scroll down and mark Entry "uninstall.plugin.UTProfit", now press Button "r" and confirm twice with "Enter".
2. If "1." was successful done you will get a deinstallation confirmation.
3. Save your Game and exit to desktop.
4. Remove scripts named with "UTProfit" from right directory "scripts" from (X3:TC or AP) Gamedirectory
5. Remove textfiles including number "7006-L..." from right directory "t" from (X3:TC or AP) Gamedirectory
6. Start game X3:TC oder AP again and load your saved game and keep playing without "MK3-Commandmenu"


Terms of Use / Modifications:

When used in mods as usual here in the forum to refer to the origin. Improvements are welcome and will be integrated, which makes further modifications and their publications superfluous. With such a project, a previous PN for information would be very nice, thank you!


External alternatives and Infos:

Script: Handelsübersicht by ScRaT_GER -> (Captures traded goods and maintains a trader's log)
Script: MK3 Handelsprotokoll by SymTec ltd. -> (Creates an external log file to see the trader's profitability and his trade actions)


Credits:

Many Thanks! on...

Egosoft for the X Series
euclid for his first version of the script and the inspiration for further development!
ticaki, moggy2, Dr Xavia, SymTec ltd., DrBullwinkle, gnasirator, Egosoft and all others who have worked on the trading software MK3 or their "Optimization Reloaded"!
Klaus11 for the ongoing support, which made it possible for me to release version 1.2 at the beginning without the previously known bugs!
those gentlemen who have taken the trouble to write an answer, it does not matter whether constructive criticism, suggestions for improvement, error messages, etc., about any answer from feedback, a scripter or modder is glad!

many Greetings
Nightmare
Last edited by N8M4R3 on Sat, 28. Dec 19, 21:54, edited 34 times in total.
Meine X3 Werke: MK3-Kommandomenü | Plotübersicht EMC4AP | X-Studio AP v3.3 Syntax
Tools: Wayback-Machine
Externe Archive für Scripte und Resourcen: X-Downloads

User avatar
N8M4R3
Posts: 173
Joined: Fri, 24. Nov 06, 16:48
x3ap

Re: [SCR] [TC+AP] MK3-Kommandomenü (Origin UTProfit) - v1.6: 28.04.19

Post by N8M4R3 » Sun, 28. Apr 19, 00:31

Bugfixing / further Development

Change Log:

In Processing:
Currently no further changes planned.

v1.70: released 28.12.19

New: New menu option selectable from the Trader Overview "Show potential Traders and Traders out of Service"
New: If Traders stop the service due to damage, this will be shown in the Trading Action.
New: The Report View has been extended by the function "Show Traders on Sector Map".
New: The following new information is added to the Trader Overview: Main Account, Shields% and Hull%, Currently in Sector, Action Duration, and Trading Action.
New: The Trader Overview has been expanded by a "Global Trader Configuration" which contains the commands: "Set / Set new » home base " and " Remove » assigned home bases"
New: Contained scripts of MK3 Optimization Reloaded updated to new v1.8.9.8.
Change: The menu window of the Trader Overview has been enlarged, which means that more information can already be displayed in the main menu window.
Change: Due to the necessary changes to the previous script to make a dynamic menu, the script was partly rewritten. Some names and formats have been revised.
General Change: Trader Overview and Report View menu are now dynamic, which means that the "Update button" and the "System time" in the report view are no longer necessary and available.
Bugfix: If Trader's Homebase was a ship, it could not be removed from the menu.

v1.60: released 28.04.19

Change: Output trade range changed.
Bugfix: Traders will still be listed in the trader overview even after performing a emergency jump.


v1.51: released 07.10.18

Change: Script separated for TC and AP, because the script is incompatible for TC. Changes only refer to descriptions in AP-Script. With the TC-Script the query to the existence of script files and the associated error messages was deactivated, which also concerns the call of the "MK3 -Laderaummanager & -Blacklistmanager." Furthermore also an incompatible menu command had to be adapted to this Script at TC, whereby now all menu lines are selectable.
Bugfix: Textid corrected, error message 404-1 is no longer triggered by mistake.

Known Bugs:
#1 If traders had to initiate a emergency jump, they will no longer be listed in the trader overview after resuming trading.


v1.50: released 01.10.18

New: New submenu for changing the statics implemented, this can be a mistake of the MK3 Optimization Reloaded in the context of a pilot change fixed and possibly the profit reset
New: The blacklist and loading manager, both included in the MK3 Optimization Reloaded, can now be accessed from the menu
New: Due to the progress of the menu and the reliability of correctly displayed information, the software "MK3 Optimization Reloaded" is required. The Vanilla MK3 software is now no longer supported
New: Trader can now be reassigned from within the report as sector and regional trader or universe trader and renamed arbitrarily
New: Homebase can now be reassigned or deleted from the report view
New: Menu Options now available from Trade Overview and Report View: Return to Merchant Overview + Update Report View (Merchant Overview) or Close Menu
New: Audio output (board computer Betty) with subtitles added at various events
New: Extended Info (Yes / No) Combat drones for defense on board
New: Info Lines: Action, Trade Trip Number, Destination Station, Current Duration of Action, Station Added, Constructor's Trail, and Maximum Available Dealer Range Added
New: Homebase (Yes/No), Damage to the hull, dealer rank and the current type of trade is now displayed in the dealer overview
Change: Renamed by further gone script development in "MK3 Kommandomenü"
Change: Info line Paid pilot has been removed because it was not calculated correctly
Change: Menu structures and color coding by innovations Adapted

Known Bugs:
#1 specifying a Textid incorrectly, which incorrectly throws the error 404-1 "The language fle 7006-Lxxx is missing or corrupt".


v1.40: released 18.06.18

New: Uninstallscript attached.
New: Negative profit is now highlighted in the dealer overview
New: Extended Info (Yes / No) Special software MK1 installed
Change: Changes to the acquisition and output of the system time, which now also results in seconds in the output.
Change: The list of dealers in the overview is now sorted by name, from top to bottom A -> Z
Major Change: From now on, the script will be able to be found again in the extensions of the interface, as this script does not execute any commands and therefore does not really fit in there. Call now by assigned hotkey or from any station.
Bugfix: Earned profit now also on the report page, assigned to the right dealer.
Bugfix: Issue sector and regional traders now right again.
Bugfix: Error in calculating the maximum available loading space size fixed!


v1.30: released 11.06.18

New: Error messages when T-File or Script file are not present, there will be appear an incoming message
New: menue more structured and entries on report page now not selectable
New: Extended Info (Yes / No) Maximum rudder optimization, ship is armed, combat software MK1 installed, combat software MK2 installed, jump drive available
New: info lines, goods transport class, case integrity %, Time of report generation, load capacity: xxx of max: xxx, shield capacity: xxx of max: xxx and maximum speed: xxx of max: xxx
Change: The profit information is now retrieved earlier in the script and displayed behind the ship name in the selection menu. So you get the most important information directly assigned to the individual dealer.
Change: Info Line Pilot Rank + Name has been moved from Ship Information to Trade Information

Known Bugs:
#1: Error in calculation of the maximum available loading space size, display at not yet maximum dismantling Faulty
#2: Earned profit is not reflected in the report page of the dealer.
#3: Distinction between sector traders and regional traders.


v1.20 released 05.06.18

New: Comments expanded, set T-ID Areas and Files cleaned up
New: Infotext added to the selectable trading command in the trading menu
New: The info line in the ship selection menu now informs you about the number of dealers that have been found so that the window does not remain empty if there’s no active MK3 Traders.
New: Subdivision of the info lines Categories: Ship information and trade information
New: The menu now gets some color and there will be displayed new info lines: payed Credits to pilot, trade reach, ship id, Type of Ship, Trader ship, Assigned Sector and Homebase
Change: All descriptions are now no longer Script internal and will bet read from T-File
Bugfix: By changing the Script call the Sector and Lokaltrader won’t be displayed as two different Traders.
Bugfix: Trader stopped trading by calling the Profit View and the autopilot gets activated if you start the script calling from ships Command Console (Big thanks to Klaus11 for his Help!)


v1.10: released 30.05.18

Change: Edited the Script internal descriptions
New: Translated the T-files to 7006.L049
Bugfix: Edit Script to get Sector Traders displayed

Known Bugs:
#1 When calling up the overview menu of that dealer, the autopilot gets activated and the player ship is possibly reoriented, the same causes when calling the menu on the command console of a MK3 dealer, the sector or universal trading gets canceled. That's why the menu is best always to run on your own player ship!


v1.00 released 28.04.09 (Source program Code by euclid)

Known Bugs:
#1 When calling up the overview menu of that trader, the autopilot gets activated and the player ship is possibly reoriented, the same causes when calling the menu on the command console of a MK3 dealer, the sector or universal trading gets canceled. That's why the menu is best always to run on your own player ship!
#2 Sector and local traders are not differentiated.


_______________________________________________________________________________________________________________________________________________________________________________________


Known Bugs originating from MK3 Optimization Reloaded v1.8.9.7_fixed
- # 1 The pilot's salary is not reflected in the actual salary via the variable "salary". (traders salary removed from v1.5 above!)
- # 2 If the pilot changes to another ship and the MK3 command continues, the amount of his trade number moves to a lower number. (Adaptation possibility implemented from v1.5 above!)
Last edited by N8M4R3 on Sat, 28. Dec 19, 16:50, edited 1 time in total.
Meine X3 Werke: MK3-Kommandomenü | Plotübersicht EMC4AP | X-Studio AP v3.3 Syntax
Tools: Wayback-Machine
Externe Archive für Scripte und Resourcen: X-Downloads

User avatar
N8M4R3
Posts: 173
Joined: Fri, 24. Nov 06, 16:48
x3ap

Re: [SCR] [TC+AP] MK3-Commandmenu - v1.70: 28.12.19

Post by N8M4R3 » Sat, 28. Dec 19, 16:46

Hello everybody,

just in time before the turn of the year into a new decade, I would also like to adapt my command menu to the age :D

I replaced the "old-fashioned" menu, which can be updated only manually, with a self-updating "dynamic menu"! as well as other innovations to the menu, which can be seen in the following change log:

New: New menu option selectable from the Trader Overview "Show potential Traders and Traders out of Service"
New: If Traders stop the service due to damage, this will be shown in the Trading Action.
New: The Report View has been extended by the function "Show Traders on Sector Map".
New: The following new information is added to the Trader Overview: Main Account, Shields% and Hull%, Currently in Sector, Action Duration, and Trading Action.
New: The Trader Overview has been expanded by a "Global Trader Configuration" which contains the commands: "Set / Set new » home base " and " Remove » assigned home bases"
New: Contained scripts of MK3 Optimization Reloaded updated to new v1.8.9.8.
Change: The menu window of the Trader Overview has been enlarged, which means that more information can already be displayed in the main menu window.
Change: Due to the necessary changes to the previous script to make a dynamic menu, the script was partly rewritten. Some names and formats have been revised.
General Change: Trader Overview and Report View menu are now dynamic, which means that the "Update button" and the "System time" in the report view are no longer necessary and available.
Bugfix: If Trader's Homebase was a ship, it could not be removed from the menu.

Image https://www.mediafire.com/file/9yex0a36 ... 9.zip/file

P.S.: I have revised the English translation in the new version and hope that it is now a little better. I would be very happy if someone here in the English forum area would agree to make a proof reading of the English T-File and exchange maybe some not good sounding words :)

I wish you a lot of fun with it and, above all, have a good start into the new decade!

Many greetings
Nightmare
Meine X3 Werke: MK3-Kommandomenü | Plotübersicht EMC4AP | X-Studio AP v3.3 Syntax
Tools: Wayback-Machine
Externe Archive für Scripte und Resourcen: X-Downloads

Post Reply

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