Lion Kortlepel
61726ea3ab
fix data race issue no.2
2021-03-30 15:19:11 +02:00
Lion Kortlepel
e4d6c86919
fix race condition in packet queueing
2021-03-30 15:13:32 +02:00
Lion Kortlepel
eaa6b5322f
dont SIGPIPE on broken pipe send()
2021-03-30 15:04:53 +02:00
Lion Kortlepel
2c06a98e00
add debug print to missed packet sending
...
maybe recursion is killing it, we'll see!
2021-03-30 14:59:39 +02:00
Lion Kortlepel
e73d578797
add debug print on timeout kick
2021-03-30 14:58:19 +02:00
Lion Kortlepel
704e25636d
possible hotfix for crashes
2021-03-30 14:38:13 +02:00
Lion Kortlepel
c7cf0a733e
revert changes, they didn't fix it
2021-03-30 14:32:56 +02:00
Lion Kortlepel
24a34d7a97
possible crash fix
2021-03-30 14:20:31 +02:00
Lion Kortlepel
1c98921127
add debug print to diagnose crash
2021-03-30 14:19:03 +02:00
Lion Kortlepel
2d898f8665
possible crash fix for linux
...
windows fix coming if this works
2021-03-30 14:07:53 +02:00
Lion Kortlepel
229914ac74
remove auth response printing
2021-03-30 13:34:03 +02:00
Lion Kortlepel
603663ed2c
hotfix register thread *again*
2021-03-30 01:56:33 +02:00
Lion Kortlepel
44f2fdfa7c
attempt to fix client thread registering again
2021-03-30 01:54:43 +02:00
Lion Kortlepel
19abb5b68c
add quotes around player names to clarify further in thread name debug
...
prints
2021-03-30 01:50:57 +02:00
Lion Kortlepel
dd5b0bdd6d
add id to debug thread id print
2021-03-30 01:44:32 +02:00
Lion Kortlepel
b4850f09a9
fully switch to new backend urls
2021-03-30 01:02:53 +02:00
Lion Kortlepel
3094d382ff
implement thread names in debug mode
2021-03-30 00:30:24 +02:00
Anonymous275
956b2ef5b5
Fixed setting vehicle data
2021-03-19 19:56:02 +02:00
Lion Kortlepel
e6109c98bd
Application: Move some string literal URLs to functions
2021-03-18 23:30:52 +01:00
Anonymous275
c623bdea91
cleaned unused ifdef
2021-03-18 23:44:14 +02:00
Anonymous275
b953bae5da
Fixed Vehicle Data being copied on construction
2021-03-18 23:44:14 +02:00
Lion Kortlepel
e039eeaab8
don't count pps changes towards heartbeat hot-changes
2021-03-18 23:44:14 +02:00
Anonymous275
15cad02e13
Debug build fix
2021-03-18 23:44:14 +02:00
Anonymous275
67f22c7d76
Tweaks
2021-03-18 23:44:14 +02:00
Anonymous275
44fa68e6da
Fixed windows build
2021-03-18 23:44:14 +02:00
Lion Kortlepel
40cae31885
Merge TUDPServer and TTCPServer into TNetwork
...
this gets rid of a bunch of unclear cases which I mistakenly created
while refactoring for this rewrite. One example is having to call into
TTCPServer to do UDP sending in some cases.
2021-03-18 23:44:14 +02:00
Lion Kortlepel
05c5fb047c
SendToAll: also send while syncing
...
the missed packet queue handles this case
2021-03-18 23:44:14 +02:00
Lion Kortlepel
83145d7466
add 1 second delay before we start sending missed data during sync
2021-03-18 23:44:14 +02:00
Lion Kortlepel
3c48ac6145
fix issue with spamming 1kB until death
2021-03-18 23:44:14 +02:00
Anonymous275
3fe8d48ada
Packet queuing on syncing
2021-03-18 23:44:14 +02:00
Anonymous275
f0abfcc0ef
Added lua GetIdentifiers
2021-03-18 23:44:14 +02:00
Anonymous275
7410e31230
Use of std::move and added DEBUG ifdef
2021-03-18 23:44:14 +02:00
Anonymous275
3bc8744b63
Removed debug printing
2021-03-18 23:44:14 +02:00
Anonymous275
c076c83edc
Fxed lua_GetCars
2021-03-18 23:44:14 +02:00
Anonymous275
776ddcbbef
x86 support
2021-03-18 23:44:14 +02:00
Anonymous275
9a74434bbb
Small edits
2021-03-18 23:44:14 +02:00
Anonymous275
3e2cb3176a
Fixed the optional boolean in TCPSend
2021-03-18 23:44:14 +02:00
Lion Kortlepel
7cd420a1a5
partially implement queuing while sycing client
2021-03-18 23:44:14 +02:00
Lion Kortlepel
4edd1ac100
fix various issues
2021-03-18 23:44:14 +02:00
Lion Kortlepel
8e4006fc38
clear up heartbeat code, improve logs in debug builds
2021-03-18 23:44:14 +02:00
Anonymous275
ab44ac8c15
SocketIO authentication
2021-03-18 23:44:14 +02:00
Lion Kortlepel
266303b09d
AddNewCar: use insert with make_unique again
2021-03-18 23:44:14 +02:00
Lion Kortlepel
b777781c96
possibly fix invisible car bug
2021-03-18 23:44:14 +02:00
Lion Kortlepel
714d31fb45
use emplace instead of insert + make_unique for new cars
2021-03-18 23:44:14 +02:00
Lion Kortlepel
d481fcd3a7
debug log if vehicle gets destroyed
2021-03-18 23:44:14 +02:00
Lion Kortlepel
df3269756c
set locale (do this in the launcher, too, please!)
2021-03-18 23:44:14 +02:00
Anonymous275
aadcd1abe5
SocketIO work
2021-03-18 23:44:14 +02:00
Anonymous275
57fc0ea74d
Update TServer.cpp
2021-03-18 23:44:14 +02:00
Anonymous275
fe4a1b28b5
Added onVehicleReset Event
2021-03-18 23:44:14 +02:00
Anonymous275
fab20276ff
Fixed windows not linking
2021-03-18 23:44:14 +02:00