Files
JianMiauandClaude Fable 5 ebe8c3caca 初始化 Line_Project_Bot:LP_Bot 重構版(介面重設計+平台環境改讀試算表)
根本原因:
LP_Bot 介面老舊且環境設定寫死在程式內,新增平台或環境都要改碼重建。

影響:
全新深色控制台介面;首頁改為「平台+環境+Token」,平台清單與連線設定
即時讀取 Google 試算表(quickopen 同款資料來源),選擇與 Token 會記憶於
localStorage;支援「開遊戲」直開跳過維護網址;SD 機台自製 Spin 面板
(押注/延遲/倍率停/轉數停+Log 終端)。

修法:
- 底層引擎(Engine/Common/define/FormTable*)自 LP_Bot 原封搬移
- UI 層全部重寫(Login/Lobby/SlotList/SDGame),antd 深色主題
- 新增 GoogleSheetService:service account 簽 JWT 讀 Sheets API,
  非安全來源 fallback jsrsasign
- 移除 React.StrictMode(雙重掛載會讓 NetManagerSD 單例連線互蓋)
- SD socket 依 gameUrl 協定強制 wss
- 機台 1310/1311/1801/1803/1804/1805 Spin 帶 mode:0 特例
  (依 SD3 客戶端 MainState 原始碼)
- credentials.json 不進版控,附 credentials.example.json 範本

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-03 11:04:49 +08:00

42 lines
7.4 KiB
JSON

{
"#slot_1201#wheel_form" :
{
"cols" : ["Id"],
"rows" : []
},
"#slot_1201#sound" :
{
"cols" : ["Id","Type","PathZnTw","PathEn"],
"rows" : [[901,1,"sounds/Slot/Common/Event_GetCoins","sounds/Slot/Common/Event_GetCoins"],[902,1,"sounds/Slot/Common/Event_GetCoins_Win","sounds/Slot/Common/Event_GetCoins_Win"],[903,1,"sounds/Slot/Common/Event_GetCoins_Big","sounds/Slot/Common/Event_GetCoins_Big"],[904,1,"sounds/Slot/Common/Event_GetCoins_Mega","sounds/Slot/Common/Event_GetCoins_Mega"],[905,1,"sounds/Slot/Common/Event_Bigwin_Skip","sounds/Slot/Common/Event_Bigwin_Skip"],[1011,1,"sounds/Slot/Default/Event_Bet_01","sounds/Slot/Default/Event_Bet_01"],[1012,1,"sounds/Slot/Default/Event_Bet_08","sounds/Slot/Default/Event_Bet_08"],[1201001,2,"sounds/Slot/Common/Empty_BGM","sounds/Slot/Common/Empty_BGM"],[1201002,1,"sounds/Slot/Default/Event_Click","sounds/Slot/Default/Event_Click"],[1201011,2,"sounds/Slot/Slot1201/BGM1","sounds/Slot/Slot1201/BGM1"],[1201012,2,"sounds/Slot/Slot1201/BGM2","sounds/Slot/Slot1201/BGM2"],[1201013,2,"sounds/Slot/Slot1201/BGM3","sounds/Slot/Slot1201/BGM3"],[1201014,2,"sounds/Slot/Slot1201/BGM4","sounds/Slot/Slot1201/BGM4"],[1201015,2,"sounds/Slot/Slot1201/BGM5","sounds/Slot/Slot1201/BGM5"],[1201021,2,"sounds/Slot/Slot1201/FG_BGM1","sounds/Slot/Slot1201/FG_BGM1"],[1201022,2,"sounds/Slot/Slot1201/FG_BGM2","sounds/Slot/Slot1201/FG_BGM2"],[1201023,2,"sounds/Slot/Slot1201/FG_BGM3","sounds/Slot/Slot1201/FG_BGM3"],[1201024,2,"sounds/Slot/Slot1201/FG_BGM4","sounds/Slot/Slot1201/FG_BGM4"],[1201025,2,"sounds/Slot/Slot1201/FG_BGM5","sounds/Slot/Slot1201/FG_BGM5"],[1201031,1,"sounds/Slot/Common/Empty_BGM","sounds/Slot/Common/Empty_BGM"],[1201032,1,"sounds/Slot/Common/Empty_BGM","sounds/Slot/Common/Empty_BGM"],[1201033,1,"sounds/Slot/Common/Empty_BGM","sounds/Slot/Common/Empty_BGM"],[1201034,1,"sounds/Slot/Common/Empty_BGM","sounds/Slot/Common/Empty_BGM"],[1201035,1,"sounds/Slot/Common/Empty_BGM","sounds/Slot/Common/Empty_BGM"],[1201071,1,"sounds/Slot/Default/Event_ReelStop_01","sounds/Slot/Default/Event_ReelStop_01"],[1201091,1,"sounds/Slot/Common/Empty_BGM","sounds/Slot/Common/Empty_BGM"],[1201101,1,"sounds/Slot/Default/Event_Bigwin_PartA","sounds/Slot/Default/Event_Bigwin_PartA"],[1201102,1,"sounds/Slot/Default/Event_Bigwin_PartB","sounds/Slot/Default/Event_Bigwin_PartB"],[1201103,1,"sounds/Slot/Default/Event_Bigwin_PartC","sounds/Slot/Default/Event_Bigwin_PartC"],[1201105,1,"sounds/Slot/Default/Event_Bigwin_A","sounds/Slot/Default/Event_Bigwin_A"],[1201106,1,"sounds/Slot/Default/Event_Bigwin_B","sounds/Slot/Default/Event_Bigwin_B"],[1201107,1,"sounds/Slot/Default/Event_Bigwin_C","sounds/Slot/Default/Event_Bigwin_C"],[1201108,1,"sounds/Slot/Default/Event_Bigwin_D","sounds/Slot/Default/Event_Bigwin_D"],[1201121,1,"sounds/Slot/Common/Empty_BGM","sounds/Slot/Common/Empty_BGM"],[1201201,1,"sounds/Slot/Slot1201/Event_Alarm","sounds/Slot/Slot1201/Event_Alarm"],[1201202,2,"sounds/Slot/Common/Empty_BGM","sounds/Slot/Common/Empty_BGM"],[1201203,1,"sounds/Slot/Slot1201/Event_FreeSpin_End","sounds/Slot/Slot1201/Event_FreeSpin_End"],[1201204,1,"sounds/Slot/Slot1201/Event_FreeSpin_UI","sounds/Slot/Slot1201/Event_FreeSpin_UI"],[1201205,1,"sounds/Slot/Slot1201/Event_FreeSpin_UI","sounds/Slot/Slot1201/Event_FreeSpin_UI"],[1201251,1,"sounds/Slot/Slot1201/Event_FreeSpin_UI","sounds/Slot/Slot1201/Event_FreeSpin_UI"],[1201252,1,"sounds/Slot/Slot1201/Open","sounds/Slot/Slot1201/Open"],[1201253,1,"sounds/Slot/Slot1201/Up","sounds/Slot/Slot1201/Up"],[1201254,1,"sounds/Slot/Slot1201/Ball","sounds/Slot/Slot1201/Ball"],[1201255,1,"sounds/Slot/Slot1201/Boss","sounds/Slot/Slot1201/Boss"],[1201256,1,"sounds/Slot/Slot1201/Win","sounds/Slot/Slot1201/Win"],[1201257,1,"sounds/Slot/Slot1201/Wild","sounds/Slot/Slot1201/Wild"],[1201258,1,"sounds/Slot/Default/Event_Click","sounds/Slot/Default/Event_Click"],[1201259,1,"sounds/Slot/Slot1201/Result","sounds/Slot/Slot1201/Result"],[1201301,1,"sounds/Slot/Slot1201/Banner1","sounds/Slot/Slot1201/Banner1"],[1201302,1,"sounds/Slot/Slot1201/Attack_Strike1","sounds/Slot/Slot1201/Attack_Strike1"],[1201303,1,"sounds/Slot/Slot1201/Beaten_Boss1","sounds/Slot/Slot1201/Beaten_Boss1"],[1201311,1,"sounds/Slot/Slot1201/Banner2","sounds/Slot/Slot1201/Banner2"],[1201312,1,"sounds/Slot/Slot1201/Attack_Strike2","sounds/Slot/Slot1201/Attack_Strike2"],[1201313,1,"sounds/Slot/Slot1201/Beaten_Boss2","sounds/Slot/Slot1201/Beaten_Boss2"],[1201321,1,"sounds/Slot/Slot1201/Banner3","sounds/Slot/Slot1201/Banner3"],[1201322,1,"sounds/Slot/Slot1201/Attack_Strike3","sounds/Slot/Slot1201/Attack_Strike3"],[1201323,1,"sounds/Slot/Slot1201/Beaten_Boss3","sounds/Slot/Slot1201/Beaten_Boss3"],[1201331,1,"sounds/Slot/Slot1201/Banner4","sounds/Slot/Slot1201/Banner4"],[1201332,1,"sounds/Slot/Slot1201/Attack_Strike4","sounds/Slot/Slot1201/Attack_Strike4"],[1201333,1,"sounds/Slot/Slot1201/Beaten_Boss4","sounds/Slot/Slot1201/Beaten_Boss4"],[1201341,1,"sounds/Slot/Slot1201/Banner5","sounds/Slot/Slot1201/Banner5"],[1201342,1,"sounds/Slot/Slot1201/Attack_Strike5","sounds/Slot/Slot1201/Attack_Strike5"],[1201343,1,"sounds/Slot/Slot1201/Beaten_Boss5","sounds/Slot/Slot1201/Beaten_Boss5"],[1201401,1,"sounds/Slot/Slot1201/Attack_A1","sounds/Slot/Slot1201/Attack_A1"],[1201402,1,"sounds/Slot/Slot1201/Attack_A2","sounds/Slot/Slot1201/Attack_A2"],[1201403,1,"sounds/Slot/Slot1201/Attack_A3","sounds/Slot/Slot1201/Attack_A3"],[1201404,1,"sounds/Slot/Slot1201/Attack_A4","sounds/Slot/Slot1201/Attack_A4"],[1201411,1,"sounds/Slot/Slot1201/Attack_B1","sounds/Slot/Slot1201/Attack_B1"],[1201412,1,"sounds/Slot/Slot1201/Attack_B2","sounds/Slot/Slot1201/Attack_B2"],[1201413,1,"sounds/Slot/Slot1201/Attack_B3","sounds/Slot/Slot1201/Attack_B3"],[1201414,1,"sounds/Slot/Slot1201/Attack_B4","sounds/Slot/Slot1201/Attack_B4"],[1201421,1,"sounds/Slot/Slot1201/Attack_C1","sounds/Slot/Slot1201/Attack_C1"],[1201422,1,"sounds/Slot/Slot1201/Attack_C2","sounds/Slot/Slot1201/Attack_C2"],[1201423,1,"sounds/Slot/Slot1201/Attack_C3","sounds/Slot/Slot1201/Attack_C3"],[1201424,1,"sounds/Slot/Slot1201/Attack_C4","sounds/Slot/Slot1201/Attack_C4"]]
},
"#slot_1201#monster" :
{
"cols" : ["Id"],
"rows" : []
},
"#slot_1201#pay" :
{
"cols" : ["Id","X3","X4","X5","X6","X7","X8"],
"rows" : [[1,0,0,0,0,0,0],[2,0,0,0,0,0,0],[3,0,0,0,0,0,0],[4,0,0,0,0,0,0],[5,0.2,1,6,16,250,1250],[6,0.2,1,7,18,300,1500],[7,0.2,1,8,20,350,2000],[8,0.1,0.5,5,14,200,1000],[9,0.1,0.5,4,12,150,750],[10,0.1,0.5,3,10,100,500]]
},
"#slot_1201#symbol_free" :
{
"cols" : ["Id"],
"rows" : []
},
"#slot_1201#symbol_base" :
{
"cols" : ["Id"],
"rows" : []
},
"#slot_1201#fixed" :
{
"cols" : ["Id","BValue","BName","CValue","CName"],
"rows" : [[1,50,null,null,null],[3,1,null,null,null],[4,999,null,null,null],[5,999,null,null,null],[11,8,null,null,null],[12,null,null,0.3,null],[13,null,null,0.2,null],[14,null,null,1.8,null],[15,null,null,0.6,null],[16,null,null,0.3,null],[17,null,null,null,null],[18,null,null,1.5,null],[23,5,null,null,null],[24,7,null,null,null],[25,9,null,null,null],[26,11,null,null,null],[27,13,null,null,null],[28,15,null,null,null],[101,4,null,null,null],[102,3,null,null,null],[103,3,null,null,null],[201,null,null,5,null]]
},
"#slot_1201#string" :
{
"cols" : ["Id","MsgEn","MsgZnTw","MsgZnCh","MsgVi","MsgTh"],
"rows" : [[1,"Rreplace the monster?","確認更換攻擊目標?","确认更换攻击目标?","Thay thế con quái vật?","แทนที่สัตว์ประหลาด?"]]
}
}