Adjust trader reset times based on live testing

This commit is contained in:
Dev 2024-03-12 15:45:48 +00:00
parent dcd70fb5b5
commit f623b1d52e
3 changed files with 16 additions and 5 deletions

View File

@ -1,38 +1,47 @@
{ {
"updateTime": [ "updateTime": [
{ {
"_name": "prapor",
"traderId": "54cb50c76803fa8b248b4571", "traderId": "54cb50c76803fa8b248b4571",
"seconds": 3600 "seconds": 3600
}, },
{ {
"_name": "therapist",
"traderId": "54cb57776803fa99248b456e", "traderId": "54cb57776803fa99248b456e",
"seconds": 3600 "seconds": 8040
}, },
{ {
"_name": "fence",
"traderId": "579dc571d53a0658a154fbec", "traderId": "579dc571d53a0658a154fbec",
"seconds": 3600 "seconds": 3600
}, },
{ {
"_name": "skier",
"traderId": "58330581ace78e27b8b10cee", "traderId": "58330581ace78e27b8b10cee",
"seconds": 3600 "seconds": 6240
}, },
{ {
"_name": "peacekeeper",
"traderId": "5935c25fb3acc3127c3d8cd9", "traderId": "5935c25fb3acc3127c3d8cd9",
"seconds": 3600 "seconds": 3600
}, },
{ {
"_name": "mechanic",
"traderId": "5a7c2eca46aef81a7ca2145d", "traderId": "5a7c2eca46aef81a7ca2145d",
"seconds": 3600 "seconds": 8160
}, },
{ {
"_name": "ragman",
"traderId": "5ac3b934156ae10c4430e83c", "traderId": "5ac3b934156ae10c4430e83c",
"seconds": 3600 "seconds": 8220
}, },
{ {
"_name": "jaeger",
"traderId": "5c0647fdd443bc2504c2d371", "traderId": "5c0647fdd443bc2504c2d371",
"seconds": 3600 "seconds": 5100
}, },
{ {
"_name": "btr",
"traderId": "656f0f98d80a697f855d34b1", "traderId": "656f0f98d80a697f855d34b1",
"seconds": 3600 "seconds": 3600
}, },

View File

@ -273,6 +273,7 @@ export class TraderHelper
updateTime: this.traderConfig.updateTimeDefault, updateTime: this.traderConfig.updateTimeDefault,
}), }),
); );
this.traderConfig.updateTime.push( // create temporary entry to prevent logger spam this.traderConfig.updateTime.push( // create temporary entry to prevent logger spam
{ traderId: traderId, seconds: this.traderConfig.updateTimeDefault }, { traderId: traderId, seconds: this.traderConfig.updateTimeDefault },
); );

View File

@ -19,6 +19,7 @@ export interface ITraderConfig extends IBaseConfig
export interface UpdateTime export interface UpdateTime
{ {
traderId: string; traderId: string;
/** Seconds between trader resets */
seconds: number; seconds: number;
} }