30 Commits

Author SHA1 Message Date
github-actions
016a204499 v1.0.0 Build 11 1.0.0.11 2025-05-11 06:20:45 +00:00
Jacob Schmidt
461a678f8b feat: Implement timesheet submission and rating system in bank addon
All checks were successful
Build / Build (push) Successful in 25s
This commit introduces the ability for players to submit timesheets and receive payment based on their rating. It also includes updates to player data handling to incorporate the new rating system.

Key changes include:

- Added `getPlayer` PREP.
- Implemented `BANK::SUBMIT::TIMESHEET` case in `XEH_preInit_server.sqf` to handle timesheet submissions.
- Modified `fnc_initBankStore.sqf` to include rating in player data and update account information.
- Added `submitTimesheet` function to `fnc_initBankStore.sqf` to process timesheet submissions and pay players based on rating.
- Updated `handlePlayerLoad` and `updateAccount` functions in `fnc_initBankStore.sqf` to include rating.
- Added `getRating` function to `fnc_initBankStore.sqf` to retrieve player rating.
- Updated `BANK::HANDLE::PLAYER::LOAD` case in `XEH_preInit_server.sqf` to include rating value.
- Added database saving for reputation.

These changes introduce a new gameplay mechanic and provide a way for players to earn money based on their performance.
2025-05-11 01:19:58 -05:00
github-actions
fb7c198e56 v1.0.0 Build 10 1.0.0.10 2025-05-10 22:50:38 +00:00
Jacob Schmidt
2ff4a37677 Merge branch 'master' of https://gitea.innovativedevsolutions.org/IDSolutions/server
All checks were successful
Build / Build (push) Successful in 38s
2025-05-10 17:50:25 -05:00
Jacob Schmidt
991ee5019a feat: Enhance admin and bank event handling with improved logging
This commit refines the event handling for both admin and bank functionalities, ensuring better clarity and consistency in logging.

Key changes include:

- Updated event names in admin handling to follow a consistent naming convention.
- Improved parameter handling in admin event functions, ensuring validation checks are in place.
- Enhanced logging messages to provide clearer context regarding the source of events and actions taken.
- Introduced bank event handling for deposit, transfer, withdrawal, and balance inquiries, with appropriate validation and logging.

These changes aim to improve the maintainability and readability of the codebase while ensuring robust event management.
2025-05-10 17:50:21 -05:00
github-actions
17d5942de4 v1.0.0 Build 9 1.0.0.9 2025-05-05 01:03:33 +00:00
Jacob Schmidt
74b9f78141 Merge branch 'master' of https://gitea.innovativedevsolutions.org/IDSolutions/server
All checks were successful
Build / Build (push) Successful in 25s
2025-05-04 20:03:03 -05:00
Jacob Schmidt
db238970f7 feat: Update server mod icons and properties
This commit updates the server mod with new icons and properties.

The following changes were made:

- Updated `picture` to `title_ca.paa` in `mod.cpp`.
- Updated `logoSmall` to `icon_64_ca.paa` in `mod.cpp`.
- Updated `logo` to `icon_128_ca.paa` in `mod.cpp`.
- Updated `logoOver` to `icon_128_highlight_ca.paa` in `mod.cpp`.
- Added `dlcColor` to `mod.cpp`.
- Updated binary files for `icon_128_highlight_ca.paa`, `icon_64_ca.paa`, and `icon_128_ca.paa`.
2025-05-04 20:02:30 -05:00
github-actions
ba88f1ccbd v1.0.0 Build 8 1.0.0.8 2025-05-04 00:33:58 +00:00
Jacob Schmidt
eec98d03eb feat: Implement admin event handling and improve player data saving
All checks were successful
Build / Build (push) Successful in 25s
This commit introduces admin event handling to manage various administrative actions and enhances the player data saving process.

The following changes were made:

-   Implemented event handling for admin actions such as advancing funds, handling paydays, transferring funds, sending messages, and updating paygrades. These events are triggered via the `QGVAR(handleEvents)` event handler.
-   Added `initAdminStore` and `verifyAdminStore` functions to manage the admin store.
-   Refactored the `fnc_handleDisconnect.sqf` script to use the `GETVAR` macro for retrieving player data, ensuring consistency and readability.
-   Replaced hardcoded default values with `QUOTE()` wrapped values in `fnc_handleDisconnect.sqf` for better maintainability and configuration.
2025-05-03 19:33:45 -05:00
Jacob Schmidt
a1fc5090ad Removed sqf_validator.py tool 2025-04-05 14:30:14 -05:00
github-actions
c0ec6b4206 v1.0.0 Build 7 1.0.0.7 2025-04-05 19:25:07 +00:00
Jacob Schmidt
ca8fad855a Merge branch 'master' of https://gitea.innovativedevsolutions.org/IDSolutions/server
All checks were successful
Build / Build (push) Successful in 24s
2025-04-05 14:24:49 -05:00
Jacob Schmidt
257a62acc0 fix: Rename companyGenerals to companyShareholders
This commit renames the `companyGenerals` variable to `companyShareholders` to better reflect its intended purpose and usage within the codebase. The change affects the following files:

-   `addons/main/config.cpp`: Renames the `companyGenerals` config entry to `companyShareholders`.
-   `addons/init/functions/fnc_handleServerState.sqf`: Updates the variable name used when saving company state.
-   `addons/db/functions/fnc_loadGameState.sqf`: Updates the variable name used when loading company state.
-   `addons/db/functions/fnc_saveGameState.sqf`: Updates the variable name used when saving company state.
-   `addons/init/functions/fnc_handleServerStateLoad.sqf`: Updates the variable name used when loading company state from the server.

This change ensures consistency and clarity in the codebase, making it easier to understand and maintain. The `companyGarageUnlocks` variable was also removed from the save/load functions as it was not being used.
2025-04-05 14:24:46 -05:00
github-actions
8f33123e1d v1.0.0 Build 6 1.0.0.6 2025-04-05 19:16:49 +00:00
Jacob Schmidt
5b30efa3b0 feat: Refactor database system for improved persistence and functionality
All checks were successful
Build / Build (push) Successful in 26s
This commit refactors the database system to improve persistence, functionality, and code clarity. The key changes include:

-   **Removed direct store access:** Removed `createStore`, `getFromStore`, and `getStore` PREP macros.
-   **Centralized store management:** Introduced a central store registry (`FORGE_STORE_REG`) managed by the database interface.
-   **Namespace-based persistence:** Stores are now persisted in mission and profile namespaces instead of a global store.
-   **Simplified load/save functions:** `loadFromMission`, `loadFromProfile`, `saveToMission`, `saveToProfile`, and `saveToTemp` functions are updated to use the new namespace-based persistence. They now accept a `keyField` parameter for retrieving specific fields within a key's data.
-   **Refactored `processDBRequest`:** Updated to handle new request types and parameters, aligning with the refactored load/save functions.
-   **Improved error handling:** Added more robust error handling and logging, including checks for empty store names and missing keys.
-   **Removed client registration:** Removed client registration and cleanup logic as it's no longer needed with the new persistence model.
-   **Updated `verifyDB`:** Simplified to directly return the store registry.
-   **Updated `initDB`:** Refactored to use a HashMap object for the store interface and added more database functions.
-   **Added .gitignore entries:** Added entries for Visual Studio and other common build artifacts.
-   **Updated `loadGameState` and `saveGameState`:** Updated to support loading and saving game state to either mission or profile namespace.
2025-04-05 14:16:35 -05:00
github-actions
5b762b3ad0 v1.0.0 Build 5 1.0.0.5 2025-03-30 22:16:57 +00:00
Jacob Schmidt
3bd5a4a9bf feat: Implement store persistence and improve store interface
All checks were successful
Build / Build (push) Successful in 24s
This commit introduces store persistence and refactors the store interface for improved functionality. The changes include:

-   Adding a `save` function to persist store data.
-   Refactoring `createStore` to `create` and `getStore` to `get`.
-   Adding `set` function to create store if not exist.
-   Refactoring `set` to `hset` and `get` to `hget` for hash set and get operations.
-   Refactoring `delete` to `hdel` for hash delete operations.
-   Implementing store saving after each modification.
2025-03-30 17:15:28 -05:00
github-actions
767c95978e v1.0.0 Build 4 1.0.0.4 2025-03-28 14:46:30 +00:00
Jacob Schmidt
b4f30ef954 Merge branch 'master' of https://gitea.innovativedevsolutions.org/IDSolutions/server
All checks were successful
Build / Build (push) Successful in 25s
2025-03-28 09:46:12 -05:00
Jacob Schmidt
bec0adcdbf feat: Update build environment and add XEH PREP
This commit includes the following changes:

-   Updates the build environment in the GitHub Actions workflow to use `ubuntu-latest` instead of `ubuntu-22.04`.
-   Adds `playerGroup2Server` to the XEH_PREP.hpp file.
-   Updates the picture path in CfgMods.hpp to include the file extension.
2025-03-28 09:46:08 -05:00
94043520a5 Update .github/workflows/build.yml 2025-02-22 13:55:18 -06:00
github-actions
53d0e2b8ab v1.0.0 Build 3 1.0.0.3 2025-01-05 01:48:29 +00:00
Jacob Schmidt
fbbfc031dc Merge branch 'master' of https://gitea.innovativedevsolutions.org/IDSolutions/server
All checks were successful
Build / Build (push) Successful in 52s
2025-01-04 19:48:14 -06:00
Jacob Schmidt
a9403504d1 Added Game Mode Types 2025-01-04 19:48:09 -06:00
github-actions
882b11c0d1 v1.0.0 Build 2 1.0.0.2 2025-01-05 01:26:26 +00:00
Jacob Schmidt
028227a590 Merge branch 'master' of https://gitea.innovativedevsolutions.org/IDSolutions/server
All checks were successful
Build / Build (push) Successful in 1m3s
2025-01-04 19:26:10 -06:00
Jacob Schmidt
872857c257 Major Hotfix 01042025@1925 2025-01-04 19:25:56 -06:00
github-actions
c62dd0d51e v1.0.0 Build 1 1.0.0.1 2025-01-01 20:30:52 +00:00
Jacob Schmidt
48e3e15f71 Initial Repo Setup
Some checks failed
Build / Build (push) Failing after 51s
2025-01-01 14:30:34 -06:00