Lion Kortlepel
a4eb10b6a4
fix MP.GetPositionRaw
2024-01-09 15:34:33 +01:00
Lion Kortlepel
0166e488d0
fix calling GlobalParser as static
2024-01-09 15:34:33 +01:00
Lion Kortlepel
0836fd3af8
fix bug in HandlePosition which caused the vehicle position not to be
...
saved properly
2024-01-09 15:34:33 +01:00
Lion Kortlepel
9791b8875c
fix wrong order of SendErrorsShowMessage and SendErrors
2024-01-09 15:34:16 +01:00
Lion Kortlepel
e724a2e467
Merge remote-tracking branch 'origin/master' into feature-tags
2023-12-28 13:57:49 +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
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 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 Kortlepel
b28c69a515
remove http settings from config
2023-12-21 13:07:35 +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
Bennett
a6cbffc774
fix exit after 10 seconds
2023-12-21 02:01:21 -08:00
Starystars67
8c73eb8aea
Added Tags Feature to the BeamMP Server. This allows better filtering on the server list.
2023-12-10 12:50:24 +01:00
Lion Kortlepel
d8b8812026
remove password setting from config to avoid confusion
...
...until implemented
2023-12-05 18:23:23 +01:00
Lion Kortlepel
f98704e0f3
fix warnings about implicit conversion
2023-12-05 18:05: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
22805af716
fix crash in authentication
2023-12-03 17:43:41 +01:00
rgnter
222d2492ff
Merge branch 'master' into optimize/add_cv_to_luaresult
2023-03-21 20:17:17 +01:00
Simon
879b9772f5
Apply suggestions from code review
...
Co-authored-by: Lion <development@kortlepel.com>
2023-01-15 17:12:35 +00:00
Anonymous275
d677d8d58d
rename Hash function to HashPassword
...
move HashPassword to cpp only
move check to line 285
2023-01-15 17:12:35 +00:00
Anonymous275
4b30918659
- add 120 seconds timeout
2023-01-15 17:12:35 +00:00
Anonymous275
688e46f524
- fix linux build
2023-01-15 17:12:35 +00:00
Anonymous275
9f59c27b1f
- add hash function
...
- add password config
- add debug messages for password stages
- add pass boolean for heartbeat
- adjust network codes
2023-01-15 17:12:35 +00:00
rgnter
b7b578bf3e
add conditional variable to LuaResult
2022-12-18 14:45:33 +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
2b61f11a86
fix EnsureArgsCount not properly printing min/max
2022-10-31 11:24:13 +01: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
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
92632b53b5
fix binary data breaking in UDPRcvFromClient
2022-10-15 23:30:09 +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
54730d2baf
remove heartbeat spam logging
2022-10-15 23:16:16 +02:00
Lion Kortlepel
064e71e59f
fix client version check
2022-10-15 23:16:16 +02:00
Lion Kortlepel
4320a91e5c
use message() instead of what() for ec
2022-10-15 23:16:16 +02:00
Lion Kortlepel
7d1318653c
fix boost::system::error_code
2022-10-15 23:16:16 +02:00
Lion Kortlepel
67d02d4cf2
remove unused error check
2022-10-15 23:16:16 +02:00