ElectronicObserverEN / ElectronicObserver

Electronic Observer is a game viewer for Kantai Collection.
Other
83 stars 20 forks source link

Extend csv export options #389

Open myangelkamikaze opened 1 year ago

myangelkamikaze commented 1 year ago

The csv export options were last updated in 2021 and are missing some useful data (smokescreen, onshore resupply, onigiri etc...).

Current state:

煙幕

should be all good, you have... smoker flag (null = no smoker in fleet, 0 = smoker wasn't activated, 1 = smoker was activated) smoker type = number of smokers activated (0~3)

洋上補給

the data available here is the ships displayed during activation, and the number used... https://github.com/andanteyk/ElectronicObserver/blob/develop/ElectronicObserver/Other/Information/apilist.txt#L1705-L1708 which data do you want here, ship names and the number? also with the current implementation, this data will be displayed for every attack after it was activated this should always be only boss, but should I limit it here for 1 battle only, or should it stay for every attack after it was used?

洋上補給に関して以下のように採番して表示するのはいかがでしょうか 0 : 洋上補給を発動していない状態での攻撃 1 : 洋上補給を発動した戦闘での攻撃 2 : 洋上補給を発動した後の戦闘での攻撃 ここで誰が洋上補給を発動したか(api_supply_ship)は必要がないと思います。補給の対象となった艦の攻撃だけ1か2の値をとるということにすればよいかと。

2 would be impossible for now

おにぎり

data available here is this: https://github.com/andanteyk/ElectronicObserver/blob/develop/ElectronicObserver/Other/Information/apilist.txt#L2576-L2577 I'm guessing this should be ship names, but this will be a list of unknown size... should I make 12 columns here and just write 0/1 if it was activated? or should I serialize the list into json or something like that?

Every attack could have an おにぎり status: 0 : not activated 1 : the attacker activated おにぎり 2 : the attacker was affected by おにぎり from another ship 3 : both 1 and 2

阻塞気球

I don't know for sure yet, but from a quick check, there's only a flag (0 or 1), indicating if balloons were activated so each attack could just have that flag listed external tools would then need to check the defender equipment list to know if the defender had a balloon (though I could add a value for that too)

maybe 3 values for balloons in total

  1. defender balloon (0 if the defender doesn't have a balloon, 1 if the defender has a balloon)
  2. player fleet balloons (total count of balloons in fleet)
  3. enemy fleet balloons (total count of balloons in enemy fleet)
myangelkamikaze commented 3 months ago

Current state:

それでは以下の4つの列を(砲撃戦、赤仮砲撃戦、雷撃戦、赤仮雷撃戦、航空戦)の最後列に追加していただきたいです 1.api_smoke_typeの値 2.api_balloon_cellの値 3.味方編成中の阻塞気球を装備して戦闘に参加している艦の数(退避艦を含まない) 4.敵編成中の阻塞気球を装備して戦闘に参加している艦の数