Lion
0c3ae43910
Add CachingDirectory config setting to cache mods elsewhere ( #121 )
...
also moved cls/clear to the beginning, idk wtf it was doing in there.
2024-09-23 22:45:21 +02:00
Lion Kortlepel
19d1245379
catch errors when the custom caching directory is not accessible
...
🧯
2024-09-23 22:39:44 +02:00
Lion Kortlepel
1362471657
add CachingDirectory config setting to cache mods elsewhere
...
also moved cls/clear to the beginning, idk wtf it was doing in there.
2024-09-23 22:31:58 +02:00
Lion Kortlepel
02465c529d
add more logging to exit
2024-09-23 22:08:45 +02:00
Lion Kortlepel
cd17df5cc2
add more debug statements, wait for threads before shutting down
2024-09-22 21:37:52 +02:00
Lion Kortlepel
0b589a74c9
refactor tcp receive to be less weird
2024-09-22 20:31:25 +02:00
Lion Kortlepel
1260515a40
fix crash when cancelling download
2024-09-22 20:20:31 +02:00
Lion
007cd6573e
Refactor downloading ( #116 )
...
The way it was done was so horrid, it was not only impossible to debug,
with TODO comments saying it sucks, and other shit like that, but it was
also just full of data races. You can rest easy however - I left most of
the data races in there <3 For nostalgia (totally not because it's a
massive pain to fix that).
We now do single-threaded download, which can not only saturate my 100
Mbit/s line without any hickups, it can also go up to ~600000 Mbit/s for
localhost transfers :) So I think it's fine.
2024-09-22 20:04:45 +02:00
Lion
7b022f9907
Add --skip-ssl-verify cli option ( #117 )
...
This is a temporary fix for if anyone has issues with SSL certificate
validation. The use of this must come with the disclaimer that,
obviously, this bypasses the security that SSL gives entirely. Anyone
could MITM you at that point. Don't use, basically.
2024-09-22 19:56:43 +02:00
Lion Kortlepel
96c9c89238
add extra layer of checks for data races in download
...
yeah
2024-09-22 19:52:52 +02:00
Lion Kortlepel
18e1b7a2bb
add --skip-ssl-verify cli option
2024-09-22 19:42:00 +02:00
Lion Kortlepel
191fbf083d
fix stupid microsoft macro <3
2024-09-22 19:06:46 +02:00
Lion Kortlepel
8c4342853a
refactor downloading
...
The way it was done was so horrid, it was not only impossible to debug,
with TODO comments saying it sucks, and other shit like that, but it was
also just full of data races. You can rest easy however - I left most of
the data races in there <3 For nostalgia (totally not because it's a
massive pain to fix that).
We now do single-threaded download, which can not only saturate my 100
Mbit/s line without any hickups, it can also go up to ~600000 Mbit/s for
localhost transfers :) So I think it's fine.
2024-09-22 18:52:50 +02:00
Tixx
3937ac1ae7
Fix joining
2024-09-14 22:17:21 +02:00
Tixx
a128099619
Patch up removal of while loop in Core
2024-09-14 22:17:21 +02:00
Tixx
deed24f6e8
Fix client lua error
2024-09-14 22:17:21 +02:00
Tixx
ac2db7c73f
Remove now unused variable
2024-09-14 22:17:21 +02:00
Tixx
06db6d0341
Implement mod warning
2024-09-14 22:17:21 +02:00
Tixx
452fc1e484
Move HTTP Proxy and remove and relocate duplicate code
2024-09-07 22:35:27 +02:00
Tixx
d791e2ac92
Add BeamMP patreon to the allowed links
2024-08-22 22:09:02 +02:00
Lion
a60ff48c08
Merge pull request #105 from WiserTixx/id-from-auth
...
Send id from auth to game
2024-08-17 20:34:19 +02:00
Tixx
e505874af9
Send id from auth to game
2024-08-11 11:39:14 +02:00
Tixx
2f0a9fba99
move macro definition to cmakelist
2024-08-10 23:22:17 +02:00
Lion Kortlepel
b034072027
fix potential UB in decompression
2024-06-23 23:04:55 +02:00
Lion Kortlepel
1f7c498bd9
fix compiler error in decomp
2024-06-22 23:05:01 +02:00
Lion Kortlepel
e46d4b2f0e
Merge branch 'performance-improvements'
2024-06-22 23:01:15 +02:00
Lion Kortlepel
f2b34543f9
switch to compression with limit at 30 MB
2024-06-22 22:48:00 +02:00
Lion Kortlepel
d32da036bc
fix mod name bug
2024-06-21 17:30:47 +02:00
Lion Kortlepel
8b0f4f99f6
use thread_local static buffer to receive into, null term manually
2024-06-19 16:53:17 +02:00
Lion Kortlepel
17e887442c
avoid a substr() which costs us ~20% of runtime performance
2024-06-19 16:18:11 +02:00
Lion Kortlepel
fc454cd11e
avoid creating a thread every packet
2024-06-19 15:53:49 +02:00
Lion Kortlepel
ba9719ed67
fix auth packet prefix
2024-06-18 09:46:33 +02:00
Lion Kortlepel
ae7f8f44e3
re-implement the website launch feature for linux
2024-06-17 22:16:17 +02:00
Lion Kortlepel
a82b9fb36f
reformat
2024-06-17 22:01:15 +02:00
Lion Kortlepel
05ffa0b638
Merge branch 'linux'
2024-06-17 21:57:41 +02:00
Lion Kortlepel
adba66afb9
add http debug error logging
2024-03-22 12:19:18 +01:00
Lion Kortlepel
cc42a5e0ab
add ssl verify debug logging in a few places
2024-03-22 11:34:14 +01:00
Lion Kortlepel
c0df995e28
fix perms on all source files
2024-03-22 10:47:08 +01:00
Lion Kortlepel
8c9d3a5455
fix not returning error from Login, remove old code
2024-02-24 20:26:26 +01:00
Lion Kortlepel
9dcfa1dca4
set username or role to auth if they're empty (not set)
2024-02-24 20:26:26 +01:00
Lion Kortlepel
aeb167c1e8
forward user's role on login
2024-02-24 20:26:26 +01:00
Lion Kortlepel
7c1106a46a
add username to auth packet
2024-02-24 20:26:26 +01:00
Anonymous275
3b479abf64
v2.0.84
...
- add hash check
- new routes for updates
- use C++ 20
2023-12-15 18:16:12 +00:00
Anonymous275
c731718f50
v2.0.84
...
- HTTP Proxy for backend.beammp.com
- Fix Attempt for mod loading, game detecting partial zip file
- Use nlohmann JSON
- Update vcpkg parameters and commit ID
- Add ability to open URL using default browser with filter
2023-12-15 17:38:47 +00:00
gamingdoom
1bf7faa34d
fix guest account issue and uppercase mods
2023-10-17 20:40:11 -07:00
gamingdoom
0a9a883ca4
fix windows build
2023-10-17 18:59:49 -07:00
gamingdoom
a91735531a
linux build
2023-10-17 18:53:01 -07:00
gamingdoom
5dfb5f3b88
works but linux build is broken and this is an old version of the source
2023-10-16 22:13:30 -07:00
gamingdoom
54e1beb548
rename network.h to network.hpp
2023-10-16 17:33:52 -07:00
snepsnepsnep
764e3ab5c1
Fix kick message for server 3.0+
2022-09-25 19:26:46 +02:00