863 Commits

Author SHA1 Message Date
Lion Kortlepel
c6fbd3dc49 Add more memory safety, fix print(nil) crash 2020-11-08 14:44:49 +01:00
Lion Kortlepel
b9758ddaea ProcessCompositeInput: ensure we dont cause UB on memcmp 2020-11-08 14:31:15 +01:00
Lion Kortlepel
e42256dd5f Shrink history size to 10 soft 20 hard 2020-11-08 14:21:44 +01:00
Lion Kortlepel
0b71d77a48 Add console history. 2020-11-08 14:18:49 +01:00
Lion Kortlepel
1e5faea1a4 Fix console _getch behavior on unix 2020-11-08 13:32:45 +01:00
Lion Kortlepel
4ecd57fed4 Only show ThreadNames in server debug MODE 2020-11-08 13:06:38 +01:00
Lion Kortlepel
1ef6cf53a2 Add endian-correctness to TCPSend&Rcv (parallel to the Launcher commit) 2020-11-08 11:52:32 +01:00
Lion Kortlepel
26383d5346 Add lots of memory safety to client interface 2020-11-08 02:50:17 +01:00
Lion Kortlepel
96668add6e Safety improvements 2020-11-08 02:29:06 +01:00
Lion Kortlepel
437a654b90 Added thread names to logs 2020-11-08 02:28:40 +01:00
Lion Kortlepel
a42ab67d2f Minor fixes 2020-11-08 01:31:34 +01:00
Lion Kortlepel
fe6cfd027e fix some unix stuff 2020-11-07 23:40:53 +01:00
Anonymous275
a08d29a0ae Vehicle ghost fix, player list fix 2020-11-07 23:29:06 +02:00
Anonymous275
2021f0b461 fixed debug output, server exit hang, crashes 2020-11-07 18:52:03 +02:00
Anonymous275
5b92cbc0be wesocket base 2020-11-07 02:35:50 +02:00
Anonymous275
77f811b7a8 websocket wip 2020-11-06 23:58:47 +02:00
Lion Kortlepel
6bebc4c160 Fix lua imports, fix linux backspace behaviour in console 2020-11-06 15:50:03 +01:00
Anonymous275
e5a0d43024 fixed windows build 2020-11-06 16:43:18 +02:00
Lion Kortlepel
3eb2bd0dfc possibly fixed UDPSend error on unix 2020-11-06 01:58:36 +01:00
Lion Kortlepel
775e46788c fix SendAll again 2020-11-06 01:40:08 +01:00
Lion Kortlepel
1de29dc5e4 fix assert in SendToAll 2020-11-06 01:34:55 +01:00
Lion Kortlepel
e41b3df095 fix glaring f*cking error 2020-11-06 01:07:55 +01:00
Lion Kortlepel
24eaa1e079 add even more prints 2020-11-06 00:58:25 +01:00
Lion Kortlepel
8ba89e491f add even more debugging prints 2020-11-06 00:54:05 +01:00
Lion Kortlepel
6a3b933df1 more verbose errors 2020-11-06 00:31:35 +01:00
Lion Kortlepel
f0c87341ab implement size header for auth 2020-11-05 23:57:07 +01:00
Anonymous275
fbbdc084a4 Windows compile fix 2020-11-05 16:49:49 +02:00
Lion Kortlepel
36db73b562 Add more safety on some memory handling 2020-11-04 14:35:28 +01:00
Lion Kortlepel
f2d87078ae Fix various memory leaks with RAII 2020-11-04 13:10:45 +01:00
Lion Kortlepel
5452aeb558 Fix race condition in debug build printing 2020-11-04 11:58:09 +01:00
Lion Kortlepel
2beff2495f Fix backspace behavior, random printing of > 2020-11-03 13:41:23 +01:00
Lion Kortlepel
c5c21c43ad Implement various WIN32 fixes 2020-11-03 12:50:35 +01:00
Lion Kortlepel
f144d451c7 Fixup 2020-11-03 12:14:19 +01:00
Lion Kortlepel
801ea3f777 Fix windows naming issue with assert 2020-11-03 12:10:08 +01:00
Lion Kortlepel
e986df0579 change __WIN32 to WIN32 (oops) 2020-11-03 12:01:31 +01:00
Lion Kortlepel
aa73a9d16a Assert nullptrs in VehicleData
we'll nuke this file anyways, but for now lets be safe about ptrs.
2020-11-03 10:38:44 +01:00
Lion Kortlepel
b2166402a2 Print TIDs in every new thread 2020-11-03 10:22:49 +01:00
Lion Kortlepel
2ec65d5b84 Implement Assertion properly, TID printing in debug builds 2020-11-03 10:13:52 +01:00
Lion Kortlepel
69f20bdf41 Add TID debug printing 2020-11-03 09:36:00 +01:00
Lion Kortlepel
eead954bf9 Fix Console on Unix, adapt console behavior to that of a traditional
console, add Assert.h, add clang-format file with modified WebKit style
2020-11-03 09:01:58 +01:00
Lion Kortlepel
953131289d Fix compiler warnings, explicitly cast by default 2020-11-01 12:19:19 +01:00
Lion Kortlepel
8bc35fb82e Refactor to work on Linux / Unix, fix some compiler errors.
CMakeLists was also modified to make this work, but its scuffed
and i will hold on to that for a while longer
2020-11-01 02:00:27 +01:00
Anonymous275
3bdc75b0c0 server input 2020-10-31 14:55:00 +02:00
Anonymous275
71a84b4f1b Server update 0.63.5
- async lua implementation
- cleaner backend heartbeat
- two way encryption on connect
- async tcp buffer
- disconnect handler
- cleaned UDP implementation
2020-10-16 17:05:31 +03:00
Anonymous275
31c96cee94 V0.6
rewrite
2020-08-21 20:58:10 +03:00
Anonymous275
232c4d7b28 Crash Handeling 2020-07-11 00:03:37 +03:00
Anonymous275
303647a8c3 added 2 lua events fixed chat messages lagging 2020-07-09 20:54:02 +03:00
Anonymous275
92cc1cb0fd minor tweaks 2020-07-06 21:30:09 +03:00
Anonymous275
c83bc7864a v1.48 2020-07-04 23:58:47 +03:00
Anonymous275
83c095ba17 memory leak fix, now uses less than 5MB of memory 2020-07-04 15:58:53 +03:00