Commit Graph

442 Commits

Author SHA1 Message Date
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
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
Lierrmm
2b26b507aa fix: replace const auto with auto 2023-02-24 12:24:08 +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
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
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
BrentVL-1952840
d35c2a99cf Fix connecting to zombie dedicated servers 2023-02-21 20:49:35 +01:00
Maurice Heumann
373fe1655a Merge pull request #216 from diamante0018/main
fix: iw4m compat
2023-02-21 18:15:53 +01:00
Diavolo
a3cc49bd66 feat: iw4m compat 2023-02-21 18:00:59 +01:00
Maurice Heumann
77abb1a7e1 Cleanup 2023-02-21 17:48:00 +01:00
Jari van der Kaap
11516da3af feat: added lua scripting to dedis 2023-02-20 23:30:56 +01:00
momo5502
7edeedacc8 Only intercept stats transfer when really joining a dedi
This fixes #137
2023-02-19 17:18:10 +01:00
Jari van der Kaap
e86720535e feat: added bot count to getinfo 2023-02-18 22:07:45 +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
momo5502
3d17f984c9 More cleanup 2023-02-18 19:38:29 +01:00
momo5502
825c9da47e Support new update mechanism 2023-02-18 19:15:47 +01:00
momo5502
228f943983 Extend ui scripting to support loading from appdata 2023-02-18 19:13:56 +01:00
momo5502
ccbb8e411c Cleanup dedicated info 2023-02-18 19:12:53 +01:00
Maurice Heumann
a06d709b33 Merge pull request #187 from Brentdevent/server_console_name
Change server console window title to server name
2023-02-18 15:09:33 +01:00
BrentVL-1952840
c2dca8c081 Changes server console title
- Separate function
- Changing the window title when the server is not running
2023-02-18 10:22:19 +01:00
BrentVL-1952840
c7c10051fc Include more data in console title
Console title contains the following data:
- Server name
- Current map name
- Total players on server / max players (bots)
2023-02-17 20:45:19 +01:00
Edo
680eddd7aa fix: remove name 2023-02-17 12:26:40 +00:00
FutureRave
a0dedc2a52 maint: fix line endings in the scheduler 2023-02-17 10:58:15 +00:00
FutureRave
83b750d17e maint: add some extra bot names by default 2023-02-17 10:51:47 +00:00
Maurice Heumann
888bb6c14d Update client_patches.cpp 2023-02-17 08:36:58 +01:00
BrentVL-1952840
dfe4b43502 dvar nullptr check 2023-02-16 23:52:51 +01:00
FutureRave
5b387622f4 fix(bots): rename parameter 2023-02-16 22:32:05 +00:00
FutureRave
9c428ee187 feature(bots): names & custom clantag 2023-02-16 22:29:24 +00:00
BrentVL-1952840
38f4387c52 Change console window title to server name 2023-02-16 23:09:37 +01:00
Maurice Heumann
09a60ffba4 Add ASLR fix 2023-02-16 19:38:13 +01:00
Maurice Heumann
aeccf2e79c Kill microphone access for now
This fixes #108
2023-02-16 19:19:00 +01:00
Maurice Heumann
c5511a2bae Merge pull request #154 from JariKCoding/main
UI Scripting, dvars cfg file, basic stats menu
2023-02-16 18:16:11 +01:00
Jari van der Kaap
d372fc33f6 Removed unused code, made get_host_library private again 2023-02-13 21:50:19 +01:00
Maurice Heumann
079993d5fa Add missing parameter to CL_ConnectFromLobby 2023-02-13 19:42:35 +01:00
Maurice Heumann
65248326c1 Fix stuttering on AMD
Fix for #147
2023-02-13 18:49:19 +01:00
Maurice Heumann
d3296528e4 Test AMD CPU fix
Maybe a fix for #147
2023-02-13 11:48:03 +01:00
Jari van der Kaap
8d1825d12f Merge remote-tracking branch 'upstream/main' 2023-02-12 19:47:38 +01:00
Jari van der Kaap
da43fb33ee Added luiReload command 2023-02-12 19:32:33 +01:00
momo5502
97bb7ae49b Send heartbeat after maprotation 2023-02-12 14:11:59 +01:00
momo5502
2826053c66 Delay sending the heartbeat packet 2023-02-12 11:33:33 +01:00
momo5502
21b0e419bd Automatically trigger map rotation
This maybe fixes #129
2023-02-12 10:51:15 +01:00
momo5502
d8e862819b I'm a fucking retard.
This fixes #145
2023-02-12 10:11:24 +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
Maurice Heumann
cf61232020 Fix dedicated server heartbeats 2023-02-08 18:27:30 +01:00
Maurice Heumann
3ec1361ed9 Remove debug count 2023-02-07 19:27:03 +01:00
momo5502
736c4735c0 Fix client counts 2023-02-07 19:21:25 +01:00
momo5502
34291fb4d3 Correct max player count 2023-02-07 18:56:16 +01:00
Maurice Heumann
a2f52bce23 Run dedis without steam 2023-02-05 19:53:48 +01:00
Maurice Heumann
a15d6df35b Regularly send server heatbeats 2023-02-05 19:39:44 +01:00
Maurice Heumann
e8372463cd Remove bad stats hook 2023-02-05 19:08:47 +01:00
Maurice Heumann
513f673c01 Add serverlist support 2023-02-05 19:08:36 +01:00
Maurice Heumann
5a7be3732c Small cleanup 2023-02-05 10:19:00 +01:00
Maurice Heumann
89d055a559 Skip the intro for dev builds
#128
2023-02-05 10:18:41 +01:00
Maurice Heumann
74bb7bcf0b Handle stats transfer for dedis
Ugly workaround for #98
2023-02-04 16:17:44 +01:00
Maurice Heumann
ba1b66294c Remove experiments 2023-02-04 16:02:20 +01:00
Maurice Heumann
e88ad62b4d Experiments 2023-02-04 15:53:54 +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
Jari van der Kaap
43364491ab Changed UI Scripting init on frontend to different hook when everything is initialized 2023-02-02 23:43:12 +01:00
Jari van der Kaap
6ac79fa98b Changed back uiscripting require path for loaded scripts to relative path 2023-02-02 23:43:12 +01:00
Jari van der Kaap
3adfdbddaf Add UI Scripting support 2023-02-02 23:43:12 +01:00
Maurice Heumann
6545ca963c Adjust launcher 2023-01-31 18:56:21 +01:00
Maurice Heumann
b82d2d9438 Extract updater 2023-01-31 18:13:54 +01:00
momo5502
f2924eee05 Early DPI awareness 2023-01-30 18:38:41 +01:00
momo5502
3ad19292a9 Wait for console start 2023-01-26 20:36:14 +01:00
Maurice Heumann
ce2f04ef12 Small renaming 2023-01-24 18:54:29 +01:00
Maurice Heumann
d547aa6065 Merge pull request #106 from mjkzy/gsc
fix infinite loop
2023-01-10 11:00:11 +01:00
m
f9939aa2ab Update and rename patches.cpp to dedi_patches.cpp 2023-01-09 16:23:29 -06:00
m
f36ca5600f Update patches.cpp 2023-01-09 16:20:28 -06:00
m
15fdb6340f fix infinite loop 2023-01-09 16:03:43 -06:00
Diavolo
c92d3a9932 fix(network): add is_server check 2023-01-09 22:51:37 +01:00
Maurice Heumann
37edda91d9 Disable color hooks until needed 2023-01-09 19:03:13 +01:00
Edo
907fa4bfa6 fix: add _g here as well 2023-01-09 17:40:08 +01:00
Edo
be92257abf fix: add elusive g 😱 2023-01-09 17:39:35 +01:00
Diavolo
549064fa64 fixes for iw4m, gsc, notifes and more 2023-01-09 16:53:51 +01:00
Maurice Heumann
e7de6af00a Automatically stop cinematic when joining zombies matches
Fixes #97
2023-01-08 16:14:06 +01:00
Maurice Heumann
5f4f498a1e Prepare team assignment fix 2023-01-07 13:46:23 +01:00
Maurice Heumann
db8c81e591 Remove leftovers 2023-01-07 13:46:23 +01:00
Maurice Heumann
89508ea244 Prepare colored name support 2023-01-07 13:46:23 +01:00
Maurice Heumann
09e208bcf7 Small fix 2023-01-06 10:39:07 +01:00
Maurice Heumann
4312255566 Adjust console for servers 2023-01-06 10:29:24 +01:00
Maurice Heumann
7052ef8407 Support bots on servers 2023-01-02 15:18:37 +01:00
Maurice Heumann
55f12e3313 Basic working dedicated server support 2023-01-02 13:57:00 +01:00
Maurice Heumann
59586e18e6 Rename component interfaces 2023-01-01 21:51:04 +01:00
Maurice Heumann
3a6f973473 Prepare dedicated server support 2023-01-01 21:48:32 +01:00
Maurice Heumann
f4a4a95674 Add spawnBot command
This fixes issue #69
2022-12-31 12:18:09 +01:00
Maurice Heumann
967e11bcd0 Remove dummy command 2022-12-30 20:35:29 +01:00
Maurice Heumann
a7f60aeae2 Add custom command support 2022-12-30 19:17:36 +01:00
Maurice Heumann
9ab865ad2a Switch mode when necessary 2022-12-13 19:11:49 +01:00
Maurice Heumann
c89ee22517 Add color patches 2022-12-11 20:56:48 +01:00
Maurice Heumann
84e29b11d8 Fix command handling 2022-12-09 18:23:23 +01:00
Maurice Heumann
c2f1e8985d Switch guid for second instance 2022-12-04 20:32:35 +01:00
Maurice Heumann
c8cfb1f470 Small fixes 2022-12-04 19:59:35 +01:00
Maurice Heumann
d1337fc794 Use jpg compressed resources 2022-12-04 12:24:21 +01:00
Maurice Heumann
1614566a9a Cleanup steam proxy 2022-12-04 11:09:08 +01:00
Maurice Heumann
e22eccb342 More cleanup 2022-12-03 19:56:24 +01:00
Maurice Heumann
72d7217c4b Call callbacks more often 2022-11-30 19:22:20 +01:00
Maurice Heumann
d5ccf4c7a3 Add discord rich presence 2022-11-30 18:02:57 +01:00
Maurice Heumann
6fd413db8a Small formatting fixes 2022-11-29 08:07:29 +01:00
Jari van der Kaap
9d6c209cf8 Added extra CaC slots, unlocked CWL camo's, paid specialist outfits and gobblegums 2022-11-29 00:09:44 +01:00
Jari van der Kaap
dd07fbddf7 Fixed class not selectable when dlc weapon is included 2022-11-28 22:15:58 +01:00
Jari van der Kaap
87ba0f58af Enabled Blackjack & first test for enabling DLC weapons 2022-11-28 00:30:29 +01:00
momo5502
a135bdba9c Prepare dedicated component 2022-11-24 17:25:37 +01:00
momo5502
c4987fc871 Generate guid through hardware identifiers 2022-11-21 20:45:29 +01:00
FutureRave
337b52891c refactor(io): use the filesystem library where appropiate 2022-11-21 18:35:15 +00:00
FutureRave
cae0793e7f refactor(cmd): add support for cmds + cleanup 2022-11-21 18:08:27 +00:00
momo5502
1bb9add331 Overwrite bot names 2022-11-20 17:44:08 +01:00
momo5502
97ddddef78 Remove unused headers 2022-11-20 16:43:25 +01:00
momo5502
ff2db2330c Update ugc vtable id 2022-11-20 16:43:25 +01:00
momo5502
82270c0b78 Cleanup game 2022-11-11 17:19:26 +01:00
momo5502
ef39098e28 Refactor the component system 2022-11-11 17:00:34 +01:00
momo5502
13be8f3894 Get rid of the runner 2022-11-11 16:21:24 +01:00
momo5502
44eecdd76b Fix error messages 2022-11-09 20:19:28 +01:00
momo5502
9a7b72dcd5 Rename pre_start to post load and introduce pre_load event 2022-11-09 20:19:16 +01:00
momo5502
c974e12731 Fix splash icon 2022-11-09 18:33:20 +01:00
momo5502
e801078621 Disable icon component 2022-11-09 18:14:39 +01:00
momo5502
908d480e59 Finish process wrapper 2022-11-09 18:10:34 +01:00
momo5502
3ca2c0dbec Small cleanup and utils 2022-11-08 17:58:57 +01:00
momo5502
a9ef15c526 Change application icon 2022-10-30 11:43:06 +01:00
momo5502
6b31b2a7ae Some experiments 2022-10-29 20:21:13 +02:00
momo5502
442a8f2f6f Small changes 2022-10-29 20:05:22 +02:00
momo5502
c898746026 More connection progress 2022-10-28 22:16:14 +02:00
momo5502
1f525186e9 Prepare connecting 2022-10-28 20:34:10 +02:00
momo5502
5c1fe422e4 Make socket byte optional to support legacy protocols 2022-10-28 18:27:31 +02:00
momo5502
e21993c553 Fix checksum verification 2022-10-28 16:15:00 +02:00
momo5502
ebcdbf9288 Set initial state to challenging 2022-10-28 15:29:08 +02:00
momo5502
e252872337 Don't redirect dw socket to regular socket 2022-10-28 15:28:22 +02:00
momo5502
219cda9293 Prevent kicking clients without dw handle 2022-10-28 15:27:54 +02:00
momo5502
1f73feb6bc Remove bad fix for netadr types 2022-10-28 15:27:38 +02:00
momo5502
d37206be5e Don't remove local net id for now 2022-10-28 15:27:22 +02:00
momo5502
8da3527a90 Remove test 2022-10-28 15:26:46 +02:00
momo5502
a8c47219ad Fix compilation 2022-10-25 21:31:20 +02:00
momo5502
1679c6dacd Fix initial connection state 2022-10-25 21:09:38 +02:00
momo5502
1517005793 Don't swap netadr types 2022-10-25 20:42:48 +02:00
Maurice Heumann
719843db76 Update network.cpp 2022-10-25 08:35:58 +02:00
momo5502
e89ab95048 More networking progress 2022-10-24 21:00:22 +02:00
momo5502
ee86be0cf5 Support handling networking packets 2022-10-24 19:57:46 +02:00
Hosseinpourziyaie
2650ad7121 Skip un-handled reportReward task init
reportReward task with action name get_user_periodic_rarities; purpose unknown

it retries for ever untill it gets valid response from server if not disabled
2022-10-24 01:09:18 -07:00
momo5502
8a3e6d3fc4 Stabilize raw socket communication 2022-10-23 20:57:44 +02:00
momo5502
250364903e More networking progress 2022-10-23 19:56:03 +02:00
momo5502
4fb26887ac Prepare DTLS removal 2022-10-19 21:07:20 +02:00
momo5502
6d80528025 Fix branding 2022-10-17 21:01:21 +02:00
momo5502
657919cb71 Cleanup branding 2022-10-17 20:17:41 +02:00
momo5502
1f7397b2f3 Output debug string in debug mode 2022-10-17 20:10:18 +02:00
momo5502
ca3f3a1fe1 Add debug branding again 2022-10-17 20:09:13 +02:00
momo5502
f0112723ff Remove default mod 2022-10-17 20:08:27 +02:00
jazzwolf
b7ae95de62 Fix nullptr exception when restoring debug functions 2022-10-07 18:37:14 +02:00
Maurice Heumann
56fc48a8f1 Update arxan.cpp 2022-10-04 19:00:40 +02:00
momo5502
8e547e0443 Small fix 2022-10-02 08:47:39 +02:00
momo5502
25c2853d4b Set steam proxy priority to run exactly after the updater 2022-10-01 20:42:40 +02:00
Maurice Heumann
d82c93d313 Merge branch 'main' into bugfix/steam-crash 2022-10-01 20:24:13 +02:00
Maurice Heumann
3bfc25bcda Merge branch 'main' into bugfix/steam-crash 2022-10-01 20:19:59 +02:00
momo5502
258e8c88cc Stabilize steam proxy mechanism even more
This hopefully fixes issue #37
2022-10-01 20:19:32 +02:00
Maurice Heumann
88052267fd Merge branch 'main' into bugfix/console 2022-10-01 20:16:47 +02:00
momo5502
587ef29e34 Speed up console logging by concatenating indiviual messages 2022-10-01 20:16:12 +02:00
Maurice Heumann
82625e2652 Merge branch 'main' into bugfix/console 2022-10-01 20:05:09 +02:00
momo5502
6c79f40e09 Fix console by properly handling the brush 2022-10-01 19:54:47 +02:00
momo5502
5fc3ee3588 Stabilize steamproxy cleanup 2022-10-01 18:52:15 +02:00
jazzwolf
7c7957df06 Remove leftover debug output 2022-10-01 18:23:29 +02:00
jazzwolf
13c4f2dcea Fix console bug 2022-10-01 18:08:40 +02:00
momo5502
251bfae185 Process console message queue in a separate thread 2022-10-01 14:02:35 +02:00
momo5502
5740210e72 Small refactoring 2022-10-01 11:08:42 +02:00
momo5502
5aefef6171 Make sure update window is in foreground 2022-10-01 10:39:40 +02:00
momo5502
8e86b676ff Optimize console performance 2022-10-01 10:26:07 +02:00
momo5502
d2068ad99d Disable local publisher cache
It's not needed and seems like BO3's content streaming servers are down.
Invalidating LPC here will result in them not being able to play anymore.
Even if it's cause the server is down and not cause of this mod.
2022-10-01 08:14:23 +02:00
momo5502
690b146e18 Don't update subscribed items right away 2022-09-30 19:26:28 +02:00
momo5502
76ab3d5862 Remove debug strings 2022-09-30 19:21:23 +02:00
momo5502
0b58d406dd Add ugc support 2022-09-30 19:20:19 +02:00
momo5502
cda1ea7b55 Always enable ingame console 2022-09-29 20:34:19 +02:00
momo5502
62c84750ef Get playername 2022-09-29 18:15:40 +02:00
momo5502
c99d3bbd5e Run steam proxy when unpacking 2022-09-26 19:12:51 +02:00
momo5502
bd8a524e3a Respect nosteam mode 2022-09-26 19:00:22 +02:00