/archive/minigames/plugins/trailers/ · last edited 05 Aug 2025 · Development
The recent discrepancy in crate distribution was caused by a race condition in the reward script where multiple rapid votes triggered duplicate entry logs. Users reported receiving crates for votes that had not yet been verified by the third-party authentication service. This led to an uneven distribution of in-game currency and items, causing frustration among the player base who felt the system was unfair. The root cause was identified as a lack of atomic transaction handling in the vote callback handler, which allowed the database to record the reward before confirming the vote validity.
To resolve this, we implemented a strict state machine for vote processing. Votes are now placed in a pending queue upon submission and only marked as confirmed after the external service returns a success status. The crate issuance logic has been decoupled from the vote submission event and now runs on a scheduled task that checks for confirmed votes every five minutes. This ensures that rewards are only granted for verified actions and eliminates the possibility of duplicate entries. The previous instant-grant system has been removed to prevent exploitation.
Crate mechanics have also been adjusted to improve balance. Common crates now contain lower-tier consumables that were previously exclusive to rare drops, while rare crates have a slightly reduced chance of spawning legendary items. This change aims to reduce inflation in the player economy and make rare items feel more significant. The drop rates are now stored in a centralized configuration file that can be updated without restarting the server, allowing for faster adjustments based on community feedback.
Moderators should monitor the logs for any failed vote confirmations and manually issue compensation if a user experiences a delay longer than ten minutes. The new system does not support retroactive rewards for votes cast before the update was deployed. Players who missed out on the initial wave of rewards due to the bug will receive a one-time bonus crate upon their next successful vote. This approach balances fairness with the need to maintain server stability.
Future updates will include a public tracker for vote counts to increase transparency. The current anonymous system has led to speculation and mistrust. By displaying verified vote counts on the in-game leaderboard, we hope to reduce support tickets related to reward discrepancies. The development team will review the performance of the new scheduled task weekly to ensure it remains efficient as the user base grows. Any anomalies in the crate drop rates should be reported immediately for potential rebalancing.