Commit Graph

10 Commits

Author SHA1 Message Date
49dc391442 Update age.py
An enhanced plugin with frequent titles, dynamic quotes, progress bars, random events, handshake streaks, personality evolution, and secret achievements. UI is also optimized to avoid clutter.
2025-05-04 14:15:07 -07:00
cfbbcd8e03 Update age.py
New Enhancements in v2.0.3:

Documented Training Logic:
    In on_epoch, a comment explains why train_epochs increments every 10 epochs: # Increment train_epochs every 10 epochs to simulate slower training progress.

Enhanced File I/O Safety:
    In on_handshake, handshake logging is wrapped in a try-except block to handle file writing errors gracefully.

Refined Decay Mechanics:
    In apply_decay, decay calculation uses floating-point division for smoother, more proportional point reduction.

Increased Logging:
    Added debug and info logs for better transparency:

    on_epoch: Logs epoch number and points (logging.debug).
    check_achievements: Logs new titles (logging.info).
    apply_decay: Logs points lost due to decay (logging.info).
    on_handshake: Logs captured handshake details (logging.info).

Thread Safety:  
    Imported threading and added a data_lock in __init__. Used in save_data to ensure thread-safe file writing.

Accurate Achievement Notifications: 
    Tracks previous titles and stars to ensure new achievements are detected and announced correctly.
    
Robust Handshake Handling: 
    Adds type checking and error logging to prevent crashes from unexpected data, making the plugin more stable.
    
Seamless New Installations: 
    Fully initializes all attributes when starting fresh, improving reliability for new users.
    
Persistent Progress: 
    Saves achievement states to the data file, maintaining continuity across sessions.
2025-03-16 16:52:34 -07:00
0adbe77031 Update age.py 2025-02-16 20:30:15 -08:00
4ac0a3a59f Update age.py 2025-02-16 17:50:42 -08:00
583105e4aa Update age.py
Added age_checkpoint method in plugin is a function that is called during the on_epoch event, which occurs periodically as your Pwnagotchi goes through its training or operating cycles. The purpose of this method is likely to trigger a status update or event notification when epochs are met.
2025-02-01 20:22:55 -08:00
ad6088f14f Update age.py
Pwnagotchi Age Plugin v2.0.1 - New Features and Enhancements!

Release Notes: Version 2.0.1 of the Pwnagotchi Age Plugin has just dropped! Here's what's new:

    Achievement Tiers: Unlock titles based on your activity. Titles like WiFi Deity, Handshake Titan, and Unstoppable await!
    Configurable Titles: You can now define custom titles for Age and Strength.
    Decay Mechanics: Inactivity will cause points decay—stay active or risk losing points!
    Progress Tracking: Track your network points and handshakes using a star system. Reach milestones and gain rewards!
    UI Enhancements: New dynamic status updates with motivational messages and faces that show up when you level up!

edit config.toml file: 

main.plugins.age.enabled = true
main.plugins.age.age_x_coord = 101
main.plugins.age.age_y_coord = 80
main.plugins.age.str_x_coord = 160
main.plugins.age.str_y_coord = 80
main.plugins.age.decay_interval = 50
main.plugins.age.decay_amount = 5
2025-02-01 18:08:59 -08:00
a738446937 Update age.py
Changed Stat to ReP
2024-12-21 21:01:41 -08:00
5c6d6febf2 Update age.py 2024-12-15 17:00:36 -08:00
024dda965c Update age.py 2024-12-15 14:56:57 -08:00
1694241c21 Add files via upload
Below is an example of how you can describe the plugin’s purpose, functionality, and installation instructions in a README.md file on your GitHub repository. You can adjust the wording and formatting as you see fit:
Age, Strength, and Network Points Plugin for Pwnagotchi

Author: AlienMajik
Version: 1.0.4
License: MIT
Description

This Pwnagotchi plugin extends your Pwnagotchi’s user interface and functionality by adding three key stats:

    Age (♥ Age): Tracks how many epochs your Pwnagotchi has lived.
    Strength (Str): Indicates how much your Pwnagotchi has "trained," increasing every 10 epochs by default.
    Network Points (★ Pts): Awards points based on the type of network handshakes your Pwnagotchi captures. Stronger encryptions yield more points, weaker encryptions yield fewer. The points are logged for your reference.

Network Points Scoring:

    WPA3: +10 points
    WPA2: +5 points
    WEP/WPA: +2 points
    Open/Unknown: +1 point

Each time points are awarded, an entry is appended to /root/network_points.log with the ESSID, encryption type, points gained, and the updated total.

All stats (age, strength, network points) are saved to /root/age_strength.json, ensuring that your Pwnagotchi remembers these values across reboots.
Features

    Persistent Stats: Age, Strength, and Points survive restarts.
    UI Integration: Displays stats directly on the Pwnagotchi screen.
    Logging: Keeps a dedicated log file of network-related point gains.
    Customizable: You can tweak increments and positions via config options.
2024-12-14 23:19:32 -08:00