2024-10-11 15:40:21 -04:00
|
|
|
# Introduction
|
|
|
|
`OUT` is a command introduced with [MSNP2](../versions/msnp2.md).
|
|
|
|
|
|
|
|
It exists in all servers, without either a request or response payload.
|
|
|
|
|
|
|
|
It disconnects either the server or the client gracefully.
|
|
|
|
|
|
|
|
This command does not require a Transaction ID.
|
|
|
|
|
|
|
|
# Client/Request
|
|
|
|
`OUT`
|
|
|
|
|
|
|
|
# Server/Response
|
|
|
|
`OUT {reason}`
|
|
|
|
|
|
|
|
Where `reason` can be:
|
|
|
|
* `OTH`: Other client logged in to this account.
|
|
|
|
* `SSD`: Server is shutting down.
|
|
|
|
* `MIG`: [MSNP10](../versions/msnp10.md) and higher: Contact list has been migrated.
|
|
|
|
* `TOU`: [MSNP10](../versions/msnp10.md) and higher: You need to accept the Terms Of Use.
|
|
|
|
* `RCT`: [MSNP11](../versions/msnp11.md) and higher: Temporary server closure, please reconnect in (parameter 2) minutes.
|
|
|
|
|
|
|
|
`OUT RCT {minutes}`
|
|
|
|
|
|
|
|
Where `minutes` is the amount of minutes the client should wait before trying to log in automatically again.
|
|
|
|
|
|
|
|
# Examples
|
|
|
|
|
|
|
|
## Client-initiated
|
|
|
|
```
|
|
|
|
C: OUT
|
|
|
|
S: OUT
|
|
|
|
```
|
|
|
|
Server disconnects client.
|
|
|
|
|
|
|
|
## Logged in from another client
|
|
|
|
```
|
|
|
|
S: OUT OTH
|
|
|
|
```
|
|
|
|
|
|
|
|
## Server is shutting down
|
|
|
|
```
|
|
|
|
S: OUT SSD
|
|
|
|
```
|
|
|
|
|
2024-12-18 15:16:29 -05:00
|
|
|
## ABCH migration
|
2024-10-23 16:47:02 -04:00
|
|
|
*Only in [MSNP10](../versions/msnp10.md).*
|
2024-10-11 15:40:21 -04:00
|
|
|
```
|
|
|
|
S: OUT MIG
|
|
|
|
```
|
|
|
|
|
|
|
|
## Terms of Use update
|
2024-10-23 16:47:02 -04:00
|
|
|
*Since [MSNP10](../versions/msnp10.md).*
|
2024-10-11 15:40:21 -04:00
|
|
|
```
|
|
|
|
S: OUT TOU
|
|
|
|
```
|
|
|
|
|
2024-12-18 15:16:29 -05:00
|
|
|
## Forced reconnect
|
2024-10-23 16:47:02 -04:00
|
|
|
*Since [MSNP11](../versions/msnp11.md).*
|
2024-10-11 15:40:21 -04:00
|
|
|
```
|
|
|
|
S: OUT RCT 6
|
|
|
|
```
|
2024-10-20 07:52:06 -04:00
|
|
|
|
|
|
|
# Known changes
|
|
|
|
* [MSNP10](../versions/msnp10.md): Added `MIG` (Migrated) and `TOU` (Terms of Use) reasons.
|
2024-10-21 12:30:22 -04:00
|
|
|
* [MSNP11](../versions/msnp11.md): Added `RCT` (Reconnect) reason.
|