Plugin:ICQ/ru: Difference between revisions

From Miranda NG
Plugin:ICQ/ru
Jump to navigation Jump to search
(Updating to match new version of source page)
(Updating to match new version of source page)
Line 1: Line 1:
<languages/>{{PluginCard}}
<languages/>{{PluginCard}}
<div class="mw-translate-fuzzy">
Поддержка протокола ICQ в Miranda NG.
</div>


== Известные проблемы ==
ICQ (WIM) protocol support for Miranda NG.


<div class="mw-translate-fuzzy">
== Known problems ==
Жители Украины могут испытывать проблемы при подключении, поскольку некоторые адреса, принадлежащие Mail.ru, заблокированы в Украине. Используйте прокси и VPN для обхода блокировок.
</div>


* Until {{GithubIssue|2343}} is fixed, you will have to enter the SMS code each time you connect to the network if your account does not have a permanent password.
* Until {{GithubIssue|2343}} is fixed, you will have to enter the SMS-code each time you connect to the network if your account does not have a permanent password.


== Решение проблем ==
* Residents of Ukraine may experience connection problems. Some IP-addresses belonging to Mail.ru are blocked in Ukraine. Use proxy or VPN.


=== Неправильный пароль ===
== Difference between old and new protocols ==


После обновления до [[История изменений/0.95.5|версии 0.95.5]] возможны проблемы с подключением к сети. Текст ошибки: ''Неудачное подключение. Ваш номер или пароль не приняты сервером.''


До версии 0.95.4 Miranda не поддерживала пароли ICQ длиннее 8-ми символов. Если вы когда-либо ввели длинный пароль, Miranda сохранила его в базе целиком, но использовала только первые 8 символов. Серверы ICQ тоже не поддерживали длинные пароли. Теперь же максимальная длина пароля увеличена до 16 символов включительно. Соответствующие изменения внесены в плагин Миранды.
{{TNT|Important| ICQ servers drop old OSCAR protocol support. We implemented support for a brand new WIM protocol, but it currently lacks some features.}}


[[История изменений/0.95.5|Miranda v0.95.5]] отправляет ваш когда-то введённый длинный пароль целиком, и сервер справедливо считает его неправильным.


Решение: откройте {{Menu|Настройки|Сеть|<Имя_учётной_записи>}} и введите в поле «Пароль» '''первые 8 символов''' вашего пароля.
OSCAR is the protocol that Mail.ru got when buying ICQ. This is what has been called "ICQ" for many years. It was implemented in all alternative clients.


Чтобы использовать пароль длиннее 8-ми символов, измените его на [https://icq.com сайте ICQ].
WIM is a protocol that Mail.ru developed to replace OSCAR. It is simpler, more reliable and supports many of the things that OSCAR cannot. At the moment it is implemented in the ICQ 10 official client, Miranda NG, [https://code.highspec.ru/Mikanoshi/RnQ R&Q], and [https://play.google.com/store/apps/details?id=com.tomclaw.mandarin Mandarin IM]. OSCAR and WIM are fundamentally different in some aspects.


Развитие некоторых программ (QIP 2005, Jasmine IM для Android) давно прекращено, поэтому такие программы не поддерживают длинные пароли. Если вам необходимо их использовать, ограничьте длину пароля 8 символами.
== Troubleshooting ==


=== Контакт всегда «В сети с ICQ Mobile», но, на самом деле, он не в сети и не доходят оффлайн-сообщения ===
=== What to do if you can not connect ===
<noinclude>{{Todo|Describe the problem / workaround better here.}}</noinclude>
* [https://forum.miranda-ng.org/index.php?topic=4719.msg19508#msg19508 Подробное объяснение]{{RefLang|cs}}
* [https://forum.miranda-ng.org/index.php?topic=4718.msg19509#msg19509 Тема на форуме]{{RefLang|en}}


Как исправить:
If you are using a version earlier than [[Changelog/0.95.10.1|v0.95.10.1]], then upgrade to this version or newer. If you cannot connect even after the update, make [[network log]] with an unsuccessful connection attempt and post it to [https://github.com/miranda-ng/miranda-ng/issues/new/ our bugtracker].
* войти на [https://icq.com сайт ICQ] (именно на сайт, а не в веб-клиент!)
* нажать на своё имя, выбрать пункт меню «Мой профиль», а затем перейти по ссылке «Изменить пароль» (в правом столбце)
* поменять пароль (это автоматически закроет все сессии)
* выйти с сайта.


=== Как узнать свой UIN ===
=== Rejected password ===


* войти на [https://icq.com сайт ICQ] (именно на сайт, а не в веб-клиент!)
After updating to [[Changelog/0.95.5|v0.95.5]] you may not be able to log into your account. The message will be: ''Connection failed. Your ICQ number or password was rejected.''
* нажать на своё имя и посмотреть свой UIN
* выйти с сайта.


=== Некоторые клиенты (Pidgin, QIP 2012) показывают, что Miranda находится в сети, даже если Miranda не запущена ===
Up to v0.95.4, Miranda didn't support ICQ passwords longer than 8 symbols. If you have ever entered a password longer than that, Miranda would store the whole password in a database, but send only the first 8 symbols to server. ICQ servers did not support more than 8, too. They increased the maximum password length to 16 symbols. So the change was made in Miranda to meet the standards.


(либо показывают, что Miranda в сети, если в Miranda установлен статус «Отошёл»)
[[Changelog/0.95.5|Miranda v0.95.5]] sends the whole your "more-than-8-symbols-password" which the server justly considers incorrect and rejects it.


Такие клиенты работают по старому протоколу OSCAR, который неверно показывает статус клиентов, использующих новый протокол WIM.
The solution is to go to {{Menu|Options|Network|<Account_name>}} and re-enter your password ('''the first 8 symbols''' of it).


=== Миранда не получает статусы «Отсутствую», «Недоступен», «Занят», «Не беспокоить» от других альтернативных клиентов (например, от Pidgin или QIP 2012) ===
To use a longer password, you need to set the new one through the [https://icq.com ICQ website].


Новый протокол WIM позволяет отправлять эти статусы, но сервер не присылает их Миранде от других клиентов. Указанные альтернативные клиенты используют старый протокол OSCAR, поэтому могут принимать такие статусы.
=== «"statusText": "Invalid Request. statusDetailCode 1015", "statusDetailCode": 1015» error in the network log ===


=== Контакты, использующие официальный клиент, постоянно входят в сеть и выходят из неё ===
In most cases, the time is out of sync between your computer and the server. Check the accuracy of the system time. Synchronize the time in the operating system settings. Check the time zone, as well as the transition to winter time or summer time. Some users report that the problem was solved after changing the time zone to a similar one (for example, "UTC + 03 Moscow" → "UTC + 03 Minsk").


Официальный клиен ICQ 10 ставит статус «Не в сети» после 10-15 секунд бездействия. Когда пользователь взаимодействует с клиентом, клиент ставит статус «В сети». Например, точно так же себя ведёт клиент Telegram.
=== How to know your UIN ===


=== При каждом подключении к сети от контакта приходят старые ключи {{Plugin|SecureIM}} ===
* login to [https://icq.com ICQ website] with your phone number and SMS code (don't login to web-based ICQ client!)
* click on your logged user's nickname and see your UIN
* logout from ICQ website


Отправьте контакту, от которого приходят такие ключи, любое сообщение.
=== Some contacts in the contact list become faint when you first log in with a new protocol ===
 
These contacts were stored locally in Miranda. For some reason, you never added them to the server contact list. Miranda marks such contacts as NotOnList and puts them to the bottom of the contact list. They will be erased after the restart, which may lead to the loss of history. You must immediately add them to the permanent list (item in the contact's context menu or open the conversation window and press the green "plus" button).
 
=== Some contacts changed their names to [deleted] ===
 
ICQ technical support response: ''This account has been removed for prolonged non-use. It can not be restored.''
 
=== Contacts that use an official client, constantly switching between online and offline ===
 
Official ICQ 10 client goes offline after 10-15 seconds of inactivity and returns online if the user interacts with the client. For example, Telegram client behaves similarly.
 
This behavior came to the desktop from mobile devices. The fact is that when you receive certain notifications that are displayed on the lock screen or in the blind, you need to understand that they do not come directly from the service or program you are using (for example, WhatsApp or VKontakte). Receipt and display of such messages are carried out by a separate service, which receives them through the servers of the OS manufacturers (Google, Apple, and Microsoft, respectively).
 
Here is how it works. Imagine that you are using Android and you have decided to call your friend in WhatsApp. He selects your contact in the list, clicks the call icon and then sees the animation of the connection. At this time, his application sends a call to the WhatsApp server. Which, after processing the call, it makes a request to the Google server. In this request, if we translate it into a language understandable to us, there will be something like "display on the device with an application ID having such and such notification of an incoming call from such a contact".
 
This is done in order to save the battery power of the mobile device. Agree that the "phone periodically connects to Google/Apple servers" scheme is much more energy-efficient than a schemе in which each messenger (and there are often several on the phone) would work continuously, maintaining a connection with its server.
 
The desktop client simply copies the behavior of the mobile client.
 
=== How to find out which contacts are really unavailable ===
 
If the contact stubbornly wishes to use the official client, you can use the {{Plugin|SeenPlugin|Last seen}} plugin. The plugin receives the last activity time from the protocol (when a contact last interacted with its official client) and displays it in the context menu of the contact.
 
In addition, {{Plugin|Clist_modern|Modern contact list}} can take this information from {{Plugin|SeenPlugin|Last seen}} and show it directly in the contact list. To do this, you need to turn on the {{Menu|Options|Contact list|Row items|Second line (or "Third line")|Status message}}.
 
This information also can be displayed at the {{Plugin|Tipper}} prompt. In the section {{Menu|Options|Customize|Tooltips|Content|Substitutions}} you need to create the following substitutions:
 
<pre style="overflow:auto;">
Label: lastseen_ago
Module: SeenModule
Translation: <prefix>Day|Month|Year|Hours|Minutes|Seconds to the time difference
</pre>
 
<pre style="overflow:auto;">
Label: lastseen_date
Module: SeenModule
Translation: <prefix>Day|Month|Year to date
</pre>
 
<pre style="overflow:auto;">
Label: lastseen_time
Module: SeenModule
Translation: <prefix>Hours|Minutes|Seconds to time
</pre>
 
On the same tab, create the following "Element":
 
<pre style="overflow:auto;">
Label: Last seen:
Value: %lastseen_date% @ %lastseen_time% (%lastseen_ago% ago)
Show only for contacts
</pre>
 
Finally, in the ICQ protocol settings, you can find two useful options that do not allow contacts to go Offline immediately.
 
=== Client detection is not work at all or client displayed incorrectly ===
 
Under the new protocol, the server does not receive explicit information about which program is used on another side. Identification of clients is only possible indirectly, using caps, this is implemented only for third-party clients who work under the new protocol.
 
=== How to import ICQ history from QIP ===
 
Use {{Plugin|Import}} plugin.
 
=== You get old {{Plugin|SecureIM}} keys from contact every time you connect to network  ===
Send any message to the contact, from which you get these keys.


<!--
Another way:
* add contact with ID ''aolsystemmsg''
* send him 1 = Sign out of your ICQ sessions connected from all other locations
* send him 2 = Tell you how many locations you currently signed-in from.
-->


{{PluginGroups}}
{{PluginGroups}}

Revision as of 16:08, 18 April 2020

Other languages:
ICQ protocol
ICQ protocol
Имя файла ICQ.dll
Авторы George Hazan
Скачать
Стабильная версия: 32-bit, 64-bit
Версия в разработке: 32-bit, 64-bit

ICQ (WIM) protocol support for Miranda NG.

Known problems

  • Until Issue #2343 is fixed, you will have to enter the SMS-code each time you connect to the network if your account does not have a permanent password.
  • Residents of Ukraine may experience connection problems. Some IP-addresses belonging to Mail.ru are blocked in Ukraine. Use proxy or VPN.

Difference between old and new protocols

Важно
ICQ servers drop old OSCAR protocol support. We implemented support for a brand new WIM protocol, but it currently lacks some features.


OSCAR is the protocol that Mail.ru got when buying ICQ. This is what has been called "ICQ" for many years. It was implemented in all alternative clients.

WIM is a protocol that Mail.ru developed to replace OSCAR. It is simpler, more reliable and supports many of the things that OSCAR cannot. At the moment it is implemented in the ICQ 10 official client, Miranda NG, R&Q, and Mandarin IM. OSCAR and WIM are fundamentally different in some aspects.

Troubleshooting

What to do if you can not connect

If you are using a version earlier than v0.95.10.1, then upgrade to this version or newer. If you cannot connect even after the update, make network log with an unsuccessful connection attempt and post it to our bugtracker.

Rejected password

After updating to v0.95.5 you may not be able to log into your account. The message will be: Connection failed. Your ICQ number or password was rejected.

Up to v0.95.4, Miranda didn't support ICQ passwords longer than 8 symbols. If you have ever entered a password longer than that, Miranda would store the whole password in a database, but send only the first 8 symbols to server. ICQ servers did not support more than 8, too. They increased the maximum password length to 16 symbols. So the change was made in Miranda to meet the standards.

Miranda v0.95.5 sends the whole your "more-than-8-symbols-password" which the server justly considers incorrect and rejects it.

The solution is to go to Options → Network → <Account_name> and re-enter your password (the first 8 symbols of it).

To use a longer password, you need to set the new one through the ICQ website.

«"statusText": "Invalid Request. statusDetailCode 1015", "statusDetailCode": 1015» error in the network log

In most cases, the time is out of sync between your computer and the server. Check the accuracy of the system time. Synchronize the time in the operating system settings. Check the time zone, as well as the transition to winter time or summer time. Some users report that the problem was solved after changing the time zone to a similar one (for example, "UTC + 03 Moscow" → "UTC + 03 Minsk").

How to know your UIN

  • login to ICQ website with your phone number and SMS code (don't login to web-based ICQ client!)
  • click on your logged user's nickname and see your UIN
  • logout from ICQ website

Some contacts in the contact list become faint when you first log in with a new protocol

These contacts were stored locally in Miranda. For some reason, you never added them to the server contact list. Miranda marks such contacts as NotOnList and puts them to the bottom of the contact list. They will be erased after the restart, which may lead to the loss of history. You must immediately add them to the permanent list (item in the contact's context menu or open the conversation window and press the green "plus" button).

Some contacts changed their names to [deleted]

ICQ technical support response: This account has been removed for prolonged non-use. It can not be restored.

Contacts that use an official client, constantly switching between online and offline

Official ICQ 10 client goes offline after 10-15 seconds of inactivity and returns online if the user interacts with the client. For example, Telegram client behaves similarly.

This behavior came to the desktop from mobile devices. The fact is that when you receive certain notifications that are displayed on the lock screen or in the blind, you need to understand that they do not come directly from the service or program you are using (for example, WhatsApp or VKontakte). Receipt and display of such messages are carried out by a separate service, which receives them through the servers of the OS manufacturers (Google, Apple, and Microsoft, respectively).

Here is how it works. Imagine that you are using Android and you have decided to call your friend in WhatsApp. He selects your contact in the list, clicks the call icon and then sees the animation of the connection. At this time, his application sends a call to the WhatsApp server. Which, after processing the call, it makes a request to the Google server. In this request, if we translate it into a language understandable to us, there will be something like "display on the device with an application ID having such and such notification of an incoming call from such a contact".

This is done in order to save the battery power of the mobile device. Agree that the "phone periodically connects to Google/Apple servers" scheme is much more energy-efficient than a schemе in which each messenger (and there are often several on the phone) would work continuously, maintaining a connection with its server.

The desktop client simply copies the behavior of the mobile client.

How to find out which contacts are really unavailable

If the contact stubbornly wishes to use the official client, you can use the Last seen plugin. The plugin receives the last activity time from the protocol (when a contact last interacted with its official client) and displays it in the context menu of the contact.

In addition, Modern contact list can take this information from Last seen and show it directly in the contact list. To do this, you need to turn on the Options → Contact list → Row items → Second line (or "Third line") → Status message.

This information also can be displayed at the Tipper prompt. In the section Options → Customize → Tooltips → Content → Substitutions you need to create the following substitutions:

Label: lastseen_ago
Module: SeenModule
Translation: <prefix>Day|Month|Year|Hours|Minutes|Seconds to the time difference
Label: lastseen_date
Module: SeenModule
Translation: <prefix>Day|Month|Year to date
Label: lastseen_time
Module: SeenModule
Translation: <prefix>Hours|Minutes|Seconds to time

On the same tab, create the following "Element":

Label: Last seen:
Value: %lastseen_date% @ %lastseen_time% (%lastseen_ago% ago)
Show only for contacts

Finally, in the ICQ protocol settings, you can find two useful options that do not allow contacts to go Offline immediately.

Client detection is not work at all or client displayed incorrectly

Under the new protocol, the server does not receive explicit information about which program is used on another side. Identification of clients is only possible indirectly, using caps, this is implemented only for third-party clients who work under the new protocol.

How to import ICQ history from QIP

Use Import plugin.

You get old SecureIM keys from contact every time you connect to network

Send any message to the contact, from which you get these keys.