Commit Graph

710 Commits

Author SHA1 Message Date
Diavolo
d29b40c618 fix: this function did not need to be patched. Oops 2023-04-03 21:54:00 +02:00
Diavolo
924abd0ed5 fix: forgot to * the array of clients 2023-04-03 21:51:30 +02:00
Edo
a6a7c81c2d dedicated_patche: handle conversion to unsigned 2023-04-03 19:54:45 +02:00
Diavolo
5848a271a0 forgot to fill out rest of struct 2023-04-03 19:18:37 +02:00
Diavolo
f9812773dd fix getguid & getxuid 2023-04-03 19:14:45 +02:00
Maurice Heumann
27ab6193e5 Prepare auth data 2023-04-03 19:03:54 +02:00
Maurice Heumann
859bd373c7 Merge remote-tracking branch 'origin/main' into feature/auth-protocol 2023-04-03 17:39:22 +02:00
momo5502
724c7026ef Prepare new authentication protocol 2023-04-03 17:38:03 +02:00
Edo
6021d8b5c3 maint(info_string): do not use iterator 2023-04-03 13:24:20 +02:00
momo5502
dae6173bdf Fix auth component 2023-04-02 20:51:02 +02:00
momo5502
b2faf1c72e Prepare auth protocol 2023-04-02 20:45:26 +02:00
momo5502
ec31664c52 Small cleanup 2023-04-02 19:46:11 +02:00
momo5502
8fd5a82153 Support custom sv param construction 2023-04-02 18:41:40 +02:00
momo5502
f75da130da Small cleanup 2023-04-02 18:38:58 +02:00
momo5502
5ed2da8553 Cleanup demonware services 2023-04-02 09:23:45 +02:00
momo5502
89103ed672 Prepare distributing profile infos 2023-04-02 09:10:18 +02:00
Edo
3f224fe69f Update chat.cpp 2023-04-01 14:14:24 +02:00
Diavolo
007b7e033b feat(chat): g_deadChat functionality 2023-04-01 14:00:09 +02:00
Maurice Heumann
c7bb47cd08 Add -noupdate flag 2023-03-28 19:06:48 +02:00
BrentVL-1952840
d9cd7e3071 Use correct bdPublicProfileInfo version 2023-03-28 00:45:17 +02:00
BrentVL-1952840
40a48f564e Fix maximum players on servers 2023-03-24 10:48:52 +01:00
BrentVL-1952840
fda91384ec Fix gametype in loading screen 2023-03-23 21:21:42 +01:00
Maurice Heumann
0fb095b2eb More cleanup 2023-03-23 20:12:01 +01:00
Maurice Heumann
a7737c6d45 Small cleanup 2023-03-23 20:08:43 +01:00
Maurice Heumann
51ea9454f4 Merge pull request #387 from mjkzy/new-chat
Deprecate killfeed and use new chat system
2023-03-23 20:03:13 +01:00
Maurice Heumann
cb3f6f020f Resolve server name
#341
2023-03-23 20:01:55 +01:00
m
940b8532fa use reliable 2023-03-23 13:55:39 -05:00
Maurice Heumann
48dfcd2687 Support headless console mode
Fixes #384
2023-03-23 19:46:58 +01:00
Maurice Heumann
36e15ef457 Add client symbol 2023-03-23 19:41:19 +01:00
m
84b4a2ae59 use new chat system 2023-03-23 13:35:58 -05:00
Maurice Heumann
f50e2d3f5d Send chat as reliable command to avoid duplications
#341
2023-03-23 18:23:53 +01:00
BrentVL-1952840
2fb025395e Patch more name length checks 2023-03-23 18:07:31 +01:00
FutureRave
5795836d93 fix(rcon): add response to say/tell commands 2023-03-23 13:29:58 +00:00
Maurice Heumann
3f3810a81f Merge pull request #328 from WantedDV/modified-playlist
Support all game modes for public matches
2023-03-23 13:58:23 +01:00
BrentVL-1952840
ee2e53d00b Fix non-teambased scoreboards 2023-03-23 11:27:38 +01:00
Maurice Heumann
037efe8fe6 Allow running the visual studio debugger 2023-03-22 19:10:07 +01:00
Maurice Heumann
6710b231e7 Add missing symbol address 2023-03-22 18:49:55 +01:00
Maurice Heumann
b8751df584 Cleanup say and tell commands 2023-03-22 18:49:48 +01:00
Edo
a6990bc0f1 maint(utils): use * to indicate pointers 2023-03-22 13:36:44 +00:00
FutureRave
69cae13da1 feature: name g_log dvar 2023-03-22 13:19:43 +00:00
Maurice Heumann
6378f8c392 Add temporary workaround for not working say and tell command
#341
2023-03-21 21:04:28 +01:00
Maurice Heumann
9afeee582d Small cleanup 2023-03-21 19:19:31 +01:00
Edo
fcc7efaf23 fix: make sure rcon is handled at the right time 2023-03-21 17:32:16 +00:00
Maurice Heumann
166ff6f429 Notify about initial network requirement 2023-03-21 17:36:39 +01:00
BrentVL-1952840
ab10d3641f Use call_safe method instead 2023-03-20 21:38:15 +01:00
BrentVL-1952840
a04e9ade85 Merge remote-tracking branch 'upstream/main' into dvar_sessionmode 2023-03-20 21:29:41 +01:00
momo5502
d7bac40370 Properly fake the call checks 2023-03-20 21:25:12 +01:00
BrentVL-1952840
b8a8125750 Merge remote-tracking branch 'upstream/main' into dvar_sessionmode 2023-03-20 19:25:00 +01:00
momo5502
3a2c94faef Make sure to save all GP registers 2023-03-20 18:40:53 +01:00
Michael
0483ee2bd6 Move 4 char name fix to patches.cpp 2023-03-20 08:36:19 -04:00
Michael
c796aea416 Change 4 character name limit to 2 characters 2023-03-19 23:26:39 -04:00
momo5502
638ea0862a Fix callable symbols 2023-03-19 21:22:59 +01:00
momo5502
32040ce966 Override localized strings 2023-03-19 19:37:35 +01:00
momo5502
de3c598885 Add call_safe method to symbols to spoof call stack 2023-03-19 18:27:47 +01:00
BrentVL-1952840
cace0ece8c Also skip DOA/Campaign intro 2023-03-18 18:44:44 +01:00
BrentVL-1952840
f4f50d2c55 Patch value sessionmode bool dvar for every mode by default 2023-03-18 18:37:30 +01:00
BrentVL-1952840
76c4c44583 Fix registering sessionmode bool dvars not setting its value 2023-03-18 16:08:50 +01:00
momo5502
c7b21d6419 Add some more branding 2023-03-18 09:14:54 +01:00
momo5502
c1d6d791c6 Increase cl_maxpackets to 100 2023-03-18 08:57:56 +01:00
Mike
75c60160f7 Merge branch 'momo5502:main' into main 2023-03-17 19:17:31 -04:00
Michael
4437a8d10e Unlock secret entitlement calling cards. 2023-03-17 19:10:24 -04:00
momo5502
b5d30563af Fix dof hook 2023-03-17 19:53:10 +01:00
momo5502
71009dd628 Enable lagometer 2023-03-17 19:24:44 +01:00
momo5502
1af37a9703 Temporarily disable dof hook 2023-03-17 19:17:11 +01:00
WantedDV
6c7cbdb5e7 disable paintshop optimizations
- Fix DW typo for ZMHD Thermometer
- Reenable Profanity Filter
2023-03-17 11:09:54 -02:30
Mike
4715f22611 Merge branch 'momo5502:main' into main 2023-03-17 08:46:23 -04:00
Maurice Heumann
853f429834 Merge pull request #351 from Brentdevent/dvar_patches
Remove schedule delay dvar patches
2023-03-17 07:49:51 +01:00
BrentVL-1952840
e53dcce24c Remove schedule time dvar patches 2023-03-16 23:21:26 +01:00
momo5502
5532980cc6 Support UGC on steam deck 2023-03-16 21:50:49 +01:00
WantedDV
a34203302c allow all appropriate size maps for every gametype
- update smallmaps list
- Rupture does not play well in most gametypes so move to bigmaps list
2023-03-16 15:47:18 -02:30
Michael
06f7bd24a9 Unlock Dark Matter camo.
Add unlock all specialists outfits.
Change emblems_and_backings dvar to a more user friendly name.
Add unlock specialists outfits to lua menu.
Remove stdcall from typedef.
2023-03-16 13:48:57 -04:00
BrentVL-1952840
78036681ea Merge remote-tracking branch 'upstream/main' into dvar_patches 2023-03-16 13:18:27 +01:00
BrentVL-1952840
7cc80c71ec Refactor 2023-03-16 13:14:58 +01:00
BrentVL-1952840
c42f333b99 Update dvars.cpp 2023-03-16 13:14:33 +01:00
BrentVL-1952840
8379f314fd Add dvars patches 2023-03-16 13:12:53 +01:00
BrentVL-1952840
2099fc78a7 Kill deleting archive dvars debug names function 2023-03-16 13:09:09 +01:00
Maurice Heumann
5ea5c864b1 Update rcon.cpp 2023-03-16 12:46:24 +01:00
Maurice Heumann
5f82e480c6 Update rcon.cpp 2023-03-16 08:07:21 +01:00
Michael
f0e76a4e06 Update unlock all options.
Include reticles with the unlockall camos option.
Add unlock all emblems and backings.
Added camo and emblems to lua menu.
2023-03-14 22:49:54 -04:00
Michael
8da07b8c1d Fix dvar_t struct.
Update references to DvarValue struct.
2023-03-14 14:32:08 -04:00
Maurice Heumann
85794fd992 Implement rcon support
This fixes #337
2023-03-14 19:12:50 +01:00
WantedDV
52544aff4c Remove 2xp scale and revert some dvars:
- disabled paintshop optimizations
- restore parking tuning to unused state
- restore probation for leagues
- restore codpoints default
- disable bribe bundle. Blackmarket not supported
- disable Thermometer widget
2023-03-14 10:23:25 -02:30
WantedDV
97b0b31a6d restore some defaults 2023-03-14 08:03:33 -02:30
WantedDV
f7adda51a6 Increase player limit to 18 2023-03-13 23:31:19 -02:30
WantedDV
8a7ad8b683 fix delayed start to infected and prop hunt
- disabled additional 30s timer. 15s is long enough.
2023-03-13 23:17:26 -02:30
momo5502
91a8b5bf94 Remove leftovers 2023-03-13 20:35:49 +01:00
momo5502
a3769a4489 Rundimental ingame chat support
Technically, this implements #168.
However, it's very ugly, so it needs cleanup.
2023-03-13 20:34:18 +01:00
WantedDV
451dcba221 core game modes use event defaults
- to show featured event coment out `rule playlist_hide x`
- set event default lootxp_multiplier 1.0
- restore default big_tdm scorelimit 100
2023-03-13 14:21:55 -02:30
WantedDV
28d3d21ae1 comment unused dvar party_matchedplayercount 2023-03-13 12:18:01 -02:30
WantedDV
c1dadcffa5 cleanup inconsistent whitespace 2023-03-13 11:47:47 -02:30
project-bo4
069749f915 bdProfiles service
fixes profile customization lockout(calling card and emblem only?)

Not tested on public games but clearly others players still wont see real info since your dw server is emulated locally and does not provide connectivity between players.

in case you want to adopt it with your system basically  one way might be somehow merging it with any of ddl's shared with dedicated servers; not so familiar with how it works.
2023-03-13 06:37:51 -07:00
WantedDV
541ed8eda6 Fix kill confirmed showing in both menus
- removed bonus icon
- Added Nuk3town 24/7 in case Nuk3jacked wasn't enough
2023-03-12 19:53:52 -02:30
WantedDV
0b97844c81 modified playlist
- add all game modes to selection list
- random map now chosen with equal priority across all maps
- set 2xp as default
2023-03-12 16:49:05 -02:30
Maurice Heumann
5090723010 Respect net_port and prevent game from binding other sockets 2023-03-12 14:56:16 +01:00
Maurice Heumann
af613b26dd Format network.cpp 2023-03-12 14:55:58 +01:00
Maurice Heumann
cf53fd9366 Activate before storing 2023-03-12 12:06:14 +01:00
momo5502
55c208fb4f Ignore client server index mismatch
#293
2023-03-12 10:01:16 +01:00
Jari van der Kaap
22f8b4b1d3 fix: unpausing game doesn't cause reloading of lua files anymore 2023-03-11 23:31:13 +01:00
Jari van der Kaap
5ed8b1dbce feat: added new options on the stats menu 2023-03-10 23:58:57 +01:00
momo5502
d0bc6f17b7 Use utf8 json 2023-03-10 20:30:53 +01:00
Maurice Heumann
11cf97349c Disable console on steam deck unless requested with -console 2023-03-09 18:44:37 +01:00
BrentVL-1952840
9f8537ae7b Merge remote-tracking branch 'upstream/main' into usermaps 2023-03-08 22:00:46 +01:00
BrentVL-1952840
c73896456f Add usermap support 2023-03-08 22:00:41 +01:00
Maurice Heumann
81d4cc47b4 Prepare overwriting the player name
Step 1 for #47
2023-03-07 19:23:08 +01:00
Maurice Heumann
73f9859eed Support fetching the windows username 2023-03-07 18:33:39 +01:00
Maurice Heumann
dbee7d9741 Add Dvar_RegisterString 2023-03-07 18:33:27 +01:00
Maurice Heumann
64e0e05e1e Properly kill voice chat 2023-03-07 17:01:51 +01:00
Maurice Heumann
a9614cdd4d Kill voice chat 2023-03-07 16:59:19 +01:00
Maurice Heumann
39bb77b780 Fix reconnect command
This fixes #160
2023-03-06 18:50:04 +01:00
BrentVL-1952840
45a20fceb4 Change some addresses for ranked dedis 2023-03-05 21:41:29 +01:00
BrentVL-1952840
f6848bda00 Client side progression / ranked when mod loaded 2023-03-05 21:39:13 +01:00
momo5502
7b65522186 Switch back to register component as all components have been adjusted 2023-03-05 10:47:12 +01:00
momo5502
2872dbf6a2 Fix more addresses and components 2023-03-05 10:39:12 +01:00
momo5502
4289d692a7 Adjust server components 2023-03-05 10:34:43 +01:00
momo5502
ef3c1186ce Adjust colors component 2023-03-05 10:31:49 +01:00
Maurice Heumann
3dbe6a7798 Merge pull request #283 from Brentdevent/steam_update
Fix wrong function hook
2023-03-04 19:56:49 +01:00
BrentVL-1952840
22e28fa0e7 Fix wrong function hook 2023-03-04 19:11:27 +01:00
momo5502
1d54bfb6f6 Fix extension 2023-03-04 19:09:47 +01:00
BrentVL-1952840
025dc6d945 Remove comment 2023-03-04 18:11:14 +01:00
BrentVL-1952840
a1d46ba594 Update ui_scripting 2023-03-04 18:09:39 +01:00
BrentVL-1952840
daa32e9080 Update bots 2023-03-04 17:34:04 +01:00
BrentVL-1952840
68c2459b9c Update script 2023-03-04 17:08:19 +01:00
BrentVL-1952840
8b57c4794a Update loot 2023-03-04 17:05:55 +01:00
BrentVL-1952840
dc3278e071 Update getinfo 2023-03-04 16:50:42 +01:00
BrentVL-1952840
89e14e8bbb Update dvars 2023-03-04 16:41:31 +01:00
BrentVL-1952840
149ac1a219 Update client_patches 2023-03-04 16:29:40 +01:00
BrentVL-1952840
e1d1400737 Update command 2023-03-04 16:24:09 +01:00
BrentVL-1952840
abde1e009f Update branding 2023-03-04 16:18:37 +01:00
BrentVL-1952840
aa1ed82eda Forgot an address in party.cpp 2023-03-04 16:03:27 +01:00
BrentVL-1952840
128df546f1 Update scheduler 2023-03-04 15:55:41 +01:00
BrentVL-1952840
eee4fc5cd1 Update patches 2023-03-04 15:42:53 +01:00
BrentVL-1952840
70e405f0c4 Update party 2023-03-04 15:42:44 +01:00
BrentVL-1952840
b274a499d0 Update network 2023-03-04 15:42:31 +01:00
BrentVL-1952840
5633de340d Update symbols 2023-03-04 15:02:08 +01:00
BrentVL-1952840
af7ad43b80 Update auth 2023-03-04 13:54:47 +01:00
momo5502
8c5984220d Fix messages 2023-03-04 13:51:05 +01:00
momo5502
174408fc9e Merge remote-tracking branch 'origin/main' into feature/steam-update 2023-03-04 13:44:15 +01:00
momo5502
f825668720 Detect steam update 2023-03-04 13:42:56 +01:00
momo5502
aabacaa1ab More working components 2023-03-04 13:34:23 +01:00
momo5502
7a99c23093 Add some components that work out of the box 2023-03-04 13:27:33 +01:00
BrentVL-1952840
de9e239711 Update console 2023-03-04 12:36:06 +01:00
momo5502
375c77fd04 Update demonware 2023-03-04 11:45:55 +01:00
momo5502
8d3fd2d92d Adjust integrity check patches 2023-03-04 10:55:31 +01:00
momo5502
2a9c293472 Get things to work with the latest steam update 2023-03-04 10:41:20 +01:00
momo5502
b8505abef1 Switch to -unsafe-lua commandline argument
This fixes #264
2023-03-02 21:06:52 +01:00
momo5502
7ff229537b Always trigger updates 2023-03-01 20:10:24 +01:00
momo5502
8a13480695 Fix updater overwriting game binaries
This fixes #262
2023-03-01 19:41:08 +01:00
momo5502
ab25c7ce7c Adapt memory allocation to the allocation granularity of the system
Maybe a fix for #265
2023-03-01 19:01:37 +01:00
momo5502
37d067a401 More cleanup 2023-03-01 06:58:20 +01:00
momo5502
6d6fcf5e65 Small cleanup 2023-03-01 06:54:41 +01:00
Jari van der Kaap
5735344152 fix: Fixed casting error 2023-03-01 00:13:25 +01:00
Jari van der Kaap
6baee87d6e Added compiled GSC loading by overriding existing scripts & implemented fix for change team not being available 2023-02-28 23:58:07 +01:00
Brentdevent
340ed7b671 Merge branch 'momo5502:main' into dvar_hash 2023-02-28 20:27:46 +01:00
BrentVL-1952840
e4735d0337 Forgot to add server address 2023-02-28 20:27:03 +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
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