Repository navigation
Report 基地防空戦 compositions? #11
Description
Activity
Land base raid happens randomly and does not let any ship drop, it is better to record in another collection
On
enemyShipsyou're right, but it does not affect data collecting because we changed the model
https://github.com/poooi/poi-server/blob/master/models/report/drop-ship.es#L14Anyway the
enemyShips1andenemyShips2initialization will be addedBut what could air raid data collection serve for?
Using the same data collection will result in double drop reports in a single battle on certain cells and the drop rate on these cells will never be accurate
@KagamiChan would it be ok for another viewer to implement this? I.e., to report
api_destruction_battleenemy compositions indrop_shipcollection with a special negativecellIdvalue. I think poi server won't filter those reports, so they will end up in the dump, available for wikis/etc.I still prefer creating a separate data collection for this, anyway staff at kcwiki should be informed and involved @Gizeta
I don't think it's a good idea to save land base air raid compositions in the
DropShipRecorddatabase table, although it doesn't affect the drop statistics. However, you can just post those negativecellIdvalues but filter them onpoi-serverto save in a new table, such asrecord = data.cellId < 0 ? new NewTableForLandBaseAirRaid(data) : new DropShipRecord(data) record.save()
But, I think it's tricky. Why not create some new API on
poi-serverfor the land base air raid?Well, my argument was that there is already non-drop and composition-only data from corresponding (game) endpoints in
DropShipRecord, so this is just another one of those endpoints. Then, it is probably easier to utilize existing code indrop-ship.es, the change is simple if it is the same table, so I made #13.If it must be a different table, then yeah, extra class/schema/endpoint here and in
poi-server(+ available dump, likedropshiprecords.gz).poi-serveralso accepts pull requests for creating new schema and endpoints, you may consider add a new report type, say,BaseAirRaidRecord, for bothplugin-reportandpoi-serverand I'll add the dumping once the data set is available
P.S. Here's some instructions on how to locally test reporter and poi server: https://github.com/poooi/plugin-report/wiki
Looking at https://github.com/andanteyk/ElectronicObserver/blob/develop/ElectronicObserver/Other/Information/apilist.txt#L1517 there is more things in
api_req_map/nextthat are kinda required for full info, for example- node types,
api_color_no/api_event_id/api_event_kind, currently onlyapi_event_idis used forisBoss - node events:
api_itemget,api_happening - various node rewards
- routing, that is current fleet (ships, stats, equipment) and route taken
- and then
api_destruction_battle
- node types,


That is,
api_destruction_battlefromapi_req_map/next. Something like this afterplugin-report/index.es
Line 182 in 1458cf1
Also, should it be
instead of
plugin-report/index.es
Line 170 in 1458cf1