Commit Graph

30 Commits

Author SHA1 Message Date
06a215b90c 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
ea33c09e8c feat(cache): expand ped (#1156) 2023-04-01 17:37:26 +01:00
ad90ee3f6a 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
9ccb77e8eb 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
1f5a118cb9 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
5c01d393b9 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
d45d0c1ffc Toxic features and improve protections (#897) 2023-01-22 21:57:32 +00:00
13ff1be75a 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
5909af7fd2 feat(Protections): Reenabled CanApplyData (#740)
* fix(CanApplyData): correct crash_blocked msg
2022-12-30 10:48:59 +00:00
2b1aee98de feat: Some small additions (#755) 2022-12-30 01:09:33 +00:00
a063d817f5 update vehicles.hpp (#746)
added missing vehicles from
- LS Tuners
- The Contract
- Criminal Enterprise
- Drug Wars
2022-12-26 19:45:35 +01:00
79e5e7a30b 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
c2e9e61c01 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
792d765ffa Save creator jobs and bug fixes (#713)
* feat(Session): Session info serialization
* feat(Creator): Save and load jobs to file
* fix(Creator): Actually load the job
* fix(Creator): Try to fix loading
* fix(ScriptFunction): Fix memory corruption due to low stack size
* fix(Creator): Fix "No translation."
* fix(NativeHooks): Fix softlock when loading Cayo Perico
* chore(Toxic): Remove net time test for now
2022-12-17 14:47:01 +00:00
173d01145d Code cleanup (#667)
* chore: Changed detour_hook extension back to cpp
* chore(crossmap): split crossmap into header and source file
* chore(logger): rename macro's to code style
* chore(logger): removed unused local variable
* chore(benchmark): changed extension to C++ header
* chore: cleanup pickup_rewards file
* chore(gta): cleanup code and file naming
* chore(CanApplyData): Removed unused code
2022-12-08 12:35:41 +00:00
11701f8101 Improve CEventNetwork and add comments sEntityDamagedData (#665) 2022-12-08 10:28:41 +01:00
8c3953ab20 Toxic update (#641) 2022-12-06 16:12:02 +00:00
88aa1f8e56 Add session browser (#633) 2022-11-24 22:49:05 +01:00
64b47779e8 Lessen breakup kicks and more (#625) 2022-11-21 15:42:12 +00:00
ab49103171 Improve protections again and player database (#606) 2022-11-19 02:49:36 +01:00
eb41c69e09 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
74c8e8d70c Add script patcher and update protections (#588) 2022-11-12 18:35:28 +00:00
538919d4ca feat(netMsg): log chat and text messages (#567) 2022-11-11 16:47:22 +00:00
ead2aa1566 Small improvements (#565) 2022-11-11 10:32:30 +00:00
abdb88f68a feat(RCS): Improved crash protections. (#407)
Co-authored-by: Yimura <24669514+Yimura@users.noreply.github.com>
2022-11-11 00:21:38 +00:00
1087146e56 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
17fe337342 Premake, Gitmodules, Readme 2019-06-23 22:00:18 +02:00
1ec1716c2e Fix padding in script_program.hpp 2019-04-16 09:47:21 +02:00
14ed623341 Update script_thread.hpp 2019-04-16 09:47:07 +02:00
d65c694d22 Initial commit 2019-03-21 20:18:31 +01:00