aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-01-06Fix issues of restriction of chat message charset (#391)v1.11.4-rc1v1.11.41.11.Xp0358
2023-01-05Restrict chat message charset (#389)v1.11.3-rc1v1.11.3pg9182
2023-01-04Improve response to UI VM compile errors (#388)v1.11.2-rc3v1.11.2Jack
* log reaction to script compile errors * move log line to make a bit more sense * change log message and show console on non-fatal ui compile error * improve SQSharedState struct and CSquirrelVM struct Co-Authored-By: Maya <11448698+RoyalBlue1@users.noreply.github.com> * Improve IsUIVM Co-Authored-By: Maya <11448698+RoyalBlue1@users.noreply.github.com> * Remove now-unnecessary showing of console * remove extra logging Co-authored-by: Maya <11448698+RoyalBlue1@users.noreply.github.com>
2023-01-04generally cleanup authentication code and fix client state issues with ↵v1.11.2-rc2BobTheBob
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
2023-01-04Fix UI VM Destruction (again again) (#380)Emma Miler
2023-01-04Fix console not enabling (#379)Emma Miler
2023-01-04Restructuring (#365)Emma Miler
* Remove launcher proxy * Restructuring * More restructuring * Fix include dirs * Fix merge * Remove clang thing * Filters * Oops
2022-12-17Fix UI VM destruction (again) (#370)v1.11.2-rc1v1.11.1-rc1v1.11.1Emma Miler
2022-12-11Add platform information to User-Agent (#367)v1.11.0-rc3v1.11.0pg9182
* Add platform information to User-Agent. * Identify dedicated servers in the User-Agent.
2022-12-11Log function lookup failure on Call (#355)Emma Miler
* Log function lookup failure on Call * Formatting * Update squirrel.cpp * format
2022-12-11Remove launcher proxy (#363)Emma Miler
* Remove launcher proxy * Remove project from solution
2022-12-11Make most mod-setting related funcs global. (#364)Erlite
Make most mod-setting related funcs global
2022-12-08Remove sv_cheats requirement from r_drawviewmodel (#328)v1.11.0-rc2BobTheBob
It's allowed in CS:GO, and already possible with mods anyways.
2022-12-08Fix UI VM Destruction (#349)Emma Miler
The functions in question take a CSquirrelVM* instead of an HSquirrelVM*, which causes IsUIVM() always returns false.
2022-12-02Move include directory (#337)v1.11.0-rc1Emma Miler
* Move include directory to shared folder This commit moves the `include` directory from the NorthstarDLL project folder to the solution folder. This allows both the DLL and Launcher project to target it properly. * Fix filters * Update memalloc.h * Fix filters * Update NorthstarLauncher.vcxproj * Remove stuff from other PR * Update NorthstarLauncher.vcxproj * Update NorthstarLauncher.vcxproj * Update NorthstarDLL.vcxproj
2022-12-01Don't set initial dedicated server title to the profile name (#352)Jack
Should help with #347
2022-12-01Update exit value in hooks to valid code (#354)Emma Miler
2022-12-01Exit instead of abort on server compile error (#353)Emma Miler
* Exit instead of abort on server compile error Dedicated server should almost never call abort in the event of a crash. * Update NorthstarDLL/squirrel.cpp * Update squirrel.cpp * Update squirrel.cpp
2022-11-27Fix script compile errors not being flushed to log file (#342)wolf109909
Otherwise application will crash before finishing to write to log file.
2022-11-27Pre-init squirrel managers (#348)Emma Miler
* init * Format
2022-11-26Parse and expose region field from JSON server list (#232)GeckoEidechse
* Add parsing region field from JSON server list * Add function to read server region from Squirrel * Update logic to post-refactor code * Make region field optional
2022-11-22Bump used Actions version (#339)GeckoEidechse
Old version is being deprecated by GitHub
2022-11-20Add support for querying player userinfo cvars in script (#293)BobTheBob
* add support for querying player userinfo cvars in script * bring up to date with main * add more native methods for getting userinfo kvs of different types * update to main and use new sqfunc macros * Revert "update to main and use new sqfunc macros" This reverts commit 2eacc00fcb99683731d1df3fc18e0359c5623ca1. * use new macros for adding sq func * improve formatting
2022-11-20Squirrel bridge v3 (#310)Emma Miler
* Initial * Move squirrelmanager to virtual base class * Implement changes from code review * Formatting * Update squirrel.cpp * Formatting shit * Fix filters * Fix up Use new squirrel autobind syntax Move from `std::vector` to `std::queue` for message buffer Add `NSTestMessageBuffer` * Update squirrel.cpp * Update squirrel.h * Remove inline virtual final because this is stupid I probably had a bit of a brain fart when this was written * Moved to running ProcessMessages in-engine * Remove TestMessageBuffer * Formatting * Rename pushSQObject -> pushobject * Rename some stuff * Update squirrel.h * Formattting * Remove unneeded global access * Oops
2022-11-20Fix DecodeJSON() not returning SQRESULT_NOTNULL. (#330)Erlite
2022-11-17Fix broken chat hooks due to missing `AUTOHOOK_DISPATCH()` (#335)Jack
2022-11-16Fix logging (#333)Emma Miler
I forgot to update this piece of code to make it so that the file sink gets pushed to all loggers instead of only the `[NORTHSTAR]` one
2022-11-15Fix slow keyvalues building (#331)Emma Miler
* Fix slow keyvalues building * Update crashhandler.cpp * Fix it
2022-11-14New syntax for reversed structs (#324)Emma Miler
* Initial commit Co-Authored-By: BobTheBob <32057864+BobTheBob9@users.noreply.github.com> * Format change * Revert `VPKData` definition * Add `FIELDS` macro Co-authored-by: BobTheBob <32057864+BobTheBob9@users.noreply.github.com>
2022-11-14New crashhandler (#325)Emma Miler
* New crashhandler * Formatting * Add version number to crash log * Fix Xmm dumping * Update crashhandler.cpp * Fix formatting * Moved to using reinterpret_cast and foreground messagebox * Update crashhandler.cpp
2022-11-13fix accidentally broken project filters from merge conflict (#327)BobTheBob
2022-11-13Squirrel functions auto bind (#299)Maya
* Add defines to auto add squirrel funcs it brokey * Make it Work changed all squirrel function definitions to this system * Add defines to auto add squirrel funcs it brokey Co-authored-by: Emma-Miler <27428383+emma-miler@users.noreply.github.com> * Make it Work changed all squirrel function definitions to this system Co-authored-by: Emma-Miler <27428383+emma-miler@users.noreply.github.com> * Formatting * Good old Formatting commit * HelloGecko * Formatting Finalv2ForRealThisTime * idk anymore * i hate formatting * Rename some * Rename macro * Change function names to more human-readable * Revert to using old ScriptContext definition * Formatting Co-authored-by: RoyalBlue1 <realEmail@veryRealURL.com> Co-authored-by: Emma-Miler <27428383+emma-miler@users.noreply.github.com> Co-authored-by: Emma Miler <emma.pi@protonmail.com> Co-authored-by: BobTheBob <32057864+BobTheBob9@users.noreply.github.com>
2022-11-13allow kb_act.lst to be compiled from multiple mods (#298)BobTheBob
* allow kb_act.lst to be compiled from multiple mods * fixup formatting * add a couple extra comments because i really did not add enough
2022-11-12Logging improvements + Colours (new) (#320)Emma Miler
* log colours :) * commend the freopen stuff (it causes problems) * formatting * add explanatory comment * gaming maybe * move set pattern * ok this works now i think * trailing space :) * Revert "Merge branch 'main' into log-colours" This reverts commit d40b6496b7bd3b3f20f51cc2311b0369aeabe735, reversing changes made to a98bcc22e8961b325806f6a9ca85e64353fd574c. * Revert "Revert "Merge branch 'main' into log-colours"" This reverts commit da792245b1cd7d0ac9e22d5633770142a43ce10c. * fix shit maybe * fix shit but better * initial, still WIP * Add GetContextName_Short * colours for in game console * working, time to improve code * rename var + add a colour or two * whoops * change rpak filesystem to RP NATIVE * add RP NATIVE and NORTHSTAR tags * clang-format off because formatting * formatting 2 * formatting 3: the formattening * bruh * revert unnecessary change * improve comment * Set console title to show profile * pain * Made code not shit * Formatting and remove warning box * Update main.cpp * Formatting * More format changes * Again * Fix small things from code review * Remove empty line * renamed NATIVE_EN -> NATIVE_ENGINE * Update logging.cpp * Update sourceconsole.cpp Co-authored-by: ASpoonPlaysGames <66967891+ASpoonPlaysGames@users.noreply.github.com>
2022-11-12allow vmts do be loaded from disk (#292)BobTheBob
2022-11-12[COOP] load sp_ rpaks on dedi (#283)Jack
* load sp_ rpaks on dedi * formatting to please the formatting check gods * fix build failure * what in the formatting
2022-11-12Restore `-waitfordebugger` flag (#321)Emma Miler
* Update main.cpp * Update NorthstarLauncher/main.cpp Co-authored-by: GeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com> Co-authored-by: GeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com>
2022-11-12remove dev only from mat_colorcorrection (#326)H0L0theBard
2022-11-06Fix player count server presence (again) (#323)Emma Miler
* Update serverauthentication.cpp * Fix oopsie * Format
2022-11-06Fix player count in server presence (#322)Emma Miler
2022-11-03Fix `status` hooks (#316)BobTheBob
2022-10-31add KeyValues class (#303)BobTheBob
2022-10-31Update crashhandler.cpp (#297)Emma Miler
2022-10-31remove dev-only flag from save_enable (#315)v1.10.3-rc1v1.10.3H0L0theBard
* remove dev-only flag from save_enable * Moved to sys/engine settings
2022-10-28Improve authentication flow (#306)v1.10.2-rc1v1.10.2Maya
* Check Name for Invalid Chars Co-authored-by: Emma-Miler <27428383+emma-miler@users.noreply.github.com> * Remove `m_bRequireClientAuth ` and add logging * Format changes * Remove debugging code * Add return values for CBaseClient_Connect * Update serverauthentication.cpp * Format changes * Fix singleplayer * Add comment about singleplayer * Format * Update serverauthentication.cpp * Update serverauthentication.cpp * Update serverauthentication.cpp Co-authored-by: RoyalBlue1 <realEmail@veryRealURL.com> Co-authored-by: Emma-Miler <27428383+emma-miler@users.noreply.github.com>
2022-10-27Update serverauthentication.cpp (#307)Emma Miler
2022-10-23fix reading of cvar net_data_block_enabled (#302)v1.10.1-rc1v1.10.1BobTheBob
2022-10-23change accidentally broken m_UID offset (#301)BobTheBob
2022-10-22fix typo in ConVar::SetValue( const char* ) (#296)BobTheBob
* fix typo in ConVar::SetValue( const char* ) (except this time dont fuck up on git!!) * readd delete
2022-10-22Fix using wrong dll load for patching bik loading (#295)v1.10.0-rc5v1.10.0Maya