[修改]逃离塔科夫离线-存档商人修改教程
大清凉
2020年02月25日 18:43

修改的是离线版/盗版/未加密版的逃离塔科夫服务端文件 

正版就不用找了奥 

工具:Notepad++ 

不要用记事本!不要用记事本!不要用记事本!不要用记事本! 

https://notepad-plus-plus.org/downloads/v7.8.4/

修改路径

存档修改

一.数据库修改(需要重开档-后面会说明如何重开档)

1.服务端目录/db/profile/character.json (R22版)

2.服务端目录/db/profile/character/对应版本阵营文件 (R23版)

R23注解:usec和bear是阵营;eod黑边、std白边、lbd和pte是官网中间那俩版本

二.直接对存档修改(需开一个档)

1.服务端目录/user/profiles/2/character.json (R22)(人物档)

注:R22版的profile文件夹内可能有1和2两个文件夹,但一般都是2为你的人物档,如果你不确定哪个是你的,你可以两个文件夹都修改一遍,他们的结构是一样的

1.2 服务端目录/user/profiles/2/traders (R22)(商人)

2.服务端目录/user/profiles/1/character.json (R23)(人物档)(商人)

注:R23版的人物档整合了商人等级,所以不需要去其它地方改

R22人物档参数翻译

注:参数过长仍然只贴翻译后的代码

       "Health": {        //状态栏数值

              "Hydration": {     //水分

                     "Current": 90,     //当前值

                     "Maximum": 100      //最大值

              },

              "Energy": {       //能量

                     "Current": 100,     //当前值

                     "Maximum": 100      //最大值

              },

              "BodyParts": {     //身体部位

                     "Head": {     //头部

                            "Health": {

                                   "Current": 500,     //当前值

                                   "Maximum": 500      //最大值

                            }

                     },

                     "Chest": {     //胸部

                            "Health": {

                                   "Current": 1500,     //当前值

                                   "Maximum": 1500      //最大值

                            }

                     },

                     "Stomach": {     //胃部

                            "Health": {

                                   "Current": 1435,     //当前值

                                   "Maximum": 1435      //最大值

                            }

                     },

                     "LeftArm": {     //左臂

                            "Health": {

                                   "Current": 1500,     //当前值

                                   "Maximum": 1500      //最大值

                            }

                     },

                     "RightArm": {     //右臂

                            "Health": {

                                   "Current": 1500,     //当前值

                                   "Maximum": 1500      //最大值

                            }

                     },

                     "LeftLeg": {     //左腿

                            "Health": {

                                   "Current": 1500,     //当前值

                                   "Maximum": 1500      //最大值

                            }

                     },

                     "RightLeg": {     //右腿

                            "Health": {

                                   "Current": 1500,     //当前值

                                   "Maximum": 1500      //最大值

                            }

                     }

              },

       "Skills": {       //技能

              "Common": [

                     {

                            "Id": "BotReload",    //总体换弹系数

                            "Progress": 20,       //此项数值不建议超过 55

                            "PointsEarnedDuringSession": 0,

                            "LastAccess": -2147483648

                     },

                     {

                            "Id": "Endurance",      //耐力   最大值就是5100即最高专精等级

                            "Progress": 5100,     //下面每项这里都填5100

                            "PointsEarnedDuringSession": 0,

                            "LastAccess": 0

                     },

                     {

                            "Id": "Strength",      //力量

                            "Progress": 5100,

                            "PointsEarnedDuringSession": 0,

                            "LastAccess": 0

                     },

                     {

                            "Id": "Vitality",      //活力

                            "Progress": 5100,

                            "PointsEarnedDuringSession": 0,

                            "LastAccess": 0

                     },

                     {

                            "Id": "Health",      //健康

                            "Progress": 5100,

                            "PointsEarnedDuringSession": 0,

                            "LastAccess": 0

                     },

                     {

                            "Id": "StressResistance",      //抗压

                            "Progress": 5100,

                            "PointsEarnedDuringSession": 0,

                            "LastAccess": 0

                     },

                     {

                            "Id": "Metabolism",      //代谢

                            "Progress": 5100,

                            "PointsEarnedDuringSession": 0,

                            "LastAccess": 0

                     },

                     {

                            "Id": "Immunity",      //免疫

                            "Progress": 5100,

                            "PointsEarnedDuringSession": 0,

                            "LastAccess": 0

                     },

                     {

                            "Id": "Perception",      //感知

                            "Progress": 5100,

                            "PointsEarnedDuringSession": 0,

                            "LastAccess": 0

                     },

                     {

                            "Id": "Intellect",      //智力

                            "Progress": 5100,

                            "PointsEarnedDuringSession": 0,

                            "LastAccess": 0

                     },

                     {

                            "Id": "Attention",      //专注

                            "Progress": 5100,

                            "PointsEarnedDuringSession": 0,

                            "LastAccess": 0

                     },

                     {

                            "Id": "Charisma",      //魅力

                            "Progress": 5100,

                            "PointsEarnedDuringSession": 0,

                            "LastAccess": 0

                     },

                     {

                            "Id": "Memory",      //记忆

                            "Progress": 5100,

                            "PointsEarnedDuringSession": 0,

                            "LastAccess": 0

                     },

                     {

                            "Id": "Pistol",      //手枪

                            "Progress": 5100,

                            "PointsEarnedDuringSession": 0,

                            "LastAccess": 0

                     },

                     {

                            "Id": "Revolver",      //左轮

                            "Progress": 5100,

                            "PointsEarnedDuringSession": 0,

                            "LastAccess": 0

                     },

                     {

                            "Id": "SMG",      //冲锋枪

                            "Progress": 5100,

                            "PointsEarnedDuringSession": 0,

                            "LastAccess": 0

                     },

                     {

                            "Id": "Assault",      //突击步枪

                            "Progress": 5100,

                            "PointsEarnedDuringSession": 0,

                            "LastAccess": 0

                     },

                     {

                            "Id": "Shotgun",      //霰弹枪

                            "Progress": 5100,

                            "PointsEarnedDuringSession": 0,

                            "LastAccess": 0

                     },

                     {

                            "Id": "Sniper",      //狙击枪

                            "Progress": 5100,

                            "PointsEarnedDuringSession": 0,

                            "LastAccess": 0

                     },

                     {

                            "Id": "LMG",      //轻机枪

                            "Progress": 5100,

                            "PointsEarnedDuringSession": 0,

                            "LastAccess": 0

                     },

                     {

                            "Id": "HMG",      //重机枪

                            "Progress": 5100,

                            "PointsEarnedDuringSession": 0,

                            "LastAccess": 0

                     },

                     {

                            "Id": "Launcher",      //发射器

                            "Progress": 5100,

                            "PointsEarnedDuringSession": 0,

                            "LastAccess": 0

                     },

                     {

                            "Id": "AttachedLauncher",      //下挂发射器

                            "Progress": 5100,

                            "PointsEarnedDuringSession": 0,

                            "LastAccess": 0

                     },

                     {

                            "Id": "Throwing",      //投掷

                            "Progress": 5100,

                            "PointsEarnedDuringSession": 0,

                            "LastAccess": 0

                     },

                     {

                            "Id": "Melee",      //近战

                            "Progress": 5100,

                            "PointsEarnedDuringSession": 0,

                            "LastAccess": 0

                     },

                     {

                            "Id": "DMR",      //精确射手步枪

                            "Progress": 5100,

                            "PointsEarnedDuringSession": 0,

                            "LastAccess": 0

                     },

                     {

                            "Id": "RecoilControl",      //后坐力控制

                            "Progress": 5100,

                            "PointsEarnedDuringSession": 0,

                            "LastAccess": 0

                     },

                     {

                            "Id": "CovertMovement",      //隐蔽行动

                            "Progress": 5100,

                            "PointsEarnedDuringSession": 0,

                            "LastAccess": 0

                     },

                     {

                            "Id": "FieldMedicine",      //战地医疗

                            "Progress": 5100,

                            "PointsEarnedDuringSession": 0,

                            "LastAccess": 0

                     },

                     {

                            "Id": "Search",      //搜索

                            "Progress": 5100,

                            "PointsEarnedDuringSession": 0,

                            "LastAccess": 0

                     },

                     {

                            "Id": "MagDrills",      //弹匣训练

                            "Progress": 5100,

                            "PointsEarnedDuringSession": 0,

                            "LastAccess": 0

                     },

                     {

                            "Id": "Sniping",      //下面这些都可以忽略 因为属于没开放的技能

                            "Progress": 5100,    //你改了也没啥效果

                            "PointsEarnedDuringSession": 0,

                            "LastAccess": 0

                     },

                     {

                            "Id": "ProneMovement",

                            "Progress": 5100,

                            "PointsEarnedDuringSession": 0,

                            "LastAccess": 0

                     },

                     {

                            "Id": "FirstAid",

                            "Progress": 5100,

                            "PointsEarnedDuringSession": 0,

                            "LastAccess": 0

                     },

                     {

                            "Id": "LightVests",

                            "Progress": 5100,

                            "PointsEarnedDuringSession": 0,

                            "LastAccess": 0

                     },

                     {

                            "Id": "HeavyVests",

                            "Progress": 5100,

                            "PointsEarnedDuringSession": 0,

                            "LastAccess": 0

                     },

                     {

                            "Id": "WeaponModding",

                            "Progress": 5100,

                            "PointsEarnedDuringSession": 0,

                            "LastAccess": 0

                     },

                     {

                            "Id": "AdvancedModding",

                            "Progress": 5100,

                            "PointsEarnedDuringSession": 0,

                            "LastAccess": 0

                     },

                     {

                            "Id": "NightOps",

                            "Progress": 5100,

                            "PointsEarnedDuringSession": 0,

                            "LastAccess": 0

                     },

                     {

                            "Id": "SilentOps",

                            "Progress": 5100,

                            "PointsEarnedDuringSession": 0,

                            "LastAccess": 0

                     },

                     {

                            "Id": "Lockpicking",

                            "Progress": 5100,

                            "PointsEarnedDuringSession": 0,

                            "LastAccess": 0

                     },

                     {

                            "Id": "WeaponTreatment",

                            "Progress": 5100,

                            "PointsEarnedDuringSession": 0,

                            "LastAccess": 0

                     },

                     {

                            "Id": "Freetrading",

                            "Progress": 5100,

                            "PointsEarnedDuringSession": 0,

                            "LastAccess": 0

                     },

                     {

                            "Id": "Auctions",

                            "Progress": 5100,

                            "PointsEarnedDuringSession": 0,

                            "LastAccess": 0

                     },

                     {

                            "Id": "Cleanoperations",

                            "Progress": 5100,

                            "PointsEarnedDuringSession": 0,

                            "LastAccess": 0

                     },

                     {

                            "Id": "Barter",

                            "Progress": 5100,

                            "PointsEarnedDuringSession": 0,

                            "LastAccess": 0

                     },

                     {

                            "Id": "Shadowconnections",

                            "Progress": 5100,

                            "PointsEarnedDuringSession": 0,

                            "LastAccess": 0

                     },

                     {

                            "Id": "Taskperformance",

                            "Progress": 5100,

                            "PointsEarnedDuringSession": 0,

                            "LastAccess": 0

                     }

              ],

R22商人参数翻译

Mechanic 机械师:5a7c2eca46aef81a7ca2145d

Ragman  卖背心衣服装备的:5ac3b934156ae10c4430e83c

Jaeger 莫辛人:5c0647fdd443bc2504c2d371

Prapor 俄商:54cb50c76803fa8b248b4571

Therapist 医生:54cb57776803fa99248b456e

Unknown (Fence) 黑市:579dc571d53a0658a154fbec

Peacekeeper 美商:5935c25fb3acc3127c3d8cd9

Skier 配件商:58330581ace78e27b8b10cee

Ragfair为跳蚤市场 没啥可以改的参数

"repair": {          //修理

              "availability": true,     //是否启用

              "quality": "0.7",     //修理质量(越小越好,0为完整维修)

              "price_rate": 175    //修理价格系数(猜测越小越便宜 未测试)

       },

       "loyalty": {      //好感度

              "currentLevel": 4,    //当前商人等级

              "currentStanding": 1,     //当前商人好感度 推荐只改这里 改1就行了

              "currentSalesSum": 3395435,      //当前交易额

              "loyaltyLevels": {    //每个等级的要求

                     "0": {             //商人等级

                            "minLevel": 1,    //要求人物等级

                            "minSalesSum": 0,    //要求交易额

                            "minStanding": 0       //要求好感度

                     },

                     "1": {             //商人等级

                            "minLevel": 20,    //要求人物等级

                            "minSalesSum": 1000000,    //要求交易额

                            "minStanding": 0.15       //要求好感度

                     },

                     "2": {             //商人等级

                            "minLevel": 30,    //要求人物等级

                            "minSalesSum": 1600000,    //要求交易额

                            "minStanding": 0.3       //要求好感度

                     },

                     "3": {             //商人等级

                            "minLevel": 40,    //要求人物等级

                            "minSalesSum": 2500000,    //要求交易额

                            "minStanding": 0.6       //要求好感度

                     }

              }

       },

介于R22没有真正的保险制度 所以保险参数没有什么用

R23人物档商人参数翻译

R23的人物血量和技能参数 与 R22 完全一致

用搜索功能搜就行了

你可以看到只是架构变了,参数完全没变,所以你可以照着R22上面的翻译改

              "TraderStandings": {            //这串代码在character.json的最最最下面

              "54cb50c76803fa8b248b4571": {   //照着R22的翻译改就行了

                     "currentLevel": 1,              //我就懒得翻译了 摸了

                     "currentSalesSum": 0,

                     "currentStanding": 0,

                     "NextLoyalty": null,

                     "loyaltyLevels": {

                            "0": {

                                   "minLevel": 1,

                                   "minSalesSum": 0,

                                   "minStanding": 0

                            },

                            "1": {

                                   "minLevel": 15,

                                   "minSalesSum": 1000000,

                                   "minStanding": 0.2

                            },

                            "2": {

                                   "minLevel": 22,

                                   "minSalesSum": 1500000,

                                   "minStanding": 0.35

                            },

                            "3": {

                                   "minLevel": 33,

                                   "minSalesSum": 2300000,

                                   "minStanding": 0.5

                            }

                     }

              },

              "54cb57776803fa99248b456e": {

                     "currentLevel": 1,

                     "currentSalesSum": 0,

                     "currentStanding": 0,

                     "NextLoyalty": null,

                     "loyaltyLevels": {

                            "0": {

                                   "minLevel": 0,

                                   "minSalesSum": 0,

                                   "minStanding": 0

                            },

                            "1": {

                                   "minLevel": 13,

                                   "minSalesSum": 400000,

                                   "minStanding": 0.15

                            },

                            "2": {

                                   "minLevel": 20,

                                   "minSalesSum": 700000,

                                   "minStanding": 0.3

                            },

                            "3": {

                                   "minLevel": 32,

                                   "minSalesSum": 900000,

                                   "minStanding": 0.6

                            }

                     }

              },

              "579dc571d53a0658a154fbec": {

                     "currentLevel": 1,

                     "currentSalesSum": 0,

                     "currentStanding": 0,

                     "NextLoyalty": null,

                     "loyaltyLevels": {

                            "0": {

                                   "minLevel": 1,

                                   "minSalesSum": 0,

                                   "minStanding": 0

                            }

                     }

              },

              "58330581ace78e27b8b10cee": {

                     "currentLevel": 1,

                     "currentSalesSum": 0,

                     "currentStanding": 0,

                     "NextLoyalty": null,

                     "loyaltyLevels": {

                            "0": {

                                   "minLevel": 1,

                                   "minSalesSum": 0,

                                   "minStanding": 0

                            },

                            "1": {

                                   "minLevel": 15,

                                   "minSalesSum": 1100000,

                                   "minStanding": 0.2

                            },

                            "2": {

                                   "minLevel": 28,

                                   "minSalesSum": 1600000,

                                   "minStanding": 0.4

                            },

                            "3": {

                                   "minLevel": 35,

                                   "minSalesSum": 2600000,

                                   "minStanding": 0.75

                            }

                     }

              },

              "5935c25fb3acc3127c3d8cd9": {

                     "currentLevel": 1,

                     "currentSalesSum": 0,

                     "currentStanding": 0,

                     "NextLoyalty": null,

                     "loyaltyLevels": {

                            "0": {

                                   "minLevel": 1,

                                   "minSalesSum": 0,

                                   "minStanding": 0

                            },

                            "1": {

                                   "minLevel": 10,

                                   "minSalesSum": 13000,

                                   "minStanding": 0

                            },

                            "2": {

                                   "minLevel": 18,

                                   "minSalesSum": 25000,

                                   "minStanding": 0.3

                            },

                            "3": {

                                   "minLevel": 29,

                                   "minSalesSum": 32000,

                                   "minStanding": 0.6

                            }

                     }

              },

              "5a7c2eca46aef81a7ca2145d": {

                     "currentLevel": 1,

                     "currentSalesSum": 0,

                     "currentStanding": 0,

                     "NextLoyalty": null,

                     "loyaltyLevels": {

                            "0": {

                                   "minLevel": 1,

                                   "minSalesSum": 0,

                                   "minStanding": 0

                            },

                            "1": {

                                   "minLevel": 20,

                                   "minSalesSum": 1000000,

                                   "minStanding": 0.15

                            },

                            "2": {

                                   "minLevel": 30,

                                   "minSalesSum": 1600000,

                                   "minStanding": 0.3

                            },

                            "3": {

                                   "minLevel": 40,

                                   "minSalesSum": 2500000,

                                   "minStanding": 0.6

                            }

                     }

              },

              "5ac3b934156ae10c4430e83c": {

                     "currentLevel": 1,

                     "currentSalesSum": 0,

                     "currentStanding": 0,

                     "NextLoyalty": null,

                     "loyaltyLevels": {

                            "0": {

                                   "minLevel": 1,

                                   "minSalesSum": 0,

                                   "minStanding": 0

                            },

                            "1": {

                                   "minLevel": 15,

                                   "minSalesSum": 1000000,

                                   "minStanding": 0

                            },

                            "2": {

                                   "minLevel": 30,

                                   "minSalesSum": 1600000,

                                   "minStanding": 0.3

                            },

                            "3": {

                                   "minLevel": 40,

                                   "minSalesSum": 2500000,

                                   "minStanding": 0.6

                            }

                     }

              },

              "5c0647fdd443bc2504c2d371": {

                     "currentLevel": 1,

                     "currentSalesSum": 0,

                     "currentStanding": 0,

                     "NextLoyalty": null,

                     "loyaltyLevels": {

                            "0": {

                                   "minLevel": 1,

                                   "minSalesSum": 0,

                                   "minStanding": 0

                            },

                            "1": {

                                   "minLevel": 15,

                                   "minSalesSum": 1000000,

                                   "minStanding": 0.2

                            },

                            "2": {

                                   "minLevel": 22,

                                   "minSalesSum": 1500000,

                                   "minStanding": 0.35

                            },

                            "3": {

                                   "minLevel": 33,

                                   "minSalesSum": 2300000,

                                   "minStanding": 0.5

                            }

                     }

              }

       },

商人好感度全为1的效果图:

效果图

Q&A

如何重新开档?

R22版: (需要关闭游戏及服务端)

1.删除 服务端目录/user/profiles文件夹内的1、2文件夹,只留一个list.json

2.打开list.json:

       {

              "id": 2,

              "nickname": "user",

              "email": "user@jet.com",

              "password": "password",

              "wipe": false    //←将这里的false改为true

       }

3.重开游戏

R23版: (需要关闭游戏及服务端)

1.删除 服务端目录/user下的整个profiles文件夹

2.注:在R23版中list.json被改名成了profiles.config.json,且这个文件被移到了user目录下

3.打开profiles.config.json:

{

       "1": {

              "id": 1,

              "nickname": "user",

              "email": "user@jet.com",

              "password": "password",

              "wipe": false,       //←将这里的false改为true

              "edition": "eod"     //这是你的仓库版本 eod黑边 std白边 lbd pte是官网中间那俩版本

               注:这里的仓库版本关系到你在修改路径-数据库修改中的文件

       }

}

4.重开游戏

如何分辨自己是R22版本的人物档还是R23版本的?

在上面一个问题的解答中你应该能看到

R23版本的user下有一个叫profiles.config.json的文件

而R22版本没有叫这个名的文件,这个文件在R22中叫list.json,且这个文件是在user/profiles目录下的