56 Commits

Author SHA1 Message Date
gir489
e08ab4ca80
Project include cleanup (#3404) 2024-07-23 13:40:30 +02:00
DayibBaba
e2f9714e18
Fixed invalid command crashing game (#3388)
Some checks failed
Nightly Build / Build Nightly (push) Has been skipped
Nightly Build / Recreate Release (push) Has been skipped
Nightly Build / Check Recent Commit (push) Failing after 4s
2024-07-20 12:26:51 +02:00
DayibBaba
2f9194e49a
YimCLI (#3348)
* Better command suggestions
* Suggestions work at any location in a written command
* Multiple commands in a single command
* Added spectate command & highlight on suggestion selection
* Added no suggestions warning
* Added Kamikaze & send squad & join player command
2024-07-17 14:11:09 +02:00
DayibBaba
b90ce402a1
Expand Cmd Executor (#2884)
Some checks failed
Nightly Build / Check Recent Commit (push) Failing after 5s
Nightly Build / Build Nightly (push) Has been skipped
Nightly Build / Recreate Release (push) Has been skipped
Added additional commands to showcase suggestion system.
Added a new util file to operate on strings in a unified manner.
Changed input_text_with_hint component to allow for more flags than one.
Added more player seeking features to player_service such as get_by_name()

* Fixed out of bounds suggestion navigation

* Added suggestions to spawn_vehicle command

* Created command play_animation

* Added suggestion support for multi commands

using a semicolon allows for more commands to fire at once, and is now supported with appropriate suggestions

* Added rotation to teleport_to_location command

* Fixed stupid error & added multiple raw command auto fills

* Added sanity checks to avoid nullpointers

* Added context identifiers to player commands

* Added temporary self inclusion to player commands

Needs translation on the translations repo

* Applied rudamentary reviews

* Experimental proxy globalization

* Fixed argument sensitivity on spawn vehicle

* Scrapped 2 ideas (maybe for future)

* Added true and false suggestions to bool commands

---------

Co-authored-by: Andreas Maerten <24669514+Yimura@users.noreply.github.com>
Co-authored-by: gir489 <100792176+gir489returns@users.noreply.github.com>
2024-07-13 00:26:34 +02:00
Mr-X-GTA
3bffd92839
Bug fixes and improvements (#3324)
Some checks failed
Nightly Build / Check Recent Commit (push) Failing after 4m28s
Nightly Build / Build Nightly (push) Has been skipped
Nightly Build / Recreate Release (push) Has been skipped
* feat: handle exceptions on jumps correctly
* fix(player_db): fix invite player
* fix: remove old stuff
* fix(script__vm): fix script vm crashes
* remove debug code
* fix(scr_globals): fix globals and locals
2024-07-10 13:43:39 +02:00
maybegreat48
61ddba1634
Update for b3258 (#3288)
* fix: update script names
* fix: use original chat sender
* feat(tunables): fix tunable service
* fix: explode patch (thanks @Mr-X-GTA)
* fix: fix compile errors
* fix: use unique_ptr
* Added 1.69 vehicles.
* Added new weather for 1.69 and updated stack sizes.
* Fixed garage.
* Made Unload button a developer-only feature. (Disabled on Release)
* Redesigned Network tab to not be a giant mess.
* Added new json_serializer code from @tupoy-ya.
* chore: correct dependency

------

Co-authored-by: maybegreat48 <email@hostname>
Co-authored-by: Andreas Maerten <24669514+Yimura@users.noreply.github.com>
Co-authored-by: gir489returns <redacted@example.com>
2024-07-03 23:04:06 +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
maybegreat48
a218f84eed
Break game and protections (#3203) 2024-05-30 19:45:43 +02:00
CringeArab
64d187413f
fix: Fake ban message (#3141) 2024-05-19 20:42:29 +02:00
Muhammad007228
dada469c55
Less noticeable multi-kick => smart-kick (#3066) 2024-05-10 11:51:14 +02:00
Mr-X-GTA
9062491f1d
Fix player list crash (#3080)
* Fixed get_rockstar_id returning an incorrect type.
* Added more OOP usage of get_rockstar_id when applicable.
Co-authored-by: gir489returns <gir489returns@outlook.com>
2024-05-09 23:28:11 +02:00
maybegreat48
29f226b316
Assorted fixes (#3073)
* feat: unstuck more when removing blackscreen
* fix: make kicks more versatile
2024-05-09 11:05:56 +02:00
tiCkuhAr
dfca5c7567
Remove useless kicks (#3061) 2024-05-06 22:11:35 +02:00
R.K
1066aefa03
Start Script Activity Session Check (#3045) 2024-05-06 22:00:32 +02:00
gir489
1fa3ef8a45
Added StartScriptBegin protection. (#2962)
* Refactored Script Event Logging to log to a file that's kept open, but flushed each event instead of spamming the console.
* Added Rockstar ID to the Script Event Logger.
2024-04-23 22:48:29 +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
Andreas Maerten
e07601347d
refactor: switch RAGE_JOAAT with string literal functions (#2806)
Why? Shorter to write and removes the macro usage

I used the following regex to find all occurrences:
```r
RAGE_JOAAT\("(.*?)"\)
```
then the following to replace it all:
```r
"$1"_J
```
2024-03-12 09:42:11 +01:00
maybegreat48
1127e51a52
Optimizations (#2649)
* fix(Respawn): fix respawn in SP
* fix: re-enable bigobj
* fix: update creator's stack size
* fix: use BOOLs instead of bools
* fix(gitignore): hide .pyc files
2023-12-29 17:07:00 +01:00
gir489
e9fdc86239
Fixed unlockveh using the player id instead of ped (#2591)
* Fixed unlockveh command using the Player ID for the arguments instead of the Player Ped.

* Fixed lock/unlock vehicle door calls to use the eVehicleLockState enum.
2023-12-18 14:59:35 +01:00
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
b7b901d77f
Fixed TRIGGER_SCRIPT_EVENT for 3095. (#2527) 2023-12-13 19:32:26 +01:00
Aure7138
e6c4a6a1d6
fix(player_command): execution failure (#2503) 2023-12-11 08:42:13 +01:00
gir489
37468ca7b0
Converted all static strings to translation keys. (#2284) 2023-10-20 18:24:44 +02:00
Andreas Maerten
956d8110a0
fix(MultiKick): Crash when calling CNetGamePlayer::is_host (#2106) 2023-09-09 11:32:55 +02:00
Andreas Maerten
4c6226d022
fix(MultiKick): check against player nullptr (#2057)
* fix(MultiKick): check player ptr before using it

* fix(Kick): guard other commands against nullptr player ptr
2023-08-29 23:58:44 +02:00
gir489
066f659cfe
Move all global indices into scr_globals.hpp. (#2018) 2023-08-24 22:06:50 +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
kbabrmover1995
a47af68384
Sending all kick methods (#1921) 2023-08-12 20:45:28 +02:00
MoneyDropLobby
bb9ea84862
chore: Use override keyword in commands to make sure virtual funcs are properly overwritten (#1897) 2023-08-01 11:10:14 +02:00
Andreas Maerten
96493b5a22
refactor!: Modify command argument handling and move on_ method to bool_command (#1826) 2023-07-26 22:22:40 +02:00
HCR-750F
f73c1bdc98
Fix crash reaction and add more translation key (#1850) 2023-07-26 18:26:09 +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
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
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
DayibBaba
7b552f71aa
Some fixes and requests (#1516)
* Removed Delete button and nearby.cpp

* Added player check for kill button

* Added delete vehicle button

* Fixed give armor & added vehicle god esp
2023-06-24 23:12:20 +02:00
maybegreat48
5e0efaaed5
Tunables service fix and theme changes (#1507) 2023-06-23 08:43:44 +02:00
DayibBaba
dca82a4060
fix: Made breakup conditional (being host) (#1436)
Closes #1448
2023-06-17 15:49:48 +02:00
Johann
6aa713c831
fix: update more globals to 1.67 (#1415) 2023-06-15 13:20:08 +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
oPiloto
c3d1ffeb5a
fix(TrollPlayer): fixed flip_180 and downgrade_vehicle (#1385) 2023-06-05 21:32:31 +02:00
Quentin E. / iDeath
74c3931209
Feat ptr cache continued (#1227) 2023-04-14 17:54:07 +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
DayibBaba
67b18ca5eb
More context menu operations (#1154)
Vehicle table:
-Copy vehicle
-Boost
-Launch
-Eject

Ped table:
-Disarm
-Ragdoll
-Dance

Player table:
-Breakup kick
-Kick
-Disarm
-Ragdoll

Shared table:
-Enflame

These additions required some other tools and fixes such as:
-Remove weapons command fix.
-Ped animation player tool in ped.hpp
-get player from ped tool in ped.hpp.
-A fiber pool queue on execution of Context menu operations.
2023-03-28 22:28:25 +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
JDMJay
2d44f14a22
feat(players): Vehicle Tree (#903)
* feat(player_info): Open Social Club Overlay
2023-03-04 11:23:45 +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
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
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