Changes

Line 172: Line 172:  
:::::::Version 1.6.8.24119 here, according to the ? menu. Still crashing. [[User:Rekiy|Rekiy]] ([[User talk:Rekiy|talk]]) 20:56, 27 May 2024 (UTC)
 
:::::::Version 1.6.8.24119 here, according to the ? menu. Still crashing. [[User:Rekiy|Rekiy]] ([[User talk:Rekiy|talk]]) 20:56, 27 May 2024 (UTC)
 
::::::::The bug does still occur. I'm using 1.6.8. I don't see anything in the version history indicating this bug was fixed. SMAPI appears to prevent it crashing, but still shows it in the log. As I thought it is a System.Collections.Generic.KeyNotFoundException which occurs in StardewValley.Locations.DesertFestival.CollectRacePrizes. I have also made a simple patch which fixes it. This patch uses harmony to prefix OnRaceWon, where it iterates through the players with a winning bet and makes sure the entry exists in the collection.[[User:JackBlack69|JackBlack69]] ([[User talk:JackBlack69|talk]]) 21:43, 27 May 2024 (UTC)
 
::::::::The bug does still occur. I'm using 1.6.8. I don't see anything in the version history indicating this bug was fixed. SMAPI appears to prevent it crashing, but still shows it in the log. As I thought it is a System.Collections.Generic.KeyNotFoundException which occurs in StardewValley.Locations.DesertFestival.CollectRacePrizes. I have also made a simple patch which fixes it. This patch uses harmony to prefix OnRaceWon, where it iterates through the players with a winning bet and makes sure the entry exists in the collection.[[User:JackBlack69|JackBlack69]] ([[User talk:JackBlack69|talk]]) 21:43, 27 May 2024 (UTC)
 +
:::::::::I don't see any bug report on the forums. Please make a bug report with details and attach the save file or SMAPI log! [[User:Margotbean|margotbean]] ([[User talk:Margotbean|talk]]) 02:24, 28 May 2024 (UTC)
107,410

edits