1584 Commits

Author SHA1 Message Date
Lion Kortlepel
9927d2befb
add toml11 submodule 2024-09-18 15:58:55 +02:00
Lion Kortlepel
60f88916a9
remove toml11 from vcpkg.json 2024-09-18 15:51:11 +02:00
SaltySnail
0cc73e70c9 fix onVehicleDeleted not being triggered when onVehicleSpawn is triggered 2024-09-15 20:26:20 +02:00
SaltySnail
bfb2086e05 fix all other places where onVehicleDeleted isn't triggered after a delete packet is sent 2024-09-15 20:26:20 +02:00
SaltySnail
9d67838f8f fix #225 2024-09-15 20:26:20 +02:00
20dka
bbfb85155e fix github workflows
updated upload-artifacts action
2024-09-15 10:25:04 +01:00
Lion
ce5f2e666d
Download Refactoring (#356)
Limits download RAM usage (to zero) on Linux by use of `sendfile(2)`
2024-08-31 20:32:23 +02:00
Lion
e076197ab2
support for non toplevel event handlers (#360)
this change replaces the `_G` event handler lookup with a lua snippet
that fetches whatever the user has set, which could be a module's
function, a builtin global, or even a function defined in the
`RegisterEvent `call
2024-08-31 20:30:02 +02:00
20dka
ee03afb9a1 fix gh linux build 2024-08-29 20:17:01 +02:00
20dka
f775678e2e support for nested lua handlers 2024-08-28 22:46:37 +02:00
20dka
45bb6ca6f3 fill out lua EventName 2024-08-28 22:15:57 +02:00
SaltySnail
f5f6b8534d
Add IPv6 support (#349)
Adds IPv6 support.

FreeBSD users beware: From this point forward, you will have to set
`sysctl net.inet6.ip6.v6only=0` so that the BeamMP-Server continues to
work. The server also prints this information.
2024-08-20 20:35:48 +02:00
Lion Kortlepel
f3627ce0bf
Merge branch 'fix-little-issues' into minor 2024-07-28 10:54:55 +02:00
Lion Kortlepel
e1aaaf5e63
Merge branch 'fix-little-issues' into minor 2024-07-28 10:52:33 +02:00
Lion Kortlepel
a147edd31a
update to toml11 v3.4.1 2024-07-28 10:50:01 +02:00
Lion
214096409d
Add stack trace to server lua engine (#350)
Don't worry about it
2024-07-27 19:57:37 +02:00
SaltySnail
4a062e5aa0
Fix not following naming convention
Co-authored-by: Lion <development@kortlepel.com>
2024-07-27 19:50:24 +02:00
Lion Kortlepel
ba723ee106 revert fix for sol2 2024-07-16 17:51:31 +02:00
Lion Kortlepel
49ed82bea1 add more info to debug print for freebsd ipv6 support 2024-07-16 17:30:45 +02:00
Lion Kortlepel
0d848fda7c add warning about IPV6_V6ONLY=false not working on FreeBSD 2024-07-16 17:25:29 +02:00
Lion Kortlepel
a0040d8c57 fix invalid sol2 linking 2024-07-16 16:58:12 +02:00
Lion
baa2c86e25
fix typo in DeComp buffer size logic 2024-07-15 12:35:32 +02:00
Lion
0950d367d4
refactor decompression limits and resizing 2024-07-15 12:31:09 +02:00
Lion
8b21b6cef3
add comments to DeComp() magic numbers 2024-07-15 12:26:08 +02:00
Lion Kortlepel
82a6d4af60
repeat sendfile() until all data is sent 2024-07-14 17:01:24 +02:00
Lion Kortlepel
8b753ab6ea
ignore SIGPIPE in sendfile() implementation of mod sending 2024-07-14 17:01:08 +02:00
Lion Kortlepel
b097acfd4a
use sendfile64 2024-07-14 16:17:39 +02:00
Lion Kortlepel
5baeaa72c2
clarify RAM requirements 2024-07-14 16:03:08 +02:00
Lion Kortlepel
bd76e28ca6
use sendfile to send mods on linux 2024-07-14 15:33:26 +02:00
SaltySnail
012ce08b91 Add proper lua server stacktraces 2024-07-14 03:18:59 +02:00
Lion Kortlepel
9db3619cd8
cleanup and add comments to traceback feature 2024-07-14 01:50:31 +02:00
Lion Kortlepel
6f4c3f0ceb
add traceback to lua errors by way of shitty lua hacks 2024-07-14 01:43:01 +02:00
SaltySnail
4fad047bf4 Add working stacktrace 2024-07-14 01:00:57 +02:00
SaltySnail
5502c74229 add stacktrace to the server lua engine (WIP) 2024-07-14 00:22:48 +02:00
Lion Kortlepel
eaedeb5324
add IPv6 support 2024-07-12 15:45:50 +02:00
Lion
72022e3349
Refactor config, add settings command (#295)
Fix #158
2024-06-26 14:24:24 +02:00
Lucca Jiménez Könings
08374b1398 deprecate Ubuntu 20.04 2024-06-26 14:12:45 +02:00
Lucca Jiménez Könings
29f4d0d286 run clang-format 2024-06-26 14:06:06 +02:00
Lucca Jiménez Könings
3c80bcbf01 remove line ChronoWrapper.cpp:13 as discussed in review 2024-06-26 13:40:39 +02:00
Lucca Jiménez Könings
5919fc6f47 improve acl error message consistency 2024-06-26 13:38:07 +02:00
Lucca Jiménez Könings
461fb5d896 improve error messages 2024-06-26 13:34:32 +02:00
Lucca Jiménez Könings
6731b3e977 fix typo 2024-06-26 13:12:10 +02:00
Lucca Jiménez Könings
e7c7f45039 fix chrono wrapper 2024-06-26 13:10:46 +02:00
Lucca Jiménez Könings
0748267fab remove superflous comments 2024-06-26 13:10:34 +02:00
Lucca Jiménez Könings
8c32d760be fix confusing error when setting wrong key 2024-06-26 13:09:18 +02:00
Lucca Jiménez Könings
7919f81927 remove dead code for deprecated config format 2024-06-26 13:08:26 +02:00
Lucca Jiménez Könings
26ef39827e fix AuthKey being writable from console 2024-06-26 13:07:58 +02:00
Lucca Jiménez Könings
2451e08b01 update remaining sections of code after merge 2024-06-26 12:31:47 +02:00
Lucca Jiménez Könings
25739cb1bd Merge branch 'minor' into 158-bug-running-settings-help-returns-nothing 2024-06-26 11:43:38 +02:00
Lucca Jiménez Könings
814927d0a1 change log output for consistency 2024-06-26 11:11:13 +02:00