Skip to content

Arcopix/dg-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dg-tools

Description

Basic Javascript fixes for DarkGalaxy beta released in May 2020. It fixes/augments the interface by acheiving the following modifications:

  1. Colorizes friendly alliances player names and alliance tags (NAP and CAP coloring)
  2. Player name tags are now having onclick event which will open the /mail/ system with predefined recipient
  3. Mail system now supports TO variable which if set would set the recipient
  4. Cancelling the top building/ship/soldier which is being built at the moment now requires confirmation
  5. Implements planet navigation with ARROW KEYS (left and right) in building overview
  6. Implements system navigation with ARROW KEYS (left and right) in galaxy and sector navigation
  7. Implements switching through fleets with ARROW KEYS (left and right)
  8. Show all population in the planet list and planet details page, not just available population
  9. Capability to send a screenshot to a Discord channel via user defined webhook (or copies it in the clipboard if such is not configured)
  10. Sorting of planets by name (both planet listing and fleet navigation drop down)
  11. Sorting of fleets by name in fleet listing
  12. Sorting comms in the radar section based on turns
  13. Smart inputs on coordinates in fleet orders and scanning (using dot and backspace now navigates between the coordinates)
  14. Added confirmation on kicking members
  15. Selecting scan type in comms can be done by clicking anywhere on the row
  16. Minor bug fixes in DarkGalaxy front-end
  17. Labels for Repeat and All resources are now activating the checkbox
  18. Capability to select planet for fleet queuing from the Navigation
  19. General planet income statistics
  20. Logistics calculator per planet
  21. Improved resources transfer with fleet orders
  22. Capability to select planet for scanning from the Navigation
  23. Indication of speed modifiers on planet list (ST/HB/JG)
  24. Ease of transfer resources and ships by clicking the specific resource/ship
  25. Capability to export the planet list with various details to a CSV file for download

There are more features which are not listed at the moment

Installation

  1. Download/install Tampermonkey plugin for your browser (https://www.tampermonkey.net/).
  2. Enable Tampermonkey plugin
  3. Open the link depending on the version

Special thanks

  • Mordread

    • for providing the base (used to be jQuery code) for some of the navigation
    • for providing the idea of sorting radars (still under testing)
    • for providing the initial implementation of the now defunct TOTAL POPULATION patch
  • Sintelion

    • for providing the idea of TOTAL POPULATION patch
  • Raptor

    • for proof of concept code for general statistics
  • CR1 & Kroketa

    • for providing ideas for improvements (landed ships and sorting by population)
    • general testing of 0.5.0007 - 0.5.0009

Bugs and issues

If you find any bugs or want to provide any feedback, feel free to open an issue on GitHub (https://github.com/Arcopix/dg-tools/issues) or message me in DarkGalaxy Discord.

Warranty

The open source software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the applicable licenses for more details.

License

BSD 3-Clause License

Copyright (c) 2020, Devhex, Stefan Lekov All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

  2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

  3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.