Greasy Fork

eRepublik #SPRINGBREAK Mission Tracker v3.25 (v57)

Track eRepublik #SPRINGBREAK missions in real time with a clean, draggable, collapsible panel. Fully local, privacy-first, bot-free, and player-friendly. Tracks missions, not players. Made by a gamer, for gamers.

这些是此脚本变更过代码的版本。 显示所有版本。

  • v3.25 2025-05-16

    eRepublik #SPRINGBREAK Mission Tracker Changelog

    [3.25] - 2025-05-16 (v57)

    Added

    • Touch event support for panel dragging (touchstart, touchmove, touchend, touchcancel) for mobile compatibility.
    • Tooltip close button (×) with .tooltip-close styling for manual dismissal.
    • TooltipManager class for centralized tooltip visibility and event handling.
    • Global click listener to hide tooltips when clicking outside.

    Changed

    • Refactored makeDraggable into startDrag, onMove, and stopDrag functions for touch and mouse support.
    • Updated .info-icon with padding: 8px for larger click/touch targets.
    • Modified .mission-box .tooltip and .mt-summary .tooltip CSS:
      • Positioning: left: 0; transform: translateX(-50%) for centering.
      • Visibility: visibility: hidden/visible; opacity: 0/1 for smoother transitions.
      • Added will-change: opacity, visibility for performance.
      • Increased padding to 8px and added box-shadow.
    • Replaced inline tooltip event listeners with TooltipManager.setupTooltipEvents.
    • Updated tooltip HTML to include <span class="tooltip-close">×</span>.
    • Enhanced debug logs for tooltip positioning with tooltipRect details.

    Fixed

    • Tooltip misalignment with accurate centering via getBoundingClientRect() and translateX(-50%).
    • Event listener conflicts using TooltipManager for reliable tooltip behavior.

    Notes

    • No changes to mission tracking, data fetching, or mission objectives.
  • v3.23 2025-04-27

    Changelog for eRepublik #SPRINGBREAK Mission Tracker v3.23

    v55

    • Fixed panel stuck at top of screen with unreachable header due to invalid saved position in localStorage.
    • Added position validation in makeDraggable to prevent invalid or off-screen top/left values.
    • Added boundary checks to keep panel within viewport during dragging and initialization.
    • Enhanced resetPanel to clear conflicting inline styles and set reset flag to prevent position override.
    • Added console command resetMissionTrackerPanel() for emergency reset if panel is unreachable.
    • Updated info modal to document reset options (Ctrl+Shift+R, double-click, console command).
    • Improved debug logging for position changes and computed styles.
    • Fixed tooltip positioning to align with each .info-icon’s position within the panel.
    • Updated .mission-box .tooltip and .mt-summary .tooltip CSS for precise centering (left: 0, transform: translateX(-50%) relative to icon).
    • Increased top: 16px for better spacing below icons.
    • Added dynamic left positioning in hover event listeners using getBoundingClientRect() for accurate placement.
    • Added width: max-content to tooltips to prevent excessive width.
    • Enhanced debug logs for tooltip positioning.
  • v3.22 2025-04-27

    # eRepublik #SPRINGBREAK Mission Tracker v3.22

    Track your #SPRINGBREAK mission progress in eRepublik with a clean, draggable, and collapsible panel. See live updates for all 10 daily missions, including progress percentages, rewards, and now **individual mission tips, combo tips, and overall strategy tips** to boost your gameplay experience — while fully complying with eRepublik’s rules.

    ## Features
    - **Real-Time Tracking**: Displays mission progress, time elapsed, and overall event progress (Day X/14) in a sleek panel.
    - **Individual Mission Tips**: Every mission now includes helpful **tips, tricks, and strategies** to complete it faster and smarter.
    - **Combo Mission Tips**: Discover **synergies** between missions to **combine tasks** and optimize your time and resources.
    - **Overall Strategy Tips**: Plan your entire #SPRINGBREAK event with **early, mid, and late game strategy advice**.
    - **Dynamic Tooltips**: Click or hover over the “i” icons to reveal live **mission tips and combo hints** without cluttering the panel.
    - **User-Friendly UI**: Drag, collapse, or reset the panel to fit your screen perfectly.
    - **Privacy-First**: Runs locally in your browser, with no external data collection or tracking.
    - **No Automation**: You control all actions (e.g., “Work,” “Fight,” “Travel”); the script only visualizes progress.
    - **Donation-Supported**: Free to use, with optional donations to fund updates and new features.

    ## Installation
    ### Step 1: Install Tampermonkey
    To use this script, you need a user script manager like Tampermonkey, which safely runs custom scripts in your browser.
    1. **Download Tampermonkey**:
    - **Google Chrome**: Visit the [Chrome Web Store](https://chrome.google.com/webstore/detail/tampermonkey/dhdgffkkebhmkfjojejmpbldmpobfkfo) and click “Add to Chrome.”
    - **Firefox**: Visit the [Firefox Add-ons](https://addons.mozilla.org/en-US/firefox/addon/tampermonkey/) and click “Add to Firefox.”
    - **Other Browsers**: Check [Tampermonkey’s official site](https://www.tampermonkey.net/) for compatible extensions (e.g., Edge, Safari).
    2. **Install Tampermonkey**: Follow the browser’s prompts to add the extension. You’ll see a Tampermonkey icon in your browser’s toolbar.
    3. **Verify Installation**: Click the Tampermonkey icon and select “Dashboard” to ensure it’s active.

    ### Step 2: Install the Script
    1. **Install the Script**: Click the “Install this script” button on this Greasy Fork page.
    2. **Confirm Installation**: Tampermonkey will open a preview window. Click “Install” to add the script.
    3. **Visit eRepublik**: Go to [eRepublik](https://www.erepublik.com/) or refresh the page if already open. The mission tracker panel will appear on the left side of the screen.

    ## Usage Instructions
    - **View Missions**: The panel displays all 10 daily #SPRINGBREAK missions with progress bars, percentages, rewards, and tip icons.
    - **Access Tips and Strategies**:
    - **Individual Mission Tips**: Click the “i” next to any mission to see mission-specific advice.
    - **Combo Tips**: Look for opportunities to combine tasks and complete multiple missions together.
    - **Overall Strategy**: Open the panel for the full event strategy overview and tips to plan ahead.
    - **Interact with the Panel**:
    - **Drag**: Click and drag the panel header to move it anywhere on the screen.
    - **Collapse/Expand**: Click the “–” or “+” button to hide or show the mission details.
    - **Reset Position**: Click the “⟲” button to return the panel to its default position (top-left).
    - **View Info**: Click the “i” button at the top to open a modal with detailed script information, including donation options.
    - **Donate**: Click the gold coin button to support development via eRepublik’s donation system.
    - **Monitor Progress**: The panel updates automatically as you complete mission tasks (e.g., fighting, working). No manual refreshes needed!
    - **Troubleshooting**: If the panel doesn’t appear, refresh the page or ensure Tampermonkey is enabled. Contact support for persistent issues.

    ## Support This Project
    If this script saves you time, please consider a small donation to keep it updated and ad-free:
    - **[Donate via eRepublik](https://www.erepublik.com/en/economy/donate-money/2103304)**: Support in-game with currency or gold.
    - **[Contact for ZBD Donation](mailto:[email protected])**: Email for cryptocurrency donation details.

    ## Feedback
    - **Bugs/Questions**: Message me in-game at [Janko Fran](https://www.erepublik.com/en/main/messages-compose/2103304).
    - **Source Code**: View on [Greasy Fork](https://greasyfork.org/en/users/1461808-janko-fran).

    ## License
    This script is provided free of charge for personal, non-commercial use. You are granted a perpetual, royalty-free license to use this script on your own eRepublik account. No part of this script may be modified, redistributed, or used for commercial purposes without the express written permission of the author, Janko Fran.

    ## Additional Info
    - **Language**: English (en)
    - **Compatibility**: Works on all modern browsers with Tampermonkey (Chrome, Firefox, Edge, Safari).
    - **Event Timing**: Optimized for the #SPRINGBREAK event (Day X/14 as of April 2025). Check back for updates to support future events.
    - **Privacy Note**: This script is transparent, with no trackers, ads, or hidden behavior. All code is open for review on Greasy Fork.

    Made by a gamer, for gamers. Enjoy the #SPRINGBREAK event!

  • v3.13 2025-04-26

    Release Notes — eRepublik #SPRINGBREAK Mission Tracker v3.13 (v43)

    ✨ What's New

    • Save Panel Position
      The mission panel now remembers its last position across page reloads (using localStorage).

    • Save Collapse/Expand State
      The panel now also remembers if it was collapsed or expanded between sessions.

    • Blueprint Reward Detection
      Missions that reward a vehicle blueprint now display a small blueprint icon next to the reward.

    • Info Modal Improvements
      Refactored the Info Modal for cleaner structure, better text consistency, and easier future updates.

    • UI Polishing
      Improved mission box layouts, button styles, and overall panel interaction for a smoother experience.

    🔥 Internal Improvements

    • Added a debug mode switch (CONFIG.DEBUG) to easily enable test missions and detailed logging.
    • Modularized info sections and HTML generators for better maintainability.

    Update Summary

    Item Description
    Version 3.13
    GreasyFork Upload Version v43
    Main Focus Usability improvements, reward enhancements, persistent panel behavior

    Reminder

    • The script remains fully privacy-friendly, local-only, and non-automated.
    • If you find this script useful, please consider supporting development through Donations.

    Technical Metadata

    Script ID: 533867
    Script Name: eRepublik #SPRINGBREAK Mission Tracker
    Version: 3.13
    GreasyFork Upload Version: v43
    
  • v3.11 2025-04-24