PR

【4/13】名誉機能 #4589

wada opened this at 2026-03-31T17:25:15; closed

Description

opened by wada at 2026-03-31T17:25:15; updated 2026-04-17T10:57:41

概要

仕様書

レイド、天下無双、新大陸の報酬配布時に名誉配布(4/17以降開催回から)

マージPR

  • 13772 【7/14】名誉機能
  • 13792 【7/22】秘宝名誉の配布バッチ
  • 13843 【7/30】名誉:パイレーツグランプリ用の表示

DB更新内容

【4/13】名誉機能 jolly/jrye-db#1375

CREATE TABLE `user_honor` (
  `user_no` bigint NOT NULL,
  `honor_no` int NOT NULL,
  `rank` tinyint NOT NULL,
  `update_time` datetime NOT NULL,
  `new_flg` tinyint NOT NULL COMMENT '0:確認済み 1:未確認',
  PRIMARY KEY (`user_no`,`honor_no`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='名誉: ユーザーごとの所持状況';
 
CREATE TABLE `user_honor_clear` (
  `id` int NOT NULL AUTO_INCREMENT,
  `user_no` bigint NOT NULL,
  `honor_no` int NOT NULL,
  `info` varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
  `reg_date` datetime NOT NULL,
  PRIMARY KEY (`id`),
  KEY `user_no` (`user_no`,`honor_no`,`reg_date`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='名誉: 入手条件のクリア状況';
 
CREATE TABLE `user_honor_slot` (
  `user_no` bigint NOT NULL,
  `slot_no` tinyint NOT NULL COMMENT '設定枠の場所',
  `honor_no` int NOT NULL,
  `update_time` datetime NOT NULL,
  PRIMARY KEY (`user_no`,`slot_no`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='名誉: 設定枠の使用状況';

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

各報酬配布スクリプトから名誉配布
島ページで名誉付け替え
各名前表示横のアイコン確認

TODO

  • [x] 開発環境動作確認
  • [x] 告知更新(画像は別PR作成)
  • [x] 名誉画像(4/10納品)

リリースTODO

  • [x] js圧縮
  • [x] 告知注意事項追記(イベント名誉開始タイミング記載)
  • [x] 告知画像デプロイ
  • [x] ユーザーテーブル作成
  • [x] dbデプロイ
  • [x] webデプロイ
  • [x] 秘宝名誉配布クエリ実行
  • [x] 告知掲載
kouho add_label at 2026-04-13T13:43:27: コメントあり

Comment

#45175 by kouho at 2026-04-13T13:43:31; updated 2026-04-13T13:43:31

@wada
名誉の選択・配布・表示処理は問題がないです。
以下のスクリプトのログの取り方を確認してください。

① [優先度:低] honor_area_item_present.inc
S_system_user_area_item_data_log関数でのログの出力名がdゲームとコロプラ前提になっていますので確認をお願いいたします。

Comment

#45326 by wada at 2026-04-17T09:09:08; updated 2026-04-17T09:09:08

@kouho
修正しました。

> ① [優先度:低] honor_area_item_present.inc

wada merge at 2026-04-17T10:48:19: 【4/13】名誉機能
wada close at 2026-04-17T10:48:19: Close
wada delete_branch at 2026-04-17T10:48:25: honor_2604

Commit range

base737143f16a3616d9cfc44994f9cbde9b87426e8b
head21733fc7303765f83860356957bbd1f10edeefe2
base branchjolly/jr-web:master
head branchjolly/jr-web:honor_2604

View commits

Commit details are loaded from Git when a dynamic archive server is running, or can be embedded with --include-commits.
Files changed86 filesView patch
statusfile
addeddatabase/migrate/2026033101_create_user_honor_tables.sql
modifiedlib/SubFunc.inc
modifiedlib/ajax/friend_bbsWrite.inc
modifiedlib/ajax/friend_detail.inc
addedlib/ajax/friend_dmBbsGet.inc
addedlib/ajax/friend_honorGet.inc
addedlib/ajax/friend_honorSlotGet.inc
addedlib/ajax/friend_honorSlotSet.inc
modifiedlib/ajax/teamBBS_default.inc
modifiedlib/conf/class/BattleEventConfig.class.php
modifiedlib/conf/class/NewIslandConfig.class.php
modifiedlib/conf/class/RaidMonsterConfig.class.php
addedlib/exec/honor_area_item_present.inc
modifiedlib/exec/tool_event_battle_present.inc
modifiedlib/exec/tool_event_newisland_present.inc
modifiedlib/exec/tool_event_raid_present.inc
modifiedlib/public/Friend-Bbs.inc
modifiedlib/public/Friend-BbsOwn.inc
modifiedpublic_html/ajax.php
addedpublic_html/img/honor/1.png
addedpublic_html/img/honor/2.png
addedpublic_html/img/honor/200/1000_1.png
addedpublic_html/img/honor/200/1000_2.png
addedpublic_html/img/honor/200/1000_3.png
addedpublic_html/img/honor/200/1000_4.png
addedpublic_html/img/honor/200/1000_5.png
addedpublic_html/img/honor/200/1001_1.png
addedpublic_html/img/honor/200/1001_2.png
addedpublic_html/img/honor/200/1001_3.png
addedpublic_html/img/honor/200/1001_4.png
addedpublic_html/img/honor/200/1001_5.png
addedpublic_html/img/honor/200/1002_1.png
addedpublic_html/img/honor/200/1002_2.png
addedpublic_html/img/honor/200/1002_3.png
addedpublic_html/img/honor/200/1002_4.png
addedpublic_html/img/honor/200/1002_5.png
addedpublic_html/img/honor/200/1005_1.png
addedpublic_html/img/honor/200/1005_2.png
addedpublic_html/img/honor/200/1005_3.png
addedpublic_html/img/honor/200/1005_4.png
addedpublic_html/img/honor/200/1005_5.png
addedpublic_html/img/honor/200/1006_1.png
addedpublic_html/img/honor/200/1006_2.png
addedpublic_html/img/honor/200/1006_3.png
addedpublic_html/img/honor/200/1006_4.png
addedpublic_html/img/honor/200/1006_5.png
addedpublic_html/img/honor/200/1007_1.png
addedpublic_html/img/honor/200/1007_2.png
addedpublic_html/img/honor/200/1007_3.png
addedpublic_html/img/honor/200/1007_4.png
addedpublic_html/img/honor/200/1007_5.png
addedpublic_html/img/honor/200/1008_1.png
addedpublic_html/img/honor/200/1008_2.png
addedpublic_html/img/honor/200/1008_3.png
addedpublic_html/img/honor/200/1008_4.png
addedpublic_html/img/honor/200/1008_5.png
addedpublic_html/img/honor/200/1009_1.png
addedpublic_html/img/honor/200/1009_2.png
addedpublic_html/img/honor/200/1009_3.png
addedpublic_html/img/honor/200/1009_4.png
addedpublic_html/img/honor/200/1009_5.png
addedpublic_html/img/honor/200/1010_1.png
addedpublic_html/img/honor/200/1010_2.png
addedpublic_html/img/honor/200/1010_3.png
addedpublic_html/img/honor/200/1010_4.png
addedpublic_html/img/honor/200/1010_5.png
addedpublic_html/img/honor/200/1_1.png
addedpublic_html/img/honor/200/1_2.png
addedpublic_html/img/honor/200/1_3.png
addedpublic_html/img/honor/200/1_4.png
addedpublic_html/img/honor/200/1_5.png
addedpublic_html/img/honor/3.png
addedpublic_html/img/honor/back_bottom.png
addedpublic_html/img/honor/back_medium.png
addedpublic_html/img/honor/back_top.png
addedpublic_html/img/honor/frame_my.png
addedpublic_html/img/honor/frame_other.png
addedpublic_html/img/honor/icon_plus.png
addedpublic_html/img/honor/m_header_off.png
addedpublic_html/img/honor/m_header_on.png
modifiedpublic_html/js/JOLLYROGER.js
modifiedpublic_html/js/jr_main.min.js
modifiedpublic_html/template/Friend-Bbs.tpl
modifiedpublic_html/template/Friend-BbsOwn.tpl
modifiedpublic_html/template/Friend.tpl
modifiedpublic_html/template/header_sp.tpl
Patch body is stored as a separate file to keep this page lightweight.