PR

バトルログ #426

wada opened this at 2020-11-12T19:59:09; closed

Description

opened by wada at 2020-11-12T19:59:09; updated 2023-08-28T15:18:32

issue #273

自分の島ページに海戦の記憶ページへのリンクが追加
バトルログは時間 or 件数で自動的に削除
バトルを再生するとログに保存され、再生後のリザルトか海戦の記憶ページでお気に入り登録できる
仕組み上、リロードやブラウザバックすると同じバトルがログに並ぶ
お気に入りログはチームチャットに投稿可能

対象バトル
・模擬戦
・冒険バトル
・レイドバトル
・覇戦

本来、覇戦結果ページ(クエストの方)から一騎打ちのバトルが再生できるが、
S3対応が必要となるため、今回は対応しない

wada add_label at 2020-11-12T19:59:12: デベロップへマージ
wada change_title at 2020-11-24T11:00:43: [WIP]バトルログ バトルログ

Comment

#8405 by wada at 2020-11-24T11:07:02; updated 2020-11-24T11:07:02

@iwamoto
今日中のレビューをお願いします。

確認お願いします。
・各バトルでログが残っているか
・チームチャットに投稿、確認できるか

Comment

#8407 by iwamoto at 2020-11-24T13:14:47; updated 2020-11-24T13:14:47

@wada
確認しました、問題ないように思います

wada merge at 2020-11-24T19:32:57: バトルログ
wada close at 2020-11-24T19:32:57: Close

commit comment

#27 by wada at 2020-11-24T12:42:39; lib/ajax/battle_player.inc / old:None new:427
e25a9297c57cfad5394838ab3b7e7032edf50293

lose_ptを使用する

Commit range

base5302c837428694e74d915974b1ed6b79d683ed09
headec99d20e7df7f67b3687fec47002c0f09f6fd982
base branchjolly/jr-web:develop
head branchjolly/jr-web:battle_log_273

View commits

Commit details are loaded from Git when a dynamic archive server is running, or can be embedded with --include-commits.
Files changed46 filesView patch
statusfile
modifiedlib/SubFunc.inc
modifiedlib/ajax/battle_player.inc
addedlib/class/battle/BattleArchiveManager.class.php
addedlib/class/battle/BattleArchiveManagerCpanel.class.php
addedlib/class/controller/JrControllerBattleArchive.class.php
modifiedlib/class/controller/common/JrActionContent.class.php
modifiedlib/class/rdo/schema/RdoTableSchema.class.php
addedlib/cpanel/m_user_battle_archive.inc
modifiedlib/models/Newisland_event_model.php
modifiedlib/public/Battle-Result.inc
modifiedlib/public/Battle.inc
modifiedmobile_html/index.php
modifiedpublic_html/ajax.php
addedpublic_html/img/battle/result/reward_btn_close_01.png
addedpublic_html/img/battle/result/reward_btn_close_02.png
addedpublic_html/img/battle/result/reward_btn_replay_01.png
addedpublic_html/img/battle/result/reward_btn_replay_02.png
addedpublic_html/img/battle/result/reward_btn_save_01.png
addedpublic_html/img/battle/result/reward_btn_save_02.png
addedpublic_html/img/battle_archive/btn_all_off.png
addedpublic_html/img/battle_archive/btn_all_on.png
addedpublic_html/img/battle_archive/btn_favorite_off.png
addedpublic_html/img/battle_archive/btn_favorite_off_01.png
addedpublic_html/img/battle_archive/btn_favorite_off_02.png
addedpublic_html/img/battle_archive/btn_favorite_on.png
addedpublic_html/img/battle_archive/btn_favorite_on_01.png
addedpublic_html/img/battle_archive/btn_favorite_on_02.png
addedpublic_html/img/battle_archive/tmb_1.jpg
addedpublic_html/img/battle_archive/tmb_2.jpg
addedpublic_html/img/battle_archive/tmb_3.jpg
addedpublic_html/img/battle_archive/tmb_4.jpg
addedpublic_html/img/battle_archive/tmb_5.jpg
addedpublic_html/img/battle_archive/tmb_6.jpg
addedpublic_html/img/friend/other_mainmenu_save_01.jpg
addedpublic_html/img/friend/other_mainmenu_save_02.jpg
modifiedpublic_html/index.php
modifiedpublic_html/js/JOLLYROGER.js
modifiedpublic_html/js/JOLLYROGER_battle.js
modifiedpublic_html/js/jquery_ex.js
modifiedpublic_html/template/Battle-Result.tpl
modifiedpublic_html/template/Battle.tpl
addedpublic_html/template/BattleArchive-Edit.tpl
modifiedpublic_html/template/BattleArchive-Friend.tpl
modifiedpublic_html/template/Commerce-Arrival.tpl
modifiedpublic_html/template/Friend.tpl
modifiedpublic_html/template/parts_dgame_footer.tpl
Patch body is stored as a separate file to keep this page lightweight.

Review comment

#27 by wada at 2020-11-24T12:42:39; lib/ajax/battle_player.inc / old:None new:427
e25a9297c57cfad5394838ab3b7e7032edf50293

lose_ptを使用する