aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDedicatedTest/logging.cpp
AgeCommit message (Collapse)Author
2022-08-23Add log colours because they are pretty (#237)Jack
* log colours :) * commend the freopen stuff (it causes problems) * formatting * add explanatory comment
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-04-13Format projectNorthstar
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-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-15move to using g_pCVar moreBobTheBob
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-17Revert "Compress previous logs and dump files on launch (#73)"Barichello
This reverts commit 0faa9cfb3a9015ca723f012ca84609f602c7c03c.
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-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-14Add command line arg to disable logsBarichello
2022-01-14Update date format in dump filesBarichello
2022-01-04Merge pull request #18 from GeckoEidechse/mainBarichello
Make timestamp year-month-day
2022-01-03merge with upstreamHappyDOGE
2022-01-02Merge upstreamp0358
2022-01-02add the ability to disable spewfunc loggingBobTheBob
2022-01-01log curl output to the windows console (I think it was intended to work, but ↵p0358
it doesn't if you use original exe before this change)
2021-12-30fix various random warningsp0358
2021-12-29add proper stack traces to crash handlerBobTheBob
2021-12-29Make timestamp year-month-dayGeckoEidechse
instead of day-month-year
2021-12-28implement svc_Print, copy NS hostname to source cvarHappyDOGE
2021-12-27fix status command not working for server operatorHappyDOGE
2021-12-26ensure exception logging doesn't happen when a debugger is attachedBobTheBob
2021-12-26add better native crash logging and minidump creationBobTheBob
2021-12-14add netchan processing limitsBobTheBob
2021-09-30add spewfunc, setplaylistvaroverride, dedicated changesBobTheBob
2021-07-21add some basic filesystem stuff and client/ui script callbacksBobTheBob
2021-07-21add log file supportBobTheBob
2021-07-18add rapidjson, move all logging to spdlogBobTheBob
2021-07-17add support for custom convars and concommandsBobTheBob
2021-07-08initial commitBobTheBob