Open source development of the game Knight Online. This is a reversed engineered old version of the game aiming to replicate the nostalgic experience we all once had <3
This pull request refactors configuration and connection string handling across the project to improve maintainability, readability, and portability. Key changes include:
Centralized Configuration Management: Introduced a unified ini file management class using the SimpleIni library, replacing redundant implementations and simplifying ini file handling across components.
Thread-Safe Ini Parsing with Hot Reloading: The new ini parser is implemented in a thread-safe manner, supporting hot-reloading to reflect changes in configuration files.
Enhanced Connection String Handling: Simplified and standardized connection string logic with lazy loading for efficiency and renamed variables for improved clarity.
Cross-Platform Compatibility: Prepared the codebase for future portability by replacing platform-specific approaches with a centralized, consistent solution.
Codebase Cleanup: Removed unused ini files and updated project files to reflect these changes.
These updates lay the groundwork for a more maintainable and portable codebase, ensuring consistency across all server components while improving runtime efficiency and adaptability.
Description
This pull request refactors configuration and connection string handling across the project to improve maintainability, readability, and portability. Key changes include:
These updates lay the groundwork for a more maintainable and portable codebase, ensuring consistency across all server components while improving runtime efficiency and adaptability.