Login news#271
Open
xGuTeK wants to merge 5 commits into
Open
Conversation
…ult INI values Loads news data from a configured ODBC database table. Implements periodic news refresh with a configurable interval (NewsRefreshInterval) from the INI file. Ensures all required INI values are initialized with defaults if missing.
Parsing and handling of the LS_NEWS packet received from the login server. News UI rendering and formatting.
Contributor
|
very nice addition we could set | as a linebreak here or we need to solve the pesky strings being cut off by n3ui |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This pull request adds full support for sending and displaying dynamic server news using a new packet type: LS_NEWS. The system allows server administrators to manage news entries via the database, which are then sent to clients during the login phase.
Additionally, the refresh interval for reloading news from the database can be configured via the NewsRefreshInterval value in the Version.ini file.
💔 Thank you!