This website requires JavaScript.
Explore
Help
Sign In
torsten
/
yourpart-daemon
Watch
1
Star
0
Fork
0
You've already forked yourpart-daemon
Code
Issues
Pull Requests
Actions
Packages
Projects
Releases
Wiki
Activity
Files
29485860415f6bef987b8a6fd208d8e07f35c875
yourpart-daemon
/
src
/
worker
History
Torsten Schulz (local)
2948586041
Enhance event effect handling in EventsWorker: Updated money change, storage capacity change, and house quality change methods to return absolute values and percentages. Improved JSON response structure for event effects, enhancing clarity and data accuracy in event processing.
2025-12-08 11:51:10 +01:00
..
base.rs
Refactor money update execution in BaseWorker: Simplified the SQL execution by directly constructing the update query without parameterized placeholders, addressing serialization issues. Updated comments for clarity on the handling of money values and ensured compatibility with trusted data sources. Additionally, modified the casting of money in the director query to text for consistent mapping in Rust.
2025-12-01 11:31:37 +01:00
character_creation.rs
Initial commit: Rust YpDaemon
2025-11-21 23:05:34 +01:00
director.rs
Refactor transport planning in DirectorWorker: Updated variable naming for clarity by changing 'shipped' to '_shipped' to indicate unused variable. Removed unused get_branch_user_id function from TransportWorker to streamline code and improve maintainability.
2025-12-05 14:20:56 +01:00
events.rs
Enhance event effect handling in EventsWorker: Updated money change, storage capacity change, and house quality change methods to return absolute values and percentages. Improved JSON response structure for event effects, enhancing clarity and data accuracy in event processing.
2025-12-08 11:51:10 +01:00
house.rs
Initial commit: Rust YpDaemon
2025-11-21 23:05:34 +01:00
mod.rs
Add EventsWorker to worker module: Introduced EventsWorker for handling event-related tasks. Updated main.rs to include EventsWorker in the worker creation process. Adjusted WeatherWorker instantiation to use cloned pool and broker for consistency.
2025-12-08 11:17:16 +01:00
politics.rs
Add functionality to identify elections needing candidates: Introduced a new SQL query to select elections without candidates, including both newly registered and manually created elections. Updated the PoliticsWorker to schedule elections and insert candidates accordingly, ensuring all relevant elections are processed.
2025-11-26 17:02:36 +01:00
produce.rs
Enhance production management by adding region_id to ProductionPlan and updating SQL queries: Introduced region_id to the ProductionPlan struct and modified the insert production query to include weather_type_id based on region. Updated finished productions query to account for weather effects on quality ratings, ensuring accurate production assessments. Improved comments for clarity on the impact of weather on production quality.
2025-12-02 09:57:31 +01:00
simple.rs
Initial commit: Rust YpDaemon
2025-11-21 23:05:34 +01:00
stockage_manager.rs
Initial commit: Rust YpDaemon
2025-11-21 23:05:34 +01:00
transport.rs
Refactor transport planning in DirectorWorker: Updated variable naming for clarity by changing 'shipped' to '_shipped' to indicate unused variable. Removed unused get_branch_user_id function from TransportWorker to streamline code and improve maintainability.
2025-12-05 14:20:56 +01:00
underground.rs
Initial commit: Rust YpDaemon
2025-11-21 23:05:34 +01:00
user_character.rs
Add EventsWorker to worker module: Introduced EventsWorker for handling event-related tasks. Updated main.rs to include EventsWorker in the worker creation process. Adjusted WeatherWorker instantiation to use cloned pool and broker for consistency.
2025-12-08 11:17:16 +01:00
value_recalculation.rs
Refactor hourly price recalculation logic: Implemented a two-tier pricing adjustment system based on sales data, comparing city sales against global and parent-region averages. Updated SQL queries to reflect new pricing rules, ensuring dynamic price adjustments within defined tolerances. Enhanced logging for better tracking of affected regions during recalculation.
2025-12-02 09:29:33 +01:00
weather.rs
Refactor weather update query in WeatherWorker: Simplified the SQL logic for assigning random weather types to regions by removing unnecessary joins and using a subquery for random selection. Enhanced comments for clarity on the individual weather assignment process for each region.
2025-12-05 13:36:55 +01:00