Commit Graph
100 Commits
Author SHA1 Message Date
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
Lion Kortlepel f6121704df implement SSL POST 2021-01-14 00:17:47 +01:00
Lion Kortlepel c75acbff76 fix hostnames 2021-01-13 22:41:38 +01:00
Lion Kortlepel d394d7b5a6 use boost beast instead of curl 2021-01-13 22:39:45 +01:00
Lion Kortlepel 4e1d2a7ddd try once more 2021-01-13 21:57:13 +01:00
Lion Kortlepel 2571cb1478 possible fix no 2 2021-01-13 21:51:07 +01:00
Lion Kortlepel c387cc3610 possible hotfix? 2021-01-13 21:45:26 +01:00
Lion Kortlepel 769c19b811 possibly fixes segfault issue on connect 2021-01-13 21:34:09 +01:00
Lion Kortlepel b62676daf4 use RAII for log file open/close 2021-01-12 10:55:02 +01:00
Lion cd19cd343a Update README.md
add "releases" link
2021-01-12 09:40:55 +01:00
Lion Kortlepel 61776d6a1b Client: inline trivial getters & setters 2021-01-02 03:19:51 +01:00
Lion Kortlepel 0f30706a0a Improve UDPRcvFromClient 2021-01-02 02:55:14 +01:00
Lion Kortlepel cb92833bfd Fix useless strlen & substr 2021-01-02 02:42:39 +01:00
Lion Kortlepel a21ca74c58 remove include 2021-01-02 02:39:18 +01:00
Lion Kortlepel e2611e13e0 Console.cpp: Fix console history crashes and inconsistent behavior 2021-01-02 01:00:35 +01:00
Lion Kortlepel 5fb7c459c6 main.cpp: use c++ header naming scheme 2021-01-02 00:10:01 +01:00
Lion d8e1d389bf Update README.md 2021-01-01 16:23:38 +01:00
Lion 2c6386013d Update README.md 2020-12-27 23:11:23 +01:00
Lion 3cb4c7cb67 Update README.md 2020-12-27 22:49:24 +01:00
Lion 229010647c Update README.md 2020-12-27 22:30:22 +01:00
Lion 03968f34b1 Update README.md 2020-12-27 22:28:15 +01:00
Lion Kortlepel 941287d22c remove debian build script again, rethinking this 2020-12-27 22:17:10 +01:00
Lion Kortlepel 8e4e0c0896 add debian build script for easier deployment 2020-12-27 22:13:24 +01:00
Lion Kortlepel c5d1682d5e CMake: Change minimum required version to 3.13, due to it being the
default in debian stable which we officially will support now, and
changed "lua" to find_directories result in UNIX linking of libraries
2020-12-27 22:06:48 +01:00
Lion Kortlepel 04cf7ca092 suppress unused variables 2020-12-24 00:42:39 +01:00
Lion Kortlepel 639c94e0f2 fixed my own mistake again again 2020-12-24 00:01:09 +01:00
Lion Kortlepel 623437e864 fix not calling curl_global_init in release mode 2020-12-23 23:57:27 +01:00
Lion Kortlepel fb420eac1b fix not memsetting in release mode (yikes) 2020-12-23 23:56:17 +01:00
Lion Kortlepel 0f33367f6b fixed what i broke 2020-12-23 23:52:51 +01:00
Lion Kortlepel 1a2c956d9e remove dead code in logger's SetThreadName 2020-12-23 23:45:28 +01:00
Lion Kortlepel de859f4762 remove Pos < 0 check as Pos is unsigned and never < 0 (always true) 2020-12-23 23:45:28 +01:00
Lion Kortlepel db152e09e9 reduce scope of some variables
reduce scope of R in Monitor

reduce scope of Temp in TCPSendRaw

reduce scope of Temp in TCPSend
2020-12-23 23:45:21 +01:00
Lion Kortlepel 561c0bb381 fix bug which caused kicking to be logged as normal leaving 2020-12-23 23:45:21 +01:00
Lion Kortlepel f60a44f65f remove some unused variables
remove unused variable

remove unused variable
2020-12-23 23:45:12 +01:00
Lion Kortlepel a944565fb9 reformat all 2020-12-23 23:34:30 +01:00
Lion Kortlepel 0f4c08c068 reformat all 2020-12-23 23:30:33 +01:00
Lion Kortlepel f0ad3732f4 fix misplaced include 2020-12-23 23:29:45 +01:00
Lion fac1b43b44 Create LICENSE
please read over this and make sure its solid enough
2020-12-23 21:51:51 +01:00
Lion Kortlepel 5cf97850d7 add nobuiltin flag for gcc 2020-11-24 01:28:35 +01:00
Lion Kortlepel 6a8d097dc5 fixup 2020-11-17 23:25:59 +01:00
Lion Kortlepel e2a45601b3 possibly fix recurring backend timeout 2020-11-17 23:21:45 +01:00
Lion Kortlepel a78f65b274 fix getch spin 2020-11-17 23:21:45 +01:00
Lion Kortlepel e12b7da27f lua unique_ptr to shared_ptr 2020-11-16 16:48:00 +01:00
Lion Kortlepel 450f6d7139 rearrange cmakelists 2020-11-16 15:39:23 +01:00
Lion Kortlepel 5a275580a4 add Resources folder to gitignore 2020-11-13 22:58:18 +01:00
Lion Kortlepel 03ee46d293 fixed filename stuff in lua 2020-11-13 22:57:08 +01:00
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
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
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
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