Commit Graph

80 Commits

Author SHA1 Message Date
Lion Kortlepel
fa9bc16038 CloseSocketProper instead of closesocket 2020-11-12 23:20:37 +01:00
Lion Kortlepel
fedca58e8e remove Temp < 0 message for now 2020-11-12 23:02:47 +01:00
Anonymous275
6ecf6c58ac Possible debug spam fix 2020-11-12 23:58:23 +02:00
Lion Kortlepel
58e65cf43f clang-format everything 2020-11-12 17:09:14 +01:00
Lion Kortlepel
c9f5ee9729 log any and every time we closesocket 2020-11-12 03:00:32 +01:00
Lion Kortlepel
583819070b add Client( ) around player name in TID output 2020-11-12 02:40:01 +01:00
Lion Kortlepel
9ddab14f01 possibly fix port in use 2020-11-12 02:35:11 +01:00
Lion Kortlepel
d44aa86ed1 shutdown the socket on linux as well 2020-11-12 02:31:11 +01:00
Lion Kortlepel
7a5861a917 add tid print to check thread in identification 2020-11-12 02:24:41 +01:00
Lion Kortlepel
5e603c65b6 fix timeout in identification 2020-11-12 02:22:49 +01:00
Lion Kortlepel
3137f4e9db comment out timeout thread for now 2020-11-12 02:02:26 +01:00
Lion Kortlepel
80c5341650 add last error for windows as well 2020-11-12 01:56:50 +01:00
Lion Kortlepel
cde41f01b2 error on send failure 2020-11-12 01:52:44 +01:00
Lion Kortlepel
be7e2f1616 possible fix for ping=? 2020-11-12 01:33:35 +01:00
Anonymous275
cdb2624367 Made the server make sure there is only 1 connection 2020-11-12 01:40:26 +02:00
Lion Kortlepel
308500c01f Fix multiple small issues :) 2020-11-11 11:24:36 +01:00
Anonymous275
94f6a81673 lua error fix 2020-11-11 00:40:22 +02:00
Lion Kortlepel
7fce274915 Fix printing, make CI into unique_ptr (more) 2020-11-08 21:46:02 +01:00
Anonymous275
b663563f01 TCP header fix 2020-11-08 22:17:45 +02:00
Anonymous275
8e9bf46778 lot of work 2020-11-08 21:48:44 +02:00
Lion Kortlepel
c6fbd3dc49 Add more memory safety, fix print(nil) crash 2020-11-08 14:44:49 +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
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
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
c5c21c43ad Implement various WIN32 fixes 2020-11-03 12:50:35 +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
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