Lion Kortlepel
89514f3839
bump in-server version number
2021-06-25 00:04:11 +02:00
Lion Kortlepel
7bc230974a
fix typo
2021-06-23 23:50:18 +02:00
Lion Kortlepel
c82c53e3d1
remove debug prints
2021-06-23 16:40:08 +02:00
Lion Kortlepel
9e861ab993
parse old Server.cfg if it exists
2021-06-23 16:39:08 +02:00
Lion Kortlepel
ae11ba5f0d
bump version to 2.0.4
2021-06-23 11:55:47 +02:00
Lion Kortlepel
1427966d1a
private false by default
2021-06-23 02:08:21 +02:00
Lion Kortlepel
db92f2867d
put a line between header and content of toml
2021-06-23 01:54:17 +02:00
Lion Kortlepel
208a41d45f
remove unused
2021-06-23 01:54:17 +02:00
Lion Kortlepel
f2915f9c2a
remove dead code
2021-06-23 01:54:17 +02:00
Lion Kortlepel
1abf6d5adf
Fully implement TOML config file, delete .idea folder
...
The new config is called "ServerConfig.toml" and uses the TOML library.
It's nice.
2021-06-23 01:54:17 +02:00
Lion Kortlepel
f626474b4f
add TOML++
2021-06-23 01:54:17 +02:00
Lion Kortlepel
6f3960d2c2
final commit for the fix to linux lua - fix #27
2021-06-23 01:52:39 +02:00
Lion Kortlepel
6cb19a7991
(possibly) Fix linux lua issue
2021-06-23 01:47:37 +02:00
Lion Kortlepel
4fe3c50edd
update commandline, fix #24
2021-06-18 11:24:17 +02:00
Lion Kortlepel
fe7335fb0e
github actions: run only on push, not PR, since then it runs twice
2021-06-18 10:53:44 +02:00
Lion Kortlepel
40cd203047
update commandline library in a fix attempt for #24
2021-06-18 10:44:53 +02:00
Lion Kortlepel
1fc03500f0
update lionkor/commandline to latest
2021-06-17 12:53:21 +02:00
Lion Kortlepel
73729746ff
update gitignore with some common unix stuff and notes folder
2021-06-17 12:51:44 +02:00
Lion
f50b821733
Clarify ways to contribute
2021-05-28 12:26:22 +02:00
Lion
1e5d19bca4
Update README.md
2021-05-28 12:13:12 +02:00
Lion
1011de1971
Update README.md
...
Add a section about contributing
2021-05-27 16:58:50 +02:00
Lion
c3a463552f
Update README.md
2021-05-01 17:46:59 +02:00
Lion
ae9462898e
Update README.md
...
fixes #22
@Anonymous-275 please look over
2021-05-01 17:46:02 +02:00
Lion Kortlepel
f1e1b6cc28
remove boost from runtime dependencies
2021-04-09 23:56:09 +02:00
Lion Kortlepel
573bd77bbd
v2.0.3
2021-04-06 12:50:39 +02:00
Lion Kortlepel
770e03e3c6
update lionkor/commandline to include build speedup
2021-04-06 11:25:16 +02:00
Lion Kortlepel
11d4522dc7
update lionkor/commandline to fix windows build
2021-04-05 23:27:32 +02:00
Lion Kortlepel
830bc47987
update lionkor/commandline
...
Fixes the 100% CPU spin issue when stdin was /dev/null or similar.
Thanks to @Worty for implementing this fix
2021-04-05 14:47:26 +02:00
Lion Kortlepel
bec698fbdc
temporary fix for timeout during sync
2021-04-04 02:57:25 +02:00
Lion Kortlepel
60cc835daf
remove random 2 second sleep on every car sync (!)
2021-04-04 02:26:51 +02:00
Lion Kortlepel
a85ce18589
Implement possible ghost player fix
...
coauthor @Anonymous-275
2021-04-04 01:44:40 +02:00
Lion Kortlepel
1228c2fabe
fix release build to not include "Release" in the title, it leads to a
...
redundant <title>
2021-03-31 20:00:40 +02:00
Lion Kortlepel
018246cea5
fix deadlock in GetCarData, SetCarData
2021-03-31 14:50:49 +02:00
Lion Kortlepel
a584e25bf3
fix deadlock in DeleteCar
2021-03-31 14:44:50 +02:00
Lion Kortlepel
d4d773b769
revert copy-fix, it broke mutex locked contexts
2021-03-31 12:15:26 +02:00
Lion Kortlepel
56a02f0215
fix vehicle copy on GetAllCars, TSetOfVehicleData is now vector<>
2021-03-31 12:12:01 +02:00
Lion
3c68dfaeaf
Update LICENSE
2021-03-31 01:31:06 +02:00
Lion Kortlepel
69709968fd
fix release action again
2021-03-31 01:15:24 +02:00
Lion Kortlepel
5b9effad85
fix release action
2021-03-31 01:10:33 +02:00
Lion Kortlepel
fc201efa4b
possibly fix some issues with not disconnecting disconnected players
2021-03-30 17:04:40 +02:00
Lion Kortlepel
533c8c80e1
break if TCPRcv fails
2021-03-30 16:34:49 +02:00
Lion Kortlepel
78fb81004e
change timeout to 60s instead of 10, might fix the timeout mass kick
2021-03-30 16:27:25 +02:00
Lion Kortlepel
942b7baa74
update ping time on udp packets
2021-03-30 16:24:05 +02:00
Lion Kortlepel
aa72b2507e
fix weird macro compile error
2021-03-30 16:21:08 +02:00
Lion Kortlepel
9860240e24
revert change, apparently this doesn't do it
2021-03-30 16:16:55 +02:00
Lion Kortlepel
cda8168c58
fix boost crash
2021-03-30 16:15:44 +02:00
Lion Kortlepel
667bd7f7c8
add name to debug print, update ping time each packet
2021-03-30 16:01:23 +02:00
Lion Kortlepel
b524aa67de
add debug print in timeout ping update
2021-03-30 15:53:55 +02:00
Lion Kortlepel
e35d1b5457
attempt to fix mass timeout kick
2021-03-30 15:41:05 +02:00
Lion Kortlepel
1875c8832d
update ping time on any packet, not just ping packets, for now
2021-03-30 15:31:44 +02:00
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
3258b04dad
Update README.md
2021-03-30 02:31:33 +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
9c9f503e5c
fix debug printing in debug builds (yes)
2021-03-30 01:18:12 +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
Lion Kortlepel
940a39ed4e
fix artifact generation for windows
2021-03-29 23:40:02 +02:00
Lion Kortlepel
23b39bb6c7
update workflows to save artifacts
2021-03-29 23:33:25 +02:00
Lion
31d68249a8
Update README.md
2021-03-19 00:14:31 +01:00
Lion
6d3e053c71
Update README.md
2021-03-19 00:14:00 +01:00
Lion Kortlepel
87a1564c0a
actions: also apply vcpkg fix for release-build action
2021-03-18 23:37:18 +01:00
Lion Kortlepel
e6109c98bd
Application: Move some string literal URLs to functions
2021-03-18 23:30:52 +01:00
Lion Kortlepel
c372e63bd1
possible fix for vcpkg github actions cache issue
2021-03-18 22:46:41 +01:00
Lion Kortlepel
e039eeaab8
don't count pps changes towards heartbeat hot-changes
2021-03-18 23:44:14 +02:00
Lion Kortlepel
632a5f2801
update commandline library
2021-03-18 23:44:14 +02:00
Lion Kortlepel
33e0cac4c1
update commandline to newer version
2021-03-18 23:44:14 +02:00
Lion
a7f1e93ca2
Update README.md
2021-03-18 23:44:14 +02:00
Lion Kortlepel
f8a9d01749
add websocketpp to github actions builds
2021-03-18 23:44:14 +02:00
Lion Kortlepel
356354d1eb
use recursive checkout for github actions
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
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
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
Lion Kortlepel
f13523fbe5
fixed ghost player issue
2021-03-18 23:44:14 +02:00
Lion Kortlepel
b81ac35b37
update internal ping every second while syncing
2021-03-18 23:44:14 +02:00
Lion Kortlepel
8664522d1d
fix client kicked on connect because no initialization of some value
...
that i forgot to initlialize because i literally need coffee and food rn
fuck
2021-03-18 23:44:14 +02:00
Lion Kortlepel
c15046f8b1
fix pps dying on startup :^)
2021-03-18 23:44:14 +02:00
Lion Kortlepel
c7f8b2b131
add pps monitor print
2021-03-18 23:44:14 +02:00
Lion Kortlepel
84252e892e
add seconds since last ping print
2021-03-18 23:44:14 +02:00