40 Commits

Author SHA1 Message Date
github-actions
218ffa4fbb v1.0.0 Build 16 1.0.0.16 2025-05-04 00:34:59 +00:00
Jacob Schmidt
dc72f88327 feat(db): Force save on mission end
All checks were successful
Build / Build (push) Successful in 29s
This commit introduces a mission event handler that forces a database save with backup when the mission ends.

Key changes:

*   **`XEH_preInit_server.sqf`:** Added an "Ended" mission event handler that calls the `ArmaDragonflyClient` extension with the "savedb" command and logs an info message. This ensures that the database is saved when the mission ends, providing a backup in case of unexpected server shutdowns.
2025-05-03 19:34:43 -05:00
github-actions
6857e12d26 v1.0.0 Build 15 1.0.0.15 2025-04-05 14:07:36 +00:00
Jacob Schmidt
665561e29e feat(db): Implement hash deletion functions
All checks were successful
Build / Build (push) Successful in 1m21s
This commit introduces functionality to delete hash values from the Dragonfly database. It includes two new functions: `hashDelete` for deleting a hash value by key, and `hashDeleteId` for deleting a hash value by both key and ID.

Key changes:

*   **`fnc_processQueue.sqf`:** Added cases for "hdel" and "hdelid" task types to process hash deletion requests, calling the corresponding `FUNC(hashDelete)` and `FUNC(hashDeleteId)` functions.
*   **`XEH_PREP.hpp`:** Added `PREP` definitions for `hashDelete` and `hashDeleteId` to enable event handlers for these functions.
2025-04-05 09:06:46 -05:00
github-actions
ddb7e9ccc3 v1.0.0 Build 14 1.0.0.14 2025-03-30 22:15:53 +00:00
Jacob Schmidt
c8d81ba3bb docs: Update README.md with detailed documentation
All checks were successful
Build / Build (push) Successful in 39s
This commit significantly enhances the `README.md` file, providing comprehensive documentation for the ArmaDragonflyClient.

Key changes:

*   **Detailed Function Categories:** Categorized functions for better organization (Core, Basic Data Operations, Hash Operations, List Operations).
*   **Usage Examples:** Added clear and concise usage examples for basic operations, hash operations (context and ID-specific), and list operations.
*   **Function Documentation Structure:** Outlined the structure for individual function documentation.
*   **License Information:** Updated the license information.
2025-03-30 17:15:35 -05:00
github-actions
ff9922ae05 v1.0.0 Build 13 1.0.0.13 2025-03-29 20:35:39 +00:00
Jacob Schmidt
236dec1d35 feat(client): Trim quotes from hashset value
All checks were successful
Build / Build (push) Successful in 30s
This commit enhances the handling of string values in the `DragonflyHashSetAsync` function. Specifically, it adds `.Trim('"')` to the second argument (the value being set) to remove any surrounding quotes. This ensures that the value is correctly stored and retrieved, preventing potential issues with data integrity.

Key changes:

*   **String Value Trimming:** Added `.Trim('"')` to the value argument in `DragonflyHashSetAsync` within `Main.cs`.
*   **Binary Updates:** Updated the compiled DLL and SO files.
2025-03-29 15:35:20 -05:00
github-actions
fb4695a0ee v1.0.0 Build 12 1.0.0.12 2025-03-28 14:45:33 +00:00
Jacob Schmidt
8c64bfe4a9 feat(db): Enhance debugging and fix NetId handling
All checks were successful
Build / Build (push) Successful in 30s
This commit enhances debugging capabilities and addresses issues related to NetId handling within the DragonflyDB system.

Key changes:

*   **Improved Debugging:** Added more detailed logging in `Utils.cs` to track data chunks and strings, improving the ability to diagnose issues.
*   **NetId Handling Fix:** Modified `fnc_handler.sqf` to correctly handle NetIds, including a fallback mechanism if the target object is null. This ensures that remote execution attempts don't fail silently.
*   **Function Examples:** Updated examples in `fnc_hashSetIdBulk.sqf` and `fnc_hashSetBulk.sqf` to correctly use array syntax for function calls.
*   **Simplified fetch.sqf:** Removed unecessary conversion of the _call variable.
*   **Binary Updates:** Updated the compiled DLL and SO files.
2025-03-28 09:45:16 -05:00
github-actions
b05c76edf2 v1.0.0 Build 11 1.0.0.11 2025-03-24 04:20:23 +00:00
Jacob Schmidt
ce904a7978 feat(db): Add debug logging to all DragonflyDB functions
All checks were successful
Build / Build (push) Successful in 30s
Enhanced debugging capabilities by adding conditional logging statements to all DragonflyDB functions. These logs include input parameters and return values, providing detailed insights into function execution. The logging is enabled only when the `__A3__DEBUG__` preprocessor directive is defined, ensuring minimal performance impact in production environments. This change improves the ability to diagnose issues and understand the flow of data within the DragonflyDB system.
2025-03-23 23:20:03 -05:00
github-actions
94c6d7f506 v1.0.0 Build 10 1.0.0.10 2025-03-24 03:32:33 +00:00
Jacob Schmidt
445c836252 Merge branch 'master' of https://gitea.innovativedevsolutions.org/IDSolutions/dragonfly
All checks were successful
Build / Build (push) Successful in 30s
2025-03-23 22:32:23 -05:00
Jacob Schmidt
b23679a8c3 feat(debug): Enhance logging for task management and data handling
Added conditional logging for various functions in the DragonflyDB interface to improve debugging capabilities. This includes detailed logs for task processing, fetching, publishing, and subscribing actions, which are now only active in debug mode. Additionally, updated the buffer size and path handling in the main extension code for better performance and compatibility.
2025-03-23 22:32:18 -05:00
1aee05afa3 Update README.md 2025-03-21 00:31:20 -05:00
github-actions
8733ad20f5 v1.0.0 Build 9 1.0.0.9 2025-03-21 01:07:15 +00:00
Jacob Schmidt
ee960db132 feat: Update binaries
All checks were successful
Build / Build (push) Successful in 29s
Updates the ArmaDragonflyClient binaries for Windows and Linux. This includes changes to the DLL and SO files in the extension and publish directories.
2025-03-20 20:07:01 -05:00
github-actions
683d587090 v1.0.0 Build 8 1.0.0.8 2025-03-21 00:58:43 +00:00
Jacob Schmidt
6d6dc81135 Merge branch 'master' of https://gitea.innovativedevsolutions.org/IDSolutions/dragonfly
All checks were successful
Build / Build (push) Successful in 42s
2025-03-20 19:58:34 -05:00
Jacob Schmidt
fa745dde8d fix(db): Update include paths in pub/sub functions
Updates the include paths in `fnc_publish.sqf` and `fnc_subscribe.sqf` to use relative paths. This ensures the correct `script_component.hpp` file is included.
2025-03-20 19:58:30 -05:00
github-actions
a227ed8c80 v1.0.0 Build 7 2025-03-21 00:56:52 +00:00
Jacob Schmidt
033630977a Merge branch 'master' of https://gitea.innovativedevsolutions.org/IDSolutions/dragonfly
Some checks failed
Build / Build (push) Failing after 1m1s
2025-03-20 19:55:52 -05:00
Jacob Schmidt
38639b50c7 feat(db): Add pub/sub interface functions for DragonflyDB
Add two new functions to interface with DragonflyDB pub/sub system:
- fnc_subscribe.sqf: Subscribe to channels with CBA event routing
- fnc_publish.sqf: Publish messages to channels

These functions integrate with the existing pubSubHandler to route
messages through CBA's event system using 'global', 'local', 'server',
and 'remote' event types.

Both functions include proper input validation, error handling, and
detailed documentation with examples.
2025-03-20 19:54:58 -05:00
b83c22601f Update .github/workflows/build.yml 2025-02-22 13:54:01 -06:00
github-actions
b97c267099 v1.0.0 Build 6 1.0.0.6 2025-02-08 20:19:20 +00:00
Jacob Schmidt
3f01040e16 Hotfix 02082025@1420
All checks were successful
Build / Build (push) Successful in 1m30s
2025-02-08 14:18:26 -06:00
github-actions
c9c1a3556d v1.0.0 Build 5 1.0.0.5 2025-02-08 04:45:40 +00:00
Jacob Schmidt
7318d26fe0 Merge branch 'master' of https://gitea.innovativedevsolutions.org/IDSolutions/dragonfly
All checks were successful
Build / Build (push) Successful in 55s
2025-02-07 22:45:28 -06:00
Jacob Schmidt
ff83729fad Update 02072025@2245 2025-02-07 22:45:24 -06:00
github-actions
43987d55ce v1.0.0 Build 4 1.0.0.4 2025-02-08 04:35:24 +00:00
Jacob Schmidt
4e71baef13 Merge branch 'master' of https://gitea.innovativedevsolutions.org/IDSolutions/dragonfly
All checks were successful
Build / Build (push) Successful in 1m9s
2025-02-07 22:35:04 -06:00
Jacob Schmidt
95fdf45cde Update ArmaDragonflyClient Extension: Implement pub/sub messaging system with event routing, chunking support, and consistent message handling 2025-02-07 22:34:56 -06:00
github-actions
adb9f99c0e v1.0.0 Build 3 1.0.0.3 2025-01-01 19:41:40 +00:00
Jacob Schmidt
a97d3a5285 Major Update 01012025@1335
All checks were successful
Build / Build (push) Successful in 56s
2025-01-01 13:41:26 -06:00
github-actions
4b6de40439 v1.0.0 Build 2 1.0.0.2 2025-01-01 15:45:52 +00:00
Jacob Schmidt
2552f491ec Merge branch 'master' of https://gitea.innovativedevsolutions.org/IDSolutions/dragonfly
All checks were successful
Build / Build (push) Successful in 1m6s
2025-01-01 09:45:38 -06:00
Jacob Schmidt
8f4dad4977 Remove bin directory from git tracking 2025-01-01 09:45:16 -06:00
github-actions
e2f7926c41 v1.0.0 Build 1 2025-01-01 15:34:18 +00:00
Jacob Schmidt
bf951fd1f6 Initial Repo Setup
Some checks failed
Build / Build (push) Failing after 39s
2025-01-01 09:33:04 -06:00