Refringe f965d476a1
Micro-optimizations to Remove Additional Warnings
- Reduce LINQ overhead by replacing SingleOrDefault and filtering logic with manual iteration.
- Use HashSet and case-insensitive comparisons for faster lookups.

Both of these changes resolve a number of HAA0401 warnings:
Possible allocation of reference type enumerator; non-ValueType enumerator may result in a heap allocation.
2024-11-14 12:38:03 -05:00
2024-11-14 10:01:55 -05:00
2023-08-15 09:29:16 +00:00
2023-08-15 09:29:16 +00:00
2021-08-12 17:49:10 +02:00
2023-08-15 09:29:16 +00:00
2021-08-14 21:34:21 +01:00

BotGenerator

Generates bot templates based on user-provided game dumps.

Setup

  • Set 'Generator' as start-up project
  • Build solution to create required folders in bin folder.
  • in Generator\bin\Debug\netcoreapp3.1
    • Place live dumps in subfolder: dumps. - These are the files called 'resp.client.game.bot.generate.xxxxxx.json'
  • Run code, bot jsons will be created in the 'output' folder e.g. assault.json

Maintenance

  • Ensure the asset files are kept up to date (Generator\bin\Debug\netcoreapp3.1\Assets)
    • They can be found in Eft/EscapeFromTarkov_Data/resources.assets as a text asset

Common problems

  • Don't place the request jsons (files starting with req.*) in the dump folder, these don't contain any bot data.
Description
No description provided
Readme 4.3 MiB
Languages
C# 100%