初始化 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,32 @@
|
||||
{
|
||||
"#slot_052#wheel_client" :
|
||||
{
|
||||
"cols" : ["Id","SymbolList"],
|
||||
"rows" : [[1,[1,1,1,8,4,2,4,5,9,9,9,4,3,9,3,7,5,5,5,9,8,4,8,7,2,2,2,8,6,9,6,5,7,7,7,4,1,9,1,8,4,4,4,7,9,6,9,8,3,3,3,7,5,3,5,6,8,8,8,5,2,7,2,9,6,6,6,8,7,6,7]],[2,[1,1,1,4,7,8,7,5,6,6,6,8,2,9,2,7,3,3,3,9,5,4,5,3,9,9,9,6,4,7,4,9,5,5,5,7,1,8,1,2,8,8,8,7,9,6,9,7,2,2,2,8,6,9,6,4,7,7,7,5,3,8,3,6,4,4,4,9,8,5,8]],[3,[1,1,1,7,5,9,5,7,9,9,9,6,2,8,2,7,6,6,6,8,9,5,9,7,3,3,3,8,4,7,4,6,8,8,8,5,1,4,1,9,5,5,5,3,7,4,7,9,2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2,8,3,9,5,7,9,6]],[104,[7,3,6,4,7,5,4,8,9,8,5,7,2,8,2,3,5,5,3,9,3,5,7,2,6,2,2,7,8,4,9,3,4,9,4,6,6,9,8,6]],[201,[2,8,7,5,10,6,9,8,3,10,4,7,9,6,8,7,5,10,6,9,8,3,10,4,7,9]]]
|
||||
},
|
||||
"#slot_052#wheel_form" :
|
||||
{
|
||||
"cols" : ["Id"],
|
||||
"rows" : []
|
||||
},
|
||||
"#slot_052#line" :
|
||||
{
|
||||
"cols" : ["Id","LineId"],
|
||||
"rows" : [[1,122],[2,1],[3,243],[4,49],[5,195],[6,10],[7,234],[8,161],[9,83]]
|
||||
},
|
||||
"#slot_052#pay" :
|
||||
{
|
||||
"cols" : ["Id","X1","X2","X3","X4","X5"],
|
||||
"rows" : [[1,0,0,0,0,1000],[2,0,0,30,100,500],[3,0,0,20,50,250],[4,0,0,15,40,200],[5,0,0,10,30,150],[6,0,0,7,20,100],[7,0,0,5,15,60],[8,0,0,3,10,40],[9,0,0,2,5,20],[10,0,0,0,0,0]]
|
||||
},
|
||||
"#slot_052#symbol" :
|
||||
{
|
||||
"cols" : ["Id","PicIndex","SameShift"],
|
||||
"rows" : [[0,null,2],[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]]
|
||||
},
|
||||
"#slot_052#fixed" :
|
||||
{
|
||||
"cols" : ["Id","BValue","CValue"],
|
||||
"rows" : [[1,9,null],[1001,1,null],[1002,2,null],[1003,3,null],[1004,27,null],[1005,20,null],[1006,500,null],[1007,200,null],[1008,100,null],[1009,70,null],[1010,50,null],[1011,20,null],[1012,10,null],[1013,5,null],[1014,2,null],[1015,0,null],[1016,4,null],[1017,null,null],[1018,null,null],[1101,2000,null],[1102,1000,null],[1103,500,null],[1104,400,null],[1105,300,null],[1106,250,null],[1107,150,null],[1108,100,null],[1109,50,null],[1110,50,null],[1111,15,null]]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user