27 Commits

Author SHA1 Message Date
Muhammad007228
dada469c55
Less noticeable multi-kick => smart-kick (#3066) 2024-05-10 11:51:14 +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
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
alyxme
5f1b13d0dc
(feat) option Fix to context menu (#1962) 2023-08-24 22:07:35 +02:00
kbabrmover1995
a47af68384
Sending all kick methods (#1921) 2023-08-12 20:45:28 +02:00
DayibBaba
ee364cd684
Ped animations interface (#1668) 2023-08-04 14:43:35 +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
Bugisoft
74ba7b6860
Custom Sky Color and unify some stuff (#1779) 2023-07-20 22:46:32 +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
a43d3d8824
fix: Context Menu crash & Vehicle God mode (#1571)
* fix(ContextMenu): nullptr dereference while drawing box
* fix(ESP): Vehicle God mode check if ped is actually driving
2023-06-30 20:38:30 +02:00
DayibBaba
59f948c6fc
fix(ContextMenu): entity detection (#1392) 2023-06-07 23:56:43 +02:00
DayibBaba
a524009cb7
Context menu: Fixed irregular distribution of operations and added some more (#1335)
* Fixed irregular distribution of operations and added some more
* Changed explosion type of Enflame
2023-05-10 22:37:47 +01:00
Rxann
4422655b32
chore: change C-style casts to dynamic_cast (#1299) 2023-04-27 10:11:05 +02:00
maybegreat48
3c2245f780
General fixes (#1251) 2023-04-16 19:28:49 +01:00
Andreas Maerten
e138e2fa11
feat(ContextMenu): disable if GUI is open (#1239) 2023-04-15 16:40:17 +01: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
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
c798bbe7c9
feat(world): model swapper (#1003) 2023-02-20 22:20:40 +00:00
Aure7138
703d1ef07f
fix(context menu): fix context menu crash (#832) 2023-01-08 20:25:48 +00:00
Yimura
f6c00f113d
refactor!: globals (#717)
* refactor(globals): use macro's for to_json/from_json
* refactor(globals): switch from global pointer to global instance
2022-12-18 22:15:52 +00:00
Yimura
f2f3c28048
refactor: Renderer (#694)
* Simplified SwapCHain, Device and DeviceContext pointers
* Added DX and WndProc callback registration
* Cleaned up GUI code
* Optimised Mouse Toggle
2022-12-16 17:55:55 +00:00
SpaghettDev
cab25b12f7
feat(hud): Add force show HUD component and replaced some hard-coded values. (#628) 2022-11-26 19:42:58 +00:00
Aure7138
5f70975ffe
feat(vendor): updated GTAV-Classes (#560) 2022-11-08 22:44:52 +00:00
tupoy-ya
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