Issue

【7/8】バトルイベントのバッチファイル修正 #21

wada opened this at 2020-07-06T15:57:08; closed

Description

opened by wada at 2020-07-06T15:57:08; updated 2026-05-08T11:21:47

ランキング、集計

wada add_label at 2020-07-06T15:57:19: event
wada change_milestone at 2020-07-06T15:57:22: No milestone:release_battle_event_1

Comment

#5430 by wada at 2020-07-06T16:58:49; updated 2020-07-14T19:38:29
  • [x] event_ranking_event_battle.sh
  • [x] tool_event_battle_present.inc
wada assign at 2020-07-06T17:55:56: Not assigned:wada

Comment

#5435 by wada at 2020-07-06T18:15:49; updated 2020-07-06T18:20:56

@iwamoto
ローカルで確認する場合

$ cd ./jr-web/Docker_ds
$ docker-compose exec web bash
$ ENVIRONMENT=development PF=yamada HTTP_HOST=127.0.0.1 IS_DOCKER=true ../home/web/jr-web/lib/exec/event_ranking_event_battle.sh
wada commit at 2020-07-06T18:22:05: バトルイベントランキング集計スクリプト修正 #21 e1de0ec755fa01672c87279a1e8c1e788c034041
wada add_label at 2020-07-07T17:48:52: レビュー待ち

Comment

#5440 by wada at 2020-07-07T17:49:41; updated 2020-07-07T17:49:41

@iwamoto
報酬配布バッチはイベント開催後に対応しても間に合うので、先にランキングバッチの確認をお願いします。

Comment

#5441 by wada at 2020-07-07T17:54:01; updated 2020-07-07T17:54:01

ランキングバッチの動作確認に以下の対応が必要です。

  • バトルイベント開催
  • user_event_ptにevent_ptが0以上のデータが存在
wada refer at 2020-07-08T10:50:21: 24:Battle event script
wada delete_label at 2020-07-08T11:08:59: レビュー待ち
wada change_title at 2020-07-08T12:16:30: バトルイベントのバッチファイル修正 【7/8】バトルイベントのバッチファイル修正
iwamoto assign at 2020-07-08T17:24:47: wada:iwamoto
iwamoto commit at 2020-07-09T21:45:32: バトルイベント報酬配布bat #21 eeb37f410d1bd9165b334cae19b78e3064b82ba3
iwamoto commit at 2020-07-09T22:29:32: バトルイベント報酬配布bat 修正#21 818871188a88685df24dd2219533062452ccb1f6

Comment

#5520 by iwamoto at 2020-07-09T22:32:27; updated 2020-07-09T22:32:27

@wada
バトルイベントの報酬配布batの確認をお願い致します。

tool_event_battle_present.inc

$ cd ./jr-web/Docker_ds
$ docker-compose exec web bash
$ cd  /home/web/jr-web/lib/exec/
$ ENVIRONMENT=development PF=yamada HTTP_HOST=127.0.0.1 IS_DOCKER=true php tool_event_battle_present.inc 
iwamoto add_label at 2020-07-09T22:32:32: レビュー待ち

Comment

#5524 by wada at 2020-07-10T11:22:07; updated 2020-07-10T11:22:07

@iwamoto
実行がイベント終了時なので、他の作業が完了したらレビューします。

Comment

#5525 by wada at 2020-07-10T11:31:45; updated 2020-07-10T11:31:45

カード系の複数枚配布について、まだ対応できていないので1枚づつ配布してください。
今回の報酬は全て1枚なので大丈夫です。

Comment

#5526 by iwamoto at 2020-07-10T11:58:33; updated 2020-07-10T11:58:33

@wada
了解しました

すみません、1点修正箇所を発見しましたので対応します。
こちら対応完了しましたら、再度連絡致します。

iwamoto commit at 2020-07-10T12:25:15: カードとそれ以外の配布で切り分け#21 0a849b97662d6b567e79152384fdffda27a4b2e7

Comment

#5531 by iwamoto at 2020-07-10T12:28:20; updated 2020-07-10T12:28:20

@wada
先ほど連絡した箇所の修正対応が完了しました。
後ほどご確認お願い致します。

Comment

#5582 by wada at 2020-07-13T21:15:29; updated 2020-07-13T21:15:40
  • present_sqlはまとめてinsertして良い
  • 最後の報酬が「20000位入賞おめでとうございます!」
iwamoto commit at 2020-07-14T18:17:31: バッチ修正 #21 f12c625bdf904ef736f74fec4d09e639ce9ea5d6
iwamoto commit at 2020-07-14T19:11:42: バッチ修正#21 e671913f91dfedc5fe511aabccf8e794e2feecc9
iwamoto commit at 2020-07-14T19:11:42: bat修正#21 08a3d7a6726395cc4c911bbbf49c9ee1c7eee2ca

Comment

#5609 by iwamoto at 2020-07-14T19:18:05; updated 2020-07-14T19:18:05

・present_sql はまとめてinsertするように修正
->1000件以上の場合、500件ごとに分割して配布するように
・500位以上の場合、参加賞へ文言変更

wada delete_label at 2020-07-14T19:38:31: レビュー待ち

Comment

#5616 by wada at 2020-07-15T10:30:08; updated 2020-07-15T10:30:08

@iwamoto
報酬配布は何時予定?

iwamoto close_comment at 2020-07-16T12:42:50: 2020/07/16 12:25頃 報酬配布を行いました
iwamoto commit at 2020-07-16T16:13:36: 手配書->gold変換#21 90fe276b2f5ba10da2bcf58b200120d5c64be2f2

Comment

#5663 by iwamoto at 2020-07-16T16:44:14; updated 2020-07-16T16:44:14

イベント終了後、イベントで使用した手配書の変換をおこなう

event_item_change_gold.inc
event_item_change_gold.sh

本家では1時間ごとに回すbatですが、
次回はtool_event_battle_present.incに統合してもいいかもです

wada refer at 2026-05-08T11:21:47: 4648:GWキャンペーンのリセット回数適正化