aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDedicatedTest
AgeCommit message (Collapse)Author
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
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
2022-02-10Update masterserver.cppEmmaM
2022-02-10ain dumping improvementsBobTheBob
2022-02-07fixed servername and desc (#68)wolf109909
2022-02-03Format projectNorthstar
2022-02-02Fix pdef custom path (#64)Emma Miler
2022-01-31Fix Northstar custom directory launch argument (#62)Emma Miler
2022-01-30replaced strcmp with strncmp because gecko complainedEmma Miler
>:(
2022-01-30Added command line option for custom northstar dirEmma Miler
Added command line option for custom northstar dir https://github.com/orgs/R2Northstar/projects/1#card-76312632
2022-01-30add FindConVar and FindConCommandBobTheBob
2022-01-29add TextMsg loggingHappyDOGE
2022-01-28add ns_resetpersistence commandBobTheBob
2022-01-28initial work on ain file dumpingBobTheBob
2022-01-25Merge branch 'main' of https://github.com/R2Northstar/NorthstarLauncherBobTheBob