Commit Graph

283 Commits

Author SHA1 Message Date
GeckoEidechse 5893c77006 Update link to Discord server
We changed from `r2northstar` to `northstar` a while back
2022-03-23 03:04:07 -03:00
BobTheBob 2cb92fc902 remove ClientCommandKeyValues 2022-03-22 19:46:13 +00:00
BobTheBob 92f77b231a
refactor dll load callbacks to lower number of dedicated.h includes (#109) 2022-03-18 09:37:03 +00:00
BobTheBob 50e69bde54 add mod binks, mod rpak loading, and support for non-preload vpks/rpaks 2022-03-15 05:57:15 +00:00
BobTheBob 96aa95aede move to using g_pCVar more 2022-03-15 00:04:33 +00:00
Barnaby 5df2346ba1
Allow origin to start in the background (#108)
* Allow origin to start in the background when

* fix your format for gods sake
2022-03-11 03:27:16 +00:00
Barnaby 897eaa0761
Add check for player name correctness (#86)
* 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-11 03:23:24 +00:00
BobTheBob 9837c1f79a don't kick local player for netchan limits 2022-03-06 18:59:37 +00:00
BobTheBob 6a9fae96ae add support for server=>client script stringcommands 2022-03-06 18:58:55 +00:00
Tom Barham 17aaab6f25
Fix #101, chat hook memory leak (#105) 2022-03-06 18:45:07 +00:00
Emma Miler 7f7ff36ad2
Fix a memory leak for `setupfunc` (#103) 2022-03-06 18:43:48 +00:00
Emma Miler 218f0d1435
Fixed crash with plugin loading (#102) 2022-03-06 18:39:01 +00:00
Emma Miler 13dcc7d930
Add launcher code for plugin support (#93)
* rpc

* RPC

* Undoing broken shit

* temp

* Revert "temp"

This reverts commit 4875b5aca2.

* Include a whole bunch of new stuff

* fix id

* Added manifest and added some verification

* Fixed my oopsies

* Safety commit

* Moved over to new plugin abi

* Small docs changes and made plugin loading use ABI_VERSION

* Moving discord rpc plugin stuff to a separate repo

* Add some comments to `plugins.cpp`

* Moved internal structs from `plugin_abi.h` to `plugins.cpp`

* Add CLA `-noplugins`

* Code formatting changes so clang-format doesn't scream at me

* i hate clang-format

* why does this fail to build now wtf

* Update plugins.cpp

* Merged and updated to new convar system

* Implemented changes requested in review

* Removed a few more of those nasty comments

* Removed extra build configs

Co-authored-by: BobTheBob <32057864+BobTheBob9@users.noreply.github.com>
2022-03-03 23:16:01 +00:00
Emma Miler 62e137b32a
Autogenerate startup args text files (#99)
Adds `-nostartupargs`
2022-02-28 17:27:54 -03:00
Barnaby e5bfd1259f
Add multiple icon resolutions (#97)
16x16, 32x32, 64x64, 128x128, 256x256
2022-02-25 22:30:59 +00:00
BobTheBob ae75d59d0b remove unneeded unstable cvar debug asserts 2022-02-25 00:15:54 +00:00
BobTheBob f2b56ee582 use vanilla chat logic if codecallbacks are missing 2022-02-25 00:15:28 +00:00
BobTheBob 1fda5cab9d fix uncommon race condition that creates "phantom" servers 2022-02-24 15:12:40 +00:00
Kawe Mazidjatari 4f28a07d05
ConVar class rebuild (#90)
* 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-23 18:27:08 -03:00
Tom Barham 8c9f34283f
Advanced chat: custom messages and client hooks (#74)
Co-authored-by: Emma Miler <27428383+emma-miler@users.noreply.github.com>
2022-02-21 19:33:53 -03:00
Tom Barham ae9df9bc73 Fix formatting 2022-02-20 01:32:42 -03:00
BobTheBob 5cbf79e8e0 fix bugs with ainfile dumping (now identical on dumps from loaded files!!!) 2022-02-19 14:18:57 +00:00
Jacob 35df8e2502 Fix typo 2022-02-18 00:49:42 -03:00
JakubiakDev 48318d8187 Fix formatting
Done by using clang-format
Should fix format-check CI error
2022-02-18 00:48:40 -03:00
Barichello bd56ee0f48
Revert "Compress previous logs and dump files on launch (#73)"
This reverts commit 0faa9cfb3a.
2022-02-17 18:08:02 -03:00
Barichello e72564b27c
Revert "Fix corrupted zipped logs (#76)"
This reverts commit 37212a4d0c.

Reverting this in favor of deletion i guess
2022-02-17 18:08:02 -03:00
pg9182 f3c8dba536
Implement stub loading (#81)
When starting the dedicated server from NorthstarLauncher, always
default to loading the d3d11 and gfsdk stubs from `bin/x64_dedi`. If
the stubs fail to load or `-nostubs` is specified, the launcher reverts
to the old behaviour of using the GPU, or WARP if `-softwared3d11` is
specified.

updates #79
2022-02-17 13:04:02 +00:00
BobTheBob 1a7b41cc72 functional ain dumping 2022-02-16 16:53:36 +00:00
Legonzaur 37212a4d0c
Fix corrupted zipped logs (#76)
Co-authored-by: Nathan TIEN YOU <nathan.tienyou@viacesi.fr>
2022-02-16 09:16:32 -03:00
Legonzaur 0faa9cfb3a
Compress previous logs and dump files on launch (#73)
* added zlib + gzip

Co-authored-by: Nathan TIEN YOU <nathan.tienyou@viacesi.fr>
2022-02-15 20:06:31 -03:00
RomeoCantCode fb363f1620 make playlist overrides work on private match
By removing IsDedicated check it allows to use playlistvaroverrides on servers launched through the game (private match / listen server).
It seems it does not have any other effect on the client so far.
2022-02-15 18:49:57 -03:00
Barichello c160ef2454
Add format section 2022-02-15 00:54:14 -03:00
Barichello 5a480af7d3
Format cherry-picked commits 2022-02-15 00:50:15 -03:00
Emma Miler 8d49e4ea56
Fixed typo and made command line flag lowercase 2022-02-12 15:35:59 -03:00
Emma Miler db0af63704
Added code for chathooks
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-12 15:35:51 -03:00
Barichello 1cc6381800
Format buildainfile.cpp and masterserver.cpp 2022-02-12 14:03:25 -03:00
Barichello 8ee04102e7
Remove SpacesInLineCommentPrefix 2022-02-12 14:00:51 -03:00
EmmaM 839a8be58b Update masterserver.cpp 2022-02-10 20:52:17 -03:00
BobTheBob 91f4f31e5b ain dumping improvements 2022-02-10 10:16:27 +00:00
Barichello 11085ab786
Ignore formatting changes in git blame 2022-02-08 13:25:05 -03:00
Barichello 52b267d7e3
Multiple workflow triggers 2022-02-08 00:38:51 -03:00
wolf109909 06b6940db0
fixed servername and desc (#68) 2022-02-07 00:32:37 +00:00
Barichello 6a7f39c7d9
Add .gitattributes 2022-02-06 11:38:05 -03:00
Milo Akerman 49ce33d3aa
Add Build Status to README.md (#66) 2022-02-05 22:09:07 -03:00
Barichello 4dbed8b51e
Update CI trigger 2022-02-05 21:43:39 -03:00
Northstar 75bf194b2f
Format project 2022-02-03 22:09:08 -03:00
Barichello e9f93ba2e8
Add format-check ci stage 2022-02-03 22:05:37 -03:00
Barichello 02bcf4d9b1
Add clang-format 2022-02-03 21:55:47 -03:00
Emma Miler d10ae36c64
Fix pdef custom path (#64) 2022-02-02 20:16:51 -03:00
Emma Miler 8c2b7b4a54
Fix Northstar custom directory launch argument (#62) 2022-01-31 21:55:37 -03:00