146 Commits

Author SHA1 Message Date
gir489
695a6dd20e
Fixes for b3095 (#2537)
* Refactored TRIGGER_SCRIPT_EVENT for the duplicate f_2 argument they added in 3095.
Fixed OOB gadget spam caused by the tow truck.
Increased max interiors in InteriorControl.
* Updated scripted_game_event.
* Update GTAV-Classes repo.
* Fixed locals for 3095.
* Bump project to Build 3095.
2023-12-14 00:56:40 +01:00
gir489
95b9724fff
Added more spam messages to the filter. (#2488)
* Added more spam messages to the filter.

* Removed duplicate remote control vehicle button from the player vehicle menu.

* Added heuristical spam detector.

* Fixed clock in spam logger.

* Added date output to the chat logger.

* Added a message to show the user when someone is spamming.
More static text translations.

* Removed redundant mobile global in scr_globals.hpp.

* Added a spam reason to the spam logger.

* Added team/all to the chat logger.
Added a logger call for the user's chats.
2023-12-07 20:04:00 +01:00
yubie
062c95b374
feat(anticheat): Anticheat bypass improvements (#2463)
- Add more metrics to bad_metrics set
- Add MM Filtering (This metric shouldnt be normally called anyway)
- Improve QD Hook to increase AC verifier delay when detected
- Removed gameskeleton hook in favor of patching ac at init
- Added tamperactions check to gameskeleton patcher
2023-11-30 10:47:39 +01:00
Andreas Maerten
0f775d438e
fix(Metrics): block MM metric (#2455) 2023-11-26 23:42:31 +01:00
Andreas Maerten
c01043cfb1
refactor(Metrics): filter out "bad" metrics and allow normal ones to be sent (#2453) 2023-11-26 21:59:01 +01:00
maybegreat48
5d538cf53c
Rewrite AC bypass (#2430)
* fix(anticheat): rewrite AC bypass again (the old one isn't detected but this is cleaner)
* fix(chat): some chat tweaks
* fix(anticheat): fix memory leak
* feat(lua): add is_player_friend
* fix(protections): fix possible false positives with the vehicle task mismatch protection
* feat(protections): add debug logs to trace false positive
* fix(spam): add some more stuff
2023-11-19 23:20:15 +01:00
maybegreat48
7d3e75f260
Fix submarine car crash protection (#2387) 2023-11-05 23:00:48 +01:00
Yimura
ebeef460df partial revert of #2386 2023-11-05 17:27:50 +01:00
Andreas Maerten
4c6af00687
revert #2380 (#2386) 2023-11-05 17:06:26 +01:00
gir489
864e15a0bc
fix: Submarine crash and allowing empty JSON filenames to be saved (#2380) 2023-11-05 13:54:15 +01:00
HCR-750F
7aad4c5860
refactor(reaction): rework reaction code (#2331)
1. Allow interloper_reaction to use timeout.
2. Fix crash reaction(except TSE) cannot use announce in chat.
3. Allow all friends to bypass auto kick spammers, modder flag and  reactions.
Provides an alternative for users who experience this weird bug https://github.com/YimMenu/YimMenu/issues/2266 . They can just trust their friends until someone provides valuable information for developers to fix.
4. Allow trusting specific players (bypass auto kick spammers, modder flag and reactions).
5. Trust the whole session temporarily (Avoid team members being kicked when in mission).
6. Remove duplicate logs when blocking crash (except for TSE crash)
7. remove unused gamer_instruction_kick in reaction list
8. Allow announce in team only chat
2023-11-04 14:54:32 +01:00
gir489
7e6c6367b1
Refactored writing RandomID into a set that's locally tracked by the user. (#2376) 2023-11-03 18:34:22 +01:00
gir489
37468ca7b0
Converted all static strings to translation keys. (#2284) 2023-10-20 18:24:44 +02:00
Quentin
8c6a9303cb
queue_dependency: remove outdated hardcoded dependency callers offsets, no more use since we have a game skeleton update hook now. (#2268) 2023-10-12 23:35:04 +02:00
maybegreat48
ba5610af99
Actually fix integrity checks (#2232) 2023-10-08 21:33:12 +02:00
maybegreat48
05575a6357
Bypass integrity checks (#2216)
Closes #2215
Closes #2218
Closes #2220
Closes #2212
2023-10-07 17:19:46 +02:00
lonelybud
26e42faeac
fix(LobbyLock): use multikick when lobby lock is enabled (#2189) 2023-09-24 23:14:28 +02:00
yubie
2a13ed7345
feat(anticheat): add bonus http blocker (#2186) 2023-09-24 23:13:14 +02:00
maybegreat48
5a2dfb90b6
fix(player_db): fix player database (#2166) 2023-09-20 14:48:44 +02:00
gir489
a4209c1b23
fix: CPlayerSectorPos false positives and bad math (#2136)
* Closes #2096
2023-09-17 22:18:20 +02:00
maybegreat48
4b8e350628
Anticheat bypass fix (#2128) 2023-09-16 13:44:03 +02:00
Quentin
52896b548f
Fix #1545 - ERR_MEM_EMBEDDEDALLOC_ALLOC Crash (#2116) 2023-09-12 20:19:24 +02:00
gir489
c2dd37c815
Add proper OOB calculation for CSectorDataNode. (#2103) 2023-09-11 18:06:24 +02:00
Quentin
9149acf8d8
fix(renderer): Fix renderer callbacks called for nothing. (#2073) 2023-09-02 12:46:40 +02:00
gir489
cf07cfec04
Redesigned Vehicle Spawn menus to have consistent features. (#2063)
Closes #2053
2023-08-31 15:43:55 +02:00
Andreas Maerten
4871dbd705
fix(GTADataService): not skipping bad dlc vehicles (#2055) 2023-08-29 23:22:10 +02:00
maybegreat48
5eead0436f
Huge protection improvements and other stuff (#1963)
* feat(protections): add a fuzzer
* feat(protections): improve protections
* feat(spoofing): add warning
* feat(world): force object cleanup
* fix(weapons): fix custom weapon code
* fix(weapons): fix for #1983
2023-08-19 13:01:08 +02:00
Yimura
31c601658f fix: don't call original on prepare_metric_for_sending 2023-07-25 18:10:32 +02:00
MegaMemeMoment
13be3d3ab1
fix(hooks): return types (#1834)
fixes a bunch of return types that were seemingly copied from IDA without manual verification
2023-07-25 15:52:21 +02:00
Rxann
0b2b32dc34
Added Empty lobby button (#1812) 2023-07-24 22:10:44 +02:00
maybegreat48
ddb12d6e2b
Fix protection false positives (#1822) 2023-07-23 20:01:26 +02:00
TheGreenBandit
ae486ca129
Rework rgb for fun vehicle and paintgun (#1783)
Closes #1819
2023-07-23 18:51:57 +02:00
maybegreat48
09a189eb4d
Force relay connections (#1813)
* feat(protections): add force relay servers
* feat(network): add support for non-direct connections
* feat(info): add helpful tooltip to prevent unnecessary bug reports
2023-07-23 18:47:25 +02:00
gir489
6c509e33dc
fix: Issues with missions and request control (#1785)
Closes #899
Closes #1787
Closes #1788
2023-07-23 15:01:46 +02:00
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
Rxann
95056d5af3
Allow Friends Into Locked Lobby (#1747) 2023-07-18 10:42:14 +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
17c8ab0e68
chore: remove chat profanity bypass (#1688)
Closes #1682
2023-07-11 23:14:46 +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
Quentin
0c050d82c9
Log GTA error message boxes and don't make them close the game. (#1671)
* refactor: move utf 16 to code page string conversion to its own util file

* feat(error-handling): log error message box generated from gta.
2023-07-10 19:01:34 +02:00
Andreas Maerten
2f1f094b89
feat(GTA Cache): removed unused old code (#1663) 2023-07-10 00:40:47 +02:00
gir489
7f777900a1
Persist Weapons (#1647) 2023-07-09 23:01:42 +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