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
Lion Kortlepel
32038046d5
add print on ping
2021-03-18 23:44:14 +02:00
Lion Kortlepel
e04a569e33
attempt to fix ghost player issue
2021-03-18 23:44:14 +02:00
Lion Kortlepel
13f8be5d39
update players info
2021-03-18 23:44:14 +02:00
Lion Kortlepel
bca4b3f140
fix client insert/create issue
2021-03-18 23:44:14 +02:00
Lion Kortlepel
b3256062f7
fix boolean expression (oof)
2021-03-18 23:44:14 +02:00
Lion Kortlepel
51dbfe0482
add debug prints
2021-03-18 23:44:14 +02:00
Lion Kortlepel
92a67c7305
remove debug prints of Http for now
2021-03-18 23:44:14 +02:00
Lion Kortlepel
cc5a878692
fix debug prints for now
2021-03-18 23:44:14 +02:00
Lion Kortlepel
5759a6f80f
attempt #2
2021-03-18 23:44:14 +02:00
Lion Kortlepel
3dd2e1c278
attempt #1 to fix LuaEngine being nullptr :(
2021-03-18 23:44:14 +02:00
Lion Kortlepel
4826fb5fc2
fix version naming
2021-03-18 23:44:14 +02:00
Lion Kortlepel
8cd35d64e4
fix lua thread never exiting
2021-03-18 23:44:14 +02:00
Lion Kortlepel
aec6ad9c14
fix more stuff
2021-03-18 23:44:14 +02:00
Lion Kortlepel
d360403c56
finish rewrite, builds fully
2021-03-18 23:44:14 +02:00
Lion Kortlepel
bf74b1ae32
add udpserver, tcpserver
2021-03-18 23:44:14 +02:00
Lion Kortlepel
f19a012509
add PPSMonitor
2021-03-18 23:44:14 +02:00
Lion Kortlepel
72607583bf
add submodules
2021-03-18 23:44:14 +02:00
Lion Kortlepel
ef5db013b3
add socketio, http post & get
2021-03-18 23:44:14 +02:00
Lion Kortlepel
4cda6e8bc3
fully implement lua
2021-03-18 23:44:14 +02:00
Lion Kortlepel
459814a6ec
add lua engine, lua file, server, client, vehicle data, other stuff
2021-03-18 23:44:14 +02:00
Lion Kortlepel
e5e447c7af
begin rewrite: add lionkor/commandline
2021-03-18 23:44:14 +02:00
Lion
f5ecc251e7
Update README.md
2021-02-19 10:30:16 +01:00
Lion
45b3057ed5
Update README.md
2021-02-19 10:25:42 +01:00
Lion Kortlepel
0476ffa990
fix release build action
2021-02-13 23:06:09 +01:00
Lion Kortlepel
43690d0833
fix release action
2021-02-13 22:17:08 +01:00
Lion Kortlepel
f9cb9af078
add real uptime counter, for use in lua later
2021-02-10 11:21:42 +01:00
Lion Kortlepel
e4979bb6e2
change backend url
2021-02-10 11:21:42 +01:00
Lion
5266ac418b
Update README.md
2021-02-04 11:00:07 +01:00
Lion
ffca27ae6a
Add releases link to windows prerequisites
2021-02-04 10:50:57 +01:00
Lion
cd1aba7afb
Fix headings (oops!)
2021-02-04 10:50:23 +01:00
Lion
50b3a9ea19
README.md: Add more explanations to dependencies
2021-02-04 10:49:58 +01:00
Lion
d8f49edb6b
Update README.md
2021-02-04 10:41:38 +01:00
Lion Kortlepel
ec0987e5c1
heartbeat timeout 5s -> 500ms
2021-02-02 01:16:39 +01:00
Lion Kortlepel
e4fa9a23fa
use ipv4 always, until backend supports ipv6
2021-02-02 01:13:34 +01:00
Lion
bd349556f0
Actions fix ( #11 )
...
* update workflows to accomodate new requirements
* add boost to vkpkg
* try without boost again
* use boost just boost
* might cache vcpkg or might not idk
* dont pull everything in boost
* clean up includes
* fix 1
* fix 2
* fix 3
* fix 4
* fix id 6
* remove libssl again
* move to boost 1.71
* add boost to windows cmake
* change from boost 1.71 to 1.70
* fix cmake again
* remove version because f cmake
* remove stuff again
* fix my mistakes
* fix linker args for unix
* openssl
* add openssl to vcpkg
* uhh change whats linked
* rename OpenSSL to OPENSSL????
2021-02-02 00:50:27 +01:00
Lion Kortlepel
d5541ae154
add try/catch to PostHTTP
2021-02-01 23:13:58 +01:00
Lion
467e5a64c3
README: Make status badges clickable
2021-01-31 18:20:49 +01:00
Lion
3bb9b17d47
remove pull_request comment action
2021-01-31 03:25:49 +01:00
Lion
51f0b504b7
Update cmake-windows.yml
2021-01-31 03:25:28 +01:00
Lion
2e48cef647
Add automated release builds for windows & linux
2021-01-31 02:03:53 +01:00
Lion
0fe7050166
Update README.md
...
Change lionkor user in URL to BeamMP
2021-01-31 00:52:58 +01:00
Lion
a25cc00093
add PR comment target to linux GH action
2021-01-31 00:40:47 +01:00
Lion
e2e23635bc
add PR comment target to linux GH action
2021-01-31 00:40:08 +01:00
Lion
a20f632e3e
squash commit for adding github actions
2021-01-31 00:31:55 +01:00
Lion Kortlepel
5f3fecb92c
heartbeat every 30 seconds, or if anything changed, with a limit of once
...
every 5 seconds
2021-01-30 02:40:26 +01:00
Lion Kortlepel
710bb939ad
change hearbeat update rate to 10 seconds
2021-01-30 02:02:47 +01:00
Lion Kortlepel
00b7d1ca96
Fix POST spamming issue
2021-01-30 02:01:53 +01:00
Lion Kortlepel
7e8b86cf57
return actual body instead of entire response (whoopsie!)
2021-01-30 01:39:55 +01:00
Lion Kortlepel
d47e721b38
PostHTTP: try IPv6, then IPv4 on failure to connect()
2021-01-30 01:30:22 +01:00
Lion Kortlepel
33a7d0e1a1
start fixing behavior when IPv6 not supported
2021-01-30 01:23:54 +01:00
Lion Kortlepel
480c78c9f2
Working boost::beast POST request
2021-01-30 01:11:33 +01:00
Lion
d0a7b56e75
Update README.md
2021-01-14 19:32:44 +01:00