初始化 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>
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
{
|
||||
"#slot_1202#wheel_form" :
|
||||
{
|
||||
"cols" : ["Id"],
|
||||
"rows" : []
|
||||
},
|
||||
"#slot_1202#sound" :
|
||||
{
|
||||
"cols" : ["Id","Type","PathZnTw"],
|
||||
"rows" : [[901,1,"sounds/Slot/Common/Event_GetCoins"],[902,1,"sounds/Slot/Common/Event_GetCoins_Win"],[903,1,"sounds/Slot/Common/Event_GetCoins_Big"],[904,1,"sounds/Slot/Common/Event_GetCoins_Mega"],[905,1,"sounds/Slot/Common/Event_Bigwin_Skip"],[1011,1,"sounds/Slot/Default/Event_Bet_01"],[1012,1,"sounds/Slot/Default/Event_Bet_08"],[1202001,2,"sounds/Slot/Slot1202/Sushi_BGM"],[1202002,1,"sounds/Slot/Default/Event_Click"],[1202091,1,"sounds/Slot/Common/Empty_BGM"],[1202101,1,"sounds/Slot/Default/Event_Bigwin_PartA"],[1202102,1,"sounds/Slot/Default/Event_Bigwin_PartB"],[1202103,1,"sounds/Slot/Default/Event_Bigwin_PartC"],[1202071,1,"sounds/Slot/Slot1202/Event_ReelStop_01"],[1202105,1,"sounds/Slot/Default/Event_Bigwin_A"],[1202106,1,"sounds/Slot/Default/Event_Bigwin_B"],[1202107,1,"sounds/Slot/Default/Event_Bigwin_C"],[1202108,1,"sounds/Slot/Default/Event_Bigwin_D"],[1202901,1,"sounds/Slot/Slot1202/Plus"],[1202902,1,"sounds/Slot/Default/Event_AllLineWin"],[1202903,1,"sounds/Slot/Slot1202/Eat"],[1202904,1,"sounds/Slot/Slot1202/Wheel"],[1202905,1,"sounds/Slot/Slot1202/Event_Bonus_UI"],[1202906,1,"sounds/Slot/Slot1202/WinX"],[1202907,1,"sounds/Slot/Slot1202/WinX2"],[1202951,1,"sounds/Slot/Slot1202/Sushi_BGM1"],[1202952,1,"sounds/Slot/Slot1202/Sushi_BGM2"],[1202953,1,"sounds/Slot/Slot1202/Sushi_BGM3"]]
|
||||
},
|
||||
"#slot_1202#symbol_group" :
|
||||
{
|
||||
"cols" : ["Id","NormalSymbol","LevelupSymbol","LevelmaxSymbol"],
|
||||
"rows" : [[1,1,11,21],[2,2,12,22],[3,3,13,23],[4,4,14,24],[5,5,15,25],[6,6,16,26],[7,7,17,27],[8,8,18,28]]
|
||||
},
|
||||
"#slot_1202#pay" :
|
||||
{
|
||||
"cols" : ["Id","X1","X2","X3","X4"],
|
||||
"rows" : [[1,0.1,0.2,0.3,0.4],[2,0.1,0.2,0.3,0.4],[3,0.1,0.2,0.3,0.4],[4,0.1,0.2,0.3,0.4],[5,0.2,0.4,0.6,0.8],[6,0.3,0.6,0.9,1.2],[7,0.4,0.8,1.2,1.6],[8,0.5,1,1.5,2],[9,0,0,0,0],[10,0,0,0,0],[11,0.3,0.6,0.9,1.2],[12,0.3,0.6,0.9,1.2],[13,0.3,0.6,0.9,1.2],[14,0.3,0.6,0.9,1.2],[15,0.6,1.2,1.8,2.4],[16,0.9,1.8,2.7,3.6],[17,1.2,2.4,3.6,4.8],[18,1.5,3,4.5,6],[21,1,2,3,4],[22,1,2,3,4],[23,1,2,3,4],[24,1,2,3,4],[25,2,4,6,8],[26,3,6,9,12],[27,4,8,12,16],[28,5,10,15,20],[101,0,0,0,0],[102,0,0,0,0],[103,0,0,0,0]]
|
||||
},
|
||||
"#slot_1202#symbol" :
|
||||
{
|
||||
"cols" : ["Id","PicIndex","SameShift"],
|
||||
"rows" : [[1,null,0],[2,null,0],[3,null,0],[4,null,0],[5,null,0],[6,null,0],[7,null,0],[8,null,0],[9,null,0],[10,null,0],[11,null,0],[12,null,0],[13,null,0],[14,null,0],[15,null,0],[16,null,0],[17,null,0],[18,null,0],[21,null,0],[22,null,0],[23,null,0],[24,null,0],[25,null,0],[26,null,0],[27,null,0],[28,null,0],[101,null,0],[102,null,0],[103,null,0]]
|
||||
},
|
||||
"#slot_1202#mystery" :
|
||||
{
|
||||
"cols" : ["Id","Range"],
|
||||
"rows" : [[101,[1,2,14,15]],[102,[12,13,21,22]],[103,[5,6,10,11]]]
|
||||
},
|
||||
"#slot_1202#fixed" :
|
||||
{
|
||||
"cols" : ["Id","BValue","CValue"],
|
||||
"rows" : [[1,50,null],[3,1,null],[4,0,null],[5,0,null],[11,null,null],[12,null,null],[13,null,null],[14,null,null],[15,null,null],[21,1,null],[1000,null,null],[1001,null,null],[1002,10,null],[1003,20,null],[1101,26,null],[1102,2,null],[1103,5,null]]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user