Commit Graph

35 Commits

Author SHA1 Message Date
CringeArab 995b381053 Don't mark players in missions as joinable (#3444)
* do not mark missions as joinable

* disabled join button
2024-07-26 23:27:50 +02:00
gir489 e08ab4ca80 Project include cleanup (#3404) 2024-07-23 13:40:30 +02:00
gir489 67203b8fca Removes size requirement on view_world check boxes affecting translations. (#3322)
Nightly Build / Check Recent Commit (push) Failing after 7s
Nightly Build / Build Nightly (push) Has been skipped
Nightly Build / Recreate Release (push) Has been skipped
2024-07-11 19:11:24 +02:00
Quentin 50da01eb22 fix off by one error (#3296) 2024-07-02 10:16:06 +02:00
Quentin 10d0e72285 block_join_reasons cleanup (#3290) 2024-06-27 22:11:08 +02:00
maybegreat48 4589b87553 Menu revamp (#3274)
* Complete player and network UI redesign, meant to show all features instead of stuffing them into tiny boxes
* Added option to delete player vehicles
* Better clone player (now clones head blend too)
* Better host token spoofing, with an option to enter your own
* Better host token spoofing detection
* Better desync kick prot detections
* A script blocker for the entire session (per-player options will be added later)
* Added option to spoof data/DLC hashes
* Logging framework that allows developers to easily debug false positives
* Major protection improvements
2024-06-27 10:32:17 +02:00
CringeArab 43ddc04dbe Filters to the player database (#3268) 2024-06-24 20:27:16 +02:00
R.K f4449bad99 PlayerDB Delete Untrusted Players (#3053) 2024-05-06 20:51:33 +02:00
Andreas Maerten cba19d0c33 refactor!: Rewrite of the old notification service (#2866)
The main goal was improving the readability of the original code however some ugliness remains.

- Swapped from pointer singleton to instance singleton
- Actually make use of the alpha logic that used to be present
- Added a counter to notifications to indicate if something is being spammed
- Notification timeouts reset if they're sent to the queue again
2024-03-23 00:04:49 +01:00
thehorizon84 ef355736a2 Player Database Enhancement (#2411)
Added 'Send Friend Request' through the player's rockstar ID.
2023-11-14 20:20:26 +01:00
thehorizon84 2121ff2b7e feat: Modify ocean level and add direct invite player from DB (#2384) 2023-11-05 22:39:53 +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 37468ca7b0 Converted all static strings to translation keys. (#2284) 2023-10-20 18:24:44 +02:00
Quentin 94838af288 feat(lua): Allow lua scripts to flag modders with a custom reason if needed. (#2248) 2023-10-13 00:11:37 +02:00
Quentin 92b6df7653 fix(player-db): restore old on-demand thread creation behavior. (#2167)
Fixes #2160
2023-09-21 20:08:23 +02:00
gir489 347f33fb2d Disable input when typing into a text field. (#2140)
Closes #2139
2023-09-17 22:23:26 +02:00
GTMoraes 4025cbfa8d Fix small typo in view_player_database.cpp (#2080) 2023-09-08 11:46:34 +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
Andreas Maerten 7c927e0cfb feat(PlayerDB): Added search button (#1579) 2023-07-02 22:55:06 +02:00
tupoy-ya 1eae251012 feat(Outfit Editor): Add [+] & [-] buttons (#1441)
* And other general UI improvements
2023-06-23 10:44:06 +02:00
maybegreat48 5e0efaaed5 Tunables service fix and theme changes (#1507) 2023-06-23 08:43:44 +02:00
Andreas Maerten 1b389d44a7 feat(PlayerDB): notify when player is online (#1386) 2023-06-06 13:37:45 +02:00
Rxann 56d9d39b71 feat(Notifications): Added push_success function (#1340) 2023-06-05 21:46:20 +02:00
Andreas Maerten 71892a6fa7 refactor(PlayerDB): Improve code (#1313)
This PR includes some improvements to the player DB service:
 - Added `Get Gamer Online State` function pointer
 - Added sorting of players alphabetically and grouping of players by their online state
 - The player DB service will now update 32 players at a time for their online state
 - Player entries will automatically save when changing any data from them
 - Update the player online states every 5min
2023-05-01 22:23:07 +01:00
Quentin E. / iDeath 74c3931209 Feat ptr cache continued (#1227) 2023-04-14 17:54:07 +01: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
Johann 60b61cbce2 feat(player_db): add player online status (#983) 2023-02-21 11:52:05 +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 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
TheGreenBandit 61f125901e chore: Replace ImGui::InputText with components::input_text (#869)
Fixes #862
2023-01-16 20:58:57 +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
maybegreat48 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
Bugisoft f44859a973 feat(Api): Add more api endpoints to the scui api (#714)
* feat(Api): Add send message to player database
* feat(cpr): Disabling test build
* feat(Api): Fix max message length
* feat(Api): Download job for creator menu
2022-12-22 10:49:34 +00:00
maybegreat48 ab49103171 Improve protections again and player database (#606) 2022-11-19 02:49:36 +01:00