Age | Commit message (Collapse) | Author |
|
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
|
|
|
|
* Process all squirrel messages in the buffer instead of one per frame.
* Move on to the next message if no function is found,.
|
|
* Add NSGetLocalPlayerUID() function.
* Format fix.
* All VMS actually why not
* Add missing includes
|
|
* Add NSDisconnectPlayer() function.
* Formatting tweaks
|
|
* Stackinfos
* Formatting
* Add option for depth
* Revert "Merge branch 'main' into stackinfos"
This reverts commit e9e8948d2ae9ab72095eb2162de40383b7211276, reversing
changes made to d1cf18f7165a9d4fbe7f8ae2f1dfacbba36e4852.
* Move macros header
* Add macro header to filters
* Fix merge conflict mistake
* Fix stuff
* I hate git
* create `NSGetCurrentModName`
* Fix merge issues
|
|
* Add script concommands
* Fix indent
* Formatting
* Formatting stuff
* Changes for review
* Fix typo
* Forgot to remove the return statement
* Formatting
|
|
|
|
|
|
* Remove launcher proxy
* Restructuring
* More restructuring
* Fix include dirs
* Fix merge
* Remove clang thing
* Filters
* Oops
|
|
|
|
* Native HttpRequestHandler to make HTTP requests from Squirrel
* Init handler & register SQ funcs
# Conflicts:
# NorthstarDLL/NorthstarDLL.vcxproj
# NorthstarDLL/NorthstarDLL.vcxproj.filters
* Allow redirects, fix crashing with buffer.
* Also read response header
* Remove leftover header debug stuffs
* Prevent private network requests unless -allowlocalhttp is in the command line.
* Minor tweak
* Support all HTTP methods, private network check changes.
* Add OPTIONS, timeout & user-agent overrides.
* Add -disablehttprequests, final tweaks.
* Fix one of the private ipv4 ranges
* Native HttpRequestHandler to make HTTP requests from Squirrel
* Init handler & register SQ funcs
# Conflicts:
# NorthstarDLL/NorthstarDLL.vcxproj
# NorthstarDLL/NorthstarDLL.vcxproj.filters
* Allow redirects, fix crashing with buffer.
* Also read response header
* Remove leftover header debug stuffs
* Prevent private network requests unless -allowlocalhttp is in the command line.
* Minor tweak
* Support all HTTP methods, private network check changes.
* Add OPTIONS, timeout & user-agent overrides.
* Add -disablehttprequests, final tweaks.
* Fix one of the private ipv4 ranges
* Update to latest and fix issues mentionned in previous PR
* Cleanup some return statements
* Also cache IsLocalHttpAllowed(), query param array work
* Cache command line args in ctor, more header/query array work
* Support for multiple values with same key in headers & query params
* Format check made this look disgusting, don't blame me.
* More format fixes
* Tweakerino
* Tell clang-format to segfault itself
* Add -disablehttpssl to ignore SSL verifications
* Fix headers being written to body with custom headers
* Remove useless comments
|
|
* Add platform information to User-Agent.
* Identify dedicated servers in the User-Agent.
|
|
* Log function lookup failure on Call
* Formatting
* Update squirrel.cpp
* format
|
|
* Remove launcher proxy
* Remove project from solution
|
|
Make most mod-setting related funcs global
|
|
It's allowed in CS:GO, and already possible with mods anyways.
|
|
The functions in question take a CSquirrelVM* instead of an HSquirrelVM*, which
causes IsUIVM() always returns false.
|
|
* 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
|
|
Should help with #347
|
|
|
|
* 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
|
|
Otherwise application will crash before finishing to write to log file.
|
|
* init
* Format
|
|
* 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
|
|
Old version is being deprecated by GitHub
|
|
* 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
|
|
* 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
|
|
|
|
|
|
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
|
|
* Fix slow keyvalues building
* Update crashhandler.cpp
* Fix it
|
|
* 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>
|
|
* 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
|
|
|
|
* 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>
|
|
* allow kb_act.lst to be compiled from multiple mods
* fixup formatting
* add a couple extra comments because i really did not add enough
|
|
* 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>
|
|
|
|
* load sp_ rpaks on dedi
* formatting to please the formatting check gods
* fix build failure
* what in the formatting
|
|
* 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>
|
|
|
|
* Update serverauthentication.cpp
* Fix oopsie
* Format
|
|
|
|
|
|
|
|
|
|
* remove dev-only flag from save_enable
* Moved to sys/engine settings
|
|
* 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>
|
|
|