aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDedicatedTest
AgeCommit message (Collapse)Author
2022-06-16Set default val for net_chan_limit_msec_per_sec to 100 (#196)v1.8.1-rc3KittenPopo
2022-06-16Attempt reconnect in case of DUPLICATE_SERVER (#187)GeckoEidechse
* Attempt reconnect in case of DUPLICATE_SERVER If gameserver receives DUPLICATE_SERVER response it will retry the auth request after a timeout of 10 seconds. Retries will stop after 10 attempts. Co-authored-by: Emma Miler <27428383+emma-miler@users.noreply.github.com> * Fix formatting * Move comment So that it refers to the right line * Retry 10 times instead of just once * Only check retrycounter for DUPLICATE_SERVER error Co-authored-by: Emma Miler <27428383+emma-miler@users.noreply.github.com>
2022-06-16Localize error messages from masterserver (#159)Emma Miler
2022-06-16Expose IsDedicated on server vm (#179)F1F7Y
2022-06-16Delete emit_blocker.h (#194)Maya
* Delete emit_blocker.h * also remove from dllmain.cpp
2022-06-15Fix bug where emit wouldn't be blocked if uppercase (#192)v1.8.1-rc2Emma Miler
* Fix bug where emit wouldnt be blocked if uppercase * Moved emit blocker to ExploitFixes.cpp * Format change * Use `strnicmp` instead of a custom functions * Resolve merge conflicts * Format changes
2022-06-15Fix segfault on badly formed compressed packets (#160)Tom Barham
* Fix segfault on badly formed compressed packets * Remove superfluous line
2022-06-14Guard against GetEntByIndex read out of bounds (#191)Tom Barham
* Guard against GetEntByIndex read out of bounds * Move to ExploitFixes.cpp * format * Log out of bounds access
2022-05-13Fix typo in UID logs (#176)v1.8.0-rc2v1.8.0-rc1v1.8.0Barnaby
2022-05-13Update serverauthentication.cpp (#161)BobTheBob
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)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