aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDedicatedTest/serverauthentication.cpp
AgeCommit message (Collapse)Author
2022-03-11Add check for player name correctness (#86)Barnaby
* Add player auth failure when username is faked * Fix the action error? * Split name check into different function allows unique error message * Oops * Fix allow_insecure and kick message * Put it back cause i'm bad at programmig * format * Fix duplicated if statement maybe? Will need testing * Fail open + change to authData.username * Change name instead of kicking * Format * Remove unecessary borked name check * fail open in VerifyPlayerName if missing authData * Fix convar stuff * limit name length when copying from master server * 63 < 64 * please bob for the love of god this is like the third time i've had to do this
2022-03-06don't kick local player for netchan limitsBobTheBob
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-21Advanced chat: custom messages and client hooks (#74)Tom Barham
Co-authored-by: Emma Miler <27428383+emma-miler@users.noreply.github.com>
2022-02-15Format cherry-picked commitsBarichello
2022-02-12Fixed typo and made command line flag lowercaseEmma Miler
2022-02-12Added code for chathooksEmma Miler
This may not seem like much to a passing observer, but this commit took me 30 hours of blood, sweat, tears, IDA debugging, server crashes, and insanity.
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-30add FindConVar and FindConCommandBobTheBob
2022-01-28add ns_resetpersistence commandBobTheBob
2022-01-18make FCVAR_CLIENTCMD_CAN_EXECUTE checks not rely on concommand dispatch ↵BobTheBob
hooks that may be inconsistent across dlls
2022-01-15improve ConCommand__DispatchHook CLIENTCMD_CAN_EXECUTE logicBobTheBob
2022-01-13unbreak spBobTheBob
2022-01-10prevent FCVAR_GAMEDLL concommands without FCVAR_CLIENTCMD_CAN_EXECUTE from ↵BobTheBob
being called by non-local clients
2022-01-09restrict netchan limit checks to serverside calls onlyBobTheBob
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 disconnects to ban systemBobTheBob
2022-01-02initial work for ban systemBobTheBob
2022-01-02don't enforce netchan limits during level transitions, change how limit mode ↵BobTheBob
workss
2021-12-31Merge branch 'main' of https://github.com/R2Northstar/NorthstarLauncherp0358
2021-12-30move to server auth token system for verifying gameserver auth messages, ↵BobTheBob
rather than ip
2021-12-30fix various random warningsp0358
2021-12-26add setplaylistvaroverride command for setting overrides on dedi from ↵BobTheBob
commandline
2021-12-24add logging to connectionless ratelimitsBobTheBob
2021-12-24add connectionless ratelimitBobTheBob
2021-12-21fix some timing issues on dediBobTheBob
2021-12-20fix CNetworkStringTableContainer::WriteBaselines crashBobTheBob
2021-12-19server authentication patch to allow for new url to workBobTheBob
2021-12-17change placeholder playerdata directoryBobTheBob
2021-12-14add netchan processing limitsBobTheBob
2021-12-02tier0 code cleanup and loadlibrary hook fixBobTheBob
2021-11-27more masterserver stuff and support for devonly/hidden cvarsBobTheBob
2021-10-19add reconnecting to local lobby with auth on leaveBobTheBob
2021-10-19add masterserver mod list support and fix some squirrel issuesBobTheBob
2021-10-11add server script early persistence writesBobTheBob
2021-10-01Revert "small modmanager refactors"BobTheBob
This reverts commit 1ff8e068e62d095775ef2ae54d3685d89238f28c.
2021-09-30small modmanager refactorsBobTheBob
2021-09-09fix singleplayer auth issuesBobTheBob
2021-09-09add IsValveMod patchesBobTheBob
2021-08-25deprecate clc_SetPlaylistVarOverrideBobTheBob
2021-08-18lots of launcher stuffBobTheBob
2021-08-14add authentication with local serverBobTheBob
2021-08-13add local http server for authBobTheBob
2021-08-09add mod localisation, say command and more masterserver stuffBobTheBob
2021-08-03fix playlist kv buildingBobTheBob
2021-08-02add dynamic keyvalue building, client serverbrowser stuffBobTheBob
2021-07-29add script api for mods and add temp fix for scripts.rson not loading rightBobTheBob