Type: Mod
Name: Picklock's rocket silo stats
Description: This mod shows a gui with statistics on rocket launches and as in the vanilla Factorio up to version 1.0 statistics about the payload and more.
License: GNU GPLv3
Version: 2.0.5
Release: 25.11.2024
Tested with-Factorio-version: 2.0.21
Compatible with Factorio: Space Age: Yes
Download: mods.factorio.com
Download-Url: https://mods.factorio.com/mod/PicksRocketStats
Category: Utility
Tags: Utility, Gui, Rocket silo stats
Website: https://forums.factorio.com/viewtopic. ... 0&t=93018
Introduction
This mod shows a gui with statistics on rocket launches as in the vanilla Factorio up to version 1.0 and more with the following features:
Toggleable statistics gui by button or key combination
The values can be displayed as total values or per surface
Display of the number of missiles launched
Space age: Display of launched astronauts (players) by name
Display of the number, (Space-Age:) the quality and type of payload launched
Switchable display of the average launched rockets and their payload
Hideable column headings for a compact display
Launch time for calculating the average values can be customised via the in-game settings
This mod brings back the rocket silo stats with the started payload from the Vanilla Factorio V1.0 in Factorio V1.1 and higher. In addition, the number of rockets launched can be displayed.
It is also possible to display the rockets launched and their payload on average for a given period of time. If the mod was activated at the start of a game, the start time of the first rocket is used. If the mod is activated in a savegame, where rockets have already been started, then 2 hours is selected as the start time.
+++++++
Known Issues
There aren’t any open issues.
+++++++
When you find a problem, post it below and I will add it to the list of issues to be dealt with when possible. For more detailed discussions you can always send me a PM. As I’m not always online it may take a while till you get a response. I will consider the posts or issues I see, and do my best to work fixes into the mod, although I might not reply directly to every notice.
+++++++
Regarding bugs, hopefully there will be few crashes and loading failures. I have solved all of these that I found by my local testing. Interaction with other mods is almost wholly untested.
+++++++
Abbreviated changelog
Version: 2.0.5
Date: 25.11.2024
Features:
Mod setting 'Show values per surface' moved from map settings to per player settings. The displayed surface is now individual for each player.
Mod setting 'Show column headings' moved from map settings to per player settings. The column headers are now displayed individually for all players.
Mod setting 'Show in stats' moved from map settings to per player settings. What is displayed in the statistics is now individual for all players.
Mod setting 'Items to track', 'Whitelist' and 'Blacklist' moved from map settings to per player settings. Which items are displayed in the statistics is now individual for all players.
Scrollbar added to statistics display. This means that the entire statistics window no longer scrolls but only the table.
Column headings are separated from the column content.
Average values are always displayed with 2 decimal places.
Added freely selectable characters for decimal separators and thousands separators.
Set default of setting "Items to track" to "All" due to Factorio: Space Age
+++++++
Inspiration
I want to thank the Factorio team for making such an amazing game. It’s my favorite game at the moment.
+++++++
A Note:
In making this mod, I tried my best to work with the base assets and my own custom code. But it is possible that I missed something like a copied placeholder. If you find something that should not be there, please tell me explaining what it is, and I will try to rectify the matter as soon as possible.
Re: [MOD 1.1] Picklocks rocket silo stats
Posted: Mon Mar 06, 2023 9:13 am
by picklock
Update V1.1.0 for Factorio V1.1:
Features:
- Added an in-game gui to configure the rocket silo stats' settings
- Added a setting to add thousands separators (,) for the values
Bugfixes:
- Fixed a bug that caused the toggle button and the rocket silo stats to be shown and hidden incorrectly as long as no rocket was launched when this option was changed via the mod settings.
Balancing:
- The start time for calculating average values when adding the mod to saves with already launched rockets has been increased to 2 hours.
Locale:
- Updated and tweaked language files
See start post for details.
Re: [MOD 1.1] Picklocks rocket silo stats
Posted: Wed Mar 08, 2023 4:48 pm
by picklock
Update V1.1.1 for Factorio V1.1:
- Fixed a bug that caused a non-recoverable error when players interacted with gui elements from other mods.
See start post for details.
Re: [MOD 1.1] Picklocks rocket silo stats
Posted: Tue Feb 06, 2024 5:16 pm
by picklock
Update V1.1.2 for Factorio V1.1:
Bugfixes:
- Fixed a rare bug where the mod settings were not recognized correctly after loading a savegame.
- Fixed a bug that caused other GUIs to open when closing the settings window with the ESC key or the confirmation key (default "E").
Features:
- The average can now be updated with an adjustable time period, even if no rocket has been launched.
Locale:
- Updated and tweaked language files
See start post for details.
Re: [MOD 1.1] Picklocks rocket silo stats
Posted: Sat Feb 17, 2024 5:48 pm
by picklock
Version: 1.1.3 for Factorio V1.1:
Date: 17.02.2024
Bugfixes:
- Fixed a bug where after loading a savegame the rocket silo stats were displayed incorrectly after the start of the next rocket.
See start post for details.
Re: [MOD 2.0] Picklocks rocket silo stats
Posted: Wed Oct 23, 2024 5:18 am
by picklock
Version: 1.2.0 for Factorio V2.0:
Date: 24.10.2024
Features:
- Update for game version 2.0
Changes:
- Set default of setting "Items to track" to "All" due to Factorio: Space Age
See start post for details.
Re: [MOD 1.1 - 2.0] Picklocks rocket silo stats
Posted: Wed Oct 23, 2024 2:18 pm
by MegaHamster7
Hi,
I have an issue where the mod causes a fatal error on first rocket launch.
Here's the notice from in game:
The mod Picklocks rocket silo stats (1.2.0) caused a non-recoverable error.
Please report this error to the mod author.
Error while running event PicksRocketStats::on_rocket_launched (ID 10)
'inventory index': real number expected got nil.
stack traceback:
[C]: in function 'get_inventory'
__PicksRocketStats__/control.lua:617: in function <__PicksRocketStats__/control.lua:592>
I added the mod to my game as it wasn't available for space age when I started my game.
Would love a fix, don't want to miss out on counting my rockets!
Re: [MOD 1.1 - 2.0] Picklocks rocket silo stats
Posted: Wed Oct 23, 2024 4:00 pm
by picklock
Hi MegaHamster7!
Thank you for your message. I will have a look at it and fix it as soon as possible.
Re: [MOD 2.0] Picklocks rocket silo stats
Posted: Thu Oct 24, 2024 9:31 am
by picklock
Version: 1.2.1 for Factorio V2.0
Date: 24.10.2024
Bugfixes:
- Fixed a non-recoverable error when a player joins a game.
- Fixed a non-recoverable error when a rocket was launched.
Info:
- Factorio: Space Age: Only the rocket launches are counted. The payload is not currently recorded in Space Age.
See start post for details.
@MegaHamster7: Thank you again for reporting the error. I apologize for the inconvenience.
Re: [MOD 2.0] Picklocks rocket silo stats
Posted: Sun Nov 17, 2024 5:54 pm
by picklock
Version: 2.0.0 for Factorio V2.0:
Date: 17.11.2024
Bugfixes:
- Fixed a bug that caused an unknown key to be displayed in the control settings.
Info:
- Factorio: Space-Age: The number and type of payload can be displayed as in the base game.
- Factorio: Space-Age: Only newly launched payload is recorded.
- The payload quality is displayed.
- The launched rockets and the payload can also be displayed per surface.
- Players (astronauts) in rockets can be captured.
Locale:
- Updated and tweaked language files
See start post for details.
Re: [MOD 1.1 - 2.0] Picklocks rocket silo stats
Posted: Sun Nov 17, 2024 9:29 pm
by picklock
Version: 2.0.1 for Factorio V2.0:
Date: 17.11.2024
Bugfixes:
- Fixed a non-recoverable error with on_configuration_changed.
Locale:
- Updated and tweaked language files
See start post for details.
Re: [MOD 1.1 - 2.0] Picklocks rocket silo stats
Posted: Sun Nov 17, 2024 10:03 pm
by picklock
Version: 2.0.2 for Factorio V2.0:
Date: 17.11.2024
Bugfixes:
- Fixed a non-recoverable error with on_loadd.
See start post for details.
Re: [MOD 2.0] Picklocks rocket silo stats
Posted: Mon Nov 18, 2024 9:49 am
by picklock
Version: 2.0.3 for Factorio V2.0:
Date: 18.11.2024
Bugfixes:
- Fixed a bug that in rare cases could lead to a non-recoverable error when migrating from 1.x versions of the mod..
See start post for details.
Re: [MOD 2.0] Picklocks rocket silo stats
Posted: Mon Nov 18, 2024 9:13 pm
by picklock
Version: 2.0.4 for Factorio V2.0:
Date: 18.11.2024
Bugfixes:
- Fixed a bug that caused the hidden rocket silo statistics display to reappear after every rocket launch.
See start post for details.
Re: [MOD 2.0] Picklocks rocket silo stats
Posted: Mon Nov 25, 2024 10:03 am
by picklock
Version: 2.0.5 for Factorio V2.0:
Date: 25.11.2024
Features:
- Mod setting 'Show values per surface' moved from map settings to per player settings. The displayed surface is now individual for each player.
- Mod setting 'Show column headings' moved from map settings to per player settings. The column headers are now displayed individually for all players.
- Mod setting 'Show in stats' moved from map settings to per player settings. What is displayed in the statistics is now individual for all players.
- Mod setting 'Items to track', 'Whitelist' and 'Blacklist' moved from map settings to per player settings. Which items are displayed in the statistics is now individual for all players.
- Scrollbar added to statistics display. This means that the entire statistics window no longer scrolls but only the table.
- Column headings are separated from the column content.
- Average values are always displayed with 2 decimal places.
- Added freely selectable characters for decimal separators and thousands separators.
Locale:
- Updated and tweaked language files