ko4life-net / ko

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
MIT License
48 stars 21 forks source link

Load & use DB config in recordsets #226

Closed twostars closed 1 month ago

twostars commented 1 month ago

Your checklist for this pull request

🚨Please review the guidelines for contributing to this repository.

Description

This behaves similarly to official, with the only difference it uses a shared method in CServerDlg (etc.) to construct the connection string from members of CServerDlg (etc.), whereas officially it accesses this externally, e.g.:

CString strConnect;
strConnect.Format(..., m_pMain->m_strGameDSN, ...);

💔Thank you!