DayZ
BaseBuildingPlus
ftuga 16 Feb, 2022 @ 4:15am
Help please
Having some server issues keep getting this crash report.


JSON ERROR:
Missing a comma or ']' after an array element.
Function: 'Error'
Stack trace:
scripts/1_Core/proto\endebug.c:92
scripts/3_Game/tools\jsonfileloader.c:29
BaseBuildingPlus/scripts/3_Game/bbp_config.c:81
BaseBuildingPlus/scripts/3_Game/bbp_config.c:68
BaseBuildingPlus/scripts/3_Game/bbp_config.c:61
BaseBuildingPlus/scripts/5_Mission/mission\missionserver.c:7
$CurrentDir:mpmissions\dayzOffline.chernarusplus\init.c:373
< >
Showing 1-2 of 2 comments
Array 23 Feb, 2022 @ 1:15am 
I think your issue is due to, as the error msg says, a JSON formatter error.
I assume that you've done some changes in a JSON file and didnt format it the right way.

Try and upload BBP_Setting.json located in the profiles folder in a JSON validator and see if you get any errors. (Example: https://jsonformatter.curiousconcept.com)

Each array element (unless its the last one) needs to end with a , sign.

Example (NOT the complete file, only an example).
This will produce an error since theres missing a , sign on line 6.

{
"g_BBPTier3RaidToolDamage": 1000,
"g_BBPTier1RaidTools": [
"HDSN_BreachingCharge",
"HDSN_BreachingChargeHeavy"
]
"g_BBPTier2RaidTools": [
"HDSN_BreachingCharge",
"HDSN_BreachingChargeHeavy"
]
}

Correct formatted:

{
"g_BBPTier3RaidToolDamage": 1000,
"g_BBPTier1RaidTools": [
"HDSN_BreachingCharge",
"HDSN_BreachingChargeHeavy"
],
"g_BBPTier2RaidTools": [
"HDSN_BreachingCharge",
"HDSN_BreachingChargeHeavy"
]
}
ftuga 1 Mar, 2022 @ 2:32pm 
yea when i vaslidate the jsons no error i think its files i cant access.
< >
Showing 1-2 of 2 comments
Per page: 1530 50