528 Commits

Author SHA1 Message Date
Lion Kortlepel
21c9ac4f53 fixed missing backslash 2020-11-13 22:52:26 +01:00
Lion Kortlepel
ab5da1d94b add boost_ to gitignore for linux dev 2020-11-13 22:45:03 +01:00
Lion Kortlepel
6710c18168 fix lua file stuff and more file stuff 2020-11-13 22:43:35 +01:00
Lion Kortlepel
cdd9ef86ae fix history bug 2020-11-13 02:13:02 +01:00
Lion Kortlepel
85edadb6e4 use read(..., ..., 1) instead of getchar 2020-11-13 01:38:36 +01:00
Lion Kortlepel
aa29530d92 fix identification & check thread issue with atomic bool 2020-11-13 00:17:27 +01:00
Lion Kortlepel
270cca40ac fix closesocketproper on windows 2020-11-12 23:39:04 +01:00
Lion Kortlepel
c1633b6401 remove debug error 2020-11-12 23:22:14 +01:00
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
954d55c1a6 minor format fixes 2020-11-12 17:11:51 +01: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
Lion Kortlepel
8f05cdcc61 Replace some mutex locks with scoped locks 2020-11-11 00:20:14 +01:00
Anonymous275
94f6a81673 lua error fix 2020-11-11 00:40:22 +02:00
Lion Kortlepel
60c7997c6b Ignore SIGPIPE so we dont crash on broken pipes 2020-11-09 23:34:44 +01:00
Lion Kortlepel
2d11841a68 Fix crashing when port checking, remove debug prints 2020-11-09 23:34:06 +01:00
Lion Kortlepel
01e02edf8c Add clear with "clear", "cls" and Ctrl+L 2020-11-09 00:01:04 +01:00
Lion Kortlepel
52bf3cdd21 YAFFWH - Yet another fix for win32 history 2020-11-08 23:45:59 +01:00
Lion Kortlepel
1bbe88b240 Fix history on win32 again 2020-11-08 23:39:00 +01:00
Lion Kortlepel
5fc6c3ddd7 Implemented history on windows 2020-11-08 23:30:32 +01:00
Lion Kortlepel
d226b36f44 enable console history again on win32 2020-11-08 23:24:04 +01:00
Lion Kortlepel
7ab37b7fe9 Properly add RWMutex 2020-11-08 22:39:20 +01:00
Lion Kortlepel
747e948339 Fix console behavior on win32 2020-11-08 22:16:56 +01: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
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
root
b8bd939bd7 Add build instructions for linux, fix some cmake issues 2020-11-08 06:54:59 -05: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