Commit Graph

723 Commits

Author SHA1 Message Date
momo5502
eb3fe7ae6f Prepare openssl key export 2023-04-21 16:48:08 +02:00
BrentVL-1952840
35d3fa04fe Small refactor 2023-04-20 22:33:00 +02:00
BrentVL-1952840
cc3bde3bba Use stoul instead of atoi 2023-04-19 08:51:53 +02:00
Maurice Heumann
6ce1dff30f Update structs.hpp 2023-04-19 06:02:07 +02:00
ineed bots
2f5980bcc8 Fix workaround for bad client reliableAcknowledge DOS
We should be checking the difference > 0; not just the reliableAcknowledge.
2023-04-18 21:33:24 -06:00
BrentVL-1952840
2c27b4fd6e Merge remote-tracking branch 'upstream/main' into mods 2023-04-18 19:11:17 +02:00
BrentVL-1952840
02d8e1237e Improve mod/usermap support 2023-04-18 19:11:11 +02:00
Maurice Heumann
c18b01fb55 Merge pull request #440 from WantedDV/create-a-class
Unlock all create class slots and sets
2023-04-18 19:02:29 +02:00
momo5502
ecf5d601c7 Add -norelaunch flag 2023-04-18 18:43:57 +02:00
WantedDV
ca1ce5aba0 Merge branch 'main' into create-a-class 2023-04-18 10:51:03 -02:30
WantedDV
420b894512 You had one job auto-formatter 2023-04-18 08:12:59 -02:30
Diavolo
93bb54c6a4 network: add comment 2023-04-18 12:17:41 +02:00
Diavolo
f27a1b97e7 network: improve a patch 2023-04-18 10:49:02 +02:00
ineed bots
b891d25b87 Fix cl warning 2023-04-17 22:04:57 -06:00
ineed bots
ddb63bc5d2 Fix negativeAck exploit (crash DOS) 2023-04-17 19:56:32 -06:00
momo5502
7f908163ca Small cleanup 2023-04-17 21:17:58 +02:00
momo5502
4cab2a73bd Better fix for clearing stored guids 2023-04-17 21:14:08 +02:00
momo5502
e6e2805466 Fix guid distribution for bots 2023-04-17 20:33:41 +02:00
momo5502
fa144b7dd6 Clear xuids before connecting 2023-04-17 20:08:49 +02:00
momo5502
6c07d84e23 Prepare colored name support 2023-04-17 18:42:52 +02:00
WantedDV
d069df0c86 associate cac item_id with cg_unlockall_cac_slots 2023-04-16 21:04:30 -02:30
WantedDV
af76836254 cg_unlockall_cac_slots dvar 2023-04-16 18:33:31 -02:30
Jari van der Kaap
f68c8269e3 changed pointers to references 2023-04-16 13:47:31 +02:00
Jari van der Kaap
764db3afea Merge remote-tracking branch 'upstream/main' into favorites 2023-04-15 22:07:37 +02:00
Jari van der Kaap
bb83d4b2f2 fixed feedback, fixed internet servers going into favorites tab, query only favorites 2023-04-15 21:55:36 +02:00
momo5502
230bd784f2 Remove unnecessary print 2023-04-15 15:01:21 +02:00
Maurice Heumann
6c51aeb8b6 Merge pull request #513 from Brentdevent/mods
Mods support for dedicated servers
2023-04-15 14:07:11 +02:00
Jari van der Kaap
5b62f29942 changed favorites file to txt file 2023-04-13 22:13:05 +02:00
BrentVL-1952840
81fe6bc7e1 Clean up + remove Com_Errors 2023-04-13 20:17:56 +02:00
Maurice Heumann
b89c0801b7 Merge pull request #501 from diamante0018/main
feat(patches): fix unknown password command
2023-04-13 17:46:43 +02:00
momo5502
62b14eb542 Prevent the game from modifying the process priority 2023-04-13 17:36:59 +02:00
BrentVL-1952840
2fb7b42be8 Catch parse errors 2023-04-13 13:40:19 +02:00
BrentVL-1952840
f3ffd7659e Remove const return type 2023-04-13 11:35:06 +02:00
Jari van der Kaap
b58c514261 feat: add support for favorites in the server browser 2023-04-12 23:41:45 +02:00
Maurice Heumann
e8dba61553 I'm fucking dumb 2023-04-12 18:50:39 +02:00
Maurice Heumann
c29d9e5806 Dispatch connect packet in the server thread 2023-04-12 18:43:16 +02:00
BrentVL-1952840
ad9613df17 Merge remote-tracking branch 'upstream/main' into mods 2023-04-12 17:01:58 +02:00
Maurice Heumann
4b1808c331 Merge pull request #505 from momo5502/feature/auth-protocol
Support packet fragmentation
2023-04-12 16:20:45 +02:00
Maurice Heumann
8022c0a26e Merge pull request #512 from diamante0018/diamante0018-patch-1
feat: add update flag
2023-04-12 15:48:48 +02:00
BrentVL-1952840
ee85545e5a Mods support for dedicated servers 2023-04-12 15:47:38 +02:00
Diavolo
231c19be93 feat: add update flag 2023-04-12 11:06:45 +02:00
Diavolo
222dcc91ef optimization(bots): remove outdated make_pair 2023-04-11 21:04:05 +02:00
Diavolo
64b58e7ead feat(patches): fix unknown password command 2023-04-11 20:51:46 +02:00
Maurice Heumann
4bffc7920d Support packet fragmentation 2023-04-11 20:48:14 +02:00
Diavolo
8bee19fa23 getinfo: use std::to_string where possible 2023-04-11 12:07:03 +02:00
Maurice Heumann
9747eaa58c Merge pull request #494 from JariKCoding/main
fix: support for hardcore on the server browser
2023-04-11 11:56:15 +02:00
Maurice Heumann
d973dba010 Update window.cpp 2023-04-11 08:21:06 +02:00
Jari van der Kaap
f605288954 changed string literal to %u 2023-04-11 00:38:45 +02:00
Jari van der Kaap
d4f91ef3a6 fix: support for hardcore on the serverbrowser 2023-04-11 00:27:21 +02:00
Maurice Heumann
1ae4cf0d86 Don't send profile infos
Temporary workaround for #480
2023-04-10 17:43:36 +02:00
momo5502
7f17d1b280 Add some logging 2023-04-10 17:14:25 +02:00
Jari van der Kaap
51582936c4 fix: added serverinfo struct 2023-04-10 16:37:32 +02:00
Jari van der Kaap
3729c0a6f1 Merge branch 'main' of https://github.com/JariKCoding/boiii 2023-04-10 15:15:39 +02:00
Jari van der Kaap
4a5b6d43d0 feat: added bots column on server browser 2023-04-10 15:15:12 +02:00
Maurice Heumann
601be011e1 Prepare sendpacket fixes 2023-04-10 15:05:35 +02:00
Maurice Heumann
282d5e97a3 Struct fixes 2023-04-10 15:05:35 +02:00
Maurice Heumann
a44675aa68 Print errors in connect stub 2023-04-10 15:05:34 +02:00
Edo
481e892351 use brace'd initializer 2023-04-10 10:20:48 +02:00
Diavolo
27c197e95e cleanup game settings 2023-04-10 10:13:14 +02:00
momo5502
9326405be3 Add profile info logging 2023-04-10 09:02:07 +02:00
BrentVL-1952840
229beb1bb7 Remove unused include 2023-04-09 19:48:17 +02:00
BrentVL-1952840
bd7355bf09 Give priority too boiii folder in root directory 2023-04-09 19:22:52 +02:00
BrentVL-1952840
825fc9f6f0 Stop executing default steam config files
Since we're setting up our config files differently for dedicated servers this is no longer necessary.
2023-04-09 17:59:08 +02:00
BrentVL-1952840
aef16d1e0c Allow custom gamesettings to be loaded from disk 2023-04-09 17:57:06 +02:00
Maurice Heumann
2d3ffb5bc6 Merge pull request #462 from momo5502/feature/auth-protocol
Finish profile info transmission
2023-04-09 09:58:39 +02:00
Vlad Loktionov
d8a8fee67e Make launcher window use dark mode 2023-04-08 00:35:41 +03:00
momo5502
fb57f0d55f Fix profile info distribution 2023-04-07 20:25:43 +02:00
Jari van der Kaap
b2214c40e2 feat #367: added Engine.IsBoiii to lua state 2023-04-07 18:34:28 +02:00
momo5502
4a9c1c8778 Merge remote-tracking branch 'origin/main' into feature/auth-protocol 2023-04-07 15:53:56 +02:00
momo5502
c096712dae Fix Scr_AddInt 2023-04-07 15:53:36 +02:00
momo5502
54519cdc0a Fix static assert 2023-04-07 14:52:39 +02:00
momo5502
f019f7f30a Remove debug print 2023-04-07 14:52:08 +02:00
momo5502
4661b26127 Revert "Temporarily diable new protocol to merge changes"
This reverts commit 6d0d3510646121acf41f3164e283b60201fa2d81.
2023-04-07 14:51:16 +02:00
momo5502
a28235df26 Temporarily diable new protocol to merge changes 2023-04-07 14:37:34 +02:00
momo5502
5ed2a1355e Use new util 2023-04-07 14:33:23 +02:00
momo5502
0738902f42 Merge remote-tracking branch 'origin/main' into feature/auth-protocol
# Conflicts:
#	src/client/game/utils.cpp
2023-04-07 14:32:56 +02:00
momo5502
f88c19bae2 Merge remote-tracking branch 'origin/main' into feature/auth-protocol
# Conflicts:
#	src/client/component/dedicated_patches.cpp
#	src/client/game/structs.hpp
#	src/client/game/symbols.hpp
2023-04-07 14:30:24 +02:00
momo5502
fd8460349f Cleanup cached profile infos 2023-04-07 14:25:56 +02:00
momo5502
9e7a567acb Fix xuid offset 2023-04-07 13:55:43 +02:00
momo5502
363f8cb01a Trigger pcache updates 2023-04-07 13:55:25 +02:00
momo5502
bee66b1e91 Finish profile infos 2023-04-07 10:46:09 +02:00
Diavolo
2f5eebebd0 getinfo: add sv_running & more utils 2023-04-07 10:41:22 +02:00
momo5502
26a56b0602 More profile info progress 2023-04-07 09:01:36 +02:00
BrentVL-1952840
a939a536f3 Workaround out-of-gobblegums 2023-04-06 23:55:10 +02:00
momo5502
c569ed5d8d Prepare profile info distribution 2023-04-06 22:04:20 +02:00
momo5502
70ea07fd90 Fix bytebuffer 2023-04-06 21:16:42 +02:00
Maurice Heumann
163f9c53b8 Some cleanup and svs_clients 2023-04-04 20:40:48 +02:00
Maurice Heumann
fcd41ddca8 Temporarily disable hooks 2023-04-04 20:40:20 +02:00
Diavolo
34eca16e16 feat: implement sv_lanOnly & fix heart beat delay 2023-04-04 18:25:36 +02:00
Diavolo
04ad73f5ea fix: this function did not need to be patched. Oops 2023-04-04 18:25:36 +02:00
Diavolo
45b1462dca fix: forgot to * the array of clients 2023-04-04 18:25:36 +02:00
Edo
4e713355f2 dedicated_patche: handle conversion to unsigned 2023-04-04 18:25:35 +02:00
Diavolo
fcec2f9b89 forgot to fill out rest of struct 2023-04-04 18:25:35 +02:00
Diavolo
23c7228214 fix getguid & getxuid 2023-04-04 18:25:35 +02:00
Diavolo
55c340c68f feat: implement sv_lanOnly & fix heart beat delay 2023-04-04 10:37:21 +02:00
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
momo5502
724c7026ef Prepare new authentication protocol 2023-04-03 17:38:03 +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
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
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