-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Restore UnitDB function - Update and improve displayed data (#18)
* Improved Error handling Improved error handling. Detect when commands fail. Exit script on failure. Removed use of shell_exec (it does not detect command failures). * Restore UnitDB function + Update/Improve Unit data Correct script errors related to differences between PHP 8.x and earlier versions. Example: count() generates an error if the argument is not an array object (string being passed). Previously, a string argument would return a 1. Correct update.php to read in blueprint data in the correct order (3599 files serve as a baseline, and must be read first). Improved error handling. Add code to properly handle reformatted blueprints. Overhaul of unit DPS and fire cycle calculations to improve accuracy. General improvements in accuracy and completeness of unit data. * Code Cleanup Requested changes of 2024-04-05 (code cleanup). Corrected DPS code for Salvation. * Requested change Updated comment per request.
- Loading branch information
Showing
5 changed files
with
251 additions
and
151 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.