6 Commits

Author SHA1 Message Date
Jacob Schmidt
06bbe231e4 feat: Improve chunking, fix handler, and add save backup
All checks were successful
Build / Build (push) Successful in 29s
This commit includes several improvements and fixes:

*   **Improved Chunking Logic:** Refactored the chunking logic in `Utils.cs` to use a more efficient approach, improving performance.  The previous implementation was complex and less performant.  This change simplifies the logic and improves efficiency.
*   **Fixed Handler Function:**  Modified `fnc_handler.sqf` to correctly handle remote execution with NetIds, ensuring that if the NetId resolves to a null object, the function falls back to local execution. This prevents errors when the target object is no longer valid.
*   **Added Save Backup Option:**  Added the ability to create a backup when saving data in `fnc_save.sqf`.  This allows for data recovery in case of corruption.
*   **Updated DLL/SO:** Updated the ArmaRAMDb_x64.dll and ArmaRAMDb_x64.so files.
2025-03-28 09:45:34 -05:00
Jacob Schmidt
2769a7cfd1 feat: Improve performance and stability
This commit includes several changes to improve the performance and stability of ArmaRAMDb:

*   **Increased Buffer Size:** Increased the buffer size in `Main.cs` to 10240 to handle larger data chunks.
*   **Debug Logging:** Added `#ifdef __A3__DEBUG__` preprocessor directives to enable debug logging in various `.sqf` functions for easier troubleshooting.
*   **Improved Chunking Logic:** Refactored the chunking logic in `Utils.cs` to correctly handle array data and improve efficiency.
*   **ListStore Formatting:** Modified `ListStore.cs` to correctly format list values as JSON strings when retrieving or setting list elements.
*   **Removed Unnecessary Code:** Removed unnecessary `_dataString` variable in `fnc_fetch.sqf`.
*   **Updated DLL/SO:** Updated the ArmaRAMDb_x64.dll and ArmaRAMDb_x64.so files.
2025-03-23 17:37:58 -05:00
Jacob Schmidt
5b9f3402b6 docs: add comprehensive documentation and usage examples for ramdb
All checks were successful
Build / Build (push) Successful in 30s
2025-03-22 16:31:59 -05:00
Jacob Schmidt
6e4bd093ee Update ArmaRAMDb with new features and improvements, including logging enhancements, support for ARDB file format, and various function updates. Added config.xml to project inclusion and modified function includes for better compatibility. Updated build files for both Windows and Linux platforms. 2025-03-21 23:01:39 -05:00
Jacob Schmidt
fac86fcda7 Update 03212025@1305 2025-03-21 13:04:47 -05:00
Jacob Schmidt
595540350a Major Update 01012025@1335 2025-01-01 13:37:36 -06:00