77 Commits

Author SHA1 Message Date
maybegreat48
e7562bcdff
Improve protections and other random changes (#1803)
* feat(protections): better logging
* feat(protections): improve protections
* fix(globals): save all spoofing settings
2023-07-22 23:18:47 +02:00
kbabrmover1995
72ebaec8ec
Reaction on any modder detection (#1772)
* Closes #1676

Co-authored-by: Quentin E. / iDeath <xiaoxiao921@hotmail.fr>
2023-07-22 21:44:38 +02:00
Bugisoft
74ba7b6860
Custom Sky Color and unify some stuff (#1779) 2023-07-20 22:46:32 +02:00
gir489
152642cf1b
Refactored Allow All Weapons In Vehicle to force all vehicles to use … (#1730)
* Refactored Allow All Weapons In Vehicle to force all vehicles to use all GROUPs.
* Refactored project to not depend on src/gta files that already exist in the GTA-V-Classes project.
* feat(cmake): bump GTAV-Classes
2023-07-16 18:24:40 +02:00
maybegreat48
2b6cb52986
More player database improvements (#1725) 2023-07-15 22:37:20 +02:00
maybegreat48
61bb60d1f4
Player database improvements (#1705)
* feat(protections): add per-player sync block options
* feat(player_database): improve player tracker
* fix(rapid_fire): remove unnecessary log statement
* fix(player_database): default state should be UNKNOWN, not INVALID
2023-07-14 11:02:47 +02:00
maybegreat48
f09b1cbda3
General improvements (#1693)
* remove(replay): remove replay interface
* fix(context_menu): better console controls
* feat(protections): improve protections
* feat(protections): actually fix parachute crash
* feat(protections): kick rejoin
* feat(context_menu): more context menu stuff
2023-07-12 19:03:29 +02:00
Andreas Maerten
47891cbcae
chore(CanApply): remove notifications for sector and train prots (#1679)
* chore(CanApply): remove notifications for sector and train prots

* revert: partial revert

@maybegreat48 will be implementing a fix for the false positives.
2023-07-11 10:02:55 +02:00
maybegreat48
c121e72eb6
Fix GTA data service (#1635)
* fix(gta_data): service now parses unloaded RPF files
2023-07-07 07:57:38 +02:00
maybegreat48
cbc80e6caf
Mission fixes and modder detection improvements (#1598)
* feat(protections): improve protections
* fix: fix mission start
2023-07-05 09:30:06 +02:00
Quentin
3bdd0796f4
Lua doc (#1552) 2023-07-02 00:59:02 +02:00
Andreas Maerten
f96356960a
refactor!: General changes (#1578)
- Removed try catch from main.cpp for better error logging
- Added migration code to the YimMenu folder
- Renamed globals to settings
- refactor!: changed symlink
2023-07-02 00:52:36 +02:00
Quentin
d1e839651b
Fix lua native bindings and lua script reload (#1575)
* fix: script manager and lua scripts: change the api so that the m_scripts array is only modified in a specific safe location: before it gets ticked.
* fix script manager: don't expose the script vector directly, for multithreading safety
* fix lua manager usage: don't iterate the module array without locking, nor un/load module from a script thread
* lua script: only do actual loading of lua modules in script mgr
* lua native bindin: fix pointer parameters, out C style parameters are returned as multiple return values lua-style
2023-07-01 22:40:17 +02:00
maybegreat48
57ac1a315c
Chat delay fix and improved crash protections (#1572)
* feat(protections): filter invalid sector position from the player game state data node
* feat(chat): bypass chat delay
* fix(world): fix auto disarm
* fix(chat): true instant messaging
2023-07-01 00:03:17 +02:00
DayibBaba
c35c7fdff9
More bug fixes (#1557)
Fixed nearby features affecting players and local ped.
Removed faulty vehicle kick protection from can_apply

Fixes #1540
2023-06-30 13:38:44 +02:00
Quentin
f8f63a789a
fix(CanApply): issue with selecting the correct datanode (#1533) 2023-06-25 23:04:01 +02:00
Andreas Maerten
305f6e7e8d
refactor: CanApply use structs instead of std::pair (#1523)
* refactor: CanApply use structs instead of std::pair
* feat(CanApply): format nodes
2023-06-24 23:57:34 +02:00
DayibBaba
dca82a4060
fix: Made breakup conditional (being host) (#1436)
Closes #1448
2023-06-17 15:49:48 +02:00
maybegreat48
0ff99ececc
Update to 1.67 (#1407) 2023-06-14 23:29:25 +02:00
maybegreat48
70efa40afe
Lua Scripting (#1334)
Closes #83
Fixes #1309
Fixes #1287
Fixes #1129 (actually fixed now)
2023-06-06 09:40:40 +02:00
Rxann
4422655b32
chore: change C-style casts to dynamic_cast (#1299) 2023-04-27 10:11:05 +02:00
Andreas Maerten
9bc99e18cc
chore: disabled blame explosion infraction (#1282) 2023-04-23 21:39:16 +01:00
maybegreat48
3c2245f780
General fixes (#1251) 2023-04-16 19:28:49 +01:00
Quentin E. / iDeath
74c3931209
Feat ptr cache continued (#1227) 2023-04-14 17:54:07 +01:00
Quentin E. / iDeath
042ec19495
potential fix for attachment infinite loop crash (#1183) 2023-04-03 22:48:56 +01:00
Andreas Maerten
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
maybegreat48
4af9c7f258
fix(Toxic): fix typo (#1062) 2023-03-10 23:41:46 +01:00
maybegreat48
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
maybegreat48
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
Aure7138
9056f5aba1
feat(protection): vehicle parachute crashes (#1022)
CTaskParachuteObject_0x270 crash
2023-02-23 17:14:44 +01:00
Aure7138
5e3c08ce23
feat(protection): model mismatch (#1014) 2023-02-22 10:23:47 +01:00
Aure7138
5c8e7e8a15
debug options (#1002) 2023-02-19 22:04:13 +00:00
Aure7138
df33a922b6
fix: can_apply_data (#1006) 2023-02-19 12:54:59 +01:00
yasmasdas
c9cfde0a4d
feat(received_event): add bounds checks to certain events (#985) 2023-02-14 20:29:17 +00:00
Aure7138
8449eab503
fix(protection): invalid parachute (#989)
fixes #916
2023-02-14 20:28:05 +00:00
maybegreat48
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
Yimura
335e9325b0
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
fa7e5e5a34
feat(protections): block receive pickup (#933) 2023-02-04 23:20:49 +01:00
maybegreat48
7f37def248
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
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
Yimura
d4f2960c77
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
d45d0c1ffc
Toxic features and improve protections (#897) 2023-01-22 21:57:32 +00:00
Aure7138
f360d7f436
hotfix script RCE (#892) 2023-01-20 23:33:41 +00:00
maybegreat48
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
TheGreenBandit
858b4d6b9f
feat(Protection): fragment physics crash (#806)
Patch made by @SkiddyToast
2023-01-03 10:52:07 +00:00
maybegreat48
43eec4eb35
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
Yimura
5909af7fd2
feat(Protections): Reenabled CanApplyData (#740)
* fix(CanApplyData): correct crash_blocked msg
2022-12-30 10:48:59 +00:00
Aure7138
055bb3e939
feat(Protection): Improve Sound Crash Protection (#767)
Closes #762
2022-12-30 01:45:04 +00:00
maybegreat48
a83b9523cc
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
630450fd74
fix #737 (#738) 2022-12-26 18:49:55 +01:00