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/Packets/ServerHello
(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!
== Examples == Complete frames, including the varint length prefix. '''<code>hello_result_accepted_account</code>''' (server to client, 130 bytes): <syntaxhighlight lang="text"> 80 01 frame length 128 0A 7E hello_result (ServerHello), 126 bytes 08 01 status = 1 (HELLO_STATUS_ACCEPTED) 1A 4E account (Account), 78 bytes 0A 10 0F 8E 2C 4A β¦ account_id = 0f8e2c4a-1b3d-4e5f-8a9b-0c1d2e3f4a5b 12 08 6F 70 65 72 61 74 6F 72 handle = "operator" 1A 08 4F 70 65 72 61 74 6F 72 display_name = "Operator" 22 0D 67 61 6D 65 2E 74 72 61 β¦ permissions = "game.transmit" 22 0E 73 74 61 74 69 6F 6E 2E β¦ permissions = "station.manage" 28 07 authorization_revision = 7 30 80 F1 DE BA 97 34 lease_expires_at_ms = 1793003600000 22 0B 73 74 61 74 69 6F 6E 73 2E 76 31 features = "stations.v1" 22 08 70 6F 69 6E 74 69 6E 67 features = "pointing" 2A 05 30 2E 33 2E 35 server_version = "0.3.5" 30 80 94 83 B9 97 34 server_time_ms = 1793000000000 38 F4 97 83 B9 97 34 simulation_time_ms = 1793000000500 </syntaxhighlight> '''<code>hello_result_revision_1</code>''' (server to client, 96 bytes): <syntaxhighlight lang="text"> 5F frame length 95 0A 5D hello_result (ServerHello), 93 bytes 08 01 status = 1 (HELLO_STATUS_ACCEPTED) 22 0B 73 74 61 74 69 6F 6E 73 2E 76 31 features = "stations.v1" 22 08 70 6F 69 6E 74 69 6E 67 features = "pointing" 22 09 65 70 68 65 6D 65 72 69 73 features = "ephemeris" 22 06 70 61 73 73 65 73 features = "passes" 22 0A 6B 69 6E 65 6D 61 74 69 63 73 features = "kinematics" 2A 13 73 69 6D 74 78 2D 73 65 β¦ server_version = "simtx-server/25.1.0" 30 80 94 83 B9 97 34 server_time_ms = 1793000000000 38 F4 97 83 B9 97 34 simulation_time_ms = 1793000000500 40 01 protocol_revision = 1 </syntaxhighlight> '''<code>hello_result_version_unsupported</code>''' (server to client, 55 bytes): <syntaxhighlight lang="text"> 36 frame length 54 0A 34 hello_result (ServerHello), 52 bytes 08 02 status = 2 (HELLO_STATUS_VERSION_UNSUPPORTED) 12 30 54 68 69 73 20 73 65 72 β¦ message = "This server speaks protocol v25; client sent v26" </syntaxhighlight>
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)