Commit Graph

18 Commits

Author SHA1 Message Date
BrentVL-1952840
2099fc78a7 Kill deleting archive dvars debug names function 2023-03-16 13:09:09 +01:00
Jari van der Kaap
5ed8b1dbce feat: added new options on the stats menu 2023-03-10 23:58:57 +01:00
momo5502
7b65522186 Switch back to register component as all components have been adjusted 2023-03-05 10:47:12 +01:00
BrentVL-1952840
89e14e8bbb Update dvars 2023-03-04 16:41:31 +01:00
momo5502
b8505abef1 Switch to -unsafe-lua commandline argument
This fixes #264
2023-03-02 21:06:52 +01:00
momo5502
7fdbfc2370 Only schedule dvar save for archive dvars 2023-02-28 19:46:19 +01:00
BrentVL-1952840
f33f30a2de Fix only write archive dvars and use new dvar list 2023-02-28 19:33:29 +01:00
momo5502
d09c545f03 Schedule dvar write only every 5s 2023-02-27 18:23:25 +01:00
momo5502
6335a58bd5 Cleanup dvars.cpp 2023-02-27 18:23:14 +01:00
BrentVL-1952840
e6b0995c34 decomposing the subrange 2023-02-27 11:17:22 +01:00
BrentVL-1952840
947318deac Use std::ranges::remove instead 2023-02-27 11:04:14 +01:00
BrentVL-1952840
885b1449a1 Remove carriage return from file 2023-02-27 10:52:25 +01:00
BrentVL-1952840
7c755c106a dvar stuff
-Read dvar names and hashes from file and copy dvar name to each known dvar from pool.
-Hook dvar_foreach functions to show them in the ingame client console.
-Patch some dvar flags checks to show them in dvarlist/dvardump command
-Patch a dvar flag check that doesn't allow some dvars to be recognized when typed in console.
2023-02-26 22:45:48 +01:00
Jari van der Kaap
bba4efda62 fix: initial config.cfg now gets created and dvar strings now get written correctly 2023-02-18 20:19:09 +01:00
Jari van der Kaap
d372fc33f6 Removed unused code, made get_host_library private again 2023-02-13 21:50:19 +01:00
Jari van der Kaap
a045200523 Added dvars loaded scheduler event, fixed issues with new dvars resetting on match load, fixed issue with blackjack not being available at restart of the game 2023-02-11 20:40:26 +01:00
Jari van der Kaap
52005ab43f Added a security check for unsafe lua functions that can be turned on/off with a dvar 2023-02-11 17:31:21 +01:00
Jari van der Kaap
d25d6a7c10 Added config file for saved dvars and added menu for unlocking loot 2023-02-02 23:43:58 +01:00