Commit Graph

630 Commits

Author SHA1 Message Date
JnKTechstuff
bd91dd81ab refactor(client/progressbar): better animation cancelling (#208) 2023-02-03 13:22:51 +11:00
Dolu
bd51fc72e0 fix(imports): return coords getNearbyObjects and getNearbyVehicles 2023-02-03 13:11:13 +11:00
Dolu
0ea6705b16 feat(imports): getNearbyObjects and getClosestObject
Also fixed the return params types for players and vehicles imports
2023-02-03 13:11:13 +11:00
Linden
1565187860 refactor(init): change notify netevent name
Other name was too generic and may conflict with user-code.
2023-02-03 13:04:48 +11:00
Linden
a8b9f8cde5 fix(locale/shared): phrase-construction for strings without placeholders
string.gsub returns two variables, the updated string and the pattern occurrences.
The outer string.gsub would replace n occurrences, or nothing if the string did not
contain '%'.
2023-02-01 03:20:04 +11:00
Manifest Bumper
8b11d29fb4 chore: bump manifest version to v2.21.0 2023-01-20 21:26:06 +00:00
Linden
6fbdd49702 fix(shared/locale): only construct phrases for strings 2023-01-16 18:18:51 +11:00
DokaDoka
fe58a4893f feat(table): limited merge function
adds number values and overrides everything else
2023-01-16 02:57:03 +11:00
DokaDoka
f8788d74b6 fix(client/zones): abort triangle creation if polygon is not simple 2023-01-15 16:20:11 +11:00
DokaDoka
8a785b9fe8 fix(resource/zoneCreator): revert to using event for addSuggestion 2023-01-13 22:28:41 +11:00
DokaDoka
ba9380b39a feat(client/zones): ensure polyzone is coplanar 2023-01-13 22:26:50 +11:00
DokaDoka
6e10ebe464 feat(client/zones): break triangle creating loop of it is going to deadloop 2023-01-13 16:08:37 +11:00
DokaDoka
0e052ed7c5 fix(client/zones): get diagonal offsets in 2d
avoids floating point weirdness with the z coord
2023-01-13 16:07:25 +11:00
Manifest Bumper
03b2a660ae chore: bump manifest version to v2.20.0 2023-01-08 04:26:32 +00:00
Linden
fd5bd066ab feat(shared/locale): locale phrases 2023-01-08 15:24:36 +11:00
DokaDoka
6bfd6091d7 refactor(client/zones): break polygon into triangles with the ear clipping method 2023-01-07 19:16:36 +11:00
DokaDoka
0284e646a7 refactor(resource/zoneCreator): last zone and axis mode tweaks
- don't cancel command if last zone is invalid for selected zone type
- change movement mode key to C to be with most of the other controls
- display current axis mode
- display camera-aligned axes in addition to grid axes for display mode 3 & 4
2023-01-07 17:45:25 +11:00
DokaDoka
4794af7ae0 refactor(resource/zoneCreator): general cleanup
- improved spacing
- remove redundant thread
- fix chat suggestion registration and change to export
2023-01-07 17:37:45 +11:00
Malcolm
ccf29592fb feat(resource/zoneCreator): lastZone arg and camera-aligned movement 2023-01-07 16:27:12 +11:00
Jerry Ma
125e4d1715 feat(locales): chinese simplified language files (#194) 2023-01-02 23:15:01 +01:00
Manifest Bumper
2af96c43da chore: bump manifest version to v2.19.2 2022-12-30 10:17:37 +00:00
Hepic Greg
86d66b85c1 fix(client/interface): reset nui focus on alert (#192) 2022-12-30 21:16:33 +11:00
Errorismx
a2772a87b4 fix(client/points): nil index when nearby point is removed (#186)
Co-authored-by: Linden <65407488+thelindat@users.noreply.github.com>
2022-12-30 21:15:12 +11:00
ANTOND
e59089573a fix(imports/scaleform): return scaleform handle (#188) 2022-12-30 21:12:03 +11:00
ANTOND
c40a828465 chore(logger): ignore diagnostic warn (#183) 2022-12-30 21:10:33 +11:00
Linden
012b68a3be fix(client/zones): remove all zone references
Should resolve #191.
2022-12-30 21:07:32 +11:00
helmimarif
5a367f05dc chore(locales): indonesian locales (#193)
Added indonesian locales
2022-12-29 16:18:47 +01:00
Manifest Bumper
72e1a14a16 chore: bump manifest version to v2.19.1 2022-12-24 06:28:08 +00:00
Linden
6a704c40fe refactor(client/zones): re-order zones and call onExit before onEnter
insideZones will be stored as a map rather than an array for simplicity.
Store zones the player is entering and exiting, then sort based on distance;
always triggering onExit for all zones before onEnter.
See #179.
2022-12-24 16:08:21 +11:00
Linden
b688b98bba fix(client/raycast): missing table
This was broken with 26538b8
2022-12-20 17:54:59 +11:00
Manifest Bumper
a5e5df5959 chore: bump manifest version to v2.19.0 2022-12-19 21:23:41 +00:00
Linden
0ea5725b86 refactor(imports/getCore): add removal notice
Was deprecated ~3 months ago, will be removed in the next large update.
2022-12-20 08:22:14 +11:00
TheFarFantomas
cfb3e4c7d9 feat(imports): requestScaleformMovie (#180) 2022-12-20 08:11:18 +11:00
Linden
511241e03c refactor(client/points): ensure coords are a vector 2022-12-20 08:09:35 +11:00
Linden
08a725105b fix(client/zones): disable marker rotation 2022-12-17 06:21:22 +11:00
Luke
f81ad352d6 Update issue templates 2022-12-16 10:26:28 +01:00
Luke
9e3cc61c02 Update issue templates 2022-12-16 10:25:07 +01:00
Luke
abff60d4ed fix(web): fix values persisting across input dialogs opened quickly 2022-12-16 09:40:28 +01:00
Scully
41b0850764 feat(web/notifications): add variant support to default notifications (#175)
* Add variant support

* Remove
2022-12-16 00:56:45 +01:00
david
49bb2a00a1 feat(web): notify and context markdown wrapper (#174)
Co-authored-by: davidxd33 <dponce@gmail.com>
2022-12-15 23:43:14 +01:00
Linden
ccad59fcf6 fix(server/logger): validate response on failed http request
One person is receiving a CURL error rather than a response from
datadog, leading to a nil index.
We'll also use the newly supported "warn" function.
2022-12-15 11:24:08 +11:00
Jag
34022ce81e fix(web/menu): combine initial select and first render checks (#172)
* fix(web/menu): Combine initial select and first render

* Combining these checks should fix an issue of having to toggle a checkbox multiple times before it is recognized as being toggled

* Change firstRenderRef current value before first menu movement

* Too many async on change functions are happening let's handle this once the user decides to interact with the menu

* fix(web/menu): remove first render ref check for onSelected

Co-authored-by: Luke <sabolukas03@gmail.com>
2022-12-14 18:59:49 +01:00
iSentrie
944ca2eeee chore(locales): update lt.json (#173) 2022-12-14 16:12:07 +01:00
DokaDoka
61a940a188 refactor(client/zones): redo triangle algorithm 2022-12-13 14:29:23 +11:00
Manifest Bumper
86310d01b8 chore: bump manifest version to v2.18.0 2022-12-12 21:45:19 +00:00
Linden
b50c0b7df8 fix(client/context): reset focus
Should resolve #170 but ceebs testing
2022-12-13 08:37:56 +11:00
Luke
da9b55fa84 refactor(package/callbacks): improve typings 2022-12-13 08:26:43 +11:00
Linden
8abc416dad feat(package): TS callback events 2022-12-13 08:26:43 +11:00
Linden
124a5f15ba refactor(imports/callback): response varargs
Trying to have scrt compatible responses gets weird when using
msgpack.
2022-12-13 08:26:43 +11:00
DokaDoka
c141d011d1 tweak(resource/zoneCreator): specify vec2 2022-12-11 23:46:55 +11:00