Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/characters/{character_id}/assets/ does not return loaded charges/ammo #1374

Open
4 of 6 tasks
Nohus opened this issue May 12, 2024 · 1 comment
Open
4 of 6 tasks
Labels

Comments

@Nohus
Copy link

Nohus commented May 12, 2024

Bug

When requesting assets, ammo loaded into modules is not returned.
For example, a ship with a missile launcher with loaded missiles will be returned as the ship and the launcher, but the missiles are missing from the response.

Request

GET /characters/{character_id}/assets/

Response

List of assets, with loaded charges/ammo missing.

Expected

Expected all assets to be returned, including loaded charges/ammo.

Checklist

Check all boxes that apply to this issue:

  • Bug description is provided
  • Request path is provided
  • Response status code is provided
  • Response headers are provided
  • Response body is provided
  • Expected response is provided
@14rynx
Copy link

14rynx commented Feb 12, 2025

Some additional Info that might be useful for fixing this bug:

This behaviour seems to match the behaviour for the in-game "Personal Assets" Window when using Right Click -> View Contents.

All consumable charges seem to be affected by this bug, while scripts seem to be unaffected. I tested the following ones:
Affected are:

  • Missiles / Projectile / Hybrid / Energy / Entropic Ammunition (I didn't test Edencom and Deathless)
  • Cap Booster Charges
  • Ancillary Shield Booster Charges (Cap Boosters)
  • Command Burst Charges
  • Warp Disruption Probes
  • Ancillary Armor Repairer Charges (Nanite)

Not affected are:

  • Tracking Disruptor Scripts
  • Guidance Distruptor Scripts
  • Sensor Dampening Scripts
  • Sensor Booster Scripts
  • Tracking Computer Scripts
  • Remote Tracking Computer Scripts
  • Warp Disruption Field Generator Scripts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants