Skip to content
This repository has been archived by the owner on Apr 19, 2022. It is now read-only.

Modify port check for events to include equipment slots #416

Open
perryhuynh opened this issue Dec 8, 2019 · 3 comments
Open

Modify port check for events to include equipment slots #416

perryhuynh opened this issue Dec 8, 2019 · 3 comments

Comments

@perryhuynh
Copy link
Owner

Relevant sortie requirements for events:

Must have 5 empty ship slots for new ships
Must have 20 free equipment slots
@mrmin123
Copy link
Collaborator

I remember looking into this early on in development and found that equipment count is actually very difficult to find. The only place I found it in the API was when you went into the player profile page. That said, I haven't looked into it again since so I might have missed it somewhere obvious, but for now this is a known shippable.

@stackhanovets
Copy link

@mrmin123 Please try digging into this. KC3Kai does not need an opened profile page but the main screen only.

@mrmin123
Copy link
Collaborator

I am familiar with the require_info payload. kcauto already uses it to determine whether the player has provisional resupply or not. This API call only occurs when loading the game the first time, making it useless for determining the inventory size in real-time. For this, I need the data to be in the port response, which it is not, as far as I know. I suspect KC3 keeps track of this by tracking every other API call that can affect the number of inventory items, which I am currently not willing to do for kcauto.

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

No branches or pull requests

3 participants