aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDedicatedTest/dllmain.cpp
AgeCommit message (Collapse)Author
2022-08-08Fix most clang/mingw issues (#226)pg9182
- Fix include case. - Replace MSVC-specific align with standard alignas. - Type fixes. - Delete operator noexcept. - A few other minor issues. - clang-format everything. - Use c++20 instead of c++17. - Rewrite ERROR macro for launcher_wsock32_proxy. - Use a plain ifstream for the audio.cpp wavStream. Note: When compiling with clang, you'll need -municode. Related to #212.
2022-07-21Implemented Json into the squirrel vm (#172)Maya
* Implemented Json into the squirrel vm * Formatting * More Formatting * Even more Formatting * Added Init functions to dllMain * Formatting * Changed to use Source Allocator * Renaming Part 1 * Renaming Part 2
2022-07-09Add StringToAsset function to squirrel (#216)Maya
* Add StringToAsset function to squirrel also added better values for return type enum because otherwise asset can't be returned without casting * Formatting * Switched to a template for the stringToAsset function also renamed files but have to do it in 2 commits because git ignores file case * Rename step 2 * change to lowercase in include * changed to lowercase in include inside dllmain
2022-07-05Fix KHook hooking order to prevent missed hooks (#213)KittenPopo
2022-06-26Switch IsValveMod back to use a EnablerHook (#210)Maya
* Switch IsValveMod back to use a EnablerHook KHook version no worky * Formatting >:(
2022-06-19Move LZSS exploit segfault fix hook to ExploitFixes.cpp (#195)KittenPopo
* Move LZSS exploit fix hook to ExploitFixes.cpp * Formatting changes for clang-format
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-05-13Block `emit` command when sv_cheats is disabled (#170)Emma Miler
2022-04-26Write launcher version to log file (#153)GeckoEidechse
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-09add rui_drawEnable (#134)BobTheBob
* add rui_drawEnable * oops forgot to push vcxproj changes to branch * format clientruihooks.cpp
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-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-06add support for server=>client script stringcommandsBobTheBob
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-21Advanced chat: custom messages and client hooks (#74)Tom Barham
Co-authored-by: Emma Miler <27428383+emma-miler@users.noreply.github.com>
2022-02-03Format projectNorthstar
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-29add TextMsg loggingHappyDOGE
2022-01-28initial work on ain file dumpingBobTheBob
2022-01-16merge with upstreamHappyDOGE
2022-01-14LatencyFleX Implementation (#41)Kyle Gospodnetich
* Adds LatencyFleX, an open source and vendor agnostic input latency reduction technology similar to Nvidia's Reflex. Currently only works on Linux via Wine/Proton, but future versions may support Windows as well. Falls back to doing nothing if LatencyFleX isn't available. See here for more information: https://ishitatsuyuki.github.io/post/latencyflex/ * Add the ability to toggle LatencyFlex on or off with a cvar.
2022-01-14Add command line arg to disable logsBarichello
2022-01-14automatically apply openssl environment fix for 11th gen intel cpusBobTheBob
2022-01-04audio overrideHappyDOGE
2022-01-03merge with upstreamHappyDOGE
2022-01-02change -waitfordebugger check to use CommandLine()BobTheBob
2022-01-02Merge pull request #19 from p0358/mainBobTheBob
Big refactor of launching process
2022-01-02add chat ratelimits and system for hooking chat messagesBobTheBob
2022-01-02Merge upstreamp0358
2022-01-02add the ability to disable spewfunc loggingBobTheBob
2022-01-02setup for rpak filesystem hooksBobTheBob
2022-01-01Language selection/detection fixes, no more "files corrupted" error, will ↵p0358
throw the proper Origin error now :D
2021-12-31some post-merge changes combined with my local changesp0358
2021-12-31Clean upgeni
2021-12-31Remove linear allocatorgeni
2021-12-31Initialize curl in InitialiseNorthstar to avoid disastergeni
2021-12-30actually use custom allocation, override allocators of curl and rapidjsonp0358
2021-12-30Refactor and fix of various issues, add run_northstar.txt supportp0358
2021-12-29Add direct launcherp0358
2021-12-29add launcher.dll proxy optionp0358
2021-12-27remove hook preload as it's not crossplatformHappyDOGE
use a universal solution instead
2021-12-27mergeHappyDOGE
2021-12-27initial work on maxplayersHappyDOGE