Commit graph

779 commits

Author SHA1 Message Date
Allusive
9ddf557948
Default compile constants to 0 if not defined (#932)
Some checks failed
CI / format-check (push) Failing after 3s
CI / nix-build (push) Failing after 3s
CI / format-check-cmake-files (push) Failing after 2s
Merge Conflict Auto Label / triage (push) Failing after 1s
CI / build (map[cc:cl name:MSVC]) (push) Has been cancelled
CI / build (map[cc:clang-cl name:LLVM]) (push) Has been cancelled
* default ifdef constants to 0

---------

Co-authored-by: Will <39478251+sonny-tel@users.noreply.github.com> 
Co-authored-by: Will <39478251+VITALISED@users.noreply.github.com>
2026-08-20 22:33:16 -04:00
cat_or_not
2c16ed3605
Hardcode cardinals of all exports in wsock32 (#931)
* fix version eval in flake

* Move `core/convar/` to `tier1/` 2 (#928)

* just hard code everything in wsock32 def
2026-08-12 22:30:00 -04:00
cat_or_not
0d0cf3e79f
fix version eval in flake (#929) 2026-08-12 22:09:18 -04:00
cat_or_not
e85910e9ac
Move core/convar/ to tier1/ 2 (#928) 2026-08-08 04:26:00 -04:00
cat_or_not
edbd89f636
Patch idlekick (#927)
* patch idlekick

* remove empty header
2026-08-06 03:18:04 -04:00
pg9182
4df8857814
Fix remove_server (#894)
* Fix remove_server

* me lazy
2026-08-04 23:49:49 -04:00
LightBlueCube
329e8f667f
-noshaderapi and -nowindow (#926)
* -noshaderapi

* fmt

---------

Co-authored-by: catornot <41955154+catornot@users.noreply.github.com>
2026-08-04 23:38:03 -04:00
HuiZhiYin
48f3560077
Add callback for client chat messages (#920) 2026-07-02 21:24:10 -04:00
Allusive
9430cef240
Allows for custom gamemode text for ffa rui (#924)
* add the ability to replace the ffa text in for custom gamemodes

* fmt

* maybe make it work for clang

* fmt

* forgot this

* more stuff

* Delete clang-format.exe

* give vars good names
2026-06-02 16:31:38 -04:00
Jack
f05943806f
Fix weapon_reparse not invalidating compiled weapon files (#922)
* fix weapon_reparse not invalidating compiled weapon files

* remove unused include
2026-06-02 18:48:19 +01:00
cat_or_not
47f0fa43b6
Cache nix builds on main (#921)
* cache nix artifacts to cache server instead of uploading them

* Revert "cache nix artifacts to cache server instead of uploading them"

This reverts commit d9ffaeda92.

* Revert "Revert "cache nix artifacts to cache server instead of uploading them""

This reverts commit 707b416535.

* only run on main

the motivation for this is to not completly fill my cache server instantly (which only has 15gb)

* push the store path instead of the result path
2026-06-01 19:18:06 -04:00
Rémy Raes
0075d671d1 build(ci): use actions/checkout@v4 in release workflow 2026-05-23 15:29:38 +02:00
FourthVolt
fad19af919
Various materialsystem things (#919)
* various materialsystem things

* Update nscustomdxbuffer.cpp

formatter maybe

* Update nscustomdxbuffer.cpp

Buy minecraft

* move comment

move comment

* Update nscustomdxbuffer.cpp

* more slots slots go brrrt

more slots slots go brrrt
2026-05-18 20:17:06 +01:00
Allusive
39d5570c76
Make pakLoadApi global (#918)
* make pakLoadApi global

* fmt

---------

Co-authored-by: catornot <41955154+catornot@users.noreply.github.com>
2026-05-09 20:30:55 -04:00
Jack
64a7735c57
Don't include the various libcurl test build targets (#916)
* Don't add all of the libcurl testing build targets
2026-05-07 00:07:50 +02:00
cat_or_not
8d19272b65
Pin clang version to 16 for formatting in the flake (#911)
* Add older nixpkgs for clang-format-16
2026-05-06 22:59:04 +02:00
HuiZhiYin
0d746273a7
Block empty chat messages (#915)
* Block empty chat messages
2026-05-06 22:00:44 +02:00
Allusive
2d33ed9b19
fix crash when shooting outside map bounds (#914) 2026-04-16 23:52:58 -04:00
cat_or_not
14b9a6281a
Allow external authentication methods to work on linux (#913)
* add the origin sdk hooks

* fmt

* more fmt
2026-04-13 18:30:30 -04:00
cat_or_not
ca2f5670fd
Add an option to not allocate the console (#912)
* add a noallocconsole option

* fix logging
2026-04-13 17:54:28 -04:00
cat_or_not
9f56306928
Add InitScript callback (#908)
* add init script callback

* fmt

* fix this

* use sqresult
2026-03-29 23:58:32 -04:00
GeckoEidechse
aef63e79ad
Revert pulling zlib from custom fork (#660)
* Revert "Pull zlib from custom fork (#650)"
2026-03-27 16:08:49 +01:00
cat_or_not
41a4528738
Improved flake.nix (#905)
* improve flake
- make clang-format work (I think)
- remove some clutter
- fix version in derivation
- fix clangd

* address nix ci taking 10 minutes to build

uni was rigth about the purge feature, it worked for other stuff tho :(

* fix up comments

* add an option for quad versions and remove msitools from deps

* add cmake fmt to tree fmt

* update build instructions

* note about compat flag
2026-03-27 00:38:50 +01:00
绘之音
6f58bb30d4
Add unban ConCommand Completion (#907)
Add unban Concommand Completion
2026-03-26 18:41:49 -04:00
Allusive
11ee0a74b5
Chat history (#906)
* increase chat history size

* reduce it a bit

* fix comment
2026-03-24 17:24:36 -04:00
cat_or_not
86e3d6987b
Remove unnecessary usage of AsyncCall in ModConCommandCallback_Internal (#904)
use sync call in squirrel conconmands
2026-03-24 13:53:59 -04:00
Allusive
3c1f236659
Add OnWeaponAttack Callback (#901)
* remove run frame hook

* formatting

* fix bad slab buffers in rpaks from crashing the game

* format

* Add on weapon attack callback

* format

* fix owner

* fix owner

* format

* changes requested

* cmake format

* oops
2026-03-21 23:14:26 -04:00
86Yin
00b43183d2
Add NSSendClientPrint Function (#900)
* Add NSSendClientPrint

* Update miscserverscript.cpp
2026-03-21 03:31:42 -04:00
cat_or_not
cf29bbc384
Add nix shell support (#896)
* Add flakes

* version patching, better artifact name  and some comments

* try to get clangd working + some documentation

* remove useless custom scripts from the devshell and update the build readme
2026-02-18 20:00:38 +01:00
ASillyNeko
593211951a
Fix bots crashing dedicated servers without players (#892)
Moved bot pr.
2026-02-03 21:48:27 +00:00
Jack
f18b920c24
Allow for appending to particles_manifest.txt (#878)
* it works?

* does it work? who knows

* some cleanup

* format cmake

* update for new filesystem stuff

---------

Co-authored-by: Rémy Raes <contact@remyraes.com>
2026-02-03 21:17:10 +00:00
Allusive
776fbc3fbd
Fix bad slab buffers in paks from crashing on unload (#893)
* remove run frame hook

* formatting

* fix bad slab buffers in rpaks from crashing the game

* format
2026-01-19 16:19:07 +00:00
FourthVolt
d156bfbf0e
add custom directx psshader buffer unique to a material controllable via SQ client vm (#888)
* Add files via upload

* Update Northstar.cmake

* Update Northstar.cmake

* Update nscustomdxbuffer.cpp

update dx context and device to static
error out if guid is malformed
fix random if true

---------

Co-authored-by: Rémy Raes <contact@remyraes.com>
2026-01-11 15:03:04 +00:00
Jack
6f748fc44e
fix: Allow for versioning MWS mods (#889) 2026-01-04 22:26:41 +01:00
Jack
41c291c1b1
Improve compile error messages (#886)
improve compile error messages, naming the mod that probably caused them and stuff
2026-01-02 20:14:28 +00:00
Will
f8c3371a1e
Prevent invalid packet flooding (#885)
* Workaround invalid packet flooding

* formatting or something

---------

Co-authored-by: Will <39478251+VITALISED@users.noreply.github.com>
Co-authored-by: Allusive <154700875+AllusiveWheat@users.noreply.github.com>
2025-12-27 16:08:02 +00:00
Jack
44755cd2da
Reduce templating of squirrel managers (#863)
* Untemplate g_pSquirrel so intellisense and stuff actually works with it
* Remove unnecessary bitwise operations
* Don't use ScriptContext_COUNT and treat INVALID as a valid flag
2025-12-21 20:41:44 +01:00
Jack
116c74f36e
Don't require auth for requesting mainmenupromos (#882) 2025-12-11 01:24:38 +01:00
Jack
dbca84a05a
Prevent mod downloading being used in vanilla (#881)
* Prevent mod downloading being used in vanilla
2025-12-10 00:28:01 +01:00
Jack
4e330a9d7d
Fix memory leak and (kinda) cleanup code (#776)
* Fix memory leak
* Clean up code
2025-12-06 00:48:06 +01:00
Jack
0ba23677d1
Keyvalues fix maybe? (#880)
* move compiled files to their own storage

* clear compiled files on mod reload

* allow functions to specify the sources that they wish to look for files in

* formatting
2025-12-03 23:06:29 +00:00
Allusive
10e615552e
Remove RunFrame hook (#877)
* remove run frame hook

* formatting
2025-11-24 01:14:37 +00:00
Rémy Raes
659725f671
fix: MAD race conditions (#874)
* fix: FetchModsListFromAPI sets mod state as done when... done

Previously, the state was set to DOWNLOADING, which conveniently
allowed DownloadMod to run; however, the DOWNLOADING state was
not assigned by DownloadMod, leading to nasty issues when calling
DownloadMod several times in a row.
2025-11-15 22:06:42 +01:00
Rémy Raes
c0ed69f795
feat: Add ModWorkshop support to MAD (#873)
* feat: add ModWorkshop support for MAD
2025-11-15 21:58:36 +01:00
Allusive
f5bd7c9b95
Add model reloading (#872)
* Make async call does not cause a crash if the script vm gets deleted before call finishes.

* also fix in call since it still tries to call even if sqvm is invalid.

* Update log string to account for not crashing anymore

* small formatting things

* fix formatting

* Replace sprintf usage with sprintf_s in version.cpp

* Actually check for size of version.

* fix format

* Add model reloading

* fix formatting

* fix cmake format

* update the help string

* Update location in cmake file

* add changes from review

* small update
2025-11-09 03:12:57 +01:00
NachosChipeados
cf2fcdd459
Add FCVAR_REPLICATED flag to sv_alltalk (#871) 2025-10-29 00:12:28 +01:00
Rémy Raes
69b9d6c53b
fix: Manifesto migration (#870)
* Use "Version" field to determine manifesto format version
* Remove old manifesto file if needed
* Export manifesto version to enabledmods.json on reload
2025-09-24 01:32:56 +02:00
Jack
7739bef15d
Fix broken squirrel function hooks (#869)
* Add checks for func overrides
* Fix incorrect sq function hook strings
2025-09-01 20:16:14 +02:00
Allusive
4184cd34eb
Replace sprintf usage with sprintf_s in version.cpp (#867)
* Replace sprintf usage with sprintf_s in version.cpp
2025-09-01 16:06:00 +02:00
uniboi
d10a1b0271
Add initdata size for backwards/forwards compat (#866) 2025-08-08 01:52:25 +02:00