Skip to content

feat: Migrate daily reward system to C++#742

Open
jprzimba wants to merge 2 commits into
mainfrom
daily-reward
Open

feat: Migrate daily reward system to C++#742
jprzimba wants to merge 2 commits into
mainfrom
daily-reward

Conversation

@jprzimba
Copy link
Copy Markdown
Collaborator

  • Replace Lua-based daily reward system with a native C++ implementation.
    Added XML config (data/XML/dailyrewards.xml).
  • Removed legacy Lua system files and bindings (libs/systems/daily_reward.lua, modules/scripts/daily_reward, shrine action, and related player helper methods in data/libs/functions/player.lua).
  • Updated system loader and modules.xml to stop loading the old modules, adjusted login and global server save hooks to use the new C++ API (Game.updateDailyRewardLastServerSave) and removed old Lua global storage helpers.
    Also includes related protocol/lua/C++ binding updates to integrate the new implementation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant