Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
I had a recent issue with the file validating, and certain items being protected by the flag , and some not. I did a lot of testing, and found that the lifetime needs to be higher than 5 days.
I posted a detailed description in the BBP Discord. Ill copy it here too
In order for the item to have a lifetime, you need to check the basic boxes to make sure your types are fine. IE,
> 1. The Types file where the item is contained, needs to be validated by something like https://xmllint.com and be a valid file. Remember to add <types> </types> at the top / bottom of the file, and <?xml version="1.0" encoding="UTF-8" standalone="yes"?> on line 1.
> 2. If the file validates, check which map you are running - Namalsk uses a different system to Chernarus and most of the other maps, meaning that category, tag, usage etc are a bit different
>
> Here is a Namalsk Types file for reference :
> https://github.com/SumrakDZN/Namalsk-Server/blob/main/Mission%20Files/regular.namalsk/db/types.xml
>
> Here is a Chernarus Types file for reference:
> https://github.com/BohemiaInteractive/DayZ-Central-Economy/blob/master/dayzOffline.chernarusplus/db/types.xml
>
> Pay close attention to the nodes after <flags>, as I said, these are likely category, tag, usage, value, etc.
>
> 3. ONCE you can confirm your types file is valid, and you are using the correct nodes for the map you run, ensure that you are pointing the cfgeconomycore.xml to the correct path and file or files where your types are stored, IE
>
> Further to these, youll likely have to point the cfgeconomycore.xml file to look for the types file, something like this
>
> <ce folder="db">
> <file name="types.xml" type="types" />
>
> <file name="bbp_types.xml" type="types" />
> <file name="bbp_item_types.xml" type="types" />
>
> </ce>
>
> 4. Lastly, in globals.xml there is a paramater called FlagRefreshFrequency. In order for your item in types to have protection from the flag, the lifetime of that item needs to be greater than or equal to the entry here. So I have been told, it is recommended to have higher lifetime than FlagRefreshFrequency.