77 Commits

Author SHA1 Message Date
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
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
776ddcbbef x86 support 2021-03-18 23:44:14 +02:00
Anonymous275
9a74434bbb Small edits 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
d481fcd3a7 debug log if vehicle gets destroyed 2021-03-18 23:44:14 +02:00
Anonymous275
fab20276ff Fixed windows not linking 2021-03-18 23:44:14 +02:00
Anonymous275
6aed93fbf1 Update TLuaFile.h 2021-03-18 23:44:14 +02:00
Anonymous275
9b1bf071a8 Fixed lua crash caused by lion with optimizations 2021-03-18 23:44:14 +02:00
Anonymous275
f52308c439 Cleanup & optimizations 2021-03-18 23:44:14 +02:00
Anonymous275
0580ad67fd Fixed crash + debug build on windows 2021-03-18 23:44:14 +02:00
Anonymous275
218504e674 Fixed windows build not compiling 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
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
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
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 Kortlepel
f9cb9af078 add real uptime counter, for use in lua later 2021-02-10 11:21:42 +01:00
Lion Kortlepel
f6121704df implement SSL POST 2021-01-14 00:17:47 +01:00
Lion Kortlepel
d394d7b5a6 use boost beast instead of curl 2021-01-13 22:39:45 +01:00
Lion Kortlepel
61776d6a1b Client: inline trivial getters & setters 2021-01-02 03:19:51 +01:00
Lion Kortlepel
04cf7ca092 suppress unused variables 2020-12-24 00:42:39 +01:00
Lion Kortlepel
fb420eac1b fix not memsetting in release mode (yikes) 2020-12-23 23:56:17 +01:00
Lion Kortlepel
0f4c08c068 reformat all 2020-12-23 23:30:33 +01:00
Anonymous275
4adfda64c1 Switched to msvc 2019 2020-12-24 00:16:40 +02:00
Anonymous275
306fbc5eb4 Cleaning headers 2020-12-23 23:56:43 +02:00
Anonymous275
435c397d02 Small edit 2020-12-20 15:14:23 +02:00
Anonymous275
97d8f9506e more cleanup 2020-12-20 14:11:29 +02:00
Anonymous275
2e7f2cc6bd Support of 1Gps+ internet 2020-12-19 01:15:52 +02:00
Anonymous275
19b7f7f579 new auth system + major optimization 2020-12-16 01:36:35 +02:00
Lion Kortlepel
e12b7da27f lua unique_ptr to shared_ptr 2020-11-16 16:48:00 +01:00
Lion Kortlepel
6710c18168 fix lua file stuff and more file stuff 2020-11-13 22:43:35 +01:00
Lion Kortlepel
270cca40ac fix closesocketproper on windows 2020-11-12 23:39:04 +01:00
Lion Kortlepel
fa9bc16038 CloseSocketProper instead of closesocket 2020-11-12 23:20:37 +01:00