Skip to content

Multi update - #148

Open
watislaf wants to merge 3 commits into
masterfrom
multi_update
Open

Multi update#148
watislaf wants to merge 3 commits into
masterfrom
multi_update

Conversation

@watislaf

@watislaf watislaf commented Jun 13, 2020

Copy link
Copy Markdown
Collaborator

Теперь пауза не ставиться в мулььтиплеере
Имя сохраняется в настройках
Очень короткая инструкция тоже добавлена ( её ещё надо будет дополнить после ssl ключей )
Ограничил размер ник нейма
Переходить с WebSocket на просто Socket мне очень взападлу, ибо ну :) а вдруг сайт подключим и там всего-то заменить все слова "Web" на "". :)
Добавлен сервер гита ( в скором будущем )
Добавлена авторизация через почту ( тоже в будущем )

@PGSStas PGSStas left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Я вернулся из небытия.

Comment thread CMakeLists.txt


qt5_add_big_resources(SOURCES database.qrc music.qrc images.qrc)
#qt5_add_big_resources(SOURCES database.qrc music.qrc images.qrc)

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Дурак?

Comment on lines +77 to +78
QSettings settings;
settings.setValue("nick_name", nick_name);

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Мне кажется, что это лучше делать не так. Мы привязываем прогресс к устройству. Раз мы там собираемся в Play Market выходить, то нужно делать облачные сохранения и/или сохранять инфу на сервере.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

хорошо как выйдем на плеймаркет сделаю

command.remove(0, 1);
QStringList words = command.split(" ");
if (words[0] == "register" && words.size() == 2) {
if (words[1].size() >= kMaxNickNameSize_) {

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nickname это одно слово.

Comment on lines +235 to +236
received_message_.push_back(
Message().SetCommandMessage(words[0],

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Перенеси на прошлую строку. Вроде норм получается.

Comment on lines +63 to +64
const QString address_ = "ws://localhost:1234";
// const QString address_ = "ws://49.12.75.135:1234";

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Все таки мб скрывать ip?

const QString address_ = "ws://localhost:1234";
// const QString address_ = "ws://49.12.75.135:1234";
const int kMaxMessageSize_ = 120;
const int kMaxNickNameSize_ = 12;

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Зачем мы делаем проверку на ник локально, а не на сервере? Прецедент же был, когда все пошло по одному месту.

Comment thread README.md
нему в **Settings - Toolchains**). После этого можно работать с проектом.

## Сборка Сервера
После сборки проекта, достаточно просто собрать и сервер. По пути

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Перефразируй пожалуйста "После сборки достаточно собрать". Мне как-то больно глазам.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants