Commit Graph

1221 Commits

Author SHA1 Message Date
Lion Kortlepel
2fd0d2b0dd remove vcpkg step again 2023-12-05 13:52:35 +01:00
Lion Kortlepel
876fc617e0 fix vcpkg.json to not include a baseline commit 2023-12-05 13:51:45 +01:00
Lion Kortlepel
df1514a657 set toolchain file 2023-12-05 13:49:20 +01:00
Lion Kortlepel
96ce0e05a1 add git safe 2023-12-05 13:45:13 +01:00
Lion Kortlepel
b0e011cabf add safe directories 2023-12-05 13:42:42 +01:00
Lion Kortlepel
c598884b9a remove vcpkg fetch 2023-12-05 13:39:51 +01:00
Lion Kortlepel
fc6655f104 add git fetch before cmake configure 2023-12-05 13:35:29 +01:00
Lion Kortlepel
599c407d77 update vcpkg 2023-12-05 13:31:46 +01:00
Lion Kortlepel
a66614d426 remove manual clone of commandline 2023-12-05 13:31:13 +01:00
Lion Kortlepel
1c409ff354 add git 2023-12-05 13:30:34 +01:00
Lion Kortlepel
8ab018485b add back recursive fetch 2023-12-05 13:29:59 +01:00
Lion Kortlepel
c047565b0a remove apt upgrade 2023-12-05 13:28:08 +01:00
Lion Kortlepel
4fe9159b0c clone commandline if not exists 2023-12-05 13:27:19 +01:00
Lion Kortlepel
c05287dbde remove workdir 2023-12-05 13:25:03 +01:00
Lion Kortlepel
cdb17d4bbb add submodule fetch 2023-12-05 13:23:30 +01:00
Lion Kortlepel
9c1954caf0 no sudo 2023-12-05 13:22:02 +01:00
Lion Kortlepel
22933084d4 fix run 2023-12-05 13:21:31 +01:00
Lion Kortlepel
efdb400747 remove tests for now 2023-12-05 13:20:23 +01:00
Lion Kortlepel
d260563d99 try using debian 2023-12-05 13:19:28 +01:00
Lion Kortlepel
161f8127fa simplify build steps 2023-12-05 13:18:43 +01:00
Lion Kortlepel
c56adcb8c5 take source dir from cli args 2023-12-04 16:11:18 +01:00
Lion Kortlepel
59be12f7ac fix runtime deps 2023-12-04 16:07:35 +01:00
Lion Kortlepel
4c99f1df00 fix paths 2023-12-04 16:05:07 +01:00
Lion Kortlepel
d04e88c0be create build dir before running cmake 2023-12-04 16:01:13 +01:00
Lion Kortlepel
1ad65e26b8 Revert "remove shebang from scripts"
This reverts commit 1e592f6810.
2023-12-04 15:58:16 +01:00
Lion Kortlepel
1e592f6810 remove shebang from scripts 2023-12-04 15:53:49 +01:00
Lion Kortlepel
30f69c9c27 run ci scripts explicitly with sudo 2023-12-04 15:50:14 +01:00
Lion Kortlepel
0b199d8b2f remove unused submodules 2023-12-04 15:47:22 +01:00
Lion Kortlepel
f01756f296 fix compile errors & remove sentry 2023-12-04 15:46:39 +01:00
Lion Kortlepel
f9d023314c run install scripts as sudo 2023-12-04 15:33:28 +01:00
Lion Kortlepel
fff1f56631 switch to vcpkg+cmake build system 2023-12-04 15:31:03 +01:00
Lion Kortlepel
a28e31d080 update commandline 2023-12-04 15:03:23 +01:00
Lion Kortlepel
103d2dc030 update vcpkg in workflows v3.1.2 2023-12-03 17:50:45 +01:00
Lion Kortlepel
7f206fd0d4 bump version to 3.1.2 2023-12-03 17:49:12 +01:00
Lion Kortlepel
22805af716 fix crash in authentication 2023-12-03 17:43:41 +01:00
Lion
47e64a7343 merge release candidate v3.1.1 (#142)
patches and hotfixes!
v3.1.1
2022-10-31 11:32:16 +01:00
Lion Kortlepel
7f5b3919f4 make destructors of virtual classes virtual
this causes warnings in clang, and rightfully so :^)
2022-10-31 11:31:16 +01:00
Lion Kortlepel
896e777e23 update changelog 2022-10-31 11:31:16 +01:00
Lion Kortlepel
aa58c1e211 another potential fix for #141 2022-10-31 11:31:15 +01:00
Lion Kortlepel
49a9226dca update changelog to mention fixes 2022-10-31 11:31:15 +01:00
Lion Kortlepel
b10d5d0f4e fix empty events causing issues in the server
an empty event packet, if sent just right, could crash the server
2022-10-31 11:31:15 +01:00
Lion Kortlepel
5581fd1692 fix chat message impersonation issue
instead of using the supplied name, we ignore it entirely and use the
server's internal name for the client
2022-10-31 11:31:15 +01:00
Lion Kortlepel
d36bb7962c ignore empty chat messages
this could happen with a malicious client of some kind, we should simply
ignore them
2022-10-31 11:31:15 +01:00
Lion Kortlepel
4e8bd993d5 remove J packet handler
it wasn't used by anything in the launcher, mod, or during the join
sequence, so i removed it for now.
2022-10-31 11:31:15 +01:00
Lion Kortlepel
abff9bfbdb fix crash when chat message is malformed 2022-10-31 11:31:15 +01:00
Lion Kortlepel
b024533f90 fix crash when the header of a TCP packet is negative 2022-10-31 11:31:15 +01:00
Lion Kortlepel
f9251ff92c add more warning prints on unexpected cases 2022-10-31 11:31:15 +01:00
Lion Kortlepel
99f41c28cb fix #135 by making onPlayerDisconnect blocking, and calling it before removing the player
before, the handlers were not waited for, so the client was usually
destructed before lua got to the actual event handler call. Now, the
handler is called and waited on, and once all handlers are done, the
client is properly removed from the players internally, thus making
calls to GetPlayerName, GetPlayerIdentifiers, etc. return nil etc.
2022-10-31 11:31:15 +01:00
Lion Kortlepel
bbd27c9cba fix formatting bug in status (closes #143) 2022-10-31 11:31:15 +01:00
Lion Kortlepel
4682922467 add more fixes for msvc static linking 2022-10-31 11:31:15 +01:00