Commit Graph

49 Commits

Author SHA1 Message Date
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
Klaus Basan
3552d02114 [FSD], use consolidateTextMessage again 2019-10-23 00:38:24 +02:00
Klaus Basan
7a1b5a0237 Minor FSD client text message handling fixes 2019-10-19 02:41:26 +02:00
Klaus Basan
a8c7575d9d Style 2019-10-18 10:36:25 +02:00
Klaus Basan
c054f4d307 [FSD] Disable voice room signal (precautionary) 2019-10-18 10:36:25 +02:00
Klaus Basan
79f8e1b959 [AFV] Ref T739, CPPCheck fixes 2019-10-18 10:36:24 +02:00
Roland Rossgotterer
5fc173786d Doxygen 2019-10-18 10:36:24 +02:00
Roland Rossgotterer
cf50d50f4f [FSD] Fix broadcasting of incremental aircraft config updates 2019-10-18 10:36:24 +02:00
Roland Rossgotterer
11ee2413b5 Doxygen 2019-10-11 19:40:42 +01:00
Klaus Basan
30baa12a86 Ref T730, CPP check issues fixed 2019-10-11 19:40:41 +01:00
Mat Sutcliffe
ad627fa351 [FSD] Fixed failing test and crashing test 2019-10-11 19:00:39 +01:00
Mat Sutcliffe
077476c138 [FSD] Style 2019-10-11 19:00:39 +01:00
Klaus Basan
96669ea507 Ref T730, minor tweak to "better see FSD callsign" 2019-10-11 19:00:24 +01:00
Klaus Basan
9a4fe0ea48 Ref T732, improved simulator type resolution for network 2019-10-11 19:00:19 +01:00
Klaus Basan
0853cc174c Ref T730, use getFsdCallsignString() in FSD client where applicable 2019-10-11 19:00:15 +01:00
Klaus Basan
ca26ddd225 Ref T730, some adjustments in CFSDClient
* avoid return if value is meant to be in statistics
* removed qFatal, replaced by warning/BLACK_VERIFY
2019-10-11 19:00:14 +01:00
Klaus Basan
6a9109bf8f Ref T730, style 2019-10-11 19:00:14 +01:00
Klaus Basan
a24d948acd Ref T732, FSDClient to CFsdClient + style 2019-10-11 18:59:04 +01:00
Roland Rossgotterer
5062449ea9 Increase Observer range to 300 nm
According to CoC C8, OBS stations are allowed to have up to  300 nm
maximum range.
ref T724
2019-10-11 18:59:00 +01:00
Roland Rossgotterer
acf540be34 Long live FsdClient 2019-09-18 13:49:37 +02:00