PR

【6/10】リリース #867

kouho opened this at 2021-06-09T15:17:11; closed

Description

opened by kouho at 2021-06-09T15:17:11; updated 2024-10-07T11:52:04
  • 新大陸報酬配布
  • 【6/10】レイド8回・1期 #811

新大陸イベントの報酬配布

#報酬
1-10:連投のチェルシー×8 伝説の海賊の魂×6 【宮廷騎士カール】勝利の証×120
11-30:連投のチェルシー×6    伝説の海賊の魂×4 【宮廷騎士カール】勝利の証×100
31-100:連投のチェルシー×4 伝説の海賊の魂×3 【宮廷騎士カール】勝利の証×80
101-300:連投のチェルシー×3 伝説の海賊の魂×2 【宮廷騎士カール】勝利の証×60
301-500:連投のチェルシー×2 伝説の海賊の魂×1 【宮廷騎士カール】勝利の証×40
501-700:連投のチェルシー×1 【宮廷騎士カール】勝利の証×20
701-900:宮廷騎士カール】勝利の証×5
901-1000:5000GOLD
1001~ 500ベル
  • [x] 報酬配布
# 報酬配布
cd /jr-yamada/lib/exec/
#まず実行前に$debug_fl=1でsql出力
vi tool_event_newisland_present.inc
ENVIRONMENT=production PF=yamada php ./tool_event_newisland_present.inc
#出力されたsqlに問題がなければ実行前に$debug_fl=0にして実際に配布
vi tool_event_newisland_present.inc
ENVIRONMENT=production PF=yamada php ./tool_event_newisland_present.inc
(jolly-yamadaに報告:本番で新大陸の報酬を配布しました)
# 本当配布されたかプレゼント確認

リリース作業

  • [x] レイドのlogの移動
#log移動
cd jr-admin
git pull
cd lib/exec/
vi tool_delete_raid_log.inc (event_no = 17 へ変更)
ENVIRONMENT=production PF=yamada php tool_delete_raid_log.inc
  • [x] レイド関係DBの初期化
#更新
UPDATE `user_mission` SET `raid_point`=0,`raid_point2`=0,`total_raid_point`=0,`m_event_limit`=0;

UPDATE `team_data` SET `raid_stamina`=0,`raid_monster`=0,`raid_monster_vs`=0,`raid_lv`=0,`raid_count`=0,`total_raid_count`=0,`event_raid_count`=0,`war_bonus_time`=0,`event_prize`=0,`raid_vs_end_time`=0;

#確認用
SELECT `user_no`,`raid_point`,`raid_point2`,`total_raid_point`,`m_event_limit` FROM `user_mission` ORDER BY `m_event_limit` DESC

SELECT `raid_stamina`,`raid_monster`,`raid_monster_vs`,`raid_lv`,`raid_count`,`total_raid_count`,`event_raid_count`,`war_bonus_time`,`event_prize`,`raid_vs_end_time` FROM `team_data` WHERE del_flg=0 ORDER BY `raid_stamina` DESC
  • [x] RaidBossData
Master更新
#local環境(jrey-db)にて
git checkout master
git pull
git merge raid_0610
git push 

#本番
ssh jr-adm
deploy db
  • [x] 本番環境更新
#本番環境に反映
Merge Pull Request
ssh jr-adm
update web
deploy web

#バッチファイルの設定
crontab -e
10 10 * * * ENVIRONMENT=${JR_ENV} PF=yamada ${JR_DIR}/lib/exec/user_event_raid_analytics.sh

Comment

#11427 by kouho at 2021-06-09T15:29:29; updated 2021-06-09T15:29:29

@iwamoto @wada
明日のリリース内容です念のため確認していただけましたら幸いです。

kouho merge at 2021-06-10T12:01:17: 【6/10】リリース
kouho close at 2021-06-10T12:01:17: Close

Commit range

base394bf7efa5c67a1698bf60ca86f4cde4b5265e3b
head04cca8865939557a4c500971831f02ce644c32ed
base branchjolly/jr-web:master
head branchjolly/jr-web:release_0610

View commits

Commit details are loaded from Git when a dynamic archive server is running, or can be embedded with --include-commits.
Files changed11 filesView patch
statusfile
modifiedlib/class/platform/yamada/YamadaAPI.class.php
modifiedlib/class/platform/yamada/YamadaPlatformService.class.php
modifiedlib/conf/class/RaidMonsterConfig.class.php
modifiedlib/conf/class/RaidMonsterTypeConfig.class.php
modifiedlib/conf/define_y.inc
modifiedpublic_html/img/main/event_icon/raid/515.png
modifiedpublic_html/img/main/event_icon/raid/515_rare.png
modifiedpublic_html/img/main/event_icon/raid/515_team.png
addedpublic_html/img/raid/point_item/112_1.png
addedpublic_html/img/raid/point_item/112_2.png
addedpublic_html/img/ranking/event_raid/info_raid18.jpg
Patch body is stored as a separate file to keep this page lightweight.