Multi update - #148
Open
watislaf wants to merge 3 commits into
Open
Conversation
This was
linked to
issues
Jun 13, 2020
This was
linked to
issues
Jun 13, 2020
PGSStas
requested changes
Jun 14, 2020
|
|
||
|
|
||
| qt5_add_big_resources(SOURCES database.qrc music.qrc images.qrc) | ||
| #qt5_add_big_resources(SOURCES database.qrc music.qrc images.qrc) |
Comment on lines
+77
to
+78
| QSettings settings; | ||
| settings.setValue("nick_name", nick_name); |
Owner
There was a problem hiding this comment.
Мне кажется, что это лучше делать не так. Мы привязываем прогресс к устройству. Раз мы там собираемся в Play Market выходить, то нужно делать облачные сохранения и/или сохранять инфу на сервере.
Collaborator
Author
There was a problem hiding this comment.
хорошо как выйдем на плеймаркет сделаю
| command.remove(0, 1); | ||
| QStringList words = command.split(" "); | ||
| if (words[0] == "register" && words.size() == 2) { | ||
| if (words[1].size() >= kMaxNickNameSize_) { |
Comment on lines
+235
to
+236
| received_message_.push_back( | ||
| Message().SetCommandMessage(words[0], |
Owner
There was a problem hiding this comment.
Перенеси на прошлую строку. Вроде норм получается.
Comment on lines
+63
to
+64
| const QString address_ = "ws://localhost:1234"; | ||
| // const QString address_ = "ws://49.12.75.135:1234"; |
| const QString address_ = "ws://localhost:1234"; | ||
| // const QString address_ = "ws://49.12.75.135:1234"; | ||
| const int kMaxMessageSize_ = 120; | ||
| const int kMaxNickNameSize_ = 12; |
Owner
There was a problem hiding this comment.
Зачем мы делаем проверку на ник локально, а не на сервере? Прецедент же был, когда все пошло по одному месту.
| нему в **Settings - Toolchains**). После этого можно работать с проектом. | ||
|
|
||
| ## Сборка Сервера | ||
| После сборки проекта, достаточно просто собрать и сервер. По пути |
Owner
There was a problem hiding this comment.
Перефразируй пожалуйста "После сборки достаточно собрать". Мне как-то больно глазам.
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.
Теперь пауза не ставиться в мулььтиплеере
Имя сохраняется в настройках
Очень короткая инструкция тоже добавлена ( её ещё надо будет дополнить после ssl ключей )
Ограничил размер ник нейма
Переходить с WebSocket на просто Socket мне очень взападлу, ибо ну :) а вдруг сайт подключим и там всего-то заменить все слова "Web" на "". :)
Добавлен сервер гита ( в скором будущем )
Добавлена авторизация через почту ( тоже в будущем )