376 Commits

Author SHA1 Message Date
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
19bfffaa7c fix: give helmet when acquiring a skin (#1304)
Reviewed-on: OpenWF/SpaceNinjaServer#1304
2025-03-23 13:09:02 -07:00
8a29f06207 chore: use inventory projection for updateTheme (#1302)
Reviewed-on: OpenWF/SpaceNinjaServer#1302
2025-03-23 09:06:28 -07:00
cf3007b744 chore: update config when admin changes their name (#1298)
Reviewed-on: OpenWF/SpaceNinjaServer#1298
2025-03-23 09:06:08 -07:00
7f5592e00c chore: improve authentication and Dropped logic (#1296)
- Dropped is now also unset by getAccountForRequest
- Improved how nonce is validated to avoid possible parser mismatch issues to smuggle a 0
- Updated ircDroppedController to perform only a single MongoDB operation

Reviewed-on: OpenWF/SpaceNinjaServer#1296
2025-03-23 09:05:47 -07:00
aa12708738 chore: make addItem return InventoryChanges directly (#1299)
Reviewed-on: OpenWF/SpaceNinjaServer#1299
2025-03-23 08:26:46 -07:00
5277f7cc37 feat(import): loc pins (#1297)
Reviewed-on: OpenWF/SpaceNinjaServer#1297
2025-03-23 05:20:48 -07:00
b5a0a2297e feat: acquisition of peely pix + free pack for first visit (#1292)
Reviewed-on: OpenWF/SpaceNinjaServer#1292
2025-03-23 05:07:15 -07:00
4b3b551ba7 fix: properly commit boosters to inventory (#1279)
Reviewed-on: OpenWF/SpaceNinjaServer#1279
2025-03-22 17:35:18 -07:00
c6a2785175 feat: clearing lich infuance (#1270)
Reviewed-on: OpenWF/SpaceNinjaServer#1270
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-22 06:08:00 -07:00
42aca103ed feat: handle ShipDecorations in missionInventoryUpdate (#1267)
Reviewed-on: OpenWF/SpaceNinjaServer#1267
2025-03-22 01:15:09 -07:00
3b16ff9b54 feat: getProfileViewingData for players (#1258)
Reviewed-on: OpenWF/SpaceNinjaServer#1258
2025-03-21 05:19:53 -07:00