11 Commits

Author SHA1 Message Date
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
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
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
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
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
Jacob Schmidt
3f01040e16 Hotfix 02082025@1420
All checks were successful
Build / Build (push) Successful in 1m30s
2025-02-08 14:18:26 -06:00
Jacob Schmidt
ff83729fad Update 02072025@2245 2025-02-07 22:45:24 -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
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
Jacob Schmidt
8f4dad4977 Remove bin directory from git tracking 2025-01-01 09:45:16 -06:00
Jacob Schmidt
bf951fd1f6 Initial Repo Setup
Some checks failed
Build / Build (push) Failing after 39s
2025-01-01 09:33:04 -06:00