hello, I keep getting this error on the smapi console after editing the BFAV config file:
[Paritee's Better Farm Animal Variety] After parsing a value an unexpected character was encountered: ". Path 'IsEnabled', line 4, position 2. [SMAPI] Failed loading mod-provided API for Paritee's Better Farm Animal Variety. Integrations with other mods may not work. Error: Newtonsoft.Json.JsonReaderException: After parsing a value an unexpected character was encountered: ". Path 'IsEnabled', line 4, position 2. at Newtonsoft.Json.JsonTextReader.ParsePostValue(Boolean ignoreComments) at Newtonsoft.Json.JsonTextReader.Read() at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent) at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType) at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings) at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings) at BetterFarmAnimalVariety.ModEntry.GetApi() in C:\Users\elbe\source\repos\StardewValleyMods\BetterFarmAnimalVariety\ModEntry.cs:line 42 at StardewModdingAPI.Framework.SCore.LoadMods(IModMetadata[] mods, JsonHelper jsonHelper, ContentCoordinator contentCore, ModDatabase modDatabase) in SMAPI\Framework\SCore.cs:line 1812 the config file looks like this:
{ "Format": "3", "IsEnabled": true "Fennec Fox": { "Types": [ "Fennec Fox", "Albino Fennec Fox" ], "Buildings": [ "Big Barn", "Deluxe Barn" ], "AnimalShop": { "Name": "Fennec Fox", "Description": "These foxes love to dig! They'll leave part of what they find for you.", "Price": "10000", "Icon": "assets\\animal_shop_fennecfox.png" } } } }
the version of BFAV i'm using is this one https://forums.stardewvalley.net/threads/unofficial-mod-updates.2096/page-68#post-47274 stardew valley version: 1.5.6 SMAPI version: 3.18.2
Am I doing something wrong or is BFAV just broken? thanks in advance
I know nothing about coding at all, but I did notice there's an extra \ in "assets\\animal_shop_fennecfox.png" from your config file? Maybe removing the extra \ so its just "assets\animal_shop_fennecfox.png" might work?
development kit literally said what the problem is - unexpected (meaning: extra, a character that is but isn't supposed to be there) chara at xx position - [Paritee's Better Farm Animal Variety] After parsing a value an unexpected character was encountered: ". would be easier to spot if you could share a screenshot (if you're still interested in getting help for this since it's been a year already)
Where can i download the newest version? everytime when i launch my game, it mentions that i have version 1.0.0 and the newest is 1.13.0. theres 2 versions: 1.0.0 and 1.13.0 on this site, but 1.13.0 somehow counts as 1.0.0. can anyone show me where to download the newest version?
i read the readme and installed this + bfav + the elle's retexture properly(i hope), then i saw in stardrop that there was an unofficial update for bfav. do the instructions from the readme still apply when using the update? the files don't look the same when i went to hunt down the assets to put the fox png in it, so i'm not certain.
Hi, wanted to see if anyone might know what's up - the mod works completely fine, except the probability is... off? Every time I put the items into the recycler, I'd always get the golden mask and the sweet gem seeds only.
I did look a bit into the PMD files, and didn't really see anything that would cause this - The mask has a low probability, and the sweet gem seeds is on par with the ancient and starfruit. I also tried changing the items; the mask to dinosaur eggs, which seemed to work (Not sure if it'll have the same issue down the line, I just checked if it'd make the egg appear), but the same method fully broke the treasure pile to where I couldn't recycle it.
There's no red errors on SMAPI, as far as I saw, but I'm not really a coder.
Hello! I am playing from a mac, idk if thats why its screwing up, but I buy the foxes, then go sleep, andthe next day it turns them into cows... idk why but its weird.
Is there any possibility you could make it so these guys can be coop animals instead of barn animals? They're so tiny, I feel like they're going to get trampled in the barn, or just be lost in the shuffle.
I tried just going into the config and changing all instances of "barn" to "coop" but there's some kind of issue where they can't come out of the coop door. I don't know if the game thinks they're "too big" or something of that nature, but anyway...
Hey, I don't know if anyone else is experiencing this too, but when my character goes ti bed, it won't transition to the next day when I have a fox in my barn. I don't know if it is just this mod, or it it does this with other custom animals, but I would like find out what is going on. I don't want to play without having a fennic on my farm, they're just too cute.
So I managed to solve the problem, but now they are digging up marble, are they supposed to do that, or can they along with the fox treasure?
51 comments
I keep getting this error on the smapi console after editing the BFAV config file:
[Paritee's Better Farm Animal Variety] After parsing a value an unexpected character was encountered: ". Path 'IsEnabled', line 4, position 2.
[SMAPI] Failed loading mod-provided API for Paritee's Better Farm Animal Variety. Integrations with other mods may not work. Error: Newtonsoft.Json.JsonReaderException: After parsing a value an unexpected character was encountered: ". Path 'IsEnabled', line 4, position 2.
at Newtonsoft.Json.JsonTextReader.ParsePostValue(Boolean ignoreComments)
at Newtonsoft.Json.JsonTextReader.Read()
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
at BetterFarmAnimalVariety.ModEntry.GetApi() in C:\Users\elbe\source\repos\StardewValleyMods\BetterFarmAnimalVariety\ModEntry.cs:line 42
at StardewModdingAPI.Framework.SCore.LoadMods(IModMetadata[] mods, JsonHelper jsonHelper, ContentCoordinator contentCore, ModDatabase modDatabase) in SMAPI\Framework\SCore.cs:line 1812
the config file looks like this:
{
"Format": "3",
"IsEnabled": true
"Fennec Fox": {
"Types": [
"Fennec Fox",
"Albino Fennec Fox"
],
"Buildings": [
"Big Barn",
"Deluxe Barn"
],
"AnimalShop": {
"Name": "Fennec Fox",
"Description": "These foxes love to dig! They'll leave part of what they find for you.",
"Price": "10000",
"Icon": "assets\\animal_shop_fennecfox.png"
}
}
}
}
the version of BFAV i'm using is this one
https://forums.stardewvalley.net/threads/unofficial-mod-updates.2096/page-68#post-47274
stardew valley version: 1.5.6
SMAPI version: 3.18.2
Am I doing something wrong or is BFAV just broken?
thanks in advance
would be easier to spot if you could share a screenshot (if you're still interested in getting help for this since it's been a year already)
I did look a bit into the PMD files, and didn't really see anything that would cause this - The mask has a low probability, and the sweet gem seeds is on par with the ancient and starfruit. I also tried changing the items; the mask to dinosaur eggs, which seemed to work (Not sure if it'll have the same issue down the line, I just checked if it'd make the egg appear), but the same method fully broke the treasure pile to where I couldn't recycle it.
There's no red errors on SMAPI, as far as I saw, but I'm not really a coder.
I tried just going into the config and changing all instances of "barn" to "coop" but there's some kind of issue where they can't come out of the coop door. I don't know if the game thinks they're "too big" or something of that nature, but anyway...
So I managed to solve the problem, but now they are digging up marble, are they supposed to do that, or can they along with the fox treasure?