Commit Graph
50 Commits
Author SHA1 Message Date
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
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
Lion da3b49aa12 Merge pull request #106 from WiserTixx/fix-http-proxy-ub
Fix UB which was causing the http proxy to crash
2024-08-17 20:32:59 +02:00
Lion Kortlepel b034072027 fix potential UB in decompression 2024-06-23 23:04:55 +02:00
Lion Kortlepel f94b9adf7a print game's U S E R path 2024-06-22 23:26:10 +02:00
Lion Kortlepel c95178ea59 dont auto-update in dev mode 2024-06-22 23:20:46 +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 e0e2607632 Merge pull request #96 from BeamMP/finalize-linux-merge
Finalize linux merge
2024-06-18 09:57:24 +02:00
Lion Kortlepel 25f28e7fee add common runtime files to gitignore 2024-06-18 09:57:05 +02:00
Lion Kortlepel ba9719ed67 fix auth packet prefix 2024-06-18 09:46:33 +02:00
Lion Kortlepel bb04d1bfe1 remove self update on linux for now 2024-06-18 08:51:23 +02:00
Lion Kortlepel 82e58e6513 add toolchain to linux build
oops
2024-06-17 22:36:15 +02:00
Lion Kortlepel 274a1dac7c fix workflows vcpkg version 2024-06-17 22:30:26 +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 3488136ca4 add clang format 2024-06-17 21:59:59 +02:00
Lion Kortlepel 05ffa0b638 Merge branch 'linux' 2024-06-17 21:57:41 +02:00
Lion 942cc78406 remove debug print 2024-06-15 22:24:19 +02:00
Lion 46690b5bbf Merge pull request #79 from BeamMP/hotfix-stuff
Fixup various bits
2024-06-15 21:46:07 +02:00
Lion cc4e322065 Merge pull request #88 from saile515/fix-input-linux
Fix input not working on Linux
2024-05-29 11:13:05 +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 c8a1b77a54 remove discord 2024-03-22 11:23:49 +01:00
Lion Kortlepel b9d252fd8a remove old stuff 2024-03-22 11:22:17 +01:00
Lion Kortlepel 2b02475fd4 add build instructions 2024-03-22 11:09:02 +01:00
Lion Kortlepel 8aa7a67100 add vcpkg.json 2024-03-22 11:07:30 +01:00
Lion Kortlepel 348090a127 fix perms on more source files
... wtf
2024-03-22 10:50:58 +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 bd4cfe06b1 reset username and role on logout 2024-02-24 20:26:26 +01:00
Lion Kortlepel 9c7034e401 store username and role on key login as well 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 7967ec38e8 bump version to *.85 2024-02-24 20:26:26 +01:00
Lion Kortlepel 250be2ccdc fix more breaking bug 2024-02-24 20:26:26 +01:00
Lion Kortlepel 6158069d4d fix game breaking bug 2024-02-24 20:26:26 +01:00
Lion Kortlepel b2e5b8d2d3 print error when throwing exception in auth 2024-02-24 20:26:26 +01:00
Lion Kortlepel 5db1b48e07 Revert "debug print error in case of unexpected login error"
This reverts commit 68d64105de.
2024-02-24 20:26:26 +01:00
Lion Kortlepel 56dcfcc5ed debug print error in case of unexpected login error 2024-02-24 20:26:26 +01:00
Lion Kortlepel 7c1106a46a add username to auth packet 2024-02-24 20:26:26 +01:00
Lion Kortlepel 5d91c5fde5 error on string OOB 2020-11-11 11:01:48 +01:00
Lion Kortlepel 88ed494ddd Add endian-correctness to TCPSend&Rcv 2020-11-08 11:46:02 +01:00
Lion Kortlepel b92675e0bf fix send to sendraw 2020-11-06 00:13:53 +01:00
Lion Kortlepel 6ca0740a98 implement size header 2020-11-05 23:54:41 +01:00