Skip to content

Commit 4787869

Browse files
authored
Release 0.9.0 (#21)
* [REMOVE] Delete Old Code Structure * [CHANGE] Update Name * [MISC] Add Testing Folder * [MISC] Update README * [ADD] Alert Manager * [ADD] Config Menu * [ADD] Setting Menu * [ADD] Helper Functions * [ADD] Overlay System * [ADD] Alert Tools * [CHANGE] Refactor Main System * [ADD] Test Socket System * [FIX] Position Bug on Create Overlay * [CHANGE] Remove Unnecessary code * [FIX] Closing Freeze * [CHANGE] Moved Vision from GLOBAL to Alert Manager * [REMOVE] Removed Vars now handled by Class it self * [ADD] 90% Neutral IMG * [CHANGE] Logger System * [FIX] Lazy Code * [ADD] Clean Up Function * [FIX] On Window Close System not shutting down * [PRE-COMMIT] Fix Formatting * [CHANGE] Update Logger to work with settings * [CHANGE] info log from info to debug level * [MISC] Update Readme * [FIX] cleanup error * [ADD] Propertys * [ADD] Reload Settings on Change [ADD] Propertys * [CHANGE] Moved setting menu to menu manager * [ADD] changed state * [MISC] Update CHANGELOG * [ADD] Button State for Vision * [MISC] Update Changelog * [MISC] ADD client.json * [ADD] Client Socket System * [ADD] Server Socket System * [FIX] path * [FIX] Some Issues [CHANGE] Buttons now change State [ADD] Message Box [ADD] Logger System * [FIX] Some Issues when Connected, Disconnected, Connection Lost etc. * [CHANGE] Change Name when Server is Host oder Broadcaster [FIX] Alert not working if socket has problem * [CHANGE] Update Req * [CHANGE] Removed Heartbeat [REMOVE] send_message function not needed as listener * [CHANGE] Optimized Settings Functions * [ADD] Mute Function for Server Mode * [ADD] Server Name & Mute Alarm * [CHANGE] Moved Alerter System to own Class [ADD] Alert Mute, Server Name [FIX] Some Issues with connection, disconnection, Alerter Authentification * [CHANGE] Removed Message if Server is not running handled by clean up function * [CHANGE] logger from error to debug * [ADD] Button State function * [CHANGE] Naming Start Socket Server to Start Server * [CHANGE] Error Handling and Output * [CHANGE] Refactor Play Alarm [FIX] If Play Sound Error occurs Program Stop all Events [CHANGE] Moved Vision Error Handling to Vision Class * [ADD] Error Message Box * [MISC] Update Changelog * [MISC] Moved some code upwards * [ADD] Broadcaster Checker [CHANGE] Message System [ADD] Server Name now included in message * [FIX] Broadcaster Mode Server Name * [CHANGE] Rename Broadcast message to recieve alert * [ADD] Heartbeat System * [CHANGE] Rename heartbeat to start_system * [FIX] Server Name not set on Broadcaster Mode * [ADD] Inactive Broadacster Alert * [MISC] Python 3.13 Support * [MISC] Update Readme * [MISCC] Update Readme * [MISC] Update Readme * [REMOVE] Install Guide * [MISCCC] Update Readme * [FIX] Pre Commit Issue * [MISC] Update Readme & Changelog * [MMISC] Update README --------- Co-authored-by: Geuthur <geuthur@users.noreply.github.com>
1 parent 7978007 commit 4787869

42 files changed

Lines changed: 2397 additions & 1491 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
__pycache__/**
22
settings.json
3+
client.json
34
Paper.exe
45
pyinstaller.txt
56
testing/*
@@ -9,3 +10,4 @@ logs/
910
build/
1011
dist/
1112
main.spec
13+
testing/

CHANGELOG.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,44 @@
1+
## [0.9.0] - 2025-01-08
2+
3+
### Changed
4+
5+
- Setting Manager
6+
- The settings manager has been refactored to improve the handling and organization of settings.
7+
- Config Mode
8+
- The configuration mode has been optimized to respond more flexibly to changes.
9+
- Refactor of the entire system
10+
- The system has been refactored to improve code readability and maintainability.
11+
- Logger System
12+
- The logger system has been enhanced to capture more detailed information about errors, aiding in better troubleshooting.
13+
- Alert Sound
14+
- The alert sound will not interrupt the program after an error occurs.
15+
16+
### Fixed
17+
18+
- EveLocal not closing with Window Close:
19+
- An issue was fixed where the EveLocal window would not properly close when the window's close button was clicked. This fix ensures that the window is now correctly closed when the user attempts to exit.
20+
- Settings not reloaded if changed:
21+
- A bug where settings were not being reloaded after being modified has been resolved. Now, when changes are made to the settings, they will be properly reloaded, reflecting the new configuration.
22+
- Vision not reloaded if changed:
23+
- A similar issue was addressed where vision settings (likely related to display or graphical configurations) were not reloaded after changes. This fix ensures that any changes to vision settings are immediately applied and reflected.
24+
- Overlay Window not fitting exactly to the monitor resolution:
25+
- The overlay window was previously not aligning correctly with the monitor's resolution. This issue has been fixed, ensuring that the overlay window now correctly fits and scales to the screen size, providing a more accurate and consistent user interface.
26+
27+
### Added
28+
29+
- Propertys for each system
30+
- New properties have been added to manage and configure each system individually. This allows for more flexibility and control over system settings and their states.
31+
- Socket System (Test)
32+
- A new socket system has been implemented for testing purposes. This enables communication between different components or systems, facilitating data exchange and interactions.
33+
- Cleanup Functions
34+
- Cleanup functions have been introduced to improve resource management. These functions help remove unnecessary data, free up memory, and ensure the application remains efficient by handling cleanup tasks properly.
35+
- Set changed flag in the menu:
36+
- The changed flag is now set to True whenever a modification is made to the menu settings. This helps track changes and triggers actions like warnings before exiting without saving.
37+
- Buttons State
38+
- All buttons now have a state color to indicate when they are pressed. This visual cue helps users easily identify the current state of the buttons, improving the user interface and overall user experience by providing clearer feedback during interaction.
39+
- Message Box System
40+
- Implemented a single-instance error message box to prevent multiple error windows from opening simultaneously.
41+
142
## [0.5.0] - 2024-11-29
243

344
### Changed

INSTALL.md

Lines changed: 0 additions & 16 deletions
This file was deleted.

README.md

Lines changed: 30 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,15 @@ EVE Alert - Check every 1-3 seconds if the Local has an Enemy or Neutral in Syst
1010

1111
- [EVE Alert](#evealert)
1212
- [Features](#features)
13-
- [Usage](#usage)
14-
- [Installation](#installation)
15-
- [Download](#step1)
16-
- [Install Python](#step2)
17-
- [Make Build](#step3)
13+
- [Download](#step1)
1814
- [Detection](#detection)
19-
- [Image Detection](#imagedetection)
20-
- [Detection Mode](#detectionmode)
21-
- [Resolution](#resolution)
15+
- [Socket System](#socket)
16+
- [Server - Main Program](#server)
17+
- [Client - Listener](#client)
2218
- [Showcase](#showcase)
2319
- [Donation](#donation)
2420
- [Terms](#terms)
25-
- [Contributing](#contribute)
21+
- [Contributing](#contributing)
2622

2723
## Features<a name="features"></a>
2824

@@ -31,79 +27,48 @@ EVE Alert - Check every 1-3 seconds if the Local has an Enemy or Neutral in Syst
3127
- Start/Stop System
3228
- Monitoring Region in real-time (also possible to stream via Discord for friends)
3329
- Faction Spawn Detection - Now you can set a Faction Spawn Detection and it will play a sound if a faction is in Site (can also used for other thing like active modules or something)
30+
- The Socket System allows you to have one server and multiple clients that can connect to it to receive alarms.
3431

35-
## Usage<a name="usage"></a>
32+
## Upcoming Features
3633

37-
- Simply launch Alert.exe, and a menu will appear. You can configure all your settings there. Afterward, click on "Start."
38-
- If the Alert doesn't respond to the local chat, you can reduce the detection accuracy or double-check if you've set the region correctly.
39-
- If both settings are 100% accurate and your interface is not blurred, make a new screenshot from your neutral symbol and try it with your own image
40-
- You can edit all images & sounds by yourself only the name must be the same
41-
42-
## Installation<a name="installation"></a>
43-
44-
To create an executable program, you need to download a release version and then run it through the installer in an environment.
45-
You also need a Python Version installed on Windows or Linux
34+
- Discord Webhook support
4635

4736
### Download Version<a name="step1"></a>
4837

4938
Go to [the releases page](https://github.com/Geuthur/EVE-Alert-Opensource/releases) to download the latest version.
5039

51-
### Install Python<a name="step2"></a>
52-
53-
> [!CAUTION]
54-
> This Script only works with Python `3.10`, `3.11`, `3.12`
55-
56-
You need Python for <a href="#step3">Step 3</a>
57-
Here is a Guide to install Python
58-
59-
Windows User:
60-
61-
Install `Python` you can download it from [Python Download](https://www.python.org/downloads/)
62-
63-
Linux User:
40+
## Detection<a name="detection"></a>
6441

65-
On Linux Python is automaticly installed you can update it with
42+
- Neutral: ![Neutral](https://i.imgur.com/SdjoIs6.png)
43+
- Enemys: ![Red](https://i.imgur.com/O0VTT69.png)
6644

67-
```bash
68-
sudo apt update
69-
```
45+
If you want more, simply add more images to the "img/" folder with naming image_1, image_2, image_3, etc.\
46+
Note: If you have different UI Scaling you need to add these images to the img folder like the `image_1_90%`
7047

71-
### Make Build<a name="step3"></a>
48+
## Server Usage<a name="server"></a>
7249

7350
> [!NOTE]
74-
> Ensure you have read/write permissions to this directory
51+
> **This Version is for Single User!**
7552
76-
Windows:
53+
The server is responsible for sending messages to the connected clients. It can send two types of messages: Normal and Alarm. When an Alarm message is sent, all connected clients will receive it and can take appropriate actions, such as playing a sound.
7754

78-
```cmd
79-
installer_window.bat
80-
```
81-
82-
Linux:
83-
84-
```bash
85-
./installer_linux.sh
86-
```
87-
88-
Now you will find a folder called dist/ where the finished executable program is located.
89-
90-
## Detection<a name="detection"></a>
91-
92-
### Image Detection<a name="imagedetection"></a>
55+
- Simply launch Server.exe, and a menu will appear. You can configure all your settings there. Afterward, click on "Start."
56+
- If the Alert doesn't respond to the local chat, you can reduce the detection accuracy or double-check if you've set the region correctly.
57+
- If both settings are 100% accurate and your interface is not blurred, make a new screenshot from your neutral symbol and try it with your own image
58+
- You can edit all images & sounds by yourself only the name must be the same
9359

94-
- Neutral: ![Neutral](https://i.imgur.com/SdjoIs6.png)
95-
- Enemys: ![Red](https://i.imgur.com/O0VTT69.png)
60+
Optional:
9661

97-
If you want more, simply add more images to the "img/" folder with naming image_1, image_2, image_3, etc.
62+
- Activate Socket Server for Broadcast Mode
63+
- Mute Alarm for Just Broadcast
9864

99-
## Resolution<a name="resolution"></a>
65+
## Client Usage<a name="client"></a>
10066

10167
> [!NOTE]
102-
> Resolution Scaling can be a issue
68+
> To Use the Client Version you need at least 1 Active Server!
10369
104-
![Window](https://i.imgur.com/e0X2sGM.png)
105-
106-
![EVE](https://i.imgur.com/08hxzIj.png)
70+
- The client program can be used to connect to a socket server and continuously receives messages. The messages can be in one of two states: Normal or Alarm.
71+
- When the client receives an Alarm message, it plays a sound.
10772

10873
## Showcase<a name="showcase"></a>
10974

@@ -112,15 +77,16 @@ https://github.com/Geuthur/EVE-Alert-Opensource/evealert/docs/videos/detection.m
11277
## Donation<a name="donation"></a>
11378

11479
I know it is simple Script, but if you want to support me here:
115-
https://www.paypal.com/paypalme/HellRiderZ
80+
81+
[![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/W7W810Q5J4)
11682

11783
## Terms<a name="terms"></a>
11884

11985
> [!CAUTION]
12086
> This is an open-source project without any guarantees. Use it at your own risk.
12187
> Please ensure that you comply with EVE Online's terms of use and policies. The use of bots or automation may violate the game's terms of service.
12288
123-
## Contributing<a name="contribute"></a>
89+
## Contributing<a name="contributing"></a>
12490

12591
Contributions are welcome! If you would like to contribute to this project and optimize the code, follow these steps:
12692

evealert/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
"""Initialize the app"""
22

3-
__version__ = "0.5.0"
3+
__version__ = "0.9.0"
44
__title__ = "EVE Alert"

0 commit comments

Comments
 (0)