Editing
Protocol
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==Options== | style="width: 265px;" | Note |- | style="width: 133px;" | Server ID | style="width: 192px;" | | style="width: 265px;" | Assigned by the global server |- | style="width: 133px;" | Server name | style="width: 192px;" | | style="width: 265px;" | Used as login |- | style="width: 133px;" | Access password | style="width: 192px;" | | style="width: 265px;" | |- | style="width: 133px;" | Server alias | style="width: 192px;" | | style="width: 265px;" | Region specific alias |- | style="width: 133px;" | Description | style="width: 192px;" | | style="width: 265px;" | |- | style="width: 133px;" | Classification | style="width: 192px;" | | style="width: 265px;" | |- | style="width: 133px;" | Icon | style="width: 192px;" | | style="width: 265px;" | Graphical icon |- | style="width: 133px;" | Rating | style="width: 192px;" | | style="width: 265px;" | |- | style="width: 133px;" | Public encryption key | style="width: 192px;" | | style="width: 265px;" | |- | style="width: 133px;" | IP address | style="width: 192px;" | Original Current | style="width: 265px;" | Include the port number |- | style="width: 133px;" | Attributes | style="width: 192px;" | Searchable Allow rating | style="width: 265px;" | |- | style="width: 133px;" | Status flags | style="width: 192px;" | Active On-line | style="width: 265px;" | Active or not On-line or off-line |- | style="width: 133px;" | Number of users | style="width: 192px;" | | style="width: 265px;" | |- | style="width: 133px;" | Date | style="width: 192px;" | Account created Last access | style="width: 265px;" | |} '''1.2 Global Server Transactions''' '''1.2.1 Server Login''' Initiator: Server This transaction is used every time the server logins to the global server. It must be the first transaction sent to the global server. Fields used in the request: {| border="1" cellpadding="0" cellspacing="0" | style="width: 43px;" | '''ID''' | style="width: 138px;" | Field Name | style="width: 409px;" | Note |- | style="width: 43px;" | | style="width: 138px;" | Server name | style="width: 409px;" | |- | style="width: 43px;" | | style="width: 138px;" | Access password | style="width: 409px;" | |- | style="width: 43px;" | | style="width: 138px;" | New account indicator | style="width: 409px;" | Optional Indicates if this is a new account |} Fields used in the reply: None If server indicates that it creates a new account, and account with identical ID already exists in the database, or if a new account cannot be created for any other reason, the global server indicates these conditions with the proper error code. '''1.2.2 Update Server Information''' Initiator: Server Update server information on the global server. All fields in this request are optional. Fields used in the request: {| border="1" cellpadding="0" cellspacing="0" | style="width: 43px;" | '''ID''' | style="width: 138px;" | Field Name | style="width: 409px;" | Note |- | style="width: 43px;" | | style="width: 138px;" | Access password | style="width: 409px;" | |- | style="width: 43px;" | | style="width: 138px;" | Server name | style="width: 409px;" | |- | style="width: 43px;" | | style="width: 138px;" | Server alias | style="width: 409px;" | |- | style="width: 43px;" | | style="width: 138px;" | Description | style="width: 409px;" | |- | style="width: 43px;" | | style="width: 138px;" | Classification | style="width: 409px;" | |- | style="width: 43px;" | | style="width: 138px;" | Icon | style="width: 409px;" | |- | style="width: 43px;" | | style="width: 138px;" | Attributes | style="width: 409px;" | |- | style="width: 43px;" | | style="width: 138px;" | Status flags | style="width: 409px;" | |- | style="width: 43px;" | | style="width: 138px;" | IP port number | style="width: 409px;" | Hotline protocol port number |- | style="width: 43px;" | | style="width: 138px;" | Number of users | style="width: 409px;" | Current number of users |} Fields used in the reply: None '''1.2.3 Delete Server Account''' Access: Administrator Initiator: Client Delete server account from the database. Fields used in the request: {| border="1" cellpadding="0" cellspacing="0" | style="width: 43px;" | '''ID''' | style="width: 138px;" | Field Name | style="width: 409px;" | Note |- | style="width: 43px;" | | style="width: 138px;" | Server name | style="width: 409px;" | |} Fields used in the reply: None '''1.2.4 Rate Server''' Initiator: Client Fields used in the request: {| border="1" cellpadding="0" cellspacing="0" | style="width: 43px;" | '''ID''' | style="width: 138px;" | Field Name | style="width: 409px;" | Note |- | style="width: 43px;" | | style="width: 138px;" | Server name | style="width: 409px;" | |- | style="width: 43px;" | | style="width: 138px;" | Rating | style="width: 409px;" | |} Fields used in the reply: None '''1.2.5 Query Server Database''' Initiator: Client Create a query for the server database. All fields in this request are optional. If client does not specify the search string, the list of all servers is returned. Fields used in the request: {| border="1" cellpadding="0" cellspacing="0" | style="width: 43px;" | '''ID''' | style="width: 138px;" | Field Name | style="width: 409px;" | Note |- | style="width: 43px;" | | style="width: 138px;" | Search string | style="width: 409px;" | Optional |- | style="width: 43px;" | | style="width: 138px;" | Classification | style="width: 409px;" | Optional |} Fields used in the reply: {| border="1" cellpadding="0" cellspacing="0" | style="width: 43px;" | '''ID''' | style="width: 138px;" | Field Name | style="width: 409px;" | Note |- | style="width: 43px;" | | style="width: 138px;" | Server ID | style="width: 409px;" | |- | style="width: 43px;" | | style="width: 138px;" | Server ID β¦ | style="width: 409px;" | Optional More server IDs |} '''1.2.6 Get Server Information''' Initiator: Client Get information about the specific server. Fields used in the request: {| border="1" cellpadding="0" cellspacing="0" | style="width: 43px;" | '''ID''' | style="width: 138px;" | Field Name | style="width: 409px;" | Note |- | style="width: 43px;" | | style="width: 138px;" | Server ID | style="width: 409px;" | |} Fields used in the reply: {| border="1" cellpadding="0" cellspacing="0" | style="width: 43px;" | '''ID''' | style="width: 138px;" | Field Name | style="width: 409px;" | Note |- | style="width: 43px;" | | style="width: 138px;" | Server name | style="width: 409px;" | |- | style="width: 43px;" | | style="width: 138px;" | Server alias | style="width: 409px;" | |- | style="width: 43px;" | | style="width: 138px;" | Description | style="width: 409px;" | |- | style="width: 43px;" | | style="width: 138px;" | Current IP address | style="width: 409px;" | Including port number |- | style="width: 43px;" | | style="width: 138px;" | Classification | style="width: 409px;" | |- | style="width: 43px;" | | style="width: 138px;" | Icon | style="width: 409px;" | |- | style="width: 43px;" | | style="width: 138px;" | Status flags | style="width: 409px;" | |- | style="width: 43px;" | | style="width: 138px;" | Number of users | style="width: 409px;" | |} [[Category:Development]]
Summary:
Please note that all contributions to Hotline Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
HL Wiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
Edit source
View history
More
Navigation
Home
Clients
Servers
Trackers
Development
Recent Changes
discord
Our Discord(BNETcc)
Macintosh Garden
partners
Macintosh Garden
BNET.cc
Moghouse
Tools
What links here
Related changes
Special pages
Page information