aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDedicatedTest
AgeCommit message (Collapse)Author
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)GeckoEidechse
* 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-26Write launcher version to log file (#153)GeckoEidechse
2022-04-24Make debugoverlay conform to clang-format (#151)Emma Miler
2022-04-24Fix 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-21DebugOverlay (#106)r-ex
* DebugOverlay yea * default enable_debug_overlays to 0, and make FCVAR_CHEAT Co-authored-by: BobTheBob <32057864+BobTheBob9@users.noreply.github.com>
2022-04-13Format projectNorthstar
2022-04-13Fix formatting to stop clang-format failing in CI (#143)GeckoEidechse
2022-04-12make curl logging optional (#141)BobTheBob
2022-04-12more changes to mod rpak loading (#139)BobTheBob
* more changes to mod rpak loading * reformat
2022-04-12make toggleconsole FCVAR_DONTRECORD (#140)BobTheBob
2022-04-09various rpak loading changes (#135)BobTheBob
* various rpak loading changes * format rpakfilesystem.cpp
2022-04-09add rui_drawEnable (#134)BobTheBob
* add rui_drawEnable * oops forgot to push vcxproj changes to branch * format clientruihooks.cpp
2022-04-09add audio changes (#133)BobTheBob
* add audio changes * use shared_mutex instead of atomic_int for waiting on audio loads
2022-04-08rename convar defaultvalue to m_pszDefaultValue (#136)BobTheBob
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-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-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-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-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-15Format cherry-picked commitsBarichello
2022-02-12Fixed typo and made command line flag lowercaseEmma Miler