Issue

【7/29】新大陸イベントバッチ修正 #43

wada opened this at 2020-07-15T20:53:37; closed

Description

opened by wada at 2020-07-15T20:53:37; updated 2022-06-30T10:42:00

イベントissue #33

  • [x] event_ranking_event_island.inc ランキング集計
  • [x] tool_event_newisland_present.inc 報酬配布
  • [x] tool_event_newisland_point.inc 管理画面集計
  • [x] event_item_change_gold.inc アイテムをGOLDに変換
wada change_title at 2020-07-16T09:53:22: 【7/29】新大陸イベントスクリプト修正 【7/29】新大陸イベントバッチ修正
iwamoto commit at 2020-07-27T16:37:54: newisland ranking bat 修正#43 6778053b2cdc5e019982c4864acb5492b7ff27ba
wada assign at 2020-07-28T10:36:43: Not assigned:iwamoto
iwamoto commit at 2020-07-29T20:16:15: ranking_event_island バッチの修正#43 edd0f152e326ec59675f1b0ecc31a0d56c703f60
iwamoto commit at 2020-07-29T21:01:00: event_ranking_event_island 新大陸rakingバッチ追加#43 c0377cec27bda05c453d3f637c3185b71fd3c7b4
iwamoto commit at 2020-07-29T21:40:16: 管理画面集計用 bat 修正 #43 fec841558ade939d2925200900d42f02e1e20bde
iwamoto commit at 2020-07-30T17:33:32: 新大陸イベント報酬配布bat 修正 #43 263dbef3f598d8dc2916010c1db54babe1701eac
iwamoto commit at 2020-07-30T19:07:54: イベントアイテム gold 変換修正#43 11b43c2a5e038a47cc79b988ccc36df00bfa0532

Comment

#5956 by iwamoto at 2020-07-30T19:43:10; updated 2020-07-30T19:43:33

こちら2点は先にmasterへ反映されています
・event_ranking_event_island.inc ランキング集計
・tool_event_newisland_point.inc 管理画面集計

local環境 動作確認
・tool_event_newisland_present.inc
・event_item_change_gold.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_newisland_present.inc

$ ENVIRONMENT=development PF=yamada HTTP_HOST=127.0.0.1 IS_DOCKER=true php event_item_change_gold.inc
iwamoto add_label at 2020-07-30T19:43:51: レビュー待ち

Comment

#5971 by wada at 2020-07-31T16:58:13; updated 2020-07-31T16:58:13

@iwamoto
事前に順位ごとに配布アイテムを抜き出しているところで、先頭のデータのみ格納しています。
報酬が増えると全てのアイテムが配布されないと思うので、修正お願いします。

foreach ( $rank_array as $rank => $pre_value ){
    # ここ、全件格納したい
	$presents[$rank] = $pre_value[0];
	$pre_text = "【{$_df['event_new_island']['event_name']}】個人ランキング{$rank}位入賞おめでとうございます!報酬をお受け取りください";
	if($rank == $entry_rank_min ){
		$present_texts[$rank] = S_quote_smart("【{$_df['event_new_island']['event_name']}】個人ランキング参加賞入賞おめでとうございます!報酬をお受け取りください",$_dbc[37]);
	}else {
		$present_texts[$rank] = S_quote_smart($pre_text, $_dbc[37]);
	}
}

理由があったらごめんなさい。

Comment

#5972 by wada at 2020-07-31T16:58:36; updated 2020-07-31T16:58:36

アイテムのGOLD変換はOKです。

iwamoto commit at 2020-08-04T12:59:42: 報酬配布 複数報酬できるよう修正 #43 8d89b4d0893031a82a9e3e228c3d9c2a9f6a27bd

Comment

#6050 by iwamoto at 2020-08-04T13:01:26; updated 2020-08-04T13:01:26

@wada
先日指摘がありました、配布アイテムを抜き出しているところを修正しましたのでご確認お願い致します。

iwamoto commit at 2020-08-04T18:36:58: miss 修正#43 4a342deeaad400f580de82bb9c94e241224aa2d9
iwamoto delete_label at 2020-08-05T12:49:31: レビュー待ち
iwamoto close_comment at 2020-08-05T12:50:53: developへマージ完了したためclose
iwamoto refer at 2020-08-06T10:41:01: 105:【8/6】バトルイベント_2リリース手順書
iwamoto commit at 2020-08-06T12:09:54: 報酬配布 修正 #43 2c43f64ff61ae9ecf4bcef896c50a635eaac0f41
iwamoto commit at 2020-08-06T12:11:37: 報酬配布 修正 #43 ee89036203e7b262579824d1f4b742849ec74fa5
iwamoto commit at 2020-08-06T12:12:33: 報酬配布 修正 #43 7aa1e114fcc733b3f91a1e2f30d1f54bc2b4c029
iwamoto commit at 2020-08-06T12:32:14: jrye_log からcpanelへ変更 #43 4067f3cf287496eb139610e0c087c2f7a37afc6b
iwamoto commit at 2020-08-06T12:32:51: jrye_log からcpanelへ変更 #43 ec0a62920e9e51de59d4f96b8d682e81041b7f69
iwamoto refer at 2020-09-10T14:06:17: 232:【9/11】リリース手順書