Skip to content

Rewrite the Clan System#389

Open
stridera wants to merge 14 commits into
mainfrom
update_clan
Open

Rewrite the Clan System#389
stridera wants to merge 14 commits into
mainfrom
update_clan

Conversation

@stridera
Copy link
Copy Markdown
Owner

@stridera stridera commented Aug 18, 2025

This pull request adds substantial documentation and modernization guidance to the project, focusing on code quality, scripting capabilities, and workflow improvements. The most important changes are grouped below:

Documentation and Guidelines

  • Added a comprehensive code and conversation guideline in .github/copilot-instructions.md, detailing required C++23 features, forbidden legacy practices, and code cleanup requirements for contributors.
  • Added a detailed analysis report in Analysis.md covering architecture, code quality, security, performance, design patterns, and prioritized recommendations for the codebase.
  • Introduced CLAN_SCRIPTING.md, a thorough guide for using clan-related variables and scripting examples in DG Scripts, enabling advanced in-game scripting for clans.

Build and Workflow Improvements

  • Updated the C/C++ GitHub Actions workflow to use an out-of-source Ninja build, run tests, and check the main binary, improving CI reliability and build isolation.

stridera and others added 14 commits March 22, 2025 16:56
Update build test to use cmake/Ninja/and check the executable after
…ication

- Added save_player_char(ch) calls to clan_store and clan_retrieve functions
- Added clan_repository.save() calls to clan_store and clan_retrieve functions
- Ensures character and clan data is persisted immediately after successful operations
- Prevents potential item duplication from server crashes or disconnections
- Bank functions (clan_deposit/clan_withdraw) already had proper save operations

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
- Added .cache/ to ignore clangd index files
- Added .serena/ to ignore local AI assistant cache files
- Removed these directories from repository tracking

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
@stridera stridera changed the title Add save operations to clan chest/bank functions to prevent item duplication Rewrite the Clan System Aug 18, 2025
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