-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Removed MOTD #4057
Removed MOTD #4057
Conversation
protocolstatus can return "N/A" string |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd leave the config option just to send it in XML and binary status protocol, at least while server lists use it.
server lists are unlikely to back off considering that many servers are still running 8.6 and 10.98 |
re-review please 😄 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@@ -160,7 +160,7 @@ void ProtocolStatus::sendInfo(uint16_t requestedInfo, const std::string& charact | |||
|
|||
if (requestedInfo & REQUEST_MISC_SERVER_INFO) { | |||
output->addByte(0x12); | |||
output->addString(g_config.getString(ConfigManager::MOTD)); | |||
output->addString("N/A"); //MOTD |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
// MOTD
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
don't worry, @ranisalt clang will fix that in the future I hope
That's why I think it's a feature to still be able to configure MOTD - as long as serverlists continue to show it, it's better to put something in there than just "N/A". |
nooo, it was a client feature, not otservlist feature, they can start to parse the new "MOTD" from server login.php now, it have lots of useful info: boosted creature id, players online, twitch viewers, event schedule etc |
It's still used by every single otlist, otclient is still using it. So why would it be removed?!? Jesus christ this repository has really fallen off the last couple of years... Can we also update the readme to say that we're aiming to be a copy of tibia - not an open source mmorpg emulator and that you need to use the real tibia client to connect these days? That seems more accurate these days. |
if you are not happy, you can fork the repository and revert the patch, or not apply it to your current branch. |
If you don't want any users, keep your great work up. The beauty with this PR is that we can finally see what servers are using TFS 1.5. Let me create a server list in a year that filters with this new dumb MOTD message, and let's see how many servers are actively using this distro, it won't be many. |
@LOLlolgrb I am really eager to see your results, please ping me in the future. |
Pull Request Prelude
Changes Proposed
GUILD MOTD HASN'T BEEN TOUTCHED!
For those who don't know what MOTD is, it was the small "Message Of The Day" window that appeared once a day before your character select window...
It was replaced in QT client by a new widget on client bottom, and it doesn't need any server-sided info:
I removed leftover code as it is not present in QT client anymore (since version 11?)
OTC can still be edited easily to have it client-sided only. https://github.com/edubart/otclient/blob/9c9b85ac5e9ae3cbacfc2d4993517c886d8881cd/modules/gamelib/protocollogin.lua#L186-L189
Issues addressed:
closes #4056