DayZ
40 个评价
Virtual Storage Module
   
奖励
收藏
已收藏
取消收藏
Type: Mod
Mod Type: Mechanics
文件大小
发表于
更新日期
365.790 KB
4 月 11 日 下午 4:47
10 月 2 日 下午 4:29
14 项改动说明 ( 查看 )

订阅以下载
Virtual Storage Module

描述
MIGRATION FROM PREVIOUS VERSIONS REQUIRES A WIPE.

-- PTBR --
VERSÃO ESTÁVEL 1.0.3

Virtualização
Com este mod é possível criar virtualização de diversos tipos de itens do jogo, desde
a classe ItemBase.
Utiliza um mecanismo de salvamento separado, porém, paralelo ao original, reaproveitando
métodos como OnStoreSave e OnStoreLoad, dando suporte máximo à maioria das entidades.

Precauções:
Não use este mod sem executar os devidos teste (TESTE É VIDA!)
Sempre faça um backup do storage_1 do seu servidor
Não utilize este mod com qualquer outro tipo de mod de virtualização (EXCETO ADDONS PARA O PROPRIO VSM), você vai perder itens (apenas desative os outros rermovendo-os ou pelas suas respectivas configs)
Sempre que achar um bug ME CONTATE [discord.gg]

Como Usar?
Este mod é voltado para administradores e desenvolvedores que queiram virtualizar seus packs de storages
ou armazenamentos, se você for um verifique meus projetos de exemplo:
Barril vanilla [github.com]
Caixotes vanilla [github.com]

Experimente mods já prontos:
Vanilla Virtual Storage
RaG Virtual Storage

⚙️ Configuração no Profiles:
1 - Abra seu Settings.json em Profiles/iTzMods/VSM

2 - Escolha uma ou mais opções para usar:
{ "m_AutoCloseEnable": 1, "m_AutoCloseIgnorePlayerNearby": 1, "m_AutoClosePlayerDistance": 8.0, "m_AutoCloseInterval": 10, "m_BatchSize": 2, "m_BatchInterval": 1, "m_IncludeDecayItems": 0, "m_IgnoredItems": [], "m_UseCfgIgnoreList": 0, "m_LogLevel": 6, "m_ForceSpawnOnError": 0, "m_IsRemovingModule": 0 }

Explicações rápidas:
m_AutoCloseEnable: Habilita/desabilita o fechamento automático de armazenamentos.
m_AutoCloseIgnorePlayerNearby: Ignora jogadores próximos ao tentar fechar.
m_AutoClosePlayerDistance: Distância mínima para considerar um player como "próximo".
m_AutoCloseInterval: Intervalo (em segundos) entre as tentativas de fechamento automático.
m_BatchSize: Quantidade de itens processados por lote (quanto maior, mais rápido, mas consome mais desempenho).
m_BatchInterval: Tempo entre cada lote (em segundos).
m_IncludeDecayItems: Incluir ou não itens que se degradam (ex: alimentos).
m_IgnoredItems: Lista de itens que serão ignorados durante a virtualização.
m_LogLevel: Define o nível de detalhamento dos logs gerados (0 a 6).
m_ForceSpawnOnError: Força o spawn do item no chão caso haja algum erro ao rerstaura-lo para o local original (isso pode duplicarr itens, use com cautela).

Para contatos [discord.gg]
Agradecimento especial à Cowboy

PARA REEMBALAR CONTATE-ME

-- EN --
STABLE VERSION 1.0

Virtualization
With this mod, it is possible to create virtualization for various types of items in the game, starting from the ItemBase class. It uses a separate saving mechanism, parallel to the original, reusing methods like OnStoreSave and OnStoreLoad, providing maximum support for most entities.

Precautions:
Do not use this mod without performing proper testing (TESTING IS LIFE!)
Always make a backup of your server's storage_1.
Do not use this mod with any other virtualization mod (EXCEPT FOR ADDONS MADE FOR VSM ITSELF), you will lose items (just disable the others by removing them or through their respective configs).
Whenever you find a bug, CONTACT ME[discord.gg]

ONCE THE MOD IS STABLE, I WILL RELEASE IT FOR REPACKAGING! DO NOT BE PREMATURE

How to Use?
This mod is aimed at administrators and developers who want to virtualize their storage packs, if you are one, check out my example projects:
Vanilla Barrel [github.com]
Vanilla Crates [github.com]

Try pre-made mods:
Vanilla Virtual Storage
RaG Virtual Storage

⚙️ Configuration in CfgGameplay.json:
1 - Open your Settings.json in Profiles/iTzMods/VSM

2 - Choose one or more options to use:
{ "m_AutoCloseEnable": 1, "m_AutoCloseIgnorePlayerNearby": 1, "m_AutoClosePlayerDistance": 8.0, "m_AutoCloseInterval": 10, "m_BatchSize": 2, "m_BatchInterval": 1, "m_IncludeDecayItems": 0, "m_IgnoredItems": [], "m_UseCfgIgnoreList": 0, "m_LogLevel": 6, "m_ForceSpawnOnError": 0, "m_IsRemovingModule": 0 }

Quick explanations:
m_AutoCloseEnable: Enables/disables automatic closing of storage.
m_AutoCloseIgnorePlayerNearby: Ignores nearby players when trying to close.
m_AutoClosePlayerDistance: Minimum distance to consider a player as "nearby".
m_AutoCloseInterval: Interval (in seconds) between automatic closing attempts.
m_BatchSize: Number of items processed per batch (the higher, the faster, but more performance-intensive).
m_BatchInterval: Time between each batch (in seconds).
m_IncludeDecayItems: Whether or not to include decaying items (e.g., food).
m_IgnoredItems: List of items that will be ignored during virtualization.
m_LogLevel: Defines the detail level of generated logs (0 to 6).
m_ForceSpawnOnError: Forces the item to spawn on the ground if there is an error restoring it to the original location (this may duplicate items, use with caution).

For contacts [discord.gg]
Special thanks to Cowboy

TO REPACK, CONTACT ME
27 条留言
Elgaz_Chikitin 10 月 21 日 上午 7:55 
Seriously? It’s not compatible with Terje Radiation? T.T
GloryStar 10 月 4 日 下午 8:19 
Don't save the settings folder on the client, there's no need for it because the data is taken from the server! iTzMods C:\Users\USER\AppData\Local\DayZ
DanThePiazzaMan 10 月 4 日 下午 5:54 
thank you man this is all working now in the new update
DanThePiazzaMan 9 月 28 日 下午 11:35 
thank you for your response
iTzChronuZ  [作者] 9 月 28 日 上午 10:25 
Hello my friend, we are aware of this problem and we are working to resolve it. If you’d like to help, please send your logs on our Discord through a ticket.
DanThePiazzaMan 9 月 28 日 上午 5:54 
hey there this latest update broge the mmg storage mod and getting error related to

NULL pointer to instance
Class: 'mmg_gun_wall_base
NULL pointer to instance
Class: 'mmg_gear_stand_base
NULL pointer to instance
Class: 'mmg_old_table
NULL pointer to instance
Class: 'mmg_toolwagon_base
NULL pointer to instance
Class: 'mmg_palette_storage_base
iTzChronuZ  [作者] 8 月 2 日 上午 7:30 
@KaizerR, obrigado meu amigo, tmj
✡ KaizerR 8 月 2 日 上午 4:50 
Cara tive que vir dar o feedback, que mod incrivel!!!! Meu parabens !!
Vaquero_76 7 月 13 日 上午 2:50 
此留言正在等待我们的自动内容检查系统分析。在我们证实其内容无害之前(例如试图窃取信息的钓鱼站点链接),留言将暂时隐藏。
iTzChronuZ  [作者] 7 月 11 日 下午 5:20 
@LohAn Ola amigo, não tem problema por em um servidor em andamento, mas você deve fazer todos os testes antes em um servidor controlado baseado no seu oficial.
Conflitos no momento tem em mods que usam algo vanilla, exemplo: Terje Radiation usa a tenda de extende a vanilla, isto está sendo resolvido e será corrigido na proxima atualização