Klaus Basan
f6c5e6f3cb
[FSD] Demote ASSERT to VERIFY
2020-06-12 18:42:31 +01:00
Roland Rossgotterer
15ced5a77f
[FSD] Ignore client query type 'NEWATIS' from private FSD servers
2020-06-12 18:42:30 +01:00
Klaus Basan
12f50dc92c
[FSD] Check for empty string in FSD serializer
...
* follow up of Q_UNREACHABLE
* without that check the UNIT test fails, as BLACK_AUDIT is called
2020-01-23 04:08:03 +01:00
Klaus Basan
bda20f8ff1
Ignore queries in FSD serializer, follows "Q_UNREACHABLE" fixes
...
See https://discordapp.com/channels/539048679160676382/539925070550794240/669186795790925848
2020-01-22 19:46:14 +01:00
Klaus Basan
bd39b0638c
Q_UNREACHABLE fix, minor style adjustments
2020-01-18 20:15:24 +01:00
Klaus Basan
f8e8318902
Log.category for FSD and minor style changes
2020-01-07 19:57:27 +00:00
Klaus Basan
081e663997
FSD text message
2020-01-07 19:57:24 +00:00
Klaus Basan
524a9b3793
ATC stations, style and minor fixes
2020-01-07 19:57:23 +00:00
Klaus Basan
e1498adc8e
Minor fixes, style
...
* make sure ATC view is updated when disconnected
* prepared rounding, can be enabled at any time
2020-01-07 19:57:22 +00:00
Klaus Basan
9dbb441e44
[FSD] Send auth(entication) messages as direct messages
2020-01-07 19:57:21 +00:00
Klaus Basan
42648f0c12
[FSD] Slightly adjusted sending of queued FSD messages
2020-01-07 19:57:21 +00:00
Klaus Basan
4e2a47fc41
Ref T761, use "preset" callsign if available
...
Avoids issue with partner callsign
2020-01-07 19:57:20 +00:00
Klaus Basan
f07ca09424
Ref T761, partner callsign message relay (swift with co-pilot)
...
* handle server error messages correctly as "error"
* (relayed) sender can be ATC or aircraft
* relay private messages correctly
2020-01-07 19:57:20 +00:00
Klaus Basan
4ef17fed6a
[FSD] Threaded (worker) FSD client, based on CContinuousWorker
...
* locks
* call functions in own thread
2020-01-07 19:57:20 +00:00
Klaus Basan
0876379729
[FSD] Style
2020-01-07 19:57:20 +00:00
Klaus Basan
3a4f114308
[FSD] In order to get the UNIT tests working, we need to call the "FSD direct message" send function
...
* added sendDirectMessage and renamed other function to sendQueudedMessage
* UNIT tests call "direct message" sending
* minor style changes
2020-01-07 19:57:20 +00:00
Klaus Basan
2adf169a0e
[FSD] Do not send all FSD messages at once, but equally distributed one-by-one
...
Rational: The idea is to distribute the messages, so we also get equally distributed responses
2020-01-07 19:57:19 +00:00
Klaus Basan
02e1427210
[FSD] Preparations of FSD send message for queued messages
...
* messageToFSDString function
* sendMessageString in FSDClient to send the message itself
2020-01-07 19:57:19 +00:00
Klaus Basan
f38bfc5cf9
[FSD] Style
2020-01-07 19:57:19 +00:00
Klaus Basan
e9f8be013c
[FSD] Style and minor fix, check for network ICAO 1st and not for simulator model (correct display)
2020-01-07 19:57:19 +00:00
Klaus Basan
5bd64b1a2f
[FSD] Made those send functions "real" private which are only used with the UNIT test
2020-01-07 19:57:19 +00:00
Klaus Basan
8c8073ca0e
[FSD] Correctly named ProController (message type)
2020-01-07 19:57:19 +00:00
Klaus Basan
14192585e2
[FSD] Correctly set queried frequency
2020-01-07 19:57:19 +00:00
Klaus Basan
325c869413
[FSD] Style
2020-01-07 19:57:18 +00:00
Klaus Basan
8633502cdb
[FSD]FSD improvements and fixes
...
* Ignore new unused messages
* Correctly increase statistic
2020-01-07 19:57:18 +00:00
Klaus Basan
857d5eb005
[FSD] Overload prevention
...
* only allow aircraft to be added based on new positions, NOT on received ICAO data anymore
* hardcoded max.range
Discussion: https://discordapp.com/channels/539048679160676382/539925070550794240/643163521999306832
2020-01-07 19:57:18 +00:00
Klaus Basan
911b23e29d
[FSD] Style
2020-01-07 19:57:18 +00:00
Klaus Basan
99a02c9b04
[FSD] minor fix "else if"
2020-01-07 19:57:18 +00:00
Klaus Basan
9d53696417
{FSD] Improved FSD socket handling
...
* restricter number of lines handled at once
* messageTypeToString
* add parsing to statistics
2020-01-07 19:57:18 +00:00
Klaus Basan
ad18149c14
[FSD] Style
2020-01-07 19:57:17 +00:00
Klaus Basan
702ca31b38
[FSD] Smaller fixes, style
2020-01-07 19:57:17 +00:00
Klaus Basan
5fea046c0b
Style and log messages
2020-01-07 19:46:18 +00:00
Klaus Basan
53de0d56b9
Style
2020-01-07 19:46:17 +00:00
Klaus Basan
0fa9bcb520
Doxygen, style
2020-01-07 19:05:42 +00:00
Roland Rossgotterer
0b8db1a612
[FSD] Don't use CCallsign object to send incremental parts update to special receiver
...
A client query can be sent to any type of receiver,
not only to valid callsigns. For example also to "@94835".
This fixes the corrupted receiver for incremental aircraft parts.
2020-01-07 19:05:42 +00:00
Roland Rossgotterer
5af2366575
[FSD] Send login immediately after connecting for legacy FSD server
2020-01-07 19:05:41 +00:00
Klaus Basan
c8097cc899
Doxygen
2020-01-07 19:05:40 +00:00
Klaus Basan
0e566a5992
[FSD] Pending connection timeout - avoid that a pending FSD conenction blocks forever
2019-10-24 16:28:14 +02:00
Klaus Basan
bc3e82cba4
Doxygen
2019-10-24 16:27:37 +02:00
Klaus Basan
5846576aae
[FSD] Fixed FSD socket error handling
2019-10-24 16:27:25 +02:00
Klaus Basan
cde18d23aa
[AFV] Style, Doxygen
2019-10-24 01:22:56 +02:00
Klaus Basan
d989bca919
Doxygen, style
2019-10-23 02:00:17 +02:00
Klaus Basan
767aab6592
Style, Doxygen
2019-10-23 00:38:27 +02:00
Roland Rossgotterer
0a730ff5dd
[FSD] Make sure sysuid is properly zero terminated
2019-10-23 00:38:26 +02:00
Klaus Basan
ca60dbfa4d
[AFV] Ref T730, allow to disconnect even if socket is down
2019-10-23 00:38:26 +02:00
Klaus Basan
148824429c
Doxygen, style
2019-10-23 00:38:26 +02:00
Klaus Basan
67840b53c7
[FSD] Ref T753, avoid ":" in FPs
...
Also avoid unnecessary roundtrips of UI updates
2019-10-23 00:38:26 +02:00
Klaus Basan
164e9a3306
[AFV] Ref T730, fixed some FSD client issues
...
* socket error signal (can be used for further actions)
* socket error logs as CLogMessage::error
* handle socket errors in own function, disconnect for severe error
* send homebase at login
2019-10-23 00:38:26 +02:00
Klaus Basan
be99911372
Style, minor adjustments
2019-10-23 00:38:26 +02:00
Klaus Basan
4f4474336d
[FSD], use consolidateTextMessage again
2019-10-23 00:38:25 +02:00