kcaa / kcaa

KCAA (pronounced as K-car) is an assistant tool for playing Kancolle (Kantai Collection), aimed to do simple tasks for you so that you can focus on what you really should do -- resource management and decision making.
Apache License 2.0
4 stars 0 forks source link

Get the list of equipments right after remodeling #213

Open kcaa opened 9 years ago

kcaa commented 9 years ago

This should be possible as the client does it. That said the priority is not that high as it will be refreshed when getting back to the port.

kcaa commented 9 years ago

Not reproducible? This was once an issue on Linux with Dartium but no problem on Windows with compiled (dart2js-ed) client.

kcaa commented 9 years ago

Still reproducible on Linux. Confirmed with Ashigara Kai-2.

kcaa commented 9 years ago

Mystery explained:

Thus, if the client request ShipList before /api_get_member/slot_item happens (1 seconds delay after /api_get_member/ship3), this issue occurs. If there is enough update interval, this may not happen thanks to REFERENCED_OBJECTS priority list.

This can be fixed by re-updating the Ship's equipment list (on the client) when received EquipmentList.

kcaa commented 9 years ago

That said, the priority is still low. Worth considering the trade-off of supporting this case v.s. the code complexity and CPU resource consumption.