387 Commits

Author SHA1 Message Date
d918b0c982 fix: don't remove consumed argon crystals from FoundToday (#1447)
This fixes a possible mongo conflict when ticking them, and this is probably more desirable as you wanna consume unstable crystals first.

Reviewed-on: OpenWF/SpaceNinjaServer#1447
Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com>
Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
2025-04-03 10:38:11 -07:00
05c0c9909c fix: ignore purchaseQuantity when giving mission rewards (#1446)
Reviewed-on: OpenWF/SpaceNinjaServer#1446
Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com>
Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
2025-04-03 10:37:52 -07:00
cfa9ec775e feat: handle creditsFee in missionInventoryUpdate (#1431)
Reviewed-on: OpenWF/SpaceNinjaServer#1431
Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com>
Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
2025-04-03 06:17:11 -07:00
1b7b5a28bc chore: limit number of kubrow eggs that can be acquired at once 2025-04-02 22:33:49 +02:00
6dc54ed893 feat: donate credits to alliance vault (#1436)
Reviewed-on: OpenWF/SpaceNinjaServer#1436
Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com>
Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
2025-04-02 13:26:44 -07:00
24ed580a97 feat: create alliance (#1423)
Reviewed-on: OpenWF/SpaceNinjaServer#1423
Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com>
Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
2025-04-02 04:59:21 -07:00
bf67a4391d feat: eleanor weapon offerings (#1419)
Need to do rotating offers for her some other time

Reviewed-on: OpenWF/SpaceNinjaServer#1419
Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com>
Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
2025-04-01 15:49:08 -07:00
ea9333279b fix: handle CurrentLoadOutIds missing LoadOuts in missionInventoryUpdate (#1421)
Reviewed-on: OpenWF/SpaceNinjaServer#1421
Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com>
Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
2025-04-01 15:48:40 -07:00
3a26d788a2 feat: zanuka capture (#1416)
Reviewed-on: OpenWF/SpaceNinjaServer#1416
Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com>
Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
2025-04-01 02:29:29 -07:00
1a4ad8b7a5 feat: clan applications (#1410)
Reviewed-on: OpenWF/SpaceNinjaServer#1410
Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com>
Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
2025-04-01 02:28:24 -07:00
3d69828610 fix: give non-exalted additional items when acquiring warframe (#1408)
Also upgraded `no-misused-promises` to an error and added `IsNew` field to powersuits.

Reviewed-on: OpenWF/SpaceNinjaServer#1408
Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com>
Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
2025-03-31 09:18:25 -07:00
a0fa41cd58 chore: accept ObjectId for accountId when sending inbox messages (#1409)
Reviewed-on: OpenWF/SpaceNinjaServer#1409
Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com>
Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
2025-03-31 09:18:00 -07:00
42e08faaaf chore: handle account switching guilds (#1398)
Plus some additional inventory cleanup when a guild is being deleted forcefully.
Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com>
Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
2025-03-31 04:26:55 -07:00
04d39ed973 chore: use SubdocumentArray.id in some more places (#1400)
Reviewed-on: OpenWF/SpaceNinjaServer#1400
Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com>
Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
2025-03-31 04:15:32 -07:00
b0f0b61d49 fix: allow completion of unknown nodes (#1395)
Reviewed-on: OpenWF/SpaceNinjaServer#1395
Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com>
Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
2025-03-31 04:15:00 -07:00
d3d966a503 feat: grustrag bolt (#1392)
Reviewed-on: OpenWF/SpaceNinjaServer#1392
Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com>
Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
2025-03-31 04:14:20 -07:00
48598c145f feat: guild ads (#1390)
Reviewed-on: OpenWF/SpaceNinjaServer#1390
Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com>
Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
2025-03-31 04:14:00 -07:00
516f822e43 feat: clan tiers (#1378)
Reviewed-on: OpenWF/SpaceNinjaServer#1378
Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com>
Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
2025-03-30 09:58:51 -07:00
fccdbf4a8e fix: detect kuva weapons more reliably (#1388)
it seems not all of them have the InnateDamageRandomMod or even VT_KUVA so just assuming that any weapon with max rank 40 that's not the ballas sword needs it
Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com>
Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
2025-03-30 09:58:44 -07:00
cfc1524619 fix: give quest completion items from cheated completion too (#1376)
Reviewed-on: OpenWF/SpaceNinjaServer#1376
Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com>
Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
2025-03-30 08:13:24 -07:00
3beb1ecc42 chore: use ExportKeys for quests not in questCompletionItems (#1377)
Reviewed-on: OpenWF/SpaceNinjaServer#1377
Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com>
Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
2025-03-30 08:13:11 -07:00
f7ada5a7e5 chore: delete guild when founding warlord leaves (#1371)
Reviewed-on: OpenWF/SpaceNinjaServer#1371
Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com>
Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
2025-03-30 04:40:00 -07:00
1bdc5126b3 feat: lock worldState time via config (#1361)
Reviewed-on: OpenWF/SpaceNinjaServer#1361
Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com>
Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
2025-03-29 15:42:42 -07:00
a7899d1c18 feat: give kahl standing when completing the new war (#1334)
Reviewed-on: OpenWF/SpaceNinjaServer#1334
2025-03-29 15:35:43 -07:00
895b9381ca chore: update eslint (#1373)
Reviewed-on: OpenWF/SpaceNinjaServer#1373
Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com>
Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
2025-03-29 15:20:54 -07:00
69f544c8d1 chore: use inventory projection in updateInventoryForConfirmedGuildJoin 2025-03-29 18:01:15 +01:00
e266f9e36c fix: save login reward was claimed on milestone days (#1367)
Reviewed-on: OpenWF/SpaceNinjaServer#1367
Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com>
Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
2025-03-29 09:28:12 -07:00
6a1e508109 feat: initial vendor rotations (#1360)
Reviewed-on: OpenWF/SpaceNinjaServer#1360
Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com>
Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
2025-03-29 09:27:56 -07:00
a167216730 feat: WeaponSkins IsNew flag (#1347)
Reviewed-on: OpenWF/SpaceNinjaServer#1347
Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com>
Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
2025-03-29 09:27:38 -07:00
aad3a7bcf7 chore: update vendor purchase response 2025-03-28 00:17:47 +01:00
36d2b2dda5 feat: gifting (#1344)
Reviewed-on: OpenWF/SpaceNinjaServer#1344
Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com>
Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
2025-03-27 12:57:44 -07:00
a56ff89bb9 feat: equipment IsNew flag (#1309)
Reviewed-on: OpenWF/SpaceNinjaServer#1309
2025-03-27 12:27:38 -07:00
ba795150a9 chore: fix shape of RecentVendorPurchases in InventoryChanges 2025-03-27 16:45:33 +01:00
a622393933 chore: don't validate Nonce in query (#1341)
By asking MongoDB to simply find the account by the ID and then validating the nonce ourselves, we save roughly 1ms.

Reviewed-on: OpenWF/SpaceNinjaServer#1341
2025-03-27 03:33:27 -07:00
d9b944175a feat: view clan contributions (#1340)
Reviewed-on: OpenWF/SpaceNinjaServer#1340
2025-03-27 03:33:08 -07:00
36c7b6f8f8 feat: handle DiscoveredMarkers in missionInventoryUpdate (#1339)
Closes #679

Reviewed-on: OpenWF/SpaceNinjaServer#1339
2025-03-27 03:32:50 -07:00
5f9475f750 fix: only give normal variant blueprints from daily tribute (#1332)
you definitely shouldn't get prime or kuva variants

Reviewed-on: OpenWF/SpaceNinjaServer#1332
2025-03-26 16:09:05 -07:00
7492ddaad7 feat: handle CapturedAnimals in missionInventoryUpdate (#1337)
Reviewed-on: OpenWF/SpaceNinjaServer#1337
2025-03-26 16:08:33 -07:00
926b87dda0 chore: cleanup leaderboards stuff 2025-03-26 22:46:30 +01:00
049f709713 feat(leaderboard): missions & guilds leaderboard (#1338)
Reviewed-on: OpenWF/SpaceNinjaServer#1338
Reviewed-by: Sainan <sainan@calamity.inc>
Co-authored-by: AMelonInsideLemon <166175391+AMelonInsideLemon@users.noreply.github.com>
Co-committed-by: AMelonInsideLemon <166175391+AMelonInsideLemon@users.noreply.github.com>
2025-03-26 14:21:22 -07:00
0f7866a575 fix: handle weapon meta having an empty defaultUpgrades array (#1333)
Reviewed-on: OpenWF/SpaceNinjaServer#1333
2025-03-26 05:09:48 -07:00
06ce4ac695 chore: more faithful handling of daily tribute (#1324)
Reviewed-on: OpenWF/SpaceNinjaServer#1324
2025-03-25 15:11:26 -07:00
bfcd928fde feat: nightwave rank up rewards (#1320)
Reviewed-on: OpenWF/SpaceNinjaServer#1320
2025-03-25 06:38:44 -07:00
58508a0260 feat: nightwave challenge completion (#1319)
Reviewed-on: OpenWF/SpaceNinjaServer#1319
2025-03-25 06:38:37 -07:00
a12e5968da feat: race leaderboards (#1314)
Initial leaderboard system. Currently only tracking races, tho.

Reviewed-on: OpenWF/SpaceNinjaServer#1314
2025-03-25 03:25:58 -07:00
2ec2b0278a chore: use model.findById where possible (#1315)
Reviewed-on: OpenWF/SpaceNinjaServer#1315
2025-03-24 11:32:08 -07:00
4afc8bc8c6 chore: use inventory projection for updateChallengeProgress (#1313)
Reviewed-on: OpenWF/SpaceNinjaServer#1313
2025-03-24 11:32:01 -07:00
3e2e73f6eb feat: handle Boosters in missionInventoryUpdate (#1311)
Closes #751

Reviewed-on: OpenWF/SpaceNinjaServer#1311
2025-03-24 01:38:32 -07:00
0085c20e11 feat(import): additional fields (#1305)
Reviewed-on: OpenWF/SpaceNinjaServer#1305
Reviewed-by: Sainan <sainan@calamity.inc>
Co-authored-by: AMelonInsideLemon <166175391+AMelonInsideLemon@users.noreply.github.com>
Co-committed-by: AMelonInsideLemon <166175391+AMelonInsideLemon@users.noreply.github.com>
2025-03-23 13:33:26 -07:00
db8bff20fe fix: only roll unique rewards for peely pix booster packs (#1306)
Reviewed-on: OpenWF/SpaceNinjaServer#1306
2025-03-23 13:09:13 -07:00