aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDLL/server/auth
AgeCommit message (Collapse)Author
2023-12-20Cherry pick "remove unnecessary namespaces" from primedev (#618)v1.21.2-rc2Jack
Cherry-picks the removal of unnecessary namespaces from `primedev` https://github.com/F1F7Y/NorthstarPrime/ Co-authored-by: F1F7Y <filip.bartos07@proton.me>
2023-12-01Revert "Move player auth to `CServer::ConnectClient` (#548)" (#610)GeckoEidechse
This reverts commit 17217a39681c7fed35bee95195bdba7eaf508911 (PR #548) which introduced a regression allowing auth to progress further than intended.
2023-11-22Move player auth to `CServer::ConnectClient` (#548)cat_or_not
Fixes bots crashing servers when they are the first to connect to it. Also moves player auth to `CServer::ConnectClient`. This allows the removal of `iNextPlayerUid` and `pNextPlayerToken` which were the cause of issues previously since they were not initialized by bots.
2023-10-04Always allow the local player through the banlist (#540)v1.19.4-rc2v1.19.4-rc1v1.19.4Jack
Adds a check to always allow local player through banlist to aid with players accidentally banning themselves.
2023-07-07Memory class renaming (#469)F1F7Y
- Renames `MemoryAddress` to `CMemoryAddress` - Renames `CMemoryAddress::As` to `CMemoryAddress::RCast`
2023-06-28Remove pragma once from source file (#487)Jan
2023-04-17Replace HTTP auth server with Atlas connectionless packetpg9182
2023-03-08Reject banned players during masterserver auth (#434)pg9182
* Reject banned players during masterserver auth This is backwards-compatible with old masterserver versions (it will be treated as a general authentication failure). * Reword server ban message
2023-02-14Force-include `pch.h` to all files, remove explicit includes (#393)p0358
* force-include "pch.h" in all units, as it will error if it's not included anyways * remove #include "pch.h" from all files as it's not needed anymore now * fix size of NSUserAgent to be consistent (it's 256 in version.cpp, caused compile error) * Re-add explicit pch.h include to pch.cpp (and ran clang-format) * drop pch.h inclusion from new files
2023-02-12Add `CGlobals` class and `g_pGlobals`, and update code to support (#411)BobTheBob
* add CGlobals class and g_pGlobals, and update scripts to support * don't automatically enable antispeedhack (oops) * add dedicated.cpp * format * bad push oops * reformat again
2023-01-04generally cleanup authentication code and fix client state issues with ↵BobTheBob
rejection from local server (#360) * generally cleanup authentication code and fix client state issues with rejection from local server * fix formatting * fix formatting * use client-provided uid for logging disconnect failure as it won't be copied to player if authentication fails * support loading savegame and use more reliable method for fixing client rejection issues * oops forgot to add rejectconnectionfixes.cpp * fixup formatting
2022-12-19Restructuring (#365)Emma Miler
* Remove launcher proxy * Restructuring * More restructuring * Fix include dirs * Fix merge * Remove clang thing * Filters * Oops