aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-05-13Update serverauthentication.cpp (#161)v1.7.1-rc1v1.7.1BobTheBob
2022-05-13Block `emit` command when sv_cheats is disabled (#170)Emma Miler
2022-05-13Log UID in a variety of places during auth process (#174)GeckoEidechse
* Log UID in a variety of places during auth process * Log UID in CBaseClient__ActivatePlayerHook
2022-05-13Compare uid from connect on activate (#175)Barnaby
* Compare UID from connect on activate * only set uid on first time i think
2022-04-27Hardcode version number (#152)v1.7.0-rc1v1.7.0v1.6.4-rc2v1.6.4-rc1v1.6.41.6.XGeckoEidechse
* Hardcode version number This way, we don't get the wrong version number when launching Titanfall2.exe via `-northstar` The hardcoded value should be overwritten by CI on release Fixes #129 * Set Northstar version in separate header file * Make `northstar_version` array a constant * Fix formatting
2022-04-26Fix debug builds (#150)Emma Miler
Properly initializes AuthData structs where used. This does not get done automatically in debug mode because c++ is weird like that
2022-04-26Write launcher version to log file (#153)GeckoEidechse
2022-04-12Update ns_icon.ico (#127)v1.6.3-rc1v1.6.3amione
2022-03-28Update plugins.cpp (#124)v1.6.2-rc1v1.6.2v1.6.1-rc1v1.6.1v1.6.0-rc5v1.6.0-rc4v1.6.0Emma Miler
2022-03-28More exploit fixes by KIttenPopo (#126)GeckoEidechse
* Quick fix for a bug I caused * Typo * Update kitten-fixes branch to my repo (#122) * Added string hash macro * Added convenient vtfunc macro * Made lil ConCommand creation macro * Fixed multiple NET_SetConVar exploits * Quick fixerino * Fix convar struct (and other things) * Revive clang-format (but good, i think) * Update .clang-format * Reformatted code to meet .clang-format requirements * Minor formatting fixes * Fixed Northstar "crashing" when console is closed * Update .clang-format * Quick fix for a bug I caused * Typo * NSMem Update * ExplotFixes: Only block excessive convar counts if server * Update ExploitFixes.cpp * Update ExploitFixes.cpp * Updated bytepatch format * reformatted all code for clang-format * Updated my clang-format to v13.0.0 * 3 fixes in 1 - ANTITAMPER fixed - NSMem simplification update - Fixed bad byte string in serverauthentication.cpp * Improved ExploitFixes logging and NET_SetConVar patch * clang-format unironically sabotaged my code * Made ns_exploitfixes_log on by default * Fixed IsMemoryReadable (oops) Co-authored-by: KittenPopo <Pokeberry123@gmail.com>
2022-03-26Major exploit fixes and some minor bug fixes/improvements (#117)v1.6.0-rc3KittenPopo
* Added main exploit fixes * Fixed typo in sigscanning.cpp * Fully implemented * Added proper includes for new files * Update README.md * typo * spare me my sanity (fixed ridiculous code) * Added rest of KittenMemUtils * Rename KittenMemUtils * Removed all messy memory edits, implemented NSMem instead * Update NorthstarDedicatedTest.vcxproj * [1] Move everything from securitypatches to ExploitFixes * [2] Move everything from securitypatches to ExploitFixes * Fixed module offsets in stack trace * Fixed UTF8 Parsing (Multiplayer Crash) * Implemented UT8 fix * Update NorthstarDedicatedTest.vcxproj * Update hookutils.cpp * Small fixes * all my homies hate clang-format * Temporarily restore README.md * Added string hash macro * Added convenient vtfunc macro * Made lil ConCommand creation macro * Fixed multiple NET_SetConVar exploits * Quick fixerino * Fix convar struct (and other things) * Revive clang-format (but good, i think) * Update .clang-format * Reformatted code to meet .clang-format requirements * Minor formatting fixes * Fixed Northstar "crashing" when console is closed * Update .clang-format
2022-03-26Re-add clang-formatv1.6.0-rc2v1.6.0-rc1GeckoEidechse
2022-03-26Add version numbering to all master server requests (#113)Emma Miler
* Add version numbering to all master server requests * Use "+dev" for user agent if dev version instead of "-dev" * Replace "FindResource" with "FindResourceW" As per code review suggestion https://github.com/R2Northstar/NorthstarLauncher/pull/113#discussion_r834788821 * Set User-Agent in SetCommonHttpClientOptions instead of for each curl call individually As per code review suggestion https://github.com/R2Northstar/NorthstarLauncher/pull/113#discussion_r834789168 Co-authored-by: GeckoEidechse <gecko.eidechse+git@pm.me>
2022-03-23Implement KittenPopo exploit fixes (and sanity changes) (#112)KittenPopo
* Added main exploit fixes * Fixed typo in sigscanning.cpp * Fully implemented * Added proper includes for new files * Update README.md * typo * spare me my sanity (fixed ridiculous code) * Added rest of KittenMemUtils * Rename KittenMemUtils * Removed all messy memory edits, implemented NSMem instead * Update NorthstarDedicatedTest.vcxproj * [1] Move everything from securitypatches to ExploitFixes * [2] Move everything from securitypatches to ExploitFixes * Fixed module offsets in stack trace * Fixed UTF8 Parsing (Multiplayer Crash) * Implemented UT8 fix * Update NorthstarDedicatedTest.vcxproj * Update hookutils.cpp * Small fixes * all my homies hate clang-format * Temporarily restore README.md
2022-03-23Update link to Discord server GeckoEidechse
We changed from `r2northstar` to `northstar` a while back
2022-03-22remove ClientCommandKeyValuesBobTheBob
2022-03-18refactor dll load callbacks to lower number of dedicated.h includes (#109)BobTheBob
2022-03-15add mod binks, mod rpak loading, and support for non-preload vpks/rpaksBobTheBob
2022-03-15move to using g_pCVar moreBobTheBob
2022-03-11Allow origin to start in the background (#108)Barnaby
* Allow origin to start in the background when * fix your format for gods sake
2022-03-11Add check for player name correctness (#86)Barnaby
* Add player auth failure when username is faked * Fix the action error? * Split name check into different function allows unique error message * Oops * Fix allow_insecure and kick message * Put it back cause i'm bad at programmig * format * Fix duplicated if statement maybe? Will need testing * Fail open + change to authData.username * Change name instead of kicking * Format * Remove unecessary borked name check * fail open in VerifyPlayerName if missing authData * Fix convar stuff * limit name length when copying from master server * 63 < 64 * please bob for the love of god this is like the third time i've had to do this
2022-03-06don't kick local player for netchan limitsBobTheBob
2022-03-06add support for server=>client script stringcommandsBobTheBob
2022-03-06Fix #101, chat hook memory leak (#105)Tom Barham
2022-03-06Fix a memory leak for `setupfunc` (#103)Emma Miler
2022-03-06Fixed crash with plugin loading (#102)Emma Miler
2022-03-03Add launcher code for plugin support (#93)Emma Miler
* rpc * RPC * Undoing broken shit * temp * Revert "temp" This reverts commit 4875b5aca2b0d6b03183d220120c03df28759a95. * Include a whole bunch of new stuff * fix id * Added manifest and added some verification * Fixed my oopsies * Safety commit * Moved over to new plugin abi * Small docs changes and made plugin loading use ABI_VERSION * Moving discord rpc plugin stuff to a separate repo * Add some comments to `plugins.cpp` * Moved internal structs from `plugin_abi.h` to `plugins.cpp` * Add CLA `-noplugins` * Code formatting changes so clang-format doesn't scream at me * i hate clang-format * why does this fail to build now wtf * Update plugins.cpp * Merged and updated to new convar system * Implemented changes requested in review * Removed a few more of those nasty comments * Removed extra build configs Co-authored-by: BobTheBob <32057864+BobTheBob9@users.noreply.github.com>
2022-02-28Autogenerate startup args text files (#99)Emma Miler
Adds `-nostartupargs`
2022-02-25Add multiple icon resolutions (#97)Barnaby
16x16, 32x32, 64x64, 128x128, 256x256
2022-02-25remove unneeded unstable cvar debug assertsBobTheBob
2022-02-25use vanilla chat logic if codecallbacks are missingBobTheBob
2022-02-24fix uncommon race condition that creates "phantom" serversBobTheBob
2022-02-23ConVar class rebuild (#90)Kawe Mazidjatari
* Implement CCvar class with mapped out vtable funcs * Rebuilded ConVar class + code overhaul to use new system * ConVar class is now properly mapped out for r2 (0x80 in size). * Reimplemented and exposed all frequently used ConVar class methods to the SDK. * Implement frequently used CCvar class methods. * Implement all CCVarIteratorInternal class methods. * Performed additional cleanup over the SDK to use new system instead. * ConVar class improvements + rebuilded ConCommand struct * Fix actual struct size for ConCommand
2022-02-21Advanced chat: custom messages and client hooks (#74)Tom Barham
Co-authored-by: Emma Miler <27428383+emma-miler@users.noreply.github.com>
2022-02-20Fix formattingTom Barham
2022-02-19fix bugs with ainfile dumping (now identical on dumps from loaded files!!!)BobTheBob
2022-02-18Fix typoJacob
2022-02-18Fix formattingJakubiakDev
Done by using clang-format Should fix format-check CI error
2022-02-17Revert "Compress previous logs and dump files on launch (#73)"Barichello
This reverts commit 0faa9cfb3a9015ca723f012ca84609f602c7c03c.
2022-02-17Revert "Fix corrupted zipped logs (#76)"Barichello
This reverts commit 37212a4d0cb59929af6366b48d0a8cc110f06912. Reverting this in favor of deletion i guess
2022-02-17Implement stub loading (#81)pg9182
When starting the dedicated server from NorthstarLauncher, always default to loading the d3d11 and gfsdk stubs from `bin/x64_dedi`. If the stubs fail to load or `-nostubs` is specified, the launcher reverts to the old behaviour of using the GPU, or WARP if `-softwared3d11` is specified. updates #79
2022-02-16functional ain dumpingBobTheBob
2022-02-16Fix corrupted zipped logs (#76)Legonzaur
Co-authored-by: Nathan TIEN YOU <nathan.tienyou@viacesi.fr>
2022-02-15Compress previous logs and dump files on launch (#73)Legonzaur
* added zlib + gzip Co-authored-by: Nathan TIEN YOU <nathan.tienyou@viacesi.fr>
2022-02-15make playlist overrides work on private matchRomeoCantCode
By removing IsDedicated check it allows to use playlistvaroverrides on servers launched through the game (private match / listen server). It seems it does not have any other effect on the client so far.
2022-02-15Add format sectionBarichello
2022-02-15Format cherry-picked commitsBarichello
2022-02-12Fixed typo and made command line flag lowercaseEmma Miler
2022-02-12Added code for chathooksEmma Miler
This may not seem like much to a passing observer, but this commit took me 30 hours of blood, sweat, tears, IDA debugging, server crashes, and insanity.
2022-02-12Format buildainfile.cpp and masterserver.cppBarichello