I am getting this error after installing a farm map mod for the basic farm, not ginger island. I get the error after launching the game: https://www.nexusmods.com/stardewvalley/mods/29850
Unhandled exception applying patch: Fishable Snake Spine > Fish Location Data.System.IndexOutOfRangeException: Index was outside the bounds of the array. at ContentPatcher.Framework.Migrations.Migration_2_0.LocationsMigrator.TryParseRawSeasonsFromNewData(Nullable`1 season, String condition, HashSet`1& parsedSeasons, HashSet`1& parsedNotSeasons) in E:\source\_Stardew\Mods.Pathoschild\ContentPatcher\Framework\Migrations\Migration_2_0.ForLocations.cs:line 884 at ContentPatcher.Framework.Migrations.Migration_2_0.LocationsMigrator.ParseEffectiveSeasons(Nullable`1 season, String condition) in E:\source\_Stardew\Mods.Pathoschild\ContentPatcher\Framework\Migrations\Migration_2_0.ForLocations.cs:line 819 at ContentPatcher.Framework.Migrations.Migration_2_0.LocationsMigrator.GetArtifactChancesFromAsset(List`1 data, Dictionary`2& artifacts) in E:\source\_Stardew\Mods.Pathoschild\ContentPatcher\Framework\Migrations\Migration_2_0.ForLocations.cs:line 649 at ContentPatcher.Framework.Migrations.Migration_2_0.LocationsMigrator.GetOldFormat(IDictionary`2 from, HashSet`1& skippedDueToNoData) in E:\source\_Stardew\Mods.Pathoschild\ContentPatcher\Framework\Migrations\Migration_2_0.ForLocations.cs:line 123 at ContentPatcher.Framework.Migrations.Migration_2_0.LocationsMigrator.TryApplyEditPatch[T](EditDataPatch patch, IAssetData asset, Action`2 onWarning, String& error) in E:\source\_Stardew\Mods.Pathoschild\ContentPatcher\Framework\Migrations\Migration_2_0.ForLocations.cs:line 86 at ContentPatcher.Framework.Migrations.BaseRuntimeMigration.TryApplyEditPatch[T](IPatch patch, IAssetData asset, String& error) at ContentPatcher.Framework.Migrations.AggregateMigration.TryApplyEditPatch[T](IPatch patch, IAssetData asset, String& error) in E:\source\_Stardew\Mods.Pathoschild\ContentPatcher\Framework\Migrations\AggregateMigration.cs:line 205 at ContentPatcher.Framework.PatchManager.ApplyEdits[T](ICollection`1 patches, IAssetData asset) in E:\source\_Stardew\Mods.Pathoschild\ContentPatcher\Framework\PatchManager.cs:line 610
Heres the smapi log: https://smapi.io/log/93e29df3cbd34ce9a73ab218b499d9ca
There is an error in your code that makes the spine fished up 100% of the time. You have to replace the relevant section with this below. P.S. - if the mod author is not around, anyone reading this can make this change in their content.json file.
{ "Action": "EditData", "LogName": "IslandWest Trash", "Target": "Data/Fish", "Entries": { //change the .1 to another probability if you want rarer or more common spines "826": "Snake Vertebrae/5/floater/5/30/600 2600/spring summer fall winter/both/-1/0/.1/0/0", }, },
The error is that where it says "both", it said "freshwater" before. You can still change the rarity probably.
OMG, thank you so much for this! I avoided planting crops for three seasons to allow for maximum space for artifact spots to form, and only ever managed to get one snake spine in all that time. Got frustrated & decided to see if anyone had modded in additional locations for them to spawn, and found your mod. Installed it, and on my 6th cast into the little lake, success! FINALLY I could complete the island collection, and now I can start building my farm too. Endorsed!
Not quite. Some things are predetermined (geode contents and enchants, for example), not all things are. For example, if an artifact node spawns on your farm/island farm, it will always be there even if you reload, but the contents are randomly determined when you hoe it, so scumming works in this case.
The odds are still painfully low. I'll be using this mod instead, gracias.
12 comments
Unhandled exception applying patch: Fishable Snake Spine > Fish Location Data.System.IndexOutOfRangeException: Index was outside the bounds of the array.
at ContentPatcher.Framework.Migrations.Migration_2_0.LocationsMigrator.TryParseRawSeasonsFromNewData(Nullable`1 season, String condition, HashSet`1& parsedSeasons, HashSet`1& parsedNotSeasons) in E:\source\_Stardew\Mods.Pathoschild\ContentPatcher\Framework\Migrations\Migration_2_0.ForLocations.cs:line 884
at ContentPatcher.Framework.Migrations.Migration_2_0.LocationsMigrator.ParseEffectiveSeasons(Nullable`1 season, String condition) in E:\source\_Stardew\Mods.Pathoschild\ContentPatcher\Framework\Migrations\Migration_2_0.ForLocations.cs:line 819
at ContentPatcher.Framework.Migrations.Migration_2_0.LocationsMigrator.GetArtifactChancesFromAsset(List`1 data, Dictionary`2& artifacts) in E:\source\_Stardew\Mods.Pathoschild\ContentPatcher\Framework\Migrations\Migration_2_0.ForLocations.cs:line 649
at ContentPatcher.Framework.Migrations.Migration_2_0.LocationsMigrator.GetOldFormat(IDictionary`2 from, HashSet`1& skippedDueToNoData) in E:\source\_Stardew\Mods.Pathoschild\ContentPatcher\Framework\Migrations\Migration_2_0.ForLocations.cs:line 123
at ContentPatcher.Framework.Migrations.Migration_2_0.LocationsMigrator.TryApplyEditPatch[T](EditDataPatch patch, IAssetData asset, Action`2 onWarning, String& error) in E:\source\_Stardew\Mods.Pathoschild\ContentPatcher\Framework\Migrations\Migration_2_0.ForLocations.cs:line 86
at ContentPatcher.Framework.Migrations.BaseRuntimeMigration.TryApplyEditPatch[T](IPatch patch, IAssetData asset, String& error)
at ContentPatcher.Framework.Migrations.AggregateMigration.TryApplyEditPatch[T](IPatch patch, IAssetData asset, String& error) in E:\source\_Stardew\Mods.Pathoschild\ContentPatcher\Framework\Migrations\AggregateMigration.cs:line 205
at ContentPatcher.Framework.PatchManager.ApplyEdits[T](ICollection`1 patches, IAssetData asset) in E:\source\_Stardew\Mods.Pathoschild\ContentPatcher\Framework\PatchManager.cs:line 610
Heres the smapi log: https://smapi.io/log/93e29df3cbd34ce9a73ab218b499d9ca
{
"Action": "EditData",
"LogName": "IslandWest Trash",
"Target": "Data/Fish",
"Entries":
{
//change the .1 to another probability if you want rarer or more common spines
"826": "Snake Vertebrae/5/floater/5/30/600 2600/spring summer fall winter/both/-1/0/.1/0/0",
},
},
The error is that where it says "both", it said "freshwater" before. You can still change the rarity probably.
You can't even save scum in this game. The RNG is deterministic.
The odds are still painfully low. I'll be using this mod instead, gracias.