Commit Graph

47 Commits

Author SHA1 Message Date
36d1dbeb22 Set menu language to game language on first run (#1577)
* feat(translations): set menu language to game language on first run
* fix(translations): add exception handlers
* fix: more exception handlers
2023-07-02 00:25:40 +02:00
d1e839651b 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
57ac1a315c 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
d4bcd70629 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
5fc6ef8fb5 General UI tweaks (#1538) 2023-06-27 14:05:44 +02:00
1eae251012 feat(Outfit Editor): Add [+] & [-] buttons (#1441)
* And other general UI improvements
2023-06-23 10:44:06 +02:00
5e0efaaed5 Tunables service fix and theme changes (#1507) 2023-06-23 08:43:44 +02:00
0ff99ececc Update to 1.67 (#1407) 2023-06-14 23:29:25 +02:00
ffc955f6c1 chore(debug misc translations) (#1331) 2023-06-10 15:21:57 +02:00
5f7b3569d3 feat: TP on top error fix & Manual Teleport & Infractions in player list & Max Performance (#1394) 2023-06-10 14:47:19 +02:00
70efa40afe Lua Scripting (#1334)
Closes #83
Fixes #1309
Fixes #1287
Fixes #1129 (actually fixed now)
2023-06-06 09:40:40 +02:00
56d9d39b71 feat(Notifications): Added push_success function (#1340) 2023-06-05 21:46:20 +02:00
3c2245f780 General fixes (#1251) 2023-04-16 19:28:49 +01:00
8a9c6a22c0 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
74c3931209 Feat ptr cache continued (#1227) 2023-04-14 17:54:07 +01:00
6df7be6f06 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
aa984a5636 feat: Added toggle for admin join notification (#1199) 2023-04-06 18:55:28 +01:00
96d1c26242 feat: Vehicle control & Summon (#1175) 2023-04-05 18:54:29 +01:00
5144d6ce45 feat(Hotkey): Add Repair PV hotkey (#1138) 2023-03-26 18:45:46 +01:00
0a9891e69d refactor: SET_PED_RANDOM_COMPONENT_VARIATION (#1125) 2023-03-21 08:22:08 +00:00
66f23ae57a Hotfix outfit random component crash (#1124) 2023-03-20 13:23:43 +01:00
ddaee3f069 fix #1116 (#1117) 2023-03-19 16:19:13 +01:00
ef82f65cc3 feat: outfit editor (#1089) 2023-03-17 22:35:04 +01:00
d87caaa6d7 Several feature additions (#889)
* Added Infinite Range
* Added Fill Ammo
* Added Aim Assist
* Added Hud Color Options
* Added Clear Wanted Level
* Added Health Regen
* curly brackets in invisibility
* Added hotkeys
* Improved Increased Damage
2023-03-13 21:10:21 +00:00
10bbf1f4bb feat: command executor (search bar) (#1029) 2023-03-11 00:06:09 +01:00
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
fa7e5e5a34 feat(protections): block receive pickup (#933) 2023-02-04 23:20:49 +01:00
4c45d40df1 fix(overlay): timezone crash (#946) 2023-02-04 23:08:53 +01:00
c25e7d3fad feat: add ragequit option + hotkey (#925) 2023-02-01 18:48:50 +00:00
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
ef3decba53 feat(ui): add ingame overlay (#910)
* feat(overlay): add current time
* feat(overlay): add customization options
* fix(overlay): use local time zone
* fix(overlay): enable by default
* feat(overlay): add position modification
2023-01-30 23:21:29 +00:00
98364f30b6 feat: stat editor (#884) 2023-01-22 21:57:55 +00:00
d45d0c1ffc Toxic features and improve protections (#897) 2023-01-22 21:57:32 +00:00
c138aaa974 feat(GUI): Move hotkey settings to submenu (#841) 2023-01-09 21:07:48 +00:00
93b72b525b Hotkey Additions (#802) 2023-01-09 16:40:03 +00:00
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
43eec4eb35 Some general fixes (#782)
* feat(protections): small updates
* chore(CustomText): comment out TICK_LEFTCHEAT label override
* feat(protections): make desync protections optional
* fix(matchmaking): fix pool filter
2022-12-31 00:47:01 +00:00
630450fd74 fix #737 (#738) 2022-12-26 18:49:55 +01:00
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
2ae76e0b14 feat(renderer): add UI scaling (#674)
Closes #587
2022-12-09 19:43:01 +00:00
8c3953ab20 Toxic update (#641) 2022-12-06 16:12:02 +00:00
4a22a997c5 fix(hotkey_service): duplicate key overwrite (#643) 2022-11-26 21:12:21 +00:00
2364bc5688 feat(services): added hotkey_service (#634)
Co-authored-by: Yimura <24669514+Yimura@users.noreply.github.com>
2022-11-26 17:29:14 +00:00
64b47779e8 Lessen breakup kicks and more (#625) 2022-11-21 15:42:12 +00:00
eb41c69e09 Force session host and improve protections (#593)
* Add force session host and update protections

* Remove old popgroup protection

* Harden script patcher

* Replace looped options with script patches

* Missing break

* Use enums

* Forgot to break again...

* Add tooltip for force session host

Co-authored-by: user <email@hostname>
2022-11-13 17:34:44 +01:00
74c8e8d70c Add script patcher and update protections (#588) 2022-11-12 18:35:28 +00:00
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