314 Commits

Author SHA1 Message Date
Quentin
2e70faa4ad Fix lua native bindings and lua script reload (#1575)
* fix: script manager and lua scripts: change the api so that the m_scripts array is only modified in a specific safe location: before it gets ticked.
* fix script manager: don't expose the script vector directly, for multithreading safety
* fix lua manager usage: don't iterate the module array without locking, nor un/load module from a script thread
* lua script: only do actual loading of lua modules in script mgr
* lua native bindin: fix pointer parameters, out C style parameters are returned as multiple return values lua-style
2023-07-01 22:40:17 +02:00
maybegreat48
6ae19c062e Chat delay fix and improved crash protections (#1572)
* feat(protections): filter invalid sector position from the player game state data node
* feat(chat): bypass chat delay
* fix(world): fix auto disarm
* fix(chat): true instant messaging
2023-07-01 00:03:17 +02:00
Andreas Maerten
64afb5b0cb 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
1ab51f1e98 Custom location system (#1567) 2023-06-30 20:36:45 +02:00
DayibBaba
861ebdb2ae More bug fixes (#1557)
Fixed nearby features affecting players and local ped.
Removed faulty vehicle kick protection from can_apply

Fixes #1540
2023-06-30 13:38:44 +02:00
Andreas Maerten
464f2f90dc Bug fix time (#1549)
* fix(PlayerTP): Get Current only works once
* chore(README): removed features from TOC
* fix(ViewNetwork): SCTV join translation
* refactor: Use tunable service for no idle kick
* fix(Spoofing): check for valid model before spoofing
* feat(Spectate): Remove freeze and hide player blip
* fix(Spectate): case of chat not being visible as spectator.
* feat(Matchmaking): safer max search limit for match searching
* fix(Player/Toxic): Wanted Level small text translation
2023-06-28 11:20:48 +02:00
Andreas Maerten
618b50bd4c Fix settings::write_default_config & added reset all settings button (#1547)
* fix(settings): correctly write default settings
* feat(Settings): Added button to reset all settings
* fix(Settings): Use SeparatorText for subtitle
2023-06-27 20:24:08 +02:00
Quentin
dc18216263 lua: change the way native functions are binded (#1543) 2023-06-27 20:13:05 +02:00
DayibBaba
78986f7c02 General UI tweaks (#1538) 2023-06-27 14:05:44 +02:00
Quentin
a5b2c28c3b fix(CanApply): issue with selecting the correct datanode (#1533) 2023-06-25 23:04:01 +02:00
DayibBaba
c258ee2022 Vehicle tabs UI tweak (#1521) 2023-06-25 10:38:53 +02:00
DayibBaba
630159f65d 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
Quentin
56e21320e1 fix(pointer cache): cache version should be sensitive to field count (#1512) 2023-06-23 14:56:40 +02:00
tupoy-ya
e0bd043588 feat(Outfit Editor): Add [+] & [-] buttons (#1441)
* And other general UI improvements
2023-06-23 10:44:06 +02:00
Andreas Maerten
ef86872235 fix: Bool CMD hotkey toggle message showing translation key (#1510)
* feat(TranslationService): introduced fallback key to joaat version of get_translation
2023-06-23 09:55:26 +02:00
maybegreat48
1d75981731 Tunables service fix and theme changes (#1507) 2023-06-23 08:43:44 +02:00
T14D3
74d3e2ac57 feat(Aimbot): modified aimbot max distance (#1490) 2023-06-22 10:39:13 +02:00
DayibBaba
b96fddd8d0 Player UI tweaks (#1489)
* Redesigned Player UI

* Formatting
2023-06-22 10:11:56 +02:00
DayibBaba
9201cc363b feat(ViewSession): UI tweaks (#1479) 2023-06-21 10:02:35 +02:00
DayibBaba
906e1d083a Added nearby entity deletion (#1476) 2023-06-21 10:01:00 +02:00
DayibBaba
1b745a25b6 Added current coordinates in Teleport tab (#1474) 2023-06-21 10:00:38 +02:00
DayibBaba
4b74f411a2 Basic hostile ped disarm (#1437) 2023-06-17 18:39:16 +02:00
DayibBaba
e5581a6f03 fix: Made breakup conditional (being host) (#1436)
Closes #1448
2023-06-17 15:49:48 +02:00
Sainan
4b73b46053 Fix copy-paste error (#1446) 2023-06-17 15:17:46 +02:00
Sixhei Tartari
e8c8a5755b feat(Vehicle): Added keep engine running functionality (#1426) 2023-06-16 14:27:47 +02:00
Johann
3fbcaeb2f9 feat(session_browser): update max session limit (#1423) 2023-06-15 21:57:43 +02:00
Johann
c1d7e39186 fix: update more globals to 1.67 (#1415) 2023-06-15 13:20:08 +02:00
Takoyaki White
df9347552e Fix personal vehicle (#1410) 2023-06-15 12:22:41 +02:00
maybegreat48
0af712537f Update to 1.67 (#1407) 2023-06-14 23:29:25 +02:00
Forever Gone
f1895be28a Added atRTTI to CEventNetwork (#1399) 2023-06-12 16:32:03 +02:00
Rxann
b388d46623 chore(debug misc translations) (#1331) 2023-06-10 15:21:57 +02:00
DayibBaba
a19b4d572e feat: TP on top error fix & Manual Teleport & Infractions in player list & Max Performance (#1394) 2023-06-10 14:47:19 +02:00
DayibBaba
9b5bd2ee4d fix(ContextMenu): entity detection (#1392) 2023-06-07 23:56:43 +02:00
Andreas Maerten
34481918d1 feat(PlayerDB): notify when player is online (#1386) 2023-06-06 13:37:45 +02:00
maybegreat48
03c1a96b67 Lua Scripting (#1334)
Closes #83
Fixes #1309
Fixes #1287
Fixes #1129 (actually fixed now)
2023-06-06 09:40:40 +02:00
Rxann
18da367781 feat(Session): Lock Lobby (#1342) 2023-06-05 21:59:56 +02:00
Rxann
b8e8bccd1c feat(Notifications): Added push_success function (#1340) 2023-06-05 21:46:20 +02:00
DayibBaba
35b276e3f4 chore: Rework mission viewer and added Hunt the beast event support (#1354) 2023-06-05 21:34:06 +02:00
FireFox101889
4203fa3e7e fix(gui): Use correct imgui style for hotkey background (#1371) 2023-06-05 21:33:04 +02:00
I am Cypher
7c59e7a98d feat: Add Disable siren (#1383) 2023-06-05 21:32:49 +02:00
oPiloto
f65d384030 fix(TrollPlayer): fixed flip_180 and downgrade_vehicle (#1385) 2023-06-05 21:32:31 +02:00
Andreas Maerten
c7635a5396 fix(Debug/Threads): can't switch to later tabs (#1378) 2023-05-28 17:36:15 +01:00
DayibBaba
c1fc45ea64 Added options_modal component & showcase with Orbital drone feature (#1353) 2023-05-19 10:30:25 +02:00
tyackman
4147bc583a fix(Log): Chat/Spam logs using the old IP address (#1363)
IP addresses are not being logged properly via the chat/spam logger.
2023-05-19 10:29:10 +02:00
Takoyaki White
750dea6afc fix(pointers): update Presence Data sig (#1358) 2023-05-16 22:21:58 +01:00
DayibBaba
2148cd1161 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
DayibBaba
5c67e24382 Added dev tool for animations (#1332) 2023-05-10 22:29:40 +01:00
DayibBaba
fc30225bc4 Squad spawner improvements (#1329)
* New Fun UI for self with Super hero fly & bulletshield
* Added missing hotkey global
* New debug window for animations
* Some more context menu additions
* Changed private variable to public for Orbital drone
* Added max vehicle & favour roads & spawn ahead & orbital drone coords on custom spawn mode & persisten vehicle integration
* Removed Log entry
* Removed some more log entries
* Some small tweaks
* Added persistent vehicle to the logic
2023-05-10 22:29:16 +01:00
FireFox101889
b9efa3fac7 feat: Keep model dimension in mind when determining spawn location (#1316) 2023-05-10 22:11:59 +01:00
Andreas Maerten
61cd1c2a85 feat(ExceptionHandler): Force logs syncronously (#1317)
Closes #1303
2023-05-01 23:07:36 +01:00
Andreas Maerten
c9fc44e06b 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
Rxann
0440c35a3e fix(BlockJoin): Grab block reason correctly from DB (#1306) 2023-04-30 15:03:37 +01:00
Rxann
b3382b8dd3 feat(Block Join): fallback on breakup kick if block join fails (#1279) 2023-04-29 12:45:15 +01:00
Johann
fcd495082c feat(world): load ipl's (#1283) 2023-04-29 12:29:28 +01:00
Rxann
c1da23fb05 chore: change C-style casts to dynamic_cast (#1299) 2023-04-27 10:11:05 +02:00
Andreas Maerten
d56af95cbf fix(OrbitalDrone): crash when selecting a player ped (#1295) 2023-04-26 19:17:03 +01:00
Takoyaki White
fc5825643c Fix DEBUG_REMOVE_FROM_BAD_SPORT (#1296) 2023-04-26 19:16:41 +01:00
Andreas Maerten
58e5714011 fix(OrbitalDrone): broken tooltip text (#1294) 2023-04-25 22:59:51 +01:00
tupoy-ya
d8a2eae6d8 fix(Crash): Fixed crashes in SP Missions. (#1285)
chore(hooking.hpp): Removed useless declarations.
2023-04-23 23:06:20 +01:00
Andreas Maerten
86f93ffce6 chore: disabled blame explosion infraction (#1282) 2023-04-23 21:39:16 +01:00
Andreas Maerten
96174c7ab2 fix(exception_handler): crash on unload (#1280)
Restore the value the ErrorMode and the UnhandledExceptionFilter values.
2023-04-23 21:00:37 +01:00
DayibBaba
5299fe52ef Squad Spawner (#1250) 2023-04-23 16:23:00 +01:00
DayibBaba
de251b2e57 Improved does_script_exist() and local editor (#1265) 2023-04-20 20:07:16 +01:00
Aure7138
10d0563c4a fix(cache): less peds on init (#1268) 2023-04-19 10:57:49 +02:00
maybegreat48
1241f9835f Fix GTA data caching less weapons/vehicles on init (#1264) 2023-04-18 22:21:45 +02:00
Andreas Maerten
a5627476f7 fix(CmdExecutor): can't modify hotkey (#1261) 2023-04-17 19:24:41 +01:00
maybegreat48
730336e087 Hotfix VM patch (#1253) 2023-04-17 00:27:02 +02:00
maybegreat48
c773588c00 General fixes (#1251) 2023-04-16 19:28:49 +01:00
Andreas Maerten
96d3b48527 fix(BytePatch): incorrect explode patch (#1245) 2023-04-15 23:29:38 +01:00
Andreas Maerten
b20fbbb153 feat(ExceptionHandler): Don't log repeating exceptions (#1244) 2023-04-15 23:20:48 +01:00
Rxann
be8b7b76a2 feat(CustomWeapons): deactivate when weapon is holstered (#1231) 2023-04-15 22:17:43 +01:00
Andreas Maerten
287f231361 fix(Hotkey): Fast run and Freecam not working (#1242)
* fix(noclip): not working properly in single player

Fixes #1178
2023-04-15 21:34:39 +01:00
Andreas Maerten
e7f22be4be refactor(CmdExecutor): closing the executor window (#1240) 2023-04-15 20:00:22 +01:00
Andreas Maerten
4946d97081 feat(ContextMenu): disable if GUI is open (#1239) 2023-04-15 16:40:17 +01:00
Andreas Maerten
b26c714d74 Add vehicle gears to speedo meter (#1236) 2023-04-15 15:47:36 +01:00
Rxann
1794d9cad3 custom gun refactor (#1230) 2023-04-14 18:02:00 +01:00
Quentin E. / iDeath
5a4dc03121 Feat ptr cache continued (#1227) 2023-04-14 17:54:07 +01:00
DayibBaba
6fe56d3e2b Fix: Request control (#1226) 2023-04-12 19:10:56 +01:00
DayibBaba
a6dc40b890 Locals editor (#1211) 2023-04-11 20:36:43 +01:00
Andreas Maerten
5ed00303bf fix: vehicle control tabs and not working in offline (#1219) 2023-04-11 19:55:08 +01:00
Andreas Maerten
43bc7d7bd1 General code and GUI cleanup (#1200)
* feat(native_hooks): removed useless bail kick hook
* feat(Translations): add button to force update languages
* refactor: reorganize GUI for world
* refactor: improve exception handler
Modified the exception handler to not catch C++ try/catch blocks before those could gracefully catch the error.

* chore: debug removed crash test button
* chore: removed script exception handler
* feat(OrbitalDrone): add translations
* feat(VehicleController): add translation keys
* feat: added player admin detected translation keys
* feat(Views): add cache sub menu
2023-04-07 23:08:34 +02:00
Quentin E. / iDeath
a2dbddc702 feat(Pointers): add cache for pointers (#1203) 2023-04-06 19:01:23 +01:00
Rxann
38ba68e0e5 feat: Added toggle for admin join notification (#1199) 2023-04-06 18:55:28 +01:00
Aure7138
d92a172ecb refactor: all weapons in vehicle (#1197) 2023-04-05 20:25:20 +02:00
DayibBaba
7c912885fe feat: Vehicle control & Summon (#1175) 2023-04-05 18:54:29 +01:00
Rxann
b5c090e0f8 feat: Admin checking protection (#1187) 2023-04-05 17:57:28 +01:00
Quentin E. / iDeath
b8fa1e25fc feat-debug(thread_pool): log the job and which thread execute it for debugging purposes in case the thread never exit. also log in case a job is scheduled but none of the thread are currently available (#1190) 2023-04-04 22:52:57 +01:00
DayibBaba
d2cff7c868 fix(Orbital drone): Firing generated errors (#1189) 2023-04-04 22:52:33 +01:00
maybegreat48
9a85496375 Update presence data sig (#1186) 2023-04-04 16:57:32 +02:00
Andreas Maerten
61705c333f chore: remove session name spoof (#1184) 2023-04-03 23:07:15 +01:00
Andreas Maerten
ac709a0045 fix(GTAData): bump ped cache version (#1177) 2023-04-02 21:08:57 +01:00
Andreas Maerten
0eb037e138 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
Aure7138
205836dd74 feat(cache): expand ped (#1156) 2023-04-01 17:37:26 +01:00
T14D3
4922e60d89 fix: Add "Aimbot distance" to saved settings (#1162) 2023-04-01 14:46:41 +01:00
Aure7138
f6da0f1ceb commit (#1158) 2023-03-30 00:37:31 +02:00
DayibBaba
8ad4cf01dd Orbital Drone Feature (#1148)
* Orbital Drone Feature

* Fixed PR review comments

* chore: cleanup code

* UI & globals saving

* Fixed typo

* Fixed noclip conflict & Applied review suggestions & Added another changeable variable

---------

Co-authored-by: Yimura <24669514+Yimura@users.noreply.github.com>
2023-03-30 00:37:10 +02:00
DayibBaba
45c6edb129 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
Rxann
77cb85a72e feat(Hotkey): Add Repair PV hotkey (#1138) 2023-03-26 18:45:46 +01:00
Johann
aa4b0d7ed1 fix(chat): fix broken scaleforms with chat already open (#1133)
* fix(chat): fix broken scaleforms with chat already open
* fix(chat): only force close when chat is already opened
2023-03-23 11:11:29 +01:00
Aure7138
8c1ceda2f5 Fix focus lost crash (#1132) 2023-03-21 19:15:50 +00:00