66 Commits

Author SHA1 Message Date
aa15032261
00a19d9290 Improved error handling of gta_data_service. (#412)
* Bug fix for #403

* Fixed Issue #403

* Minor fixes.

* Improved error handling of gta_data_service.

Fixed an issue where the game crashes when throwing invalid json format exception.

* Minor fixes.

* Minor fixes.

* Improved error handling of gta_data_service.

Also extended the timeout to 30s.

* Improved error handling of gta_data_service.

- Fixed an issue where http_request doesn't handle HEAD requests and socket.recv error correctly.

- Limited gta_data_service to have only 1 active http request.

* Minor fixes.

* Minor fixes.
2022-08-13 17:17:59 +02:00
aa15032261
8faa090ffd Improved error handling of gta_data_service. (#411)
Fixed an issue where the game crashes when throwing invalid json format exception.
2022-08-13 13:29:33 +02:00
aa15032261
1ef205d0a5 Fixed Issue #403 (#408)
Fixes #403
2022-08-13 11:19:18 +02:00
aa15032261
77adac6e1a Added spawn ped feature. (#377) 2022-08-10 02:42:34 +02:00
aa15032261
b4d8a08eef Added ped model preview. (#375) 2022-07-30 19:47:48 +02:00
aa15032261
1e7712c60c Added drive to objective feature. (#369) 2022-07-30 18:53:08 +02:00
Yimura
5613d410bd feat(vendor): updated GTAV-Classes (#372) 2022-07-30 18:23:40 +02:00
Yimura
15ecf00f94 Add custom text service (#370) 2022-07-29 14:32:02 +02:00
aa15032261
28c28fd244 Added weapons to gta_data_service. (#365) 2022-07-29 13:51:19 +02:00
Quentin E. / iDeath
205a3f3a4e add persist car (save / load json vehicles) (#366) 2022-07-28 20:42:57 +02:00
aa15032261
97fcc7fddb Added clone current vehicle feature. (#351) 2022-07-27 19:42:15 +02:00
aa15032261
2b37a040d0 Added ped model data. (#349) 2022-07-19 12:19:19 +02:00
aa15032261
d7d398906d Fix an issue where spawn max could crash the game for some vehicles (#341) 2022-07-16 22:36:05 +02:00
aa15032261
fc6f797088 Added filter vehicle by class feature. (#336) 2022-07-15 14:54:23 +02:00
aa15032261
bbd1af8738 Added headlight, neon light and custom tire options to LSC. (#332) 2022-07-14 16:16:30 +02:00
aa15032261
44745c09d4 Added proofs to vehicle menu and improved waterproof feature. (#330)
- Added proofs section to vehicle menu that allows player to control damage bits. 
- Player can now drive or walk underwater with waterproof turned on.
- Added bring closest vehicle feature.
- Vehicle will not deform with collision proof on.
- Improved vehicle menu arrangement.
- Added plate changer in LSC.
- Updated LSC layout.
- Expanded wheel type feature.
- Fixed a bug where the mod section shows repetitive wheel mods.

Fixed issue #331
2022-07-12 16:42:07 +02:00
aa15032261
cf52e9f77d feat(Personal Vehicle): Added clone personal vehicle feature. (#326) 2022-07-10 00:33:14 +02:00
LiamD-Flop
26457f0d35 fix(Notifications): Added titles to duplicate check (#325) 2022-07-06 13:02:54 +02:00
mentolixite
faee5efb6e fix(ViewPlayer): Make "never wanted" feature independent for each player (#316)
Co-authored-by: Yimura <andreas.maerten@scarlet.be>
2022-07-05 22:35:32 +02:00
Yimura
514f41ac69 refactor(PlayerService): Split classes into multiple files (#310) 2022-07-03 00:26:25 +02:00
mentolixite
fa7a65475d feat(ViewPlayer): Give health, armour, ammo, weapons (#261)
Co-authored-by: maybegreat48 <96936658+maybegreat48@users.noreply.github.com>
Co-authored-by: Yimura <andreas.maerten@scarlet.be>
2022-07-03 00:03:07 +02:00
Yimura
d243aef3ce refactor: cleaned up service directory structure (#300) 2022-06-30 00:11:54 +02:00
Quentin E. / iDeath
5086d79f5d feat context_menu_service (#293)
- add box around selected entity
- add option to select entity types 
- show reticle in middle of screen
2022-06-29 23:27:44 +02:00
DayibBaba
37721ce73f Name and status variables for the Script system. (#244)
Co-authored-by: Yimura <andreas.maerten@scarlet.be>
2022-06-27 20:12:45 +02:00
Quentin E. / iDeath
3f4ea4a3d9 cache self player_ptr (#288) 2022-06-27 15:24:34 +02:00
mentolixite
12f4035eff feat(vehicle): LSC (Los Santos Customs) tab (#254)
Co-authored-by: mentolixite <mentolixite@pm.me>
2022-06-26 00:14:00 +02:00
Yimura
5df7a425b0 fix(PlayerService): Reset selected player back to dummy
Fixes #282
2022-06-25 22:40:34 +02:00
Quentin E. / iDeath
6ef2a63f8c Make DISABLE_CONTROL_ACTION calls in their own script thread (#284) 2022-06-25 21:17:35 +02:00
mentolixite
8626bf2184 feat(PlayerList): Show self at the top, separated by a divider (#271)
Additionally I redesigned how the player service worked.

Co-authored-by: Yimura <andreas.maerten@scarlet.be>
2022-06-24 19:48:03 +02:00
LiamD-Flop
2afe6703f4 feat(CTX MENU): Added ctx menu toggle (#265) 2022-06-02 12:36:16 +02:00
mentolixite
a2848e933d feat(Hooks, PlayerList): CNetworkPlayerMgr::init(), add self (#251) 2022-05-28 17:44:05 +02:00
karifeld
0f09234130 refactor: Modernized/optimized general code, bug fixing and more (#226)
* refactor: Use self globals

* refactor: Use gui::components

* fix(Vehicle Preview): Addresses #119

Previewed vehicle set to unclimbable

Only preview when hovered on vehicle

* fix(Infinite Clip): Disabling it now works

* fix(No Ragdoll): Disabling it now works

Removed unnecessary calls to natives (0xB128377056A54E2A should be enough)

* fix(Spawn): Wrong footer placement

* fix self globals file name typo

* refactor(Mobile): Clear ped tasks when set conditions are met

Only clear ped tasks if pv_teleport_into bool is true and ped is in a vehicle

* feat(Weapons): Remove current weapon

* refactor: Added missing variable in calls to self globals

* refactor: Utilize usage of ControllerInputs

* fix(Vehicle Fly): uninitialized local variable 'ped' used

* refactor(No Ragdoll, Infinite Clip): Only run on boolean change.

* refactor(Infinite Ammo): Simplified code

* refactor: Utilize ControllerInputs in other areas of code

* refactor: Utilize ControllerInputs in other areas of code
2022-05-22 18:38:45 -04:00
Yimura
5244a4e6b4 fix(ContextMenu): Run script function 2022-05-22 18:10:51 +02:00
LiamD-Flop
9aebeaed17 F.A.R.T. Interface (#104)
Co-authored-by: Yimura <andreas.maerten@scarlet.be>
2022-05-22 16:38:28 +02:00
Reece Watson
70d04aa1ce feat(Protections): Added desync protection and notification (Closes #156) (#220)
* feat(Protections): Added desync protection and notification (#156)

* fix(Protections): Fix warning and revert Premake VS version
2022-05-20 18:17:41 -04:00
Yimura
addad5d44b fix(MobileService): Update last update time 2022-05-11 00:02:33 +02:00
Yimura
608fcc8868 refactor(MobileService): Auto load personal vehicles, modernized code & improved caching (#195) 2022-05-10 19:02:30 +02:00
Mystro
28640b453e feat(Player): Added Flying vehicle
Co-authored-by: LiamD-Flop
2022-05-05 22:51:18 +02:00
LiamD-Flop
e7cc2611b6 feat(GUI): Simplifying the gui (#118)
Co-authored-by: Maddy <59680197+xM4ddy@users.noreply.github.com>
Co-authored-by: Yimura <andreas.maerten@scarlet.be>
2022-05-04 19:16:40 +02:00
Yimura
dd31636275 feat(VehiclePreview): Stop preview on spawn 2022-03-31 01:34:36 +02:00
Yimura
b90f4ef46d fix(VehiclePreview): Issue w/ running fiber 2022-03-31 01:26:22 +02:00
Yimura
a2f459fad9 feat(Logging): Added settings to toggle them (#126)
* feat(Settings): Added notification settings
2022-03-21 18:10:18 +01:00
Yimura
54bdb6da56 feat(Spawner): Preview vehicle before spawning (#113) 2022-03-14 23:31:30 +01:00
LiamD-Flop
5a25456431 feat(ESP) (#90)
* feat(ESP): Basic esp

* feat(ESP): Optimized ESP, Added tracer & playername

* feat(ESP): Added health & distance

* feat(ESP): Added settings for esp

* feat(ESP): Toggle ESP

* feat(ESP): Small customizability added

* feat(ESP): Toggle settings on global toggle

* fix(ESP): Stupid mistake

* fix(ESP): Build warning

Co-authored-by: Yimura <andreas.maerten@scarlet.be>
2022-03-09 00:03:14 +01:00
LiamD-Flop
eb71752b5b feature(GUI): Notifications are gui styled. (#69)
* feature(GUI): Notifications are gui styled.

* feature(GUI): Removed ~r~
2022-03-02 00:21:29 +01:00
Yimura
b9f61c522b feat(Players): Added friends again 2022-02-21 00:55:21 +01:00
Yimura
0898dbe2ff fix(PlayerService): return nullptr instead of false 2022-02-18 16:28:31 +01:00
Yimura
0cff76852a feat(PlayerList): Further simplified how selected player is handled 2022-02-02 01:38:35 +01:00
Yimura
1dc68d23e1 feat(PlayerList): Rewrite of entire player management system 2022-01-31 18:27:35 +01:00
Yimura
adb95d3f46 fix(Globals): Globals created at runtime need their cache built 2022-01-08 20:30:13 +01:00