Commit Graph

406 Commits

Author SHA1 Message Date
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
2d2f1d2968 Prevent spawning bots when not being host
Fixes #253
2023-02-28 07:35:35 +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
Liam
59a5550eb0 Update src/client/component/getinfo.cpp
Co-authored-by: Maurice Heumann <MauriceHeumann@gmail.com>
2023-02-27 11:38:10 +00:00
Lierrmm
c3386b5258 feat: add is_host check to getinfo 2023-02-27 11:32:29 +00:00
Lierrmm
7d4f89b264 fix: remove unused detour 2023-02-27 10:47:54 +00:00
Lierrmm
7bf8abe917 feat: check client state before spawning bots 2023-02-27 10:46:44 +00:00
Lierrmm
b669a37632 revert: remove addtestclient changes from client_patches.cpp 2023-02-27 10:43:36 +00:00
Lierrmm
853266bd0e Merge branch 'main' of github.com:Lierrmm/boiii 2023-02-27 10:31:36 +00: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
Liam
582e4966e4 Merge branch 'momo5502:main' into main 2023-02-27 09:02:07 +00:00
Lierrmm
f3b9cd4a39 fix: handle addtestclient when not host 2023-02-27 09:01:57 +00: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
BrentVL-1952840
ca3c3a12d7 Potential fix dedicated servers loading offline classes 2023-02-26 14:31:23 +01:00
momo5502
7248ce7990 Enable socket broadcast support 2023-02-26 13:26:41 +01:00
momo5502
e121260701 Don't build dev builds anymore 2023-02-26 13:03:49 +01:00
Maurice Heumann
614200d429 Merge pull request #236 from mjkzy/script-error
don't make script errors fatal error
2023-02-26 11:18:53 +01:00
m
b26611382f don't make script errors fatal error 2023-02-26 04:08:38 -06:00
momo5502
ed2609d904 Kill lobby system
This is a step towards #100
2023-02-26 10:05:48 +01:00
momo5502
86e28acc48 Small cleanup 2023-02-26 10:05:48 +01:00
momo5502
03d0c384f9 Cleanup party.cpp 2023-02-26 10:05:48 +01:00
Maurice Heumann
4b7291cfb0 Merge pull request #238 from counter185/main
Lock game modes that are not installed
2023-02-26 08:55:54 +01:00
counter185
285f11c272 change get_path to get_folder 2023-02-26 08:01:59 +01:00
counter185
55fea07fef do the requested changes 2023-02-26 07:54:30 +01:00
Maurice Heumann
798ad84ed4 Merge pull request #240 from JariKCoding/main
Change execution of lua files ingame to after all stock scripts are executed and added lua fix for change teams button
2023-02-26 07:13:01 +01:00
Jari van der Kaap
a6906c51f6 fix: added hook to load new lua scripts after all stock lua scripts are executed 2023-02-26 00:20:39 +01:00
BrentVL-1952840
89f377f586 Make dedicated servers ranked 2023-02-25 19:26:40 +01:00
BrentVL-1952840
47c2a28b49 Fix server/client gametype out of sync 2023-02-25 18:46:00 +01:00
counter185
85df6c253f apps interface check if parts of the game are installed 2023-02-25 15:15:02 +01:00
Lierrmm
2b26b507aa fix: replace const auto with auto 2023-02-24 12:24:08 +00:00
Lierrmm
17eca76f0a feat: change const char* to char* 2023-02-24 12:14:16 +00:00
Lierrmm
cdcb1f474b feat: remove whitespace 2023-02-24 12:13:12 +00:00
Lierrmm
819550c89f feat: remove color prefixes from server name in console title 2023-02-24 10:56:39 +00:00
Maurice Heumann
f4047555b3 Merge pull request #226 from Brentdevent/zombie_intro
Fixes zombies intro & client sided issues with dedicated servers
2023-02-23 20:17:46 +01:00
BrentVL-1952840
1ad875ce8a Set correct data on client side to join dedis
- SetGameMode to default seems the way to go here, keeps switching teams available and makes sure online classes get previewed correctly.
- SetGameType needs to be called so it doesn't mix things what you have selected before in private match or played before on another dedicated server.
2023-02-23 20:04:41 +01:00
Maurice Heumann
ef51aac443 Remove pre-load phase 2023-02-23 19:45:10 +01:00
BrentVL-1952840
6aadfd04c7 Fix zombie intro skipping during map rotation 2023-02-23 19:37:38 +01:00
Maurice Heumann
56d7869a21 Fix cleanup 2023-02-23 19:23:24 +01:00
Maurice Heumann
4b0e45fb6a Load extension library 2023-02-23 17:13:44 +01:00
BrentVL-1952840
f99c9d740e Merge remote-tracking branch 'upstream/main' into connect 2023-02-23 09:56:00 +01:00
BrentVL-1952840
d1b0ed9e56 Force dedicated servers in online mode 2023-02-23 09:55:36 +01:00
Maurice Heumann
4fbb3fdc11 Fix dedicated server crashes 2023-02-22 19:53:42 +01:00
momo5502
6114357110 Skip launcher in wine for now 2023-02-22 17:48:45 +01:00
Maurice Heumann
6716c828db Merge pull request #218 from Brentdevent/zombie_dedi
Allow clients to connect to dedicated zombie servers
2023-02-21 21:18:40 +01:00
Maurice Heumann
d3095127a2 Precompute integrity checks 2023-02-21 21:07:45 +01:00
BrentVL-1952840
4c8df5d6cc woops 2023-02-21 21:06:39 +01:00