| 2026-08-26 16:34:43.252 · INFO · htb-control · automation |
| adventure=商人的鬼魂 · 战斗回合 3 › |
| 2026-08-26 16:34:43.251 · INFO · htb-control · automation |
| newbie=等级 14 · 商人的鬼魂 · 战斗回合 3 › |
| 2026-08-26 16:34:43.175 · INFO · htb-control · automation |
| 宝宝战斗设置:普通攻击 · 等待角色/宝宝 400ms 操作间隔 › |
| 2026-08-26 16:34:43.174 · INFO · htb-control · automation |
| 宝宝战斗设置:普通攻击 | data: {"kind":"BATTLE_ATTACK","action_id":"plot\/generic_battle#13","argument":"","secondary_argument":""} › |
| 2026-08-26 16:34:43.160 · INFO · htb-control · automation |
| immediate_confirmed | data: {"action":"battle_target","target_kind":"enemy","target":{"id":8,"name":"海狸·护佑","allied":0,"kind":"enemy"},"status":"confirmed","accepted":true,"before":{"round":1,"actor_id":1,"phase":"role","command_visible":false,"order_invalid":false,"target_selection":true,"magic_visible":true,"item_visible":false,"auto_active":false},"after":{"round":1,"actor_id":2,"phase":"summon","command_visible":true,"order_invalid":false,"target_selection":false,"magic_visible":false,"item_visible":false,"auto_active":false},"attempt":0,"max_retries":3} › |
| 2026-08-26 16:34:43.146 · ERROR · cbg-trade · test |
| [http_server.go:322] [PANIC] recovered | path=/api/role/value | method=GET | ip=220.203.168.174 | err=runtime error: invalid memory address or nil pointer dereference goroutine 72888 [running]: runtime/debug.Stack() /root/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.24.0.linux-amd64/src/runtime/debug/stack.go:26 +0x5e cbg-trade/internal/apps/value.(*HttpServer).recoveryMiddleware.func1(0xc000e21b00, {0x10efa20, 0x1f8dde0}) /root/sources/cbg-value/internal/apps/value/http_server.go:327 +0x3b github.com/gin-gonic/gin.CustomRecoveryWithWriter.func1.1() /root/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/recovery.go:98 +0x776 panic({0x10efa20?, 0x1f8dde0?}) /root/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.24.0.linux-amd64/src/runtime/panic.go:787 +0x132 cbg-trade/internal/equipreport.(*EquipReport).GetLingshi(0x0, 0x20?, 0x0, {0x126f3b4, 0x7}) /root/sources/cbg-value/internal/equipreport/lingshi_report.go:19 +0x39 cbg-trade/internal/apps/value/valueall.(*valueAll).GetValue(0x1ff1fe0, {0xc002eb43d8, 0x20}, 0xc003190af0, 0x0, 0x0, {0x126485e, 0x5}) /root/sources/cbg-value/internal/apps/value/valueall/api.go:60 +0xb05 cbg-trade/internal/apps/value.(*HttpServer).GetRoleValuation(0xc0010c0ee0, 0xc000e21b00) /root/sources/cbg-value/internal/apps/value/role_value.go:185 +0x1005 github.com/gin-gonic/gin.(*Context).Next(0xc000e21b00) /root/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0x2b cbg-trade/internal/apps/value.NewHttpServer.Cors.func4(0xc000e21b00) /root/sources/cbg-value/internal/utils/cors.go:21 +0xd8 github.com/gin-gonic/gin.(*Context).Next(...) /root/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 github.com/gin-gonic/gin.CustomRecoveryWithWriter.func1(0xc000e21b00) /root/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/recovery.go:102 +0x6f github.com/gin-gonic/gin.(*Context).Next(...) /root/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 github.com/gin-gonic/gin.(*Engine).handleHTTPRequest(0xc000aa29c0, 0xc000e21b00) /root/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/gin.go:620 +0x64e github.com/gin-gonic/gin.(*Engine).ServeHTTP(0xc000aa29c0, {0x169cac8, 0xc0010c0000}, 0xc00048a8c0) /root/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/gin.go:576 +0x1aa net/http.serverHandler.ServeHTTP({0xc002ecf290?}, {0x169cac8?, 0xc0010c0000?}, 0x1?) /root/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.24.0.linux-amd64/src/net/http/server.go:3301 +0x8e net/http.(*conn).serve(0xc007442990, {0x169e950, 0xc00120eab0}) /root/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.24.0.linux-amd64/src/net/http/server.go:2102 +0x625 created by net/http.(*Server).Serve in goroutine 1 /root/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.24.0.linux-amd64/src/net/http/server.go:3454 +0x485 › |
| 2026-08-26 16:34:43.145 · ERROR · cbg-trade · test |
| [main.go:66] [31m2026/08/26 16:34:43 [Recovery] 2026/08/26 - 16:34:43 panic recovered: runtime error: invalid memory address or nil pointer dereference /root/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.24.0.linux-amd64/src/runtime/panic.go:262 (0x478658) panicmem: panic(memoryError) /root/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.24.0.linux-amd64/src/runtime/signal_unix.go:925 (0x478628) sigpanic: panicmem() /root/sources/cbg-value/internal/equipreport/lingshi_report.go:19 (0xbab8f9) (*EquipReport).GetLingshi: equipDesc := itemdetail.GetItemJson(e.EquipDetail.Equip.Eid, e.EquipDetail.Equip.EquipDesc) /root/sources/cbg-value/internal/apps/value/valueall/api.go:60 (0xbd85c4) (*valueAll).GetValue: reportItem, success := equipReport.GetLingshi(false, ctx.IsFree, key.EidTypeLingshi) /root/sources/cbg-value/internal/apps/value/role_value.go:185 (0xeb9704) (*HttpServer).GetRoleValuation: type_, data, success = valueall.ValueAll.GetValue(eid, ctx, serverType, needRawData, key.ProxyReasonValue) /root/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 (0x96650a) (*Context).Next: c.handlers[c.index](c) /root/sources/cbg-value/internal/utils/cors.go:21 (0xf10297) NewHttpServer.Cors.func4: c.Next() /root/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 (0x9731ae) (*Context).Next: c.handlers[c.index](c) /root/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/recovery.go:102 (0x97319b) CustomRecoveryWithWriter.func1: c.Next() /root/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 (0x97180d) (*Context).Next: c.handlers[c.index](c) /root/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/gin.go:620 (0x9714a4) (*Engine).handleHTTPRequest: c.Next() /root/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/gin.go:576 (0x970fe9) (*Engine).ServeHTTP: engine.handleHTTPRequest(c) /root/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.24.0.linux-amd64/src/net/http/server.go:3301 (0x73c6ad) serverHandler.ServeHTTP: handler.ServeHTTP(rw, req) /root/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.24.0.linux-amd64/src/net/http/server.go:2102 (0x71b2e4) (*conn).serve: serverHandler{c.server}.ServeHTTP(w, w.req) /root/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.24.0.linux-amd64/src/runtime/asm_amd64.s:1700 (0x47d6c0) goexit: BYTE $0x90 // NOP [0m › |
| 2026-08-26 16:34:42.927 · INFO · htb-control · automation |
| 电量=87% · 充电=true · 停止充电成功(当前 87%):/sys/class/power_supply/battery/input_suspend=1 /system/bin/sh: can't create /sys/class/power_supply/dc/input_suspend: Permission denied › |
| 2026-08-26 16:34:42.898 · INFO · htb-control · automation |
| 角色“横扫千军”优先攻击带护佑的敌方“海狸·护佑”(ID 8,阵位 5,气血 不可读) › |
| 2026-08-26 16:34:42.896 · INFO · htb-control · automation |
| 角色“横扫千军”优先攻击带护佑的敌方“海狸·护佑”(ID 8,阵位 5,气血 不可读) | data: {"kind":"BATTLE_SELECT_TARGET","action_id":"plot\/generic_battle#13","argument":"海狸·护佑","secondary_argument":"8"} › |
| 2026-08-26 16:34:42.872 · INFO · htb-control · automation |
| immediate_confirmed | data: {"action":"battle_select_magic","slot":3,"id":1091,"name":"横扫千军","message_id":13,"status":"confirmed","accepted":true,"before":{"round":1,"actor_id":1,"phase":"role","command_visible":false,"order_invalid":false,"target_selection":false,"magic_visible":true,"item_visible":false,"auto_active":false},"after":{"round":1,"actor_id":1,"phase":"role","command_visible":false,"order_invalid":false,"target_selection":true,"magic_visible":true,"item_visible":false,"auto_active":false},"attempt":0,"max_retries":3} › |
| 2026-08-26 16:34:42.611 · INFO · htb-control · automation |
| 选择门派主攻技能“横扫千军” › |
| 2026-08-26 16:34:42.610 · INFO · htb-control · automation |
| 选择门派主攻技能“横扫千军” | data: {"kind":"BATTLE_SELECT_MAGIC","action_id":"plot\/generic_battle#13","argument":"横扫千军","secondary_argument":""} › |
| 2026-08-26 16:34:42.600 · INFO · htb-control · automation |
| response_snapshot_confirmed | data: {"action":"battle_magic","panel":"Dlgwar","actor_id":1,"status":"pending_confirmation","accepted":false,"before":{"round":1,"actor_id":1,"phase":"role","command_visible":true,"order_invalid":false,"target_selection":false,"magic_visible":false,"item_visible":false,"auto_active":false},"after":{"round":1,"actor_id":1,"phase":"role","command_visible":false,"order_invalid":false,"target_selection":false,"magic_visible":true,"item_visible":false,"auto_active":false},"attempt":0,"max_retries":3} › |
| 2026-08-26 16:34:42.344 · INFO · htb-control · automation |
| 战斗第 1 回合:打开法术面板准备“横扫千军” › |
| 2026-08-26 16:34:42.343 · INFO · htb-control · automation |
| 战斗第 1 回合:打开法术面板准备“横扫千军” | data: {"kind":"BATTLE_MAGIC","action_id":"plot\/generic_battle#13","argument":"","secondary_argument":""} › |
| 2026-08-26 16:34:42.240 · INFO · htb-control · automation |
| 普通战斗:等待宝宝攻击结算 › |
| 2026-08-26 16:34:42.239 · INFO · htb-control · automation |
| 普通战斗:等待宝宝攻击结算 | data: {"kind":"WAIT","action_id":"newbie\/generic_battle#11","argument":"","secondary_argument":""} › |
| 2026-08-26 16:34:42.161 · ERROR · cbg-trade · test |
| [main.go:66] [31m2026/08/26 16:34:42 [Recovery] 2026/08/26 - 16:34:42 panic recovered: runtime error: invalid memory address or nil pointer dereference /root/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.24.0.linux-amd64/src/runtime/panic.go:262 (0x478658) panicmem: panic(memoryError) /root/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.24.0.linux-amd64/src/runtime/signal_unix.go:925 (0x478628) sigpanic: panicmem() /root/sources/cbg-value/internal/equipreport/lingshi_report.go:19 (0xbab8f9) (*EquipReport).GetLingshi: equipDesc := itemdetail.GetItemJson(e.EquipDetail.Equip.Eid, e.EquipDetail.Equip.EquipDesc) /root/sources/cbg-value/internal/apps/value/valueall/api.go:60 (0xbd85c4) (*valueAll).GetValue: reportItem, success := equipReport.GetLingshi(false, ctx.IsFree, key.EidTypeLingshi) /root/sources/cbg-value/internal/apps/value/role_value.go:185 (0xeb9704) (*HttpServer).GetRoleValuation: type_, data, success = valueall.ValueAll.GetValue(eid, ctx, serverType, needRawData, key.ProxyReasonValue) /root/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 (0x96650a) (*Context).Next: c.handlers[c.index](c) /root/sources/cbg-value/internal/utils/cors.go:21 (0xf10297) NewHttpServer.Cors.func4: c.Next() /root/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 (0x9731ae) (*Context).Next: c.handlers[c.index](c) /root/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/recovery.go:102 (0x97319b) CustomRecoveryWithWriter.func1: c.Next() /root/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 (0x97180d) (*Context).Next: c.handlers[c.index](c) /root/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/gin.go:620 (0x9714a4) (*Engine).handleHTTPRequest: c.Next() /root/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/gin.go:576 (0x970fe9) (*Engine).ServeHTTP: engine.handleHTTPRequest(c) /root/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.24.0.linux-amd64/src/net/http/server.go:3301 (0x73c6ad) serverHandler.ServeHTTP: handler.ServeHTTP(rw, req) /root/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.24.0.linux-amd64/src/net/http/server.go:2102 (0x71b2e4) (*conn).serve: serverHandler{c.server}.ServeHTTP(w, w.req) /root/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.24.0.linux-amd64/src/runtime/asm_amd64.s:1700 (0x47d6c0) goexit: BYTE $0x90 // NOP [0m › |
| 2026-08-26 16:34:42.161 · ERROR · cbg-trade · test |
| [http_server.go:322] [PANIC] recovered | path=/api/role/value | method=GET | ip=220.203.168.174 | err=runtime error: invalid memory address or nil pointer dereference goroutine 72859 [running]: runtime/debug.Stack() /root/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.24.0.linux-amd64/src/runtime/debug/stack.go:26 +0x5e cbg-trade/internal/apps/value.(*HttpServer).recoveryMiddleware.func1(0xc000e21b00, {0x10efa20, 0x1f8dde0}) /root/sources/cbg-value/internal/apps/value/http_server.go:327 +0x3b github.com/gin-gonic/gin.CustomRecoveryWithWriter.func1.1() /root/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/recovery.go:98 +0x776 panic({0x10efa20?, 0x1f8dde0?}) /root/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.24.0.linux-amd64/src/runtime/panic.go:787 +0x132 cbg-trade/internal/equipreport.(*EquipReport).GetLingshi(0x0, 0x20?, 0x0, {0x126f3b4, 0x7}) /root/sources/cbg-value/internal/equipreport/lingshi_report.go:19 +0x39 cbg-trade/internal/apps/value/valueall.(*valueAll).GetValue(0x1ff1fe0, {0xc000376f18, 0x20}, 0xc00390c000, 0x0, 0x0, {0x126485e, 0x5}) /root/sources/cbg-value/internal/apps/value/valueall/api.go:60 +0xb05 cbg-trade/internal/apps/value.(*HttpServer).GetRoleValuation(0xc0010c0ee0, 0xc000e21b00) /root/sources/cbg-value/internal/apps/value/role_value.go:185 +0x1005 github.com/gin-gonic/gin.(*Context).Next(0xc000e21b00) /root/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0x2b cbg-trade/internal/apps/value.NewHttpServer.Cors.func4(0xc000e21b00) /root/sources/cbg-value/internal/utils/cors.go:21 +0xd8 github.com/gin-gonic/gin.(*Context).Next(...) /root/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 github.com/gin-gonic/gin.CustomRecoveryWithWriter.func1(0xc000e21b00) /root/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/recovery.go:102 +0x6f github.com/gin-gonic/gin.(*Context).Next(...) /root/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 github.com/gin-gonic/gin.(*Engine).handleHTTPRequest(0xc000aa29c0, 0xc000e21b00) /root/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/gin.go:620 +0x64e github.com/gin-gonic/gin.(*Engine).ServeHTTP(0xc000aa29c0, {0x169cac8, 0xc000d7a7e0}, 0xc003260dc0) /root/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/gin.go:576 +0x1aa net/http.serverHandler.ServeHTTP({0xc002bd90e0?}, {0x169cac8?, 0xc000d7a7e0?}, 0x1?) /root/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.24.0.linux-amd64/src/net/http/server.go:3301 +0x8e net/http.(*conn).serve(0xc00314ee10, {0x169e950, 0xc00120eab0}) /root/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.24.0.linux-amd64/src/net/http/server.go:2102 +0x625 created by net/http.(*Server).Serve in goroutine 1 /root/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.24.0.linux-amd64/src/net/http/server.go:3454 +0x485 › |