Posts by Patrixon

    [Bug Report] OGLight v5.4.1 – Harvest/Reduce buttons in Galaxy view send wrong number of ships (tied to native Espionage Probes setting)

    Hi! First of all, thank you for your hard work on OGLight – it's an amazing userscript.

    I would like to report a bug regarding the Harvest / Reduce buttons in the Galaxy view (when collecting Debris Fields or sending Pathfinders to Position 16 as a Discoverer on a PL server):


    1. The Issue: When clicking the Harvest/Reduce button in Galaxy view, OGLight does not send the calculated number of Pathfinders or Recyclers required for the debris field. Even if the native tooltip says „Required Pathfinders: 5”, the script only sends 1 ship. The exact same issue happens with standard Recyclers.

    2. The Root Cause / Trigger discovered: I noticed that the number of Pathfinders/Recyclers sent by OGLight is erroneously linked to the native OGame Espionage Probes setting (Options -> General -> Spying -> Number of espionage probes):

    • If my default Espionage Probes count in OGame settings is set to 1, clicking Harvest sends exactly 1 Pathfinder / Recycler (ignoring the actual debris calculation).
    • If I change my default Espionage Probes count in OGame settings to 10, clicking Harvest sends exactly 10 Pathfinders / Recyclers.

    It looks like the Harvest/Reduce button in Galaxy view calls the settings.spies variable instead of the calculated required capacity/ships count.

    Environment:

    • OGLight version: 5.4.1
    • Server language: PL (Scorpius)
    • Class: Discoverer (Position 16 debris & standard debris fields)

    Thanks in advance for checking this out.