Lion
d5000aea87
Remove changelog ( #232 )
...
now fully replaced by github releases due to issue-based workflow
2023-12-28 14:25:42 +01:00
Lion
810788a3e4
Add Tags Feature ( #192 )
...
This PR adds a tags functionality to the BeamMP server config and
heartbeat.
The intended purpose of this is to enable better filtering on the server
list based on keywords such as gamemode or roleplay.
2023-12-28 13:58:59 +01:00
Lion Kortlepel
e724a2e467
Merge remote-tracking branch 'origin/master' into feature-tags
2023-12-28 13:57:49 +01:00
Lion Kortlepel
54ba295fce
remove changelog
...
now fully replaced by github releases due to issue-based workflow
2023-12-28 13:53:32 +01:00
Lion
f419550061
Allow env to override serverconfig ( #227 )
2023-12-28 13:51:00 +01:00
Lion Kortlepel
8cccbe8542
Merge remote-tracking branch 'origin/master' into 226-allow-env-to-override-serverconfig
2023-12-28 13:49:02 +01:00
Lion Kortlepel
6787843b37
pretty-print tags on startup
2023-12-28 12:58:29 +01:00
Lion Kortlepel
16d3c6f796
Merge remote-tracking branch 'origin/master' into feature-tags
2023-12-28 12:36:22 +01:00
Lion
21e5101560
Make debug symbols available for release builds ( #216 )
...
Closes #214
2023-12-28 12:30:40 +01:00
Lion
1adf19d416
Bump version to 3.2.0 ( #231 )
...
Due to new features like ENV reading this is now a feature release, so
minor
2023-12-28 12:16:05 +01:00
Lion
c7e228fbae
bump version to 3.2.0
...
due to new features like ENV reading this is now a feature release, so minor
2023-12-28 11:56:25 +01:00
Lion
6e04b2d93a
Fix GitHub Actions not downloading the latest tests to run them ( #220 )
...
Closes #219
2023-12-28 11:55:02 +01:00
Lion
57a4c47cb0
Remove HTTP Server settings from config ( #221 )
...
This is not implemented and won't be implemented
2023-12-28 11:50:33 +01:00
Lion
416e0399af
Remove [Feature Request] from issue title ( #217 )
2023-12-28 11:47:51 +01:00
Lion
050b574cc0
Remove [Bug] title from issue template ( #218 )
2023-12-28 11:47:39 +01:00
Lion
d65f3cf75b
Fix hot reload not working with symlinked entire plugins ( #230 )
2023-12-28 11:42:39 +01:00
Lion Kortlepel
329d2eb268
fix hot reload not working with symlinked entire plugins
2023-12-28 11:22:00 +01:00
Lion Kortlepel
221f491019
return early after reading ENV in config
2023-12-25 16:19:53 +01:00
Lion Kortlepel
89db370e12
use env variables by default to override config values
2023-12-25 16:16:01 +01:00
Lion
aa84a65546
Update feature_request.md
2023-12-21 13:15:48 +01:00
Lion Kortlepel
b28c69a515
remove http settings from config
2023-12-21 13:07:35 +01:00
Lion Kortlepel
ac41547123
bump version to 3.1.4
2023-12-21 13:05:33 +01:00
Lion Kortlepel
2fc610f6bc
fix tests not downloading artifacts by not using artifacts
2023-12-21 13:01:50 +01:00
Lion Kortlepel
ddd3883aa9
fix failing gh actions test run
2023-12-21 13:01:50 +01:00
Lion
defadf094f
Fix exit after 10 seconds ( #215 )
...
Also fixes initializing the console too early by @lionkor
2023-12-21 12:50:19 +01:00
Lion Kortlepel
81299db946
fix console initializing too early
...
the console was initialized too early, leading to the server waiting for
it to shut down if the authkey is invalid, among other issues.
2023-12-21 12:49:20 +01:00
Lion
c3895ec1ca
remove [Bug] title from issue template
2023-12-21 12:17:50 +01:00
Lion
c741fe5310
remove [Feature Request] from issue title
2023-12-21 12:17:11 +01:00
Lion Kortlepel
e1dfb1085e
modify release workflows to add debug info artifacts
2023-12-21 11:17:17 +01:00
Lion Kortlepel
142b6fa47a
modify build scripts to generate .debug files with debug info
2023-12-21 11:13:51 +01:00
Lion
f28d9bc7dc
Update README.md
2023-12-16 20:18:40 +00:00
Lion
43b1b050e2
Fix workflows to make release builds ( #202 )
...
Currently the Windows workflow doesn't properly create a release binary.
2023-12-09 20:17:10 +01:00
Lion Kortlepel
9f87edc6e9
add msvcp140.dll comment to the release text
2023-12-09 20:09:56 +01:00
Lion Kortlepel
c6f78c5522
fix release build path
2023-12-09 20:06:50 +01:00
Lion Kortlepel
9f01268538
update version to 3.1.3
2023-12-09 20:01:53 +01:00
Lion Kortlepel
5523a4fe4b
force build release config on windows
2023-12-09 20:00:33 +01:00
Lion Kortlepel
7f11d0f002
make release builds by default
2023-12-09 19:22:50 +01:00
Lion Kortlepel
6b31ba35fd
attempt to fix workflows to make release builds
2023-12-09 19:18:33 +01:00
Lion
d2329f0723
Remove password setting from config to avoid confusion ( #199 )
...
...until implemented.
The client afaik currently doesn't support this setting.
2023-12-09 19:05:54 +01:00
Lion
edcca75637
Update README.md
2023-12-08 17:18:54 +01:00
Lion
c1bacf1f3a
remove old instructions from readme, cleanup
2023-12-08 17:16:47 +01:00
Lion Kortlepel
795b651744
remove macos section
2023-12-05 18:35:57 +01:00
Lion Kortlepel
be108bb8b3
update readme to new build system
2023-12-05 18:34:06 +01:00
Lion Kortlepel
d8b8812026
remove password setting from config to avoid confusion
...
...until implemented
2023-12-05 18:23:23 +01:00
Lion
872c2d410d
New buildsystem ( #197 )
2023-12-05 18:21:20 +01:00
Lion Kortlepel
f98704e0f3
fix warnings about implicit conversion
2023-12-05 18:05:35 +01:00
Lion Kortlepel
dea203c108
make IThreaded::~IThreaded virtual to make destruction happen
2023-12-05 18:03:13 +01:00
Lion Kortlepel
e245c9e9e2
fix pps monitor warning about virtual dtor
2023-12-05 18:02:35 +01:00
Lion Kortlepel
11fe5ad200
fix invalid timeout value
2023-12-05 18:00:34 +01:00
Lion Kortlepel
667da22b0e
Merge remote-tracking branch 'origin/master' into new-buildsystem
2023-12-05 17:59:05 +01:00
Lion Kortlepel
a6eb2f7bfe
switch to vcpkg+cmake, add debian build to workflows
...
using lionkor's template (MIT licensed)
This is a combination of 64 commits.
2023-12-05 17:57:19 +01:00
Lion Kortlepel
103d2dc030
update vcpkg in workflows
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
2c29a195f9
optimize: Add conditional variable to LuaResult ( #162 )
...
Implementing TODO for optimization I saw in the code.
2023-03-27 13:31:21 +02:00
Lion
6a11bcd20b
fix bad package name for Ubuntu in Readme ( #161 )
...
The package name for liblua required to build is not correct. The
correct name is
[`liblua-5.3-dev`](https://packages.ubuntu.com/search?suite=all&searchon=names&keywords=liblua5.3 )
2022-12-21 16:29:49 +01:00
Lion
67d792e0e0
remove repeated dependency from README ( #155 )
2022-11-14 14:32:19 +01:00
Lion
47e64a7343
merge release candidate v3.1.1 ( #142 )
...
patches and hotfixes!
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
Lion Kortlepel
83fb387dfe
potential fix to #141
2022-10-31 11:31:09 +01:00
Lion Kortlepel
2b61f11a86
fix EnsureArgsCount not properly printing min/max
2022-10-31 11:24:13 +01:00
Lion Kortlepel
a8b1a205f7
bump version to 3.1.1
...
I'm expecting to release a 3.1.1 with some fixes
2022-10-31 11:24:13 +01:00
Lion
dd9376447a
Fix README errors ( #138 )
2022-10-26 14:34:01 +02:00
Lion
aa185afabf
Update README.md
2022-10-23 03:35:39 +02:00
Lion
e8caeb9126
merge release candidate v3.1.0 ( #83 )
...
See https://github.com/BeamMP/BeamMP-Server/blob/rc-v3.1.0/Changelog.md for
a list of changes
2022-10-22 23:24:48 +02:00
Lion Kortlepel
fa1944dbef
update readme to reflect dependency- and code-changes in 3.1.0
2022-10-22 23:22:42 +02:00
Lion Kortlepel
093f905fd8
remove redundant addition libboost library install in cmake-linux action
2022-10-22 23:06:11 +02:00
Lion Kortlepel
2a45d2282d
update rc-v3.1.0 to master
2022-10-22 22:55:12 +02:00
Lion Kortlepel
aeb024953a
fix sentry line that caused build to fail
2022-10-22 22:48:23 +02:00
Lion Kortlepel
917c501faf
fix typo causing beammp forum id not to show in identifiers ( fix #137 )
2022-10-22 21:16:31 +02:00
Lion Kortlepel
340933bbb3
fix dependencies for test run (add curl, fix ssl)
2022-10-22 21:01:44 +02:00
Lion Kortlepel
a63359479e
rename dependencies for test run in github actions
2022-10-22 20:44:47 +02:00
Lion Kortlepel
bdf2da758c
remove pps from heartbeat
...
"PPS has no meaning anymore and is completely irrelevant. You should
ignore it, it is not an indicator of ANYTHING. If it’s high, that means
NOTHING. If it’s low, that means NOTHING. If it’s -, that means
NOTHING."
It's packets per second per player per vehicle, but is only sent every
30 seconds, its not averaged, and on the client-side, it shows a ping
icon next to it.
A client can open a new connection to the server and send a `P`, and
measure the time to the `P` response packet. The connection is then
closed. This was added ages ago, please use this instead for ping :)
2022-10-17 14:05:51 +02:00
Lion Kortlepel
88c0ed56e4
add _WIN32_WINNT and move CRT no warnings flag
2022-10-17 12:25:13 +02:00
Lion Kortlepel
4256977400
remove crt's "this function or variable may be unsafe" warnings
...
they are useless, as they are in dependencies or parts of the code
we don't care about. Also, the "safe" alternatives straightup dont work
on linux.
2022-10-17 12:21:27 +02:00
Lion Kortlepel
309a9d1fa9
fix invalid windows workflows indentation
2022-10-17 12:12:55 +02:00
Lion Kortlepel
ad860835ca
fix linux tests run not installing openssl properly
2022-10-17 12:10:52 +02:00
Lion Kortlepel
c6c2efb0b1
revert "update linux and windows workflows to run on pr open, reopen, review submit"
...
This reverts commit 23e9941704 .
2022-10-17 12:09:36 +02:00
Lion
c4c3b03b7a
replace networking with boost::asio (synchronous) ( #134 )
...
- replaced all networking with boost::asio abstractions
- rewrote the SetStatus(), GetStatus() crap (now IsDisconnected() and
Disconnect() with reason)
- fixed bug related to ghost players / ghost cars
- handles packets as binary for the most part (vector<uint8_t> instead
of string) to fix various issues
2022-10-17 12:03:43 +02:00
Lion Kortlepel
fd51336a91
update vcpkg
2022-10-17 12:01:08 +02:00
Lion Kortlepel
466845b314
add udp binary data fix to Changelog
2022-10-16 00:05:02 +02:00
Lion Kortlepel
92632b53b5
fix binary data breaking in UDPRcvFromClient
2022-10-15 23:30:09 +02:00
Lion Kortlepel
331a597ec7
add info about new networking to changelog
2022-10-15 23:19:33 +02:00
Lion Kortlepel
87965433c2
change log levels of common warnings and errors to debug
...
this hides a lot of the "standard" errors we get behind the debug flag.
for example, disconnecting a disconnected player would be such an error
2022-10-15 23:16:16 +02:00
Lion Kortlepel
75ff9f7571
remove "backend response failed to parse as valid json"
2022-10-15 23:16:16 +02:00
Lion Kortlepel
94c0547a35
fix crash when the client disconnects while sending first identify setting
2022-10-15 23:16:16 +02:00
Lion Kortlepel
98f77e157f
add WIN32_STATIC_RUNTIME option to cmake
2022-10-15 23:16:16 +02:00