aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDLL/server
AgeCommit message (Collapse)Author
2023-12-01Revert "Move player auth to `CServer::ConnectClient` (#548)" (#610)v1.20.31.20.XGeckoEidechse
This reverts commit 17217a39681c7fed35bee95195bdba7eaf508911 (PR #548) which introduced a regression allowing auth to progress further than intended. (cherry picked from commit a27c702b7d2189f80c5c441eb44a8a5b6922c538)
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-10Fix incorrect help string text (#567)v1.19.6-rc2v1.19.6GeckoEidechse
Help strings for `ns_server_name` and `ns_server_desc` were swapped. Co-authored-by: BobTheBob <32057864+BobTheBob9@users.noreply.github.com>
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-06-28Use correctly typed values for variables (#486)Jan
2023-04-17Replace HTTP auth server with Atlas connectionless packetpg9182
2023-04-17Implement Atlas sigreq1 connectionless packetpg9182
Consists of a JSON object including a type key and a HMAC-SHA256 signature using the gameserver-specific token from the masterserver as the key.
2023-04-17Add support for Atlas connectionless packetspg9182
2023-04-17Extract ProcessConnectionlessPacket hook to separate filepg9182
2023-04-11Plugin system v2 (#343)Emma Miler
* Some work * Rewrite gamestate presence * Add plugin system logger * Format changes * Format chjange * Fix gamestate stuff * some callback stuff * move around invite stuff * move invite to funcs * fix presence server data * Actually call InformSQVMCreated * bruh * Fix TODO's * Formatting * Fix filters * Add InformDLLLoads * Fix plugin handle always being 0 * Formatting * Fix merge issues * Formatting * Mods can add files compiled at SQVM init * Some Small Fixes * Add changes from review * Fix load failure * Add new squirrel functions * actually call InformSQVMDestroyed * add CreateObject function * answers to complaints * remove snake cases from GameStatePresence --------- Co-authored-by: cat_or_not <41955154+catornot@users.noreply.github.com>
2023-03-08Fix `sv_alltalk 1` (broken originally by respawn changes) (#291)BobTheBob
* fix sv_alltalk 1 (broken originally by respawn changes) * nvm i forgor to commit literally the main file * fix formatting * unsure why this was buidling but it shouldn't've been? fix build errors regardless * remove duplicate alltalk.cpp * add (experimental) potentially less jank patch * (now working) better patch for checking if alltalk is enabled * oops put a z in it boo womp * fixup formatting
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-22Add additional properties to `CBasePlayer` (#329)BobTheBob
* add additional properties to CBasePlayer * fixup names * use hex offsets
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-06Fix issues of restriction of chat message charset (#391)v1.12.0-rc1p0358
2023-01-06Revert "add FCVAR_REPLICATED to ns_server_name" (#390)GeckoEidechse
Revert "add FCVAR_REPLICATED to ns_server_name (#386)" This reverts commit ca2530b82578ca4bd782dbedaced5f02b3141d69.
2023-01-05Restrict chat message charset (#389)pg9182
2023-01-05add FCVAR_REPLICATED to ns_server_name (#386)cat_or_not
* add FCVAR_REPLICATED to ns_server_name * add FCVAR_REPLICATED ns_server_desc too
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