aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDedicatedTest/masterserver.cpp
AgeCommit message (Collapse)Author
2022-04-26Fix 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-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-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-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-12Format buildainfile.cpp and masterserver.cppBarichello
2022-02-10Update masterserver.cppEmmaM
2022-02-07fixed servername and desc (#68)wolf109909
2022-02-03Format projectNorthstar
2022-01-20Fix recursive matching issue and optimized furtherWtz_LASR
2022-01-20Fixes and optimizations around title and server nameswolf109909
Server name now supports UTF-8 chars in Unicode codepoints. Dedicated server now displays server name for better itentification.
2022-01-13unbreak spBobTheBob
2022-01-05refactor to allow servers to reregister themselves in heartbeatBobTheBob
2022-01-03merge with upstreamHappyDOGE
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-31Isolate out common curl options and add -msinsecure option againp0358
2021-12-31Merge branch 'main' of https://github.com/R2Northstar/NorthstarLauncherp0358
2021-12-31some post-merge changes combined with my local changesp0358
2021-12-30force ipv4 while ipv6 is still unsupportedBobTheBob
2021-12-30move to server auth token system for verifying gameserver auth messages, ↵BobTheBob
rather than ip
2021-12-30actually use custom allocation, override allocators of curl and rapidjsonp0358
2021-12-30fix various random warningsp0358
2021-12-30Merge upstreamp0358
2021-12-29escape password entry requestBobTheBob
2021-12-29fix a typo and move to new sslBobTheBob
2021-12-29add launcher.dll proxy optionp0358
2021-12-29move to libcurl for masterserver as libhttp seems to be buggy and have bad ↵BobTheBob
error reporting for client
2021-12-28fix build error in masterserver.cppHappyDOGE
2021-12-28merge with upstreamHappyDOGE
2021-12-28implement svc_Print, copy NS hostname to source cvarHappyDOGE
2021-12-28add retry logic to masterserver requestsBobTheBob
2021-12-26add more descriptive message for AddSelfToServerList failureBobTheBob
2021-12-26better httplib errors and higher timeoutsBobTheBob
2021-12-25change how we handle invalid serversBobTheBob
2021-12-25fix a bug with launcher not showing serversBobTheBob
2021-12-24sort servers and fix a formatting issueBobTheBob
2021-12-24prevent playlist var names over 64 characters and send maxplayers on map changeBobTheBob
2021-12-24add playercount param to heartbeatBobTheBob
2021-12-24increase masterserver connection timeoutsBobTheBob
2021-12-23last minute changes before releaseBobTheBob
2021-12-19openssl supportBobTheBob
2021-12-15dedi ShowWindow patchBobTheBob
2021-12-11write_persistence fixes and custom mainmenupromosBobTheBob
2021-12-11write_persistence fixBobTheBob
2021-11-29web browser changes and dedi fixesBobTheBob
2021-11-27more masterserver stuff and support for devonly/hidden cvarsBobTheBob
2021-11-13client auth token supportBobTheBob
2021-11-07beginning work on new authBobTheBob
2021-11-06modmanager fixesBobTheBob
2021-11-05reworking modloading codeBobTheBob