Commit Graph

532 Commits

Author SHA1 Message Date
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
Diavolo
b8fecbc12b maint(utils): use constexpr c++20 function instead of macro 2022-12-27 10:25:24 +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
d52fdc70cf Add dvar structs 2022-12-09 18:23:14 +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
0abeeaed28 Fix tls dll 2022-12-03 21:52:04 +01:00
Maurice Heumann
6f9fbb2a7d Fix bug 2022-12-03 20:04:48 +01:00
Maurice Heumann
e22eccb342 More cleanup 2022-12-03 19:56:24 +01:00
Maurice Heumann
53891376af Small cleanup 2022-12-03 19:47:58 +01:00
Maurice Heumann
fc65e498bb Apply relocations manually on wine 2022-12-03 16:29:51 +01:00
Maurice Heumann
0eb2f07a37 Add wine detection 2022-12-03 16:06:05 +01:00
Maurice Heumann
73ee55e772 Remove leftover code 2022-12-03 16:05:44 +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
Maurice Heumann
a489cbe600 Merge pull request #83 from diamante0018/main
refactor(memory): remove nullptr check before std::free
2022-11-26 20:03:14 +01:00
FutureRave
6bc46e6ad1 refactor(memory): remove nullptr check before std::free 2022-11-26 15:22:36 +00:00
Maurice Heumann
e57273ed0c Small fix 2022-11-26 09:07:09 +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
0e576d3852 fix(game): update symbols 2022-11-21 18:37:25 +00: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
47ac6aaf2a Move definitions 2022-11-12 08:07:51 +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
89898c974e Adjust original filename 2022-11-09 20:29:11 +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
60518eda63 Small cleanup 2022-11-09 18:28:20 +01:00
momo5502
a240015fd4 Fix relaunching 2022-11-09 18:23:38 +01:00
momo5502
699dd4bfcb Use forground window as parent for errors 2022-11-09 18:18:39 +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
c0be5d7cad Prepare symbols for process wrapping 2022-11-09 17:10:08 +01:00
momo5502
3ca2c0dbec Small cleanup and utils 2022-11-08 17:58:57 +01:00
momo5502
3fce9f6fdd Enable branch tracing for hardware breakpoints 2022-11-05 10:26:34 +01:00
momo5502
a9ef15c526 Change application icon 2022-10-30 11:43:06 +01:00
momo5502
d6e73da190 Fix warning 2022-10-29 21:09:18 +02: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
momo5502
5a04cc78de Add CL_ConnectFromLobby 2022-10-25 20:42:37 +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
1b5c4234dd Add bdMatchmaking 2022-10-19 21:07:20 +02:00
momo5502
8510696fbd Fix stats 2022-10-17 21:01:33 +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
cc417253b0 Fix get user files task 2022-10-17 20:09:34 +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
69a9d58733 Use utils:nt::handle 2022-10-07 18:52:50 +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
b74dfef65e Prepare 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
momo5502
bef4ec67b6 Add steam proxy 2022-09-26 18:39:01 +02:00
momo5502
0d8542366a Add missing DW services 2022-09-24 15:42:01 +02:00
momo5502
652121b06e Revert "Debug info"
This reverts commit 80c956176afcd51a92ba32da0e759c70461f41d6.
2022-09-24 15:41:36 +02:00
momo5502
5407dcf0e0 Debug info 2022-09-24 15:41:22 +02:00
momo5502
f67c8b57ff Always log demonware stuff 2022-09-24 15:40:47 +02:00
momo5502
c8b3012592 Always load proper ffotd 2022-09-24 15:16:26 +02:00
momo5502
dd894951cf Revert "Add some debugging stuff"
This reverts commit 3adf4175209a873c8294d413678665b7c3f2a006.
2022-09-24 15:14:54 +02:00
momo5502
0a86dfac43 Add some debugging stuff 2022-09-24 15:14:23 +02:00
momo5502
3a9fed6845 Small content streaming fix 2022-09-24 15:13:42 +02:00
momo5502
a35f7fda19 Prepare more demonware support 2022-09-24 15:09:48 +02:00
momo5502
12825cde5c Fix ffotd 2022-09-22 21:12:57 +02:00
momo5502
7c1c819a56 First working demonware emulator 2022-09-21 20:59:11 +02:00
momo5502
1d0f79623f Some demonware progress 2022-09-21 19:36:41 +02:00
momo5502
f6de4aceb0 Some fixes 2022-09-21 16:34:59 +02:00
momo5502
f252259f05 Search broader stack area 2022-09-20 18:09:03 +02:00
momo5502
e467c37d15 Stabilize heuristic 2022-09-20 18:03:18 +02:00
momo5502
fd6cd6965e Fix select hook 2022-09-19 21:06:19 +02:00
Maurice Heumann
cc362b1d78 Update arxan.cpp 2022-09-19 09:18:23 +02:00
momo5502
855097d6a8 Small fixes 2022-09-18 15:11:16 +02:00
momo5502
2822088800 Fix library loading 2022-09-18 11:47:12 +02:00
momo5502
cae5347c0c Some steam fixes 2022-09-18 11:31:46 +02:00
momo5502
1a925b352c Add function 2022-09-18 11:29:04 +02:00
momo5502
45ec89f98d Remove crash file 2022-09-18 08:48:12 +02:00
momo5502
ff59d3efa9 Always restore aslr bit 2022-09-18 08:34:32 +02:00
momo5502
b3fa303fdd Better branding 2022-09-18 08:33:11 +02:00
momo5502
62c5142b7a Support getting hook locations 2022-09-18 08:24:11 +02:00
momo5502
eb4f66dae7 Actually remove debug output 2022-09-18 08:24:11 +02:00
m
3855c173bf branding cleanup
normal scale again

use reverse_g

format
2022-09-17 13:36:39 -05:00
m
0b935f0c69 minidump changes 2022-09-17 13:36:02 -05:00
m
bac89feba9 add server and main pipelines 2022-09-17 08:11:44 -05:00
m
3a5ecdef29 renderer pipeline 2022-09-17 07:51:34 -05:00
momo5502
1e8f93e6ea Some demonware fixes 2022-09-17 13:42:25 +02:00
momo5502
92208520d0 Add minidump support 2022-09-17 12:24:04 +02:00
momo5502
65187f401e Fix destruction behaviour 2022-09-17 12:19:59 +02:00
momo5502
190da1d44d Fix integrity debug prints 2022-09-17 10:26:21 +02:00
momo5502
ab1b21d9fd Better CI builds 2022-09-17 09:33:15 +02:00
momo5502
867de3c3dd Improve branding 2022-09-17 09:16:24 +02:00
momo5502
e0b6ba12ee More demonware progress 2022-09-17 08:47:58 +02:00
momo5502
100dc49beb Remove ept hooking support 2022-09-17 08:47:47 +02:00
momo5502
b2a7cf0dd6 Prepare demonware emulator 2022-09-17 08:13:06 +02:00
momo5502
a47a309ad7 Small fixes 2022-09-17 08:00:43 +02:00
momo5502
a7d3df22e8 Add branding 2022-09-16 20:56:48 +02:00
momo5502
9e7d923028 Keep console hook 2022-09-16 20:56:48 +02:00
momo5502
9b6dfe6d5a Fix build 2022-09-16 17:43:56 +02:00
momo5502
d616aa46cd Cleanup code 2022-09-16 17:39:52 +02:00
momo5502
7ea589d3b4 Working integrity check bypass 2022-09-16 17:18:20 +02:00
momo5502
92312dcf2f Formatting 2022-09-15 20:55:29 +02:00
momo5502
e761a12d8c Patch integrity checks using hooks 2022-09-15 19:07:47 +02:00
momo5502
f768b27637 Optimizations 2022-09-14 21:23:19 +02:00
momo5502
99400afa98 First working patch with hooking support :D 2022-09-14 20:30:10 +02:00
momo5502
63d2acbde6 Integrity experiments 2022-09-14 19:55:39 +02:00
momo5502
5f6b9f3bfe Prepare patching some integrity checks.
TODO: Automate these
2022-09-13 20:42:42 +02:00
momo5502
febfc1b5e1 Enable HW BPs with context 2022-09-13 20:42:42 +02:00
Maurice Heumann
8a7420ece2 Update resource.rc 2022-09-11 21:04:52 +02:00
momo5502
82ca3f191f Include more experiments 2022-09-11 11:03:59 +02:00
momo5502
e1f57f7aa2 Include some experiments 2022-09-11 11:02:48 +02:00
momo5502
33a485c694 Include debug breakpoint util 2022-09-11 10:47:19 +02:00
momo5502
b3377fc092 Add handle abstractions 2022-09-11 09:24:27 +02:00
momo5502
038ab2a4bb Allow placing hardware breakpoints 2022-09-11 08:25:17 +02:00
momo5502
53a7133b75 Disable data storing 2022-09-10 16:18:10 +02:00
momo5502
d5a3089559 Reset aslr bit to allow patching the binary 2022-08-27 11:10:43 +02:00
Diavolo
ca263a16e7 Label some useful functions 2022-08-10 11:26:19 +02:00
momo5502
dd0503e4ce More cleanup 2022-07-10 11:31:02 +02:00
momo5502
56e124d867 Small cleanup 2022-07-10 11:14:53 +02:00
momo5502
8a395b525b More dedi progress 2022-07-03 19:07:52 +02:00
momo5502
954072ff02 Add test server 2022-07-02 10:20:11 +02:00
momo5502
1456f7743e Allow using wireshark 2022-07-01 21:45:53 +02:00
momo5502
70ad1b5823 Hook all steam imports 2022-06-26 10:08:03 +02:00
momo5502
87775cc13c Remove unncessary code 2022-06-16 20:35:22 +02:00
momo5502
2f84d1476c Remove foreign asmjit backends 2022-06-16 19:44:47 +02:00
momo5502
5f8a8e9a2b Remove curl 2022-06-16 19:35:40 +02:00
momo5502
95df3ba287 Better window destruction 2022-06-16 14:33:49 +02:00
momo5502
ea3c66239e Don't join during start 2022-06-16 14:22:42 +02:00
momo5502
024812c5cc Small cleanup 2022-06-16 14:19:06 +02:00
momo5502
d87973b500 Add auto update support 2022-06-16 14:15:14 +02:00
momo5502
8c5e696720 Fix threading issues 2022-06-16 12:12:36 +02:00
momo5502
65fddf188a Patch tls callbacks while game is unpacking 2022-06-16 12:08:34 +02:00
momo5502
6659650722 Prepare autoupdating 2022-06-16 10:21:19 +02:00
momo5502
8c1e212af3 Remove unused code 2022-06-16 09:28:10 +02:00
momo5502
e5d0058301 Support hypervisor assisted hooking for analysis 2022-06-07 20:42:13 +02:00
momo5502
4df6a9ee5b Remove experiment 2022-06-07 19:02:02 +02:00
momo5502
767955685a Better signature processing 2022-06-07 19:01:33 +02:00
momo5502
3752853e2e Allow playing the game via rdp 2022-06-05 10:54:23 +02:00
mjkzy
db042a60b3 define as macro 2022-06-02 14:50:30 -05:00
mjkzy
ffadc2b875 fix hwndBuffer not lining up with inputline/banner 2022-06-02 14:45:45 -05:00
momo5502
9dc984a059 Fix window closing 2022-06-02 20:49:03 +02:00
momo5502
e75e4961f6 Small refactoring 2022-06-02 20:42:58 +02:00
mjkzy
313433b4e6 move clean text to game class 2022-06-02 06:49:43 -05:00
mjkzy
427b4ecff7 WM_QUIT in conwndproc + comments 2022-06-02 06:42:32 -05:00
mjkzy
3b1ab04f33 dark mode console, symbols, new logo, corrections 2022-06-02 03:14:44 -05:00
momo5502
17b28d7546 Terminate when closing the external console 2022-05-31 19:00:57 +02:00
momo5502
5546cca0e7 Fix warning 2022-05-30 21:25:52 +02:00
momo5502
affc495c49 Track .text decryption 2022-05-30 21:10:30 +02:00
momo5502
f5f9dae447 Fix va 2022-05-30 21:10:08 +02:00
momo5502
d9b834bede Better unpack hook 2022-05-30 20:37:58 +02:00
momo5502
4097ed37d5 Small fixes 2022-05-30 19:06:59 +02:00
momo5502
95df5bc91e Disable arxan patches for now 2022-05-30 18:14:33 +02:00
momo5502
0a841e2f49 More arxan patches 2022-05-30 18:14:12 +02:00
momo5502
cda5d668ad Fix splash image 2022-05-29 18:51:24 +02:00
momo5502
bf4211c7f2 Fix game 2022-05-29 18:24:17 +02:00
momo5502
7e616dd0ce Small fixes 2022-05-29 16:46:49 +02:00
momo5502
5c2db6e8df Small fixes 2022-05-29 16:01:59 +02:00
momo5502
e28c72e643 Prepare arxan patching
It's still fully broken
2022-05-28 19:13:44 +02:00
momo5502
362a8e7a4e boiii 2022-05-27 19:14:07 +02:00
momo5502
47d6d960d8 Install first hook and do cleanup 2022-05-27 19:08:39 +02:00
momo5502
60915bd335 Auto load mod 2022-05-26 10:50:04 +02:00
momo5502
59ee54ce18 Do some cleanup 2022-05-26 10:29:29 +02:00
momo5502
50ffdc3a3a Allow running the game without steam open 2022-05-26 10:20:41 +02:00
momo5502
4b2a7c8e0b Start steam if necessary 2022-05-24 20:56:15 +02:00
momo5502
b1c6f9de4a Fully allow having ida and hxd open 2022-05-24 19:02:04 +02:00
momo5502
c4e4e35013 Prepare window cleanup 2022-05-23 20:42:07 +02:00
momo5502
5b0082dc93 Remove debug prints 2022-05-23 19:20:07 +02:00
momo5502
9a30a63bd1 Allow certain malicious tools to be running 2022-05-23 19:19:28 +02:00
momo5502
d69544ff5a Format code 2022-05-23 19:18:57 +02:00
momo5502
13ff1ca4f0 Fix compilation 2022-05-23 18:14:20 +02:00
momo5502
c9793ce592 Fix some formatting 2022-05-23 17:58:03 +02:00
momo5502
feb1282e03 Add required hooking extensions 2022-05-23 17:57:29 +02:00
momo5502
0dabe137cb Allow having IDA open 2022-05-22 15:46:30 +02:00
momo5502
6aae741b9b Add progress 2022-05-21 12:11:10 +02:00