Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
SimTX Wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
SimTX API/Connection and handshake
(section)
Page
Discussion
English
Read
Edit
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
Edit source
View history
General
What links here
Related changes
Special pages
Page information
Appearance
move to sidebar
hide
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!
== Hello results == The server answers every hello with a [[SimTX API/Packets/ServerHello|ServerHello]] as its first frame. Status <code>HELLO_STATUS_ACCEPTED</code> means the session may begin. Any other status is followed by the server closing the connection. {| class="wikitable" ! Value !! Name !! Meaning |- | 0 || <code>HELLO_STATUS_UNSPECIFIED</code> || Not sent by servers. Treat it, and unknown values, as <code>SERVER_UNAVAILABLE</code>. |- | 1 || <code>HELLO_STATUS_ACCEPTED</code> || The session may begin. |- | 2 || <code>HELLO_STATUS_VERSION_UNSUPPORTED</code> || The preface version is not 25. |- | 3 || <code>HELLO_STATUS_AUTHENTICATION_REQUIRED</code> || The role needs a ticket and none was sent. Typical message: <i>This role requires a SimTX account</i>. |- | 4 || <code>HELLO_STATUS_CREDENTIAL_INVALID</code> || The ticket is unknown, expired, used, or minted for another server or role. Typical message: <i>Game ticket is invalid or expired</i>. |- | 5 || <code>HELLO_STATUS_ACCOUNT_RESTRICTED</code> || The account is restricted. |- | 6 || <code>HELLO_STATUS_ROLE_FORBIDDEN</code> || The account lacks the permission the role needs. Typical message: <i>Account is not permitted to transmit</i>. |- | 7 || <code>HELLO_STATUS_SERVER_UNAVAILABLE</code> || The server cannot verify the ticket or take the connection now. The only status worth retrying unchanged. |- | 8 || <code>HELLO_STATUS_IP_BANNED</code> || The client address is banned. The message gives the reason. |} Only <code>SERVER_UNAVAILABLE</code> is worth retrying unchanged. A ticket is single-use, so every retry of an authenticated connection needs a new one.
Summary:
Please note that all contributions to SimTX 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
SimTX Wiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)