47 Commits

Author SHA1 Message Date
Andreas Maerten
0eb037e138 refactor(ContextMenu): improve code (#1173)
* chore: remove unused classes from replay
* feat(ContextMenu): keep drawing even if menu is open
2023-04-02 00:30:51 +01:00
maybegreat48
e5aa39dd35 Play audio on voice chat and more (#1053)
* feat(VC): audio through voice chat
* fix(BlackHole): remove unnecessary cleanup
* fix(Formatting): fix formatting for initializer lists
* feat(LSC): reimplement LSC
* feat(Protections): add (untested) protections for vehicle kick and remote teleport
2023-03-09 12:23:01 +00:00
maybegreat48
97a8c5d60b Add more spoofing options and added clang-format (#1020)
* feat(Spoofing): add spoofing
* feat(Spoofing): prepare code for player attach
* remove(PlayerAttach): isn't going to work due to netsync architecture
* fix(GUI): fix scaling
* feat(Project): add clang-format file
* feat(Classes): update classes
* fix(BlackHole): remove unnecessary cleanup
* fix(Formatting): fix formatting for initializer lists
* feat(clang-format): Set tab width and 1 space before comment

Co-authored-by: Yimura <24669514+Yimura@users.noreply.github.com>
2023-03-01 21:27:15 +00:00
Aure7138
bde8ee28ac feat(protection): vehicle parachute crashes (#1022)
CTaskParachuteObject_0x270 crash
2023-02-23 17:14:44 +01:00
Aure7138
32963f1d8a debug options (#1002) 2023-02-19 22:04:13 +00:00
yasmasdas
48b45bde58 feat(received_event): add bounds checks to certain events (#985) 2023-02-14 20:29:17 +00:00
Aure7138
2995ea1f8f fix(protection): invalid parachute (#989)
fixes #916
2023-02-14 20:28:05 +00:00
maybegreat48
ac508dfd61 Bug fixes and improvements (#984)
* feat(KickFromInterior): improve kick from interior

Fixes #968
Fixes #953
Fixes #901
Fixes #899
Fixes #813
Fixes #726
Fixes #723

Co-authored-by: Yimura <24669514+Yimura@users.noreply.github.com>
2023-02-13 20:38:30 +00:00
Yimura
c4a85050a6 feat(logger): use AsyncLogger instead of g3log (#882)
* feat(exception_handler): skip certain exception codes
* feat(zydis): Disable BUILD_DOXYGEN and FEATURE_ENCODER
* feat(cmake): link dbghelp
* feat(exception_handler): implement stack dumper
* feat(logger): differentiate between wine and non-wine
* feat(logger): add NO_COLOR env var support
* fix(logger): fix wine logging (#960)
* feat(exception_handler): added string logging of exception
* fix(logger): exception access violation NO_COLOR

--------

Co-authored-by: Aure7138 <100095051+Aure7138@users.noreply.github.com>
Co-authored-by: tupoy-ya <72797377+tupoy-ya@users.noreply.github.com>
2023-02-08 22:36:55 +00:00
Johann
31e6b75037 feat(protections): block receive pickup (#933) 2023-02-04 23:20:49 +01:00
maybegreat48
846162b911 More fixes for 1.66 (#944)
* fix(Menu): more update fixes
* fix(Spoofing): remove spoofing
* fix(Globals): update globals
* fix(Classes): upstream classes
* fix(Misc): remove debug code
* fix(Merge)
2023-02-04 17:35:18 +01:00
Yimura
c75a17256e Update for 1.66 (#929)
* feat(crossmap): update thanks @Aure7138

* feat(TSE): updated most hashes

* feat(ScriptEventHandler): Remove abused TSE hashes

* feat(pointers): fix snitl

* fix(pointers): region code

* fix(pointers): handle join request

* fix(pointers): decode session info

* fix(pointers): connect to peer

* fix(pointers): decode peer info

* fix(pointers): add player to session

* fix(pointers): handle join request

* fix(pointers): Is Matchmaking Session Valid

* fix(pointers): send session matchmaking attributes

* fix(pointers): process matchmaking find response

* fix(pointers): serialize join request message

* fix(TSE): updated lost few, thanks @Rimmuru

* fix(Menu): update menu (#930)

* fix(globals): mechanic global

* feat(meta): bump version

* feat(spoofing): remove patched stuff

* fix(self): off radar timer offset

* fix(overlay): retain last position

* feat(self): commented dance mode

* feat(spoofing): add note about spoofing not working

Co-authored-by: maybegreat48 <96936658+maybegreat48@users.noreply.github.com>
2023-02-03 23:00:56 +00:00
Yimura
8028db84b3 feat: Translation Service (#844)
Co-authored-by: mrwoowoo <github@hiqaq.com>
Co-authored-by: LiamD-Flop <40887493+LiamD-Flop@users.noreply.github.com>
2023-02-01 18:46:33 +00:00
maybegreat48
8173adb87f Toxic features and improve protections (#897) 2023-01-22 21:57:32 +00:00
Aure7138
ee99333f7e hotfix script RCE (#892) 2023-01-20 23:33:41 +00:00
maybegreat48
10d0f317dc Reactions, remote kick and better protections (#807)
* feat(Scripts): Complete GlobalPlayerBD
* feat(Scripts): add GPBD_Kicking
* feat(Scripts): start work on GPBD_FM_3
* feat(Scripts): add more to GPBD_FM_3
* feat(Scripts): complete GPBD_FM_3
* feat(Scripts): start work on GPBD_FM
* feat(Scripts): improve GPBD_FM
* feat(Scripts): complete GPBD_FM
* feat(Reactions): Add reactions
* feat(Protections): Improve protections
* feat(RemoteKick): Add remote kick
* feat(Stats): add KillsOnPlayers and DeathsByPlayers
* fix(Classes): Fix compiler warnings
2023-01-03 16:48:32 +00:00
TheGreenBandit
3db41c60f0 feat(Protection): fragment physics crash (#806)
Patch made by @SkiddyToast
2023-01-03 10:52:07 +00:00
maybegreat48
3aafd119c5 Some general fixes (#782)
* feat(protections): small updates
* chore(CustomText): comment out TICK_LEFTCHEAT label override
* feat(protections): make desync protections optional
* fix(matchmaking): fix pool filter
2022-12-31 00:47:01 +00:00
Aure7138
441b86c207 feat(Protection): Improve Sound Crash Protection (#767)
Closes #762
2022-12-30 01:45:04 +00:00
maybegreat48
5bc81ee724 Add protections for remote crash and kick (#776)
* fix(protections): Return true instead of false
* fix(protections): fix remote crash protection
* feat(protections): add protection for remote kick as host
* fix(protections): Try to decrease code complexity
2022-12-29 23:51:11 +00:00
Aure7138
280f613e78 fix #737 (#738) 2022-12-26 18:49:55 +01:00
maybegreat48
ce5c317d87 Commands (#725)
* feat(Commands): Prototype command system
* feat(Commands): Chat commands
* refactor(Toxic): convert most options into commands
* feat(Protections): block breakup kicks on other players as host
* refactor(Kicks): convert most options into commands
* refactor(Commands): add labels and descriptions to all commands
* feat(Commands): cleanup on unload
* refactor(Troll): convert most options into commands
* refactor(Misc): convert most options into commands
* refactor(Teleport): convert most options into commands
* feat(Commands): Variadic commands and toggleable bools
* feat(Hotkeys): hotkeys now use commands
* fix(Chat): fix the chat window locking up when a message is sent
* fix(Commands): properly handle spoofed username
* fix(Spam): update filter

Co-authored-by: Yimura <24669514+Yimura@users.noreply.github.com>
2022-12-22 21:23:32 +00:00
maybegreat48
1dda472562 Network Time (#724)
* fix(NativeHooks): Fix softlock when loading Cayo Perico
* fear(netTime): Try to modify time remotely
* fix(timeSync): Make it work more consistently
* feat(netTime): net time sync for all!
2022-12-19 17:39:06 +00:00
Yimura
ddddbd4efd refactor!: globals (#717)
* refactor(globals): use macro's for to_json/from_json
* refactor(globals): switch from global pointer to global instance
2022-12-18 22:15:52 +00:00
maybegreat48
64197f938a Update to 1.64 (#691)
* Update some globals
* fix(pointers): bypass C4 limit
* fix(pointers): CanApplyData signature
* feat(hooks): removed metric formatter
The function in question no longer exists along with the other metric functions.

* chore(metadata): bumped online and build number
* fix(pointers): updated Rage Security signature
* Updated some globals and locals. Part 1
* Update crossmap
* chore(Script): update script patches
* chore(nativeHooks): Update rage::scrProgram vtable size
* chore(nativeHooks): Fix rage::scrProgram destructor index
* fix(Sigscanner): Temporarily disable AC bypass
* chore(Hooks): disable can_apply_data
* Updated some globals and locals. Part 2
* chore(globals): Update transition state global
* chore(ScriptLauncher): Update local index
* feat(Toxic): Add new teleport locations
* fix(Protections): Update max interior index

Co-authored-by: Yimura <24669514+Yimura@users.noreply.github.com>
Co-authored-by: Bugisoft <58910128+BugisoftRSG@users.noreply.github.com>
Co-authored-by: BugisoftRSG <metaclientauth@gmail.com>
2022-12-14 16:27:40 +00:00
Reece Watson
b7c40a4efd feat(Protections): Block Indecent Exposure crash. (#683) 2022-12-11 01:28:56 +01:00
Aure7138
e3ce965aa9 feat(Protections): Improve rope crash protection (#682) 2022-12-10 22:27:28 +00:00
Aure7138
54aecb0586 feat: BDSM crash protection & fix #668 (#680) 2022-12-10 19:36:45 +00:00
Yimura
4a0027a569 feat(Protections): Constraint attachment crash (#673) 2022-12-09 19:55:25 +00:00
maybegreat48
a435e49e50 RID Spoofing Improvements (#666)
* Fix stability issues with handler hook
* Better RID spoofing
2022-12-08 12:23:57 +00:00
maybegreat48
a427ccb914 Toxic update (#641) 2022-12-06 16:12:02 +00:00
Aure7138
7f74a436d2 chore(Received Event): Rename variables with accurate names (#653) 2022-12-01 19:37:58 +01:00
maybegreat48
bbd13dd06d Lessen breakup kicks and more (#625) 2022-11-21 15:42:12 +00:00
maybegreat48
d9d53c8e42 Improve protections again and player database (#606) 2022-11-19 02:49:36 +01:00
Rimmuru
69690ced1a Improved protections (#598) 2022-11-16 17:07:59 +00:00
Aure7138
ed903528f4 feat(Network): Send Chat Message (#594) 2022-11-14 16:37:38 +01:00
maybegreat48
f636c7c17f Force session host and improve protections (#593)
* Add force session host and update protections

* Remove old popgroup protection

* Harden script patcher

* Replace looped options with script patches

* Missing break

* Use enums

* Forgot to break again...

* Add tooltip for force session host

Co-authored-by: user <email@hostname>
2022-11-13 17:34:44 +01:00
maybegreat48
e6ce363963 Add script patcher and update protections (#588) 2022-11-12 18:35:28 +00:00
Yimura
25f9756f04 feat(ScriptEventHandler): Block switch player to animal (#581) 2022-11-11 23:38:28 +00:00
Yimura
aca084109a feat(ReceivedCloneSync): Simplify hook 2022-11-11 22:01:56 +01:00
Aure7138
75424bfb1d fixes #559 (#576) 2022-11-11 20:01:10 +00:00
Yimura
532cf59b4f fix(ReceivedCloneSync): Check before casting (#574) 2022-11-11 18:43:49 +00:00
Reece Watson
9f55d0fda9 feat(RCS): Added invalid index crash protections. (#573)
Cleaned up some of the logging.
2022-11-11 17:44:45 +00:00
Demae
f34b9c0af6 feat(netMsg): log chat and text messages (#567) 2022-11-11 16:47:22 +00:00
Demae
59d04b411e Small improvements (#565) 2022-11-11 10:32:30 +00:00
Reece Watson
10a909153a feat(RCS): Improved crash protections. (#407)
Co-authored-by: Yimura <24669514+Yimura@users.noreply.github.com>
2022-11-11 00:21:38 +00:00
tupoy-ya
bc05ecd78c refactor!: Replace premake5 with CMake. (#551)
Co-authored-by: tupoy-ya <tupoy-ya@users.noreply.github.com>
2022-11-08 21:08:58 +00:00