MyTran Login

From Hotline Wiki
Jump to navigation Jump to search


            Constant:               myTran_Login

Initiator: Client



Start login sequence with the server (see Transaction Sequences).



Fields used in the request:


ID

Field Name

Note[edit | edit source]

105

User login

106

User password

160

Version

Currently 151


Fields used in the reply:


ID[edit | edit source]

Field Name

Note[edit | edit source]

160

Version


If Version is >= 151, additional fields are included:


ID[edit | edit source]

Field Name

Note[edit | edit source]

161

Banner ID

Used for making HTTP request to get banner

162

Server name

Server name string


If server version is < 151, client sends Set Client User Info (304) transaction with only User Name (102) and User Icon ID (104) fields used, and does not expect a reply. It does not expect agreement to be received (109). Subsequently, it sends Get User Name List (300) request, followed by Get File Name List (200) or Get News Category Name List (370), depending on user preferences. After that, a banner is requested from HTTP server.