Jack
814f36a25d
Preserve old mod files load order ( #865 )
...
Preserve old file loading order (highest LoadPriority -> lowest LoadPriority, mods loaded later get their files prioritised)
2025-08-05 18:04:30 +02:00
Jack
9d5cf82054
Fix dependency constant registration ( #864 )
...
Fix dependency constant registration
2025-08-05 15:28:54 +02:00
Rémy Raes
df72178964
fix: Do not enable remote mods on first load ( #862 )
...
* Remote mods are not loaded when booting the game
2025-07-17 00:57:10 +02:00
uniboi
e172ac59b0
Finalize reloaded Plugins ( #859 )
...
* Call `Finalize` hook on plugins after loading them
Co-authored-by: cat_or_not <41955154+catornot@users.noreply.github.com>
2025-06-30 18:05:55 +02:00
AllusiveWheat
623e36655d
Make async call check if script vm exists ( #861 )
...
* 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
2025-06-23 21:17:11 +02:00
Jack
cb996abee7
Remove FCVAR_SERVER_CAN_EXECUTE from disconnect ( #663 )
...
Co-authored-by: F1F7Y <filip.bartos07@proton.me>
Co-authored-by: GeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com>
Co-authored-by: Rémy Raes <contact@remyraes.com>
2025-06-13 00:13:44 +01:00
Jack
ede10e7cf1
Improve ModManager logic ( #856 )
...
* extract logic into functions
* dont stop loading all mods???
* refactor dependency constant logic
* some generic cleanup
* guard clauses
* stuff
* early out of mod load stuff
* github is being weird
* formatting
* Update primedev/mods/modmanager.cpp
2025-06-13 00:13:10 +01:00
Jack
7522240747
actually make disabling mods work ( #857 )
2025-06-08 20:22:27 +02:00
Rémy Raes
79e8790c4d
fix: Multiple versions of a same mod won't crash the client anymore ( #852 )
...
* If a mod is installed several times, all mod versions are disabled to prevent crashing
Co-authored-by: Jack <66967891+ASpoonPlaysGames@users.noreply.github.com>
2025-06-02 17:52:04 +02:00
Rémy Raes
3a8aa058bf
fix: Remove m_bEnabled duplicated assignment ( #855 )
...
fix: remove double m_bEnabled assignment
2025-05-27 17:21:21 +01:00
uniboi
54c3863380
Determine calling plugin by return address ( #854 )
2025-05-27 01:45:19 +02:00
Rémy Raes
16788f4c98
fix: Mod versioning ( #828 )
...
* feat: NSSetModEnabled now takes mod version as argument
* feat: move enabledmods.json to enabledmods.json.old if old manifesto format is used
* feat: add manifest version field to JSON file
2025-05-24 15:38:13 +02:00
NachosChipeados
a6b4432f3b
Add FCVAR_ARCHIVE_PLAYERPROFILE flag to a few convars ( #844 )
...
* Make some configuration variables persistent over game restarts
2025-05-21 16:47:25 +02:00
Cyn
b8c2baa04c
Fix memory leak in scripthttprequesthandler.cpp ( #831 )
...
* Free memory reference in HTTP call handler
2025-05-21 15:50:11 +02:00
NachosChipeados
8555f210ee
Add vanilla compat for setplaylistvaroverride byte-patch ( #847 )
...
Co-authored-by: Rémy Raes <contact@remyraes.com>
2025-05-18 12:32:10 +01:00
AllusiveWheat
8290f7b3c0
Set execution markers properly ( #849 )
...
Set execution markers properly if there's enough room or ignore command otherwise.
Stops servers from executing commands on the client if not in vanilla.
Co-authored-by: RoyalBlue1 <11448698+RoyalBlue1@users.noreply.github.com>
2025-04-27 02:06:33 +02:00
Rémy Raes
1277b3711d
Fix Null Deref crash ( #846 )
...
Co-authored-by: F1F7Y <filip.bartos07@proton.me>
Co-authored-by: Jack <66967891+ASpoonPlaysGames@users.noreply.github.com>
2025-04-18 00:56:48 +02:00
NachosChipeados
98e7b0e011
fix: LGBT logo being enabled by default ( #848 )
2025-04-18 00:19:55 +02:00
Rémy Raes
4112a7f07f
refactor: Mod information file export ( #832 )
...
* Deduplicate enabledmods.json path declaration
* Move mod info disk dump logic to dedicated method
2025-04-11 18:39:09 +02:00
Rémy Raes
7064e056b8
Revert "Fix crash in ReadFileAsync" ( #845 )
2025-04-11 01:07:50 +02:00
F1F7Y
18beac8a07
Fix crash in ReadFileAsync ( #521 )
...
* Fix Null Deref crash
2025-04-11 00:45:22 +02:00
Jack
f90709519c
server: Remove uses of Autohook fromserverchathooks.cpp ( #834 )
2025-04-10 23:53:36 +02:00
Jack
457478229f
Fix crashing when reading audio samples with wide characters ( #841 )
2025-04-10 23:51:39 +02:00
NachosChipeados
b0fd032edd
Add LGBT logo option ( #842 )
...
"They're putting something in the water and turning the logos gay!"
2025-03-31 00:54:24 +02:00
Rémy Raes
c7e2d7e593
build: use actions/[download,upload]-artifact@v4 in release CI configuration
2025-02-13 23:13:38 -05:00
NachosChipeados
72acef92b2
Remove cheat flag from cl_gib_lifetime ( #837 )
...
* Remove `FCVAR_CHEAT` flag from `cl_gib_lifetime` convar
2025-02-01 17:55:08 +01:00
cat_or_not
f98f6b9ace
Fix reloading plugins ( #835 )
...
Individually reload all plugins instead of dropping them all and loading them all at once
2025-01-19 00:45:03 +01:00
Jack
1045478938
scripts/client: Remove uses of Autohook from scriptbrowserhooks.cpp ( #833 )
...
* Manually hook OpenExternalWebBrowser
* Remove AUTOHOOK_INIT and AUTOHOOK_DISPATCH
2024-12-15 23:52:23 +01:00
Rémy Raes
feab262e44
Rework MAD cleanup handles ( #817 )
...
Mods are no longer marked as successfully installed when the process failed.
When mod downloading/extraction fails, the mod directory is removed again.
2024-12-06 09:05:05 +01:00
Rémy Raes
5e07df82e7
mods: Move collecting mods to own function ( #830 )
...
Moves the logic that goes through all the paths where mods can be installed to its own function as part of improving code maintainability and future refactoring.
2024-12-01 21:35:22 +01:00
Rémy Raes
21843eeb83
mods: Move mod content related logic to dedicated package ( #829 )
...
Moves the `Mod` class and related logic to its own source files
2024-11-27 10:55:12 +01:00
Jack
fad89b3536
Send all mods to Atlas that are enabled ( #536 )
...
Instead of just RequiredOnClient mods and mods that have pdiff
The idea here is that it gives clients a better overview of what mods are enabled on the server they are joining.
2024-11-22 15:27:48 +01:00
GeckoEidechse
db40260d57
mods(Safe I/O): Only allow creating files with whitelisted filetypes ( #682 )
...
Restricts file types that can be created via Safe I/O to a list of whitelisted file types
2024-11-22 15:20:03 +01:00
Rémy Raes
6585d629ca
mods(MAD): Make MAD process cancellable ( #815 )
...
Adds logic to make an active mod download via MAD cancellable.
2024-11-22 15:18:38 +01:00
Rémy Raes
2d97883eec
script: Refactor mod information ( #826 )
...
Adds struct containing mod information instead of getting every info with its dedicated function
2024-11-21 23:38:58 +00:00
Jack
3e40fa3c9a
Remove uses of Autohook from loghooks.cpp ( #812 )
...
* Manually hook TextMsg
* Manually hook fprintf
* Manually hook ConCommand_echo
* Manually hook EngineSpewFunc
* Manually hook Status_ConMsg
* Manually hook CClientState_ProcessPrint
* Remove AUTOHOOK_INIT and AUTOHOOK_DISPATCH_MODULE
2024-11-20 21:31:40 +01:00
Jack
90a06cd98b
engine: Remove uses of Autohook from runframe.cpp ( #810 )
...
* Manually hook CEngine__Frame
* Remove AUTOHOOK_INIT and AUTOHOOK_DISPATCH
2024-11-15 15:54:18 +01:00
Jack
13344f3910
server: Remove uses of Autohook from buildainfile.cpp ( #824 )
...
* Manually hook CAI_NetworkBuilder__Build
* Manually hook LoadAINFile
* Remove AUTOHOOK_INIT and AUTOHOOK_DISPATCH
2024-11-12 16:02:05 +01:00
Jack
0de2a3a1d9
Remove uses of Autohook from clientchathooks.cpp ( #819 )
...
* Manually hook CHudChat__AddGameLine
* Remove AUTOHOOK_INIT and AUTOHOOK_DISPATCH
2024-11-11 00:36:22 +01:00
Jack
10041ca495
mods: Remove uses of Autohook from modkeyvalues.cpp ( #818 )
...
Remove unused AUTOHOOK_INIT
2024-10-30 23:26:29 +01:00
Jack
41583e4f69
server: Remove uses of Autohook from serverauthentication.cpp ( #820 )
...
Manually hook
- `CBaseServer__ConnectClient`
- `CBaseClient__Connect`
- `CBaseClient__ActivatePlayer`
- `CBaseClient__Disconnect`
Remove `AUTOHOOK_INIT` and `AUTOHOOK_DISPATCH`
2024-10-30 23:15:40 +01:00
uniboi
27e1711316
plugins: Allow plugins to customize their log colors ( #823 )
...
Allows plugins to specify a custom colour for their indicator in the logs
2024-10-14 15:20:54 +02:00
Jack
42d97028e1
Fix rpak aliasing not working when trying to alias towards a vanilla rpak ( #825 )
...
Replace incorrect variable with hardcoded `-1`
Don't account for the modded path in pak aliases
2024-10-06 18:01:50 +02:00
F1F7Y
8a29c5bbd0
core: Remove unused SourceInterface class ( #816 )
...
Removes unused `SourceInterface` class, moves `InterfaceStatus` enum to `tier1.h`.
2024-10-06 09:59:22 +02:00
Gazyi
71349f05b6
Force _WIN32_WINNT variable ( #770 )
...
to avoid instant crashes on older Windows platforms.
2024-10-01 14:28:58 +02:00
Jack
6737a344c0
engine: Remove uses of Autohook from hoststate.cpp ( #806 )
...
Removes use of AUTOHOOK macro from hoststate.cpp.
2024-09-17 17:26:05 +02:00
Jack
ba485e9826
dedicated: Remove uses of Autohook from dedicatedmaterialsystem.cpp ( #800 )
...
Removes AUTOHOOK macro from dedicatedmaterialsystem.cpp
2024-09-17 17:08:47 +02:00
Jack
1f4765d4a8
dedicated: Remove uses of Autohook from dedicated.cpp ( #799 )
...
Removes use of AUTOHOOK macro from dedicated.cpp
2024-09-16 18:47:32 +02:00
uniboi
f9a97985da
plugins: Remove duplicate sqvm destroy log ( #822 )
2024-09-12 13:01:36 +02:00
p0358
8824340644
Set thread names for game threads ( #666 )
...
Adds nice thread names that can be visible in crash dumps, non-attachable debuggers and generally in all places where old method of throwing exceptions to attached debugger on game start wouldn't work
2024-09-08 00:48:12 +02:00