Files
TankIC/3DTank/names/space-init-100119080.json
T
TermiNexus b6f2cb71ee feat(3dtank): 协议逆向工程与自研服务器入库(工具链 + 协议表 + 空间回放 + MySQL)
工具链(3DTank/tools/):extract(模块提取)、mine_evidence/apply_names(命名证据与别名回填)、extract_codec_fields(字段表 + 全库槽位类型 + PrimClassWire/ResourceClasses)、mine_downlink(下行字段表)、extract_space_init/rebase_space_init/audit_space_init(空间模板与记录切分审计)、extract_space_session(把真实会话切成按上行触发的回放模板)、pair_flow(请求→应答配对)、probe_containers、ingest/decrypt_frames(抓包入库与解密)、serve/fetch_assets(本地站点镜像)、import_db(抓包对象仓库导入 MySQL)。

服务器(3DTank/tools/server/):link/entry/codec/container/dispatch/world/space/semantic(协议层与 lt/pt/zt 三个容器布局)、session(会话回放,顺序推进)、db + schema.sql(MySQL 连接层与对象仓库表结构)、store/responder(查库组帧与定向应答;接管范围默认只开 ba.lcr)。

同时修 pair_flow 的时间轴偏移:timeline_c2s 与 timeline_s2c 的 0 点相差 144~4453ms,改前配对整体偏约 2 秒(实测 space-100073070 偏 2084ms),改后 22.4% 的触发者被纠正。

src/、src_named/、packets/、3DTank/local/(含数据库口令)不进库,可用上述工具重新生成。
2026-09-17 20:00:41 +08:00

672 lines
15 KiB
JSON

{
"SpaceId": "100119080",
"Note": "结构化初始化模板:容器存对象树(发送时重新编码),解不动的记录存 hex;nullmap 原样",
"Frames": [
{
"File": "s2c_0000.bin",
"SpaceId": "100119080",
"NullmapHex": "66001080",
"DelayMs": 0,
"Compressed": true,
"Records": [
{
"ObjectId": "100119080",
"MethodId": "3216143066888387731",
"Layout": "zt",
"Value": {
"X": 0,
"Batches": [
{
"ObjectId": "100109410",
"ModelIds": [
"821863604528384663",
"7185560430911351668",
"9195251661754137714",
"7949064601138261608",
"8841505497388123861",
"2108103923322474513",
"5255782026414758079",
"6363628754704336051",
"2795796318435010995",
"6847548337746045159",
"7175193612424807833",
"3107451137018937608",
"5427664491088584235",
"6403067749608679876",
"1850509145998626828",
"3885077615914307071",
"2009560714711279199",
"1298753286651761171",
"258682513334072065",
"4255726087158005051",
"7019981464353739346",
"3527205014716342329",
"6492191529573968679",
"6627517808336136295"
]
}
],
"Items": []
}
},
{
"ObjectId": "100119080",
"MethodId": "7640916300855664666",
"Layout": "pt",
"Value": {
"Objects": [
{
"ObjectId": "100119080",
"GameTypeId": "100109410"
}
],
"Items": [
{
"Id": "0",
"Value": "100119080"
},
{
"Id": "7185560430911351668",
"Value": {
"formats": [
{
"description": "在此模式下,规则由你制定。创建对战,任意调校所有设置;结交好友,追猎敌人。无论你热衷战斗还是交流,选择权都在你手中。",
"formatId": "NO_FORMAT",
"name": "专家战场",
"optionsDefaults": [
"enum#6",
"enum#10",
"enum#14",
"enum#13",
"enum#8",
"enum#16",
"enum#3",
"enum#11",
"enum#1",
"enum#2",
"enum#9",
"enum#15"
],
"optionsToShow": [
"enum#6",
"enum#10",
"enum#8",
"enum#7",
"enum#11",
"enum#1",
"enum#2",
"enum#9",
"enum#12",
"enum#5",
"enum#13",
"enum#16",
"enum#4",
"enum#3",
"enum#0"
]
},
{
"description": "本模式仅面向最硬核的坦克手。此处,最轻型的坦克搭载最重型的激光炮。绝对纯粹,极致简约。",
"formatId": "RAIL_MASTERS",
"name": "激光炮大师",
"optionsDefaults": [
"enum#6",
"enum#10",
"enum#4",
"enum#1",
"enum#15"
],
"optionsToShow": [
"enum#6",
"enum#10",
"enum#12",
"enum#5",
"enum#16",
"enum#4",
"enum#7",
"enum#0",
"enum#1"
]
},
{
"description": "全员平等的团队对战。此模式下,所有装备均升级至满级,以确保公平竞技。防御模块、装备改造与无人机全部禁用——唯有过硬的实力方能助你取胜。",
"formatId": "SPORT",
"name": "竞技模式",
"optionsDefaults": [
"enum#10",
"enum#12",
"enum#8",
"enum#16",
"enum#1",
"enum#15",
"enum#9"
],
"optionsToShow": [
"enum#6",
"enum#5",
"enum#8",
"enum#4",
"enum#7",
"enum#0"
]
},
{
"description": "空中布满了飞行的坦克。在此格式中,地图限制和障碍将被删除。跳得最有型的坦克获胜。",
"formatId": "PARKOUR",
"name": "跑酷",
"optionsDefaults": [
"enum#6",
"enum#10",
"enum#14",
"enum#16",
"enum#4",
"enum#1"
],
"optionsToShow": [
"enum#6",
"enum#10",
"enum#8",
"enum#11",
"enum#7",
"enum#1",
"enum#2",
"enum#9",
"enum#5",
"enum#13",
"enum#16",
"enum#3",
"enum#4",
"enum#0"
]
},
{
"description": "在此模式中,对道具的使用和地图移动的限制将被解除。战斗前请务必补充道具。",
"formatId": "HYPER",
"name": "超限战场",
"optionsDefaults": [
"enum#6",
"enum#10",
"enum#19",
"enum#14",
"enum#16",
"enum#4",
"enum#18",
"enum#1"
],
"optionsToShow": [
"enum#6",
"enum#10",
"enum#8",
"enum#11",
"enum#7",
"enum#1",
"enum#2",
"enum#9",
"enum#5",
"enum#13",
"enum#16",
"enum#3",
"enum#4",
"enum#0"
]
}
]
}
},
{
"Id": "7949064601138261608",
"Value": {
"(匿名#1)": "0",
"clanTag": null,
"(匿名#3)": "3074457345817168740"
}
},
{
"Id": "2108103923322474513",
"Value": {
"clientKey": "6LfNI_srAAAAACptxRSLfhdOMuyZuYJq1d5khles",
"stateWithCaptcha": [],
"useFake": false
}
},
{
"Id": "5255782026414758079",
"Value": {
"browserExtensionsToDetect": [
"373655AA417CA59E949CF1B3CFE15A5E",
"4AC4FF9609E5AF8E5141621E71C5B305",
"98D90220B6A4643DD22E74906DBD5306",
"9B55477B5A3137455204AFCA75F7C7F6"
]
}
},
{
"Id": "7175193612424807833",
"Value": {
"serverHaltTS": "0"
}
},
{
"Id": "6403067749608679876",
"Value": {
"(匿名#1)": "3074457345817168740"
}
},
{
"Id": "1850509145998626828",
"Value": {
"loggingEnabled": false
}
},
{
"Id": "1298753286651761171",
"Value": {
"(匿名#1)": 0
}
},
{
"Id": "258682513334072065",
"Value": {
"(匿名#1)": 4,
"(匿名#2)": "3074457345817168740"
}
},
{
"Id": "4255726087158005051",
"Value": {
"partnerUid": null,
"uid": "WYT2WYT",
"(匿名#3)": "3074457345817168740"
}
},
{
"Id": "7019981464353739346",
"Value": {
"(匿名#1)": 172800
}
},
{
"Id": "3527205014716342329",
"Value": {
"ranks": [
{
"(匿名#1)": 1,
"name": "新兵"
},
{
"(匿名#1)": 2,
"name": "二等兵"
},
{
"(匿名#1)": 3,
"name": "一等兵"
},
{
"(匿名#1)": 4,
"name": "下士"
},
{
"(匿名#1)": 5,
"name": "中士"
},
{
"(匿名#1)": 6,
"name": "上士"
},
{
"(匿名#1)": 7,
"name": "三级军士长"
},
{
"(匿名#1)": 8,
"name": "二级军士长"
},
{
"(匿名#1)": 9,
"name": "一级军士长"
},
{
"(匿名#1)": 10,
"name": "军士长"
},
{
"(匿名#1)": 11,
"name": "五级准尉"
},
{
"(匿名#1)": 12,
"name": "四级准尉"
},
{
"(匿名#1)": 13,
"name": "三级准尉"
},
{
"(匿名#1)": 14,
"name": "二级准尉"
},
{
"(匿名#1)": 15,
"name": "一级准尉"
},
{
"(匿名#1)": 16,
"name": "特级准尉"
},
{
"(匿名#1)": 17,
"name": "少尉"
},
{
"(匿名#1)": 18,
"name": "中尉"
},
{
"(匿名#1)": 19,
"name": "上尉"
},
{
"(匿名#1)": 20,
"name": "少校"
},
{
"(匿名#1)": 21,
"name": "中校"
},
{
"(匿名#1)": 22,
"name": "上校"
},
{
"(匿名#1)": 23,
"name": "准将"
},
{
"(匿名#1)": 24,
"name": "少将"
},
{
"(匿名#1)": 25,
"name": "中将"
},
{
"(匿名#1)": 26,
"name": "上将"
},
{
"(匿名#1)": 27,
"name": "元帅"
},
{
"(匿名#1)": 28,
"name": "陆军元帅"
},
{
"(匿名#1)": 29,
"name": "统帅"
},
{
"(匿名#1)": 30,
"name": "大元帅"
},
{
"(匿名#1)": 31,
"name": "传奇"
}
]
}
},
{
"Id": "6627517808336136295",
"Value": {
"(匿名#1)": 20
}
}
]
}
},
{
"ObjectId": "100119080",
"MethodId": "3216143066888387731",
"Layout": "zt",
"Value": {
"X": 0,
"Batches": [
{
"ObjectId": "-2147482755",
"ModelIds": [
"7272122855372520854",
"6666386288157781248",
"7286757952195114814",
"433350986715773690",
"6165842138816273510",
"6493584756469019867",
"1115275516484037832",
"2023935033691193766",
"5297988375509642470",
"4813819753066546054",
"649690707811173020",
"881620222948704326",
"6768558945605412944",
"6220257539261493170",
"8495889215182031654",
"8115862559097350286",
"6101288557408637643",
"6042266992054445914"
]
}
],
"Items": []
}
},
{
"ObjectId": "100119080",
"MethodId": "7640916300855664666",
"Layout": "pt",
"Value": {
"Objects": [
{
"ObjectId": "-2147209018",
"GameTypeId": "-2147482755"
}
],
"Items": [
{
"Id": "0",
"Value": "-2147209018"
},
{
"Id": "7272122855372520854",
"Value": {
"(匿名#1)": 300,
"(匿名#2)": 50,
"local": true,
"(匿名#4)": 5
}
},
{
"Id": "6666386288157781248",
"Value": {
"users": []
}
},
{
"Id": "7286757952195114814",
"Value": {
"users": []
}
},
{
"Id": "433350986715773690",
"Value": {
"users": []
}
},
{
"Id": "6165842138816273510",
"Value": {
"users": []
}
},
{
"Id": "1115275516484037832",
"Value": {
"hasClan": false,
"loadingInServiceSpace": true,
"(匿名#3)": 0
}
},
{
"Id": "2023935033691193766",
"Value": {
"objects": []
}
},
{
"Id": "5297988375509642470",
"Value": {
"objects": []
}
},
{
"Id": "4813819753066546054",
"Value": {
"objects": []
}
},
{
"Id": "649690707811173020",
"Value": {
"objects": []
}
},
{
"Id": "881620222948704326",
"Value": {
"objects": []
}
},
{
"Id": "6768558945605412944",
"Value": {
"objects": []
}
},
{
"Id": "6220257539261493170",
"Value": {
"objects": []
}
},
{
"Id": "8495889215182031654",
"Value": {
"hasClanLicense": false
}
},
{
"Id": "8115862559097350286",
"Value": {
"users": []
}
},
{
"Id": "6042266992054445914",
"Value": {
"(匿名#1)": 11
}
}
]
}
},
{
"ObjectId": "100119080",
"MethodId": "7772769798498565531",
"Fields": {
"state": "enum#0"
}
},
{
"ObjectId": "100119080",
"MethodId": "8814983091022938481",
"Fields": {
"userData": [
{
"(匿名#1)": "0",
"clanTag": null,
"(匿名#3)": "3074457345817168740"
}
]
}
},
{
"ObjectId": "100119080",
"MethodId": "7795510382230390111",
"Fields": {
"users": [
{
"online": false,
"(匿名#2)": "3074457345817168740"
}
]
}
},
{
"ObjectId": "100119080",
"MethodId": "4567332396287339500",
"Fields": {
"users": [
{
"hasPremium": false,
"(匿名#2)": "3074457345817168740"
}
]
}
},
{
"ObjectId": "100119080",
"MethodId": "5543735653822042458",
"Fields": {
"users": [
{
"(匿名#1)": 4,
"(匿名#2)": "3074457345817168740"
}
]
}
},
{
"ObjectId": "100119080",
"MethodId": "1246109053620123806",
"Fields": {
"users": [
{
"partnerUid": null,
"uid": "WYT2WYT",
"(匿名#3)": "3074457345817168740"
}
]
}
}
]
},
{
"File": "s2c_0001.bin",
"SpaceId": "100119080",
"NullmapHex": "00",
"DelayMs": 2816,
"Compressed": false,
"Records": [
{
"ObjectId": "100119080",
"MethodId": "9114987333090113769",
"Fields": {
"origin": "enum#0",
"state": "enum#0"
}
}
]
}
]
}