Commit Graph

523 Commits

Author SHA1 Message Date
Linden
541e708970 refactor(addKeybind): move RegisterCommand to top 2022-10-25 02:58:39 +11:00
Manifest Bumper
7c566719ad chore: bump manifest version to v2.14.1 2022-10-20 11:59:32 +00:00
Luke
e40331009b fix(web/skillcheck): use proper skill check calculations
Changed the areaSize to use degrees rather than the length of the arch which was causing issues

Co-authored-by: DokaDoka <31368547+DokaDoka@users.noreply.github.com>
2022-10-20 13:31:30 +02:00
Linden
2bb0d68415 fix(callback): bad argument to unpack when callback throws error
Throwing an error responds with false rather than a string.
2022-10-19 20:20:38 +11:00
Manifest Bumper
6f0bf6a624 chore: bump manifest version to v2.14.0 2022-10-19 07:27:57 +00:00
Luke
3fcb9941f7 refactor(web/skillcheck): remove unused code and comments 2022-10-18 20:03:00 +02:00
Luke
6264bbcbc9 refactor(skillcheck): move array handling into ui 2022-10-18 20:03:00 +02:00
Luke
61092d7c3c refactor(web/skillcheck): move visibility into it's own state 2022-10-18 20:03:00 +02:00
Linden
d5437e070c chore(interface/skillcheck): types 2022-10-18 20:03:00 +02:00
Luke
5c4853798e feat(package): skillcheck typings 2022-10-18 20:03:00 +02:00
Luke
d4b331c104 style(web/skillcheck): update appearance 2022-10-18 20:03:00 +02:00
Luke
4a2866613e feat(client/skillcheck): skillcheck array chaining 2022-10-18 20:03:00 +02:00
Luke
ed8e804c09 feat(web/skillcheck): add support for custom game difficulty 2022-10-18 20:03:00 +02:00
Luke
a358f1ccad tweak(web/skillcheck): adjust game difficulty
Don't spawn the skillcheck zone in the 1/3rd of the circle and adjust hard difficulty
2022-10-18 20:03:00 +02:00
Luke
e4b3e0186d feat(client/skillcheck): winning/losing promise resolving 2022-10-18 20:03:00 +02:00
Luke
66c16b5843 feat(web): skillcheck minigame 2022-10-18 20:03:00 +02:00
Linden
ec18bbf34a fix(locale): setLocale 2022-10-19 04:14:36 +11:00
Linden
671be5e7a2 refactor(locale): simplify
BREAKING CHANGE (kind of)
Remove user-selection for locales. Adds mostly unnecessary complexity,
and most people don't want to bother with it anyway.

Locale is always based on the convar "ox:locale" instead.
2022-10-18 21:17:26 +11:00
Linden
5b2c74afa0 refactor(addKeybind): improve types 2022-10-16 12:49:47 +11:00
Dominic
63b8afa9ed refactor(addKeybind): consistency with defaultKey (#128) 2022-10-16 12:41:49 +11:00
Róbert Nagy
a4d553cbb1 fix(logger): Fix bad argument #2 to strsplit (#125)
Only Loki logging was affected. When no tags were given and the source is console the convertDDTagsToKVP break because of the nil value.
2022-10-15 13:04:14 +11:00
Dominic
4f71595122 refactor(keybinds): rename module, tweaks (#127) 2022-10-15 10:08:20 +11:00
BerkieBb
115bf702c9 feat(client/textui): open state getter for textUI (#126)
* feat(package/interface/textui): text ui open getter

* feat(resource/interface/textui): text ui open getter
2022-10-14 17:17:57 +02:00
Linden
01b4c53a9d fix(keybinds): typo 2022-10-14 11:46:06 +11:00
Linden
7355d9ef25 refactor(keybinds): formatting and tweaks 2022-10-14 11:01:57 +11:00
Dominic
de23afa7f8 feat(imports): add keybinds manager (#124) 2022-10-14 10:58:45 +11:00
BerkieBb
5c34948528 fix(web/menu): don't call onSideScroll when opening the menu (#123)
* fix(web/features/menu/list): don't call onSideScroll when opening the menu

* refactor(web/menu): use conventional ref naming

Conventional ref variable names contain the word `ref` or `refs` if it's an array

Co-authored-by: Luke <sabolukas03@gmail.com>
2022-10-11 14:26:59 +02:00
Sam Shanks
2813bb288b feat(interface/context): context menu onBack function (#122)
* feat(interface/context): back button pressed

* fix(context): types
2022-10-11 13:48:59 +02:00
Manifest Bumper
10acd71135 chore: bump manifest version to v2.13.0 2022-10-10 13:41:55 +00:00
Linden
2c7e812eaf refactor(logger/server): cleanup
DRY
2022-10-11 00:40:40 +11:00
Idris Dev
c35b70f597 feat(logger): support grafana loki (#115) 2022-10-10 18:03:54 +11:00
Linden
79dd3f5934 fix: no-op 2022-10-10 16:56:05 +11:00
Linden
988836dcb7 feat(server/logger): add player data to tags 2022-10-09 01:57:02 +11:00
Linden
f5d0deeb21 refactor(server/logger): batch log submissions
Create a temporary table and submit logs in a single batch after 500ms.
Includes some micro-optimisation and a new convar to set logging service.
2022-10-09 00:24:49 +11:00
Linden
b05594e77f fix(callback): pack nil values
See #117
2022-10-08 22:20:46 +11:00
Luke
10dfa59bcd Merge pull request #118 from BerkieBb/master
Added missing cb field to MenuProps
2022-10-08 12:08:44 +02:00
BerkieBb
242b4b6c79 tweak(package/resource/interface/menu): add cb field 2022-10-08 01:58:53 +02:00
BerkieBb
738296adfb tweak(resource/interface/menu): add cb field 2022-10-08 01:57:51 +02:00
Luke
39f7b6d78a fix(web/dialog): set slider value to min if default is not defined 2022-10-05 16:16:39 +02:00
Manifest Bumper
b6f0a3b024 chore: bump manifest version to v2.12.0 2022-10-04 12:42:30 +00:00
Linden
0e9ad23fb3 fix: types 2022-10-02 20:19:35 +11:00
DokaDoka
4da4756f7a fix(resource/zoneCreator): floating point error mitigation 2022-10-02 11:43:10 +10:00
DokaDoka
a84f2586cb fix(client/zoneCreator): rotation output 2022-10-01 15:24:51 +10:00
Luke
60c4e4e91b Merge pull request #111 from BerkieBb/master
fix(web/menu): force close menu when using the nui event
2022-09-30 10:04:15 +02:00
BerkieBb
6584105e9c fix(resource/interface/client/menu): add close missing field to MenuOptions (#112)
* feat(resource/interface/client/menu): add missing field to MenuOptions

* feat(package/interface/menu) close argument
2022-09-30 09:57:02 +02:00
BerkieBb
16aeed6027 fix(web/features/menu/list): force close menu when using the nui event 2022-09-29 16:08:26 +02:00
Luke
6a8eb35a0a feat(client/interface): close functions for input and alert dialogs 2022-09-29 11:39:30 +02:00
Linden
e624aa2559 fix(version): split and compare semver in 3 parts
'11.10' is equal to '11.1' cause maths.
2022-09-29 17:14:11 +10:00
Luke
19a08f6363 Merge pull request #106 from FAr18/master
feat(locales): add Traditional Chinese
2022-09-26 00:17:07 +02:00
JinFa
dd2eea1bfa feat(locales): add Traditional Chinese 2022-09-26 03:26:16 +08:00