Custom Raid Times

  • Refringe added a new version:

    Quote

    Minor Updates:

    • The debug logging should now be much more helpful.
    • The configuration file is more consistent and has some extra explanations.

    If you experience any problems, please submit a detailed bug report.

  • Hello, I wanted to ask - I have a version of the game 3.5.8 and I want to make a long raid, my raid lasts only 46-50 minutes. How to increase the time of the raid, otherwise there is a batch and I already have to go out. --


    // Enables the use of the mod.

    "enabled": true,


    // Enables verbose logging.

    // Will print out additional information about raid times, train schedules, and spawn wave adjustments.

    "debug": false,


    // Override raid times for all locations regardless of any custom times set below.

    "master_time_override": false,


    // Number of minutes to override all raid times to. Only used if master_time_override is set to true.

    // This example has three options for a raid time value:

    // - The first setting (60 minutes) will be used 10 times more often than the third setting value due to the difference in the weight options.

    // - The second setting (30 minutes) has a random weighting chosen between the min and max settings. It will be used 2-5 times more often than the third setting value.

    // - The third setting has a random raid time value chosen between the min and max settings (15-20 minutes). Due to the weighting, it will be used 1/10th as often as the first setting.

    "master_time_minutes": [

    {"minutes": 60, "weight": 10},

    {"minutes": 30, "weight": {"min": 2, "max": 5}},

    {"minutes": {"min": 15, "max": 20}, "weight": 1},

    ],


    // Number of minutes for specific locations.

    // These will only be used if the master_time_override option is set to false.

    // These values follow the same rules as the master_time_minutes option.

    // (Additional settings, and min/max values may be used).

    "custom_times": {

    "customs": [

    {"minutes": 90, "weight": 1},

    ],

    "factory_day": [

    {"minutes": 90, "weight": 1},

    ],

    "factory_night": [

    {"minutes": 90, "weight": 1},

    ],

    "interchange": [

    {"minutes": 90, "weight": 1},

    ],

    "laboratory": [

    {"minutes": 90, "weight": 1},

    ],

    "lighthouse": [

    {"minutes": 90, "weight": 1},

    ],

    "reserve": [

    {"minutes": 90, "weight": 1},

    ],

    "shoreline": [

    {"minutes": 90, "weight": 1},

    ],

    "streets": [

    {"minutes": 90, "weight": 1},

    ],

    "woods": [

    {"minutes": 90, "weight": 1},

    ],

    },


    // ------------------------------------------------------------


    // This mod will adjust regular bot spawn waves to ensure that bots continue to spawn throughout the entire raid.

    "adjust_bot_waves": true,


    "maximum_bots": 35, // This is on the high-end. Adjust lower if you encounter preformance issues.


    // A spawn wave is defined as a semi-random number of bots that spawn at the same time at the same location.

    // The following settings control the number of spawn waves that happen at once (per spawn group).

    "maximum_wave_per_group": 4, // At most, how many locations can have a spawn wave at the same time.

    "minimum_wave_per_group": 1, // At least, how many locations can have a spawn wave at the same time.


    // A spawn group is a collection of spawn waves that happen in roughly the same time frame.

    // The following settings control the timing between spawn groups. Larger numbers will generally result in more time between spawns.

    "maximum_group_gap_minutes": 8, // At most, how many minutes between spawn groups.

    "minimum_group_gap_minutes": 4, // At least, how many minutes between spawn groups.

    }

  • Hello, I wanted to ask - I have a version of the game 3.5.8 and I want to make a long raid, my raid lasts only 46-50 minutes. How to increase the time of the raid, otherwise there is a batch and I already have to go out. --


    [...]

    I can see by your config that you want all maps to last exactly 90 minutes. Try the below config. I've adjusted the mater_time_override setting to be true, and the master_time_minutes to only have one option with the time set to 90 minutes. If you want it longer then feel free to adjust the 90 to something higher.


    Additionally, you can change the debug value to true to see how long the raid time is being adjusted to in the server console.

  • And again I - maybe I'm doing something wrong. Look here

    "master_time_minutes": [

    {"minutes": 90, "weight": 1},

    ],


    // Number of minutes for specific locations.

    // These will only be used if the master_time_override option is set to false.

    // These values follow the same rules as the master_time_minutes option.

    // (Additional settings, and min/max values may be used).

    "custom_times": {

    "customs": [

    {"minutes": 90, "weight": 1},

    And my raid lasted 41 minutes?

  • I put "master_time_minutes": [

    {"minutes": 190, "weight": 1} did not change other numbers. the raid lasted 48 minutes - I put "custom_times": {

    "customs": [

    {"minutes": 140, "weight": 1} the raid lasted 45 minutes - how to change the numbers for 2 hours I DON'T UNDERSTAND

  • I put "master_time_minutes": [

    {"minutes": 190, "weight": 1} did not change other numbers. the raid lasted 48 minutes - I put "custom_times": {

    "customs": [

    {"minutes": 140, "weight": 1} the raid lasted 45 minutes - how to change the numbers for 2 hours I DON'T UNDERSTAND

    It sounds like you may have either improperly installed the mod, or have another mod overwriting the changes that this one is trying to make.


    Change the "debug" value to true, start your server, copy the entire server console log and send it to me, either in a support forum comment using the code tag, or with pastebin.com.


    I need more information to help you.

  • Hello - yesterday I played, and today when I start Aki.Server in the server, everything is red (before starting, I updated the mod) and when I started, I thought that the mod was in conflict. But it turned out to be completely different, I don’t know where to fix it - I played it out. --- (

    [2023-07-11T08:06:08.659Z] error: The application had a critical error and failed to run

    [2023-07-11T08:06:08.660Z] error: Exception produced: Error: Cannot inject the dependency at position #3 of "PreAkiModLoader" constructor. Reason:

    Cannot inject the dependency at position #1 of "ModCompilerService" constructor. Reason:

    Cannot read properties of undefined (reading 'includes')

    [2023-07-11T08:06:08.627Z] debug: Importing configs...

    [2023-07-11T08:06:08.661Z] error:

    Stacktrace:

    Error: Cannot inject the dependency at position #3 of "PreAkiModLoader" constructor. Reason:

    Cannot inject the dependency at position #1 of "ModCompilerService" constructor. Reason:

    Cannot read properties of undefined (reading 'includes')

    at C:\snapshot\project\node_modules\tsyringe\dist\cjs\dependency-container.js:324:23

    at Array.map (<anonymous>)

    at C:\snapshot\project\node_modules\tsyringe\dist\cjs\dependency-container.js:295:38

    at InternalDependencyContainer.construct (C:\snapshot\project\node_modules\tsyringe\dist\cjs\dependency-container.js:297:11)

    at InternalDependencyContainer.resolveRegistration (C:\snapshot\project\node_modules\tsyringe\dist\cjs\dependency-container.js:166:51)

    at InternalDependencyContainer.resolve (C:\snapshot\project\node_modules\tsyringe\dist\cjs\dependency-container.js:109:33)

    at Program.start (C:\snapshot\project\obj\Program.js)

    at Object.<anonymous> (C:\snapshot\project\obj\ide\ReleaseEntry.js)

    at Module._compile (pkg/prelude/bootstrap.js:1930:22)

    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)

    [2023-07-11T08:06:08.640Z] info: Commit hash: eb27ff60461e9f2b0652f7c8231337568dbd3108

    [2023-07-11T08:06:08.649Z] warn: Unsupported system langauge found lt-LT, falling back to english

    )

  • Hello, I fixed the red server. Well, look (a large file does not skip), read a lot -

    [2023-07-11T12:39:34.393Z] warn: Mod Kobrakon-Kobra's AIO is not compatible with the current version of AKI. You may encounter issues - no support will be provided!

    [2023-07-11T12:39:34.394Z] debug: ModLoader: Mod bluehead-AIOTrader is missing from order.json

    [2023-07-11T12:39:34.394Z] debug: ModLoader: Mod Dushaoan-MOAR-1.2.6 is missing from order.json

    [2023-07-11T12:39:34.394Z] debug: ModLoader: Mod Kiki-AllTheBoss is missing from order.json

    [2023-07-11T12:39:34.394Z] debug: ModLoader: Mod Nootropix-BigBackpacks is missing from order.json

    [2023-07-11T12:39:34.395Z] debug: ModLoader: Mod PreyToLive-BetterSpawnsPlus is missing from order.json

    [2023-07-11T12:39:34.395Z] debug: ModLoader: Mod Refringe-CustomCameraRecoil-1.0.7 is missing from order.json

    [2023-07-11T12:39:34.395Z] debug: ModLoader: Mod Refringe-CustomRaidTimes-1.3.3 is missing from order.json

    [2023-07-11T12:39:34.395Z] debug: ModLoader: Mod SBNV is missing from order.json

    [2023-07-11T12:39:34.395Z] debug: ModLoader: Mod ServerValueModifier is missing from order.json

    [2023-07-11T12:39:34.395Z] debug: ModLoader: Mod zz_kobra-AIO is missing from order.json

    [2023-07-11T12:39:34.399Z] info: Mod: BandanaOfProtection version: 356.0.1 by: jbs4bmx loaded

    [2023-07-11T12:39:34.401Z] info: Mod: AIOTrader version: 2.3.0 by: bluehead loaded

    [2023-07-11T12:39:34.402Z] info: Mod: MOAR version: 1.2.6 by: Dushaoan loaded

    [2023-07-11T12:39:34.402Z] info: Mod: alltheboss version: 2.8.1 by: Kiki loaded

    [2023-07-11T12:39:34.403Z] info: Mod: BigBackpacks version: 1.0.9 by: Nootropix loaded

    [2023-07-11T12:39:34.405Z] info: Mod: BetterSpawnsPlus version: 1.1.3 by: PreyToLive loaded

    [2023-07-11T12:39:34.406Z] info: Mod: CustomCameraRecoil version: 1.0.7 by: Refringe loaded

    [2023-07-11T12:39:34.424Z] debug: Mod Refringe-CustomRaidTimes-1.3.3 hash stored in ./user/cache/modCache.json

    [2023-07-11T12:39:34.527Z] info: Mod: CustomRaidTimes version: 1.3.3 by: Refringe loaded

    [2023-07-11T12:39:34.528Z] info: Mod: Snofielf&#39;s NVGs version: 1.1.0 by: Snofielf, jc980, Props loaded

    [2023-07-11T12:39:34.529Z] info: Mod: SVM version: 1.6.5 by: KMC, EmuRC-GhostFenixx loaded

    [2023-07-11T12:39:34.530Z] info: Mod: Kobra&#39;s AIO version: 1.0.0 by: Kobrakon loaded

    [2023-07-11T12:39:34.538Z] debug: AIOTrader-postAkiLoad

    [2023-07-11T12:39:34.539Z] info: Loading: bluehead: AIOTrader - 2.3.0

    [2023-07-11T12:39:34.539Z] debug: AIOTrader-postAkiLoad Bluehead Trader

    [2023-07-11T12:39:34.539Z] debug: [undefined] preAki Loading...

    [2023-07-11T12:39:34.539Z] debug: [undefined] preAki Loaded

    [2023-07-11T12:39:34.539Z] debug: AIOTrader-postAkiLoad Bluehead Trader

    [2023-07-11T12:39:34.540Z] debug: [undefined] preAki Loading...

    [2023-07-11T12:39:34.540Z] debug: [undefined] preAki Loaded

    [2023-07-11T12:39:34.632Z] debug: BlueheadTrader: CustomTradeController construct

    [2023-07-11T12:39:34.641Z] info: Server: executing startup callbacks...

    [2023-07-11T12:39:34.645Z] info: Importing database...

  • Hi - when I played on version 3.5.3 I set the raid time to 9 hours, and when I switched to version 3.5.8 I can't do it. I downloaded the Refringe-CustomRaidTimes-1.3.3 mod, it didn't help me either, installed another KOBRA'S AIO 1.1.6 mod, it didn't help either - the edits lasted only 45/48/57 minutes. I used to play carefully without rushing and think that my time will run out.

  • Hi - when I played on version 3.5.3 I set the raid time to 9 hours, and when I switched to version 3.5.8 I can't do it. I downloaded the Refringe-CustomRaidTimes-1.3.3 mod, it didn't help me either, installed another KOBRA'S AIO 1.1.6 mod, it didn't help either - the edits lasted only 45/48/57 minutes. I used to play carefully without rushing and think that my time will run out.

    I suspect you need to adjust the load order of the mods you're using.


    Use this tool:


    Adjust the order so that the mods adjusting the raid times are lowest on the list.

  • Hello again - as you wrote yesterday, I renamed your mod to zRefringe-CustomRaidTimes-1.3.3 to be the last one ("master_time_minutes": [

    {"minutes": 90, "weight": 1}, -- "custom_times": {

    "customs": [

    {"minutes": 140, "weight": 1},) - but alas, the same story, the time is not in my favor 45 minutes.

  • Refringe added a new version:

    Quote

    Updates:

    • Updated for SPT 3.6.
    • Full rewrite of the mod structure.
    • Improved configuration file structure and commenting.
    • Configuration file is now validated and logs helpful messages.
    • Everything that can be done asynchronously is now being done asynchronously.
    • Common mods that interfere with spawn waves are now detected. When detected, the feature to extend bot spawn waves is disabled automatically. Additionally, there is now a configuration option to force the feature to run.
    • Train schedules can now be statically configured within the configuration file.
    • Debugging has been improved.

    Issues?

    If you experience any problems, please submit a detailed bug report.


Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!