Age | Commit message (Collapse) | Author |
|
* add additional properties to CBasePlayer
* fixup names
* use hex offsets
|
|
* 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
|
|
* 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
|
|
* Add Destroy callback for squirrel scripts.
* Switch _call() to Call()
|
|
dont load streaming files on dedicated server
|
|
flush loggers properly on dedicated server shutdown
|
|
allow launchplaylist to be used to start dedicated servers
|
|
* feat: create remote mod directory
* feat: look for mods in remote mods directory
|
|
Format enabledmods.json
|
|
|
|
|
|
* add NSGetCursorPosition
* fix vs filters
* fix clang formatting
* Create wininfo.h
* Create wininfo.cpp
* add wininfo to compiler options
* add wininfo to filters
* move wininfo
* clamp position to screen size
|
|
Pedantic fix for previous commit (3cfd6f9) (use if-else instead of if)
|
|
* run cfg to initialise gamemode on startup
* remove ; characters from mp_gamemode
* exec using _Cmd_Exec_f to avoid issues with semicolons in gamemode names
allowing additional commands to be run
* run from cfg/server/ rather than cfg/
* fixup formatting
|
|
push to stack correctly
Co-authored-by: Maya <RoyalBlue1@users.noreply.github.com>
Co-authored-by: Maya <RoyalBlue1@users.noreply.github.com>
|
|
* change how we load localisation to fix overriding individual
localisation strings
* fix formatting
* fix formatting again
|
|
|
|
Revert "add FCVAR_REPLICATED to ns_server_name (#386)"
This reverts commit ca2530b82578ca4bd782dbedaced5f02b3141d69.
|
|
|
|
* add FCVAR_REPLICATED to ns_server_name
* add FCVAR_REPLICATED ns_server_desc too
|
|
* 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>
|
|
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
|
|
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
|
|
* 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
|