PR

【4/14】天下無双補填用スクリプト #2716

kouho opened this at 2023-04-14T12:41:21; closed

Description

opened by kouho at 2023-04-14T12:41:21; updated 2023-04-14T13:50:18

概要

天下無双の受け取り済みとプレゼント内の技玉メダルを削除して技玉メダルを直接配布する補填用スクリプトです。

テスト方法、確認した内容

type 12でreg_dateが4/10 17:00以降のデータをlog_del_present_boxとpresent_boxに入れて以下を実行
ENVIRONMENT=development IS_DOCKER=true PF=yamada php tool_battle_event_present_fix.inc

INSERT INTO `log_del_present_box` (`id`,`user_no`, `user_name`, `sender_no`, `sender_name`, `type`, `present_id`, `info`, `growth`, `count`, `flg`, `reg_date`, `holder_id`, `receive_time`) VALUES
(1,user_no, '', 0, '【天下無双の賞金首】2億7000万J$を達成しました', 12, 0, 0, 0, 7, 1, '2023-04-10 19:57:19', 0, '2023-04-10 20:03:55');

INSERT INTO `present_box` (`id`, `user_no`, `user_name`, `sender_no`, `sender_name`, `type`, `present_id`, `info`, `growth`, `count`, `flg`, `reg_date`)
VALUES
(1, user_no, '', 0, '【天下無双の賞金首】2億7000万J$を達成しました', 12, 0, 0, 0, 7, 0, '2023-04-10 17:24:11');

log_del_present_boxとdel_present_boxからtype12のデータが消えて技玉メダル履歴に表示されていればOK

TODO

処理修正を本番反映後にデプロイして補填予定

Comment

#26938 by kouho at 2023-04-14T12:41:30; updated 2023-04-14T12:41:30

@wada
レビューお願いいたします

Comment

#26941 by wada at 2023-04-14T13:04:56; updated 2023-04-14T13:04:56

@kouho
確認okです。

wada add_label at 2023-04-14T13:05:01: 和田 LGTM
kouho merge at 2023-04-14T13:50:18: 【4/14】天下無双補填用スクリプト
kouho close at 2023-04-14T13:50:18: Close

Commit range

basefefdbf3c28fcf4373d74900434eb6a9ffba8af57
head075a00a0cc10b89f96c51fc3abd11cd888778e2f
base branchjolly/jr-web:develop
head branchjolly/jr-web:script_battle_eventt_reward

View commits

Commit details are loaded from Git when a dynamic archive server is running, or can be embedded with --include-commits.
Files changed1 filesView patch
statusfile
addedlib/exec/tool_battle_event_present_fix.inc
Patch body is stored as a separate file to keep this page lightweight.