Changes

Line 169: Line 169:  
:::::I can weigh in. The relavent code is DesertFestival OnRaceWon(int winner). If winner == 3 (i.e. it is escargo) and you don't already have the specialRewardsCollected flag it triggers the specialRewardsCollected flag, and goes to the next iteration of the loop. Importantly, this skips the check directly below for a key existing in a dictionary, and then below that incrementing it for a normal prize and adding you to the list of winning farmers. Then in CollectRacePrizes, you get the bonus if needed, and it sets it so you can't get it again until it is cleared, then proceeds to give you 20 eggs for every normal win. It does this by pulling the value from a dictionary which only exists if you get a normal prize, which is likely what causes the crash. I think it will also say that no one won. Will quickly do some testing and report back, maybe make a mod to patch away the crash. [[User:JackBlack69|JackBlack69]] ([[User talk:JackBlack69|talk]]) 11:30, 27 May 2024 (UTC)
 
:::::I can weigh in. The relavent code is DesertFestival OnRaceWon(int winner). If winner == 3 (i.e. it is escargo) and you don't already have the specialRewardsCollected flag it triggers the specialRewardsCollected flag, and goes to the next iteration of the loop. Importantly, this skips the check directly below for a key existing in a dictionary, and then below that incrementing it for a normal prize and adding you to the list of winning farmers. Then in CollectRacePrizes, you get the bonus if needed, and it sets it so you can't get it again until it is cleared, then proceeds to give you 20 eggs for every normal win. It does this by pulling the value from a dictionary which only exists if you get a normal prize, which is likely what causes the crash. I think it will also say that no one won. Will quickly do some testing and report back, maybe make a mod to patch away the crash. [[User:JackBlack69|JackBlack69]] ([[User talk:JackBlack69|talk]]) 11:30, 27 May 2024 (UTC)
 
::::::Thank you all for the research! The bug should have been fixed with version 1.6.7 on April 28. Please be sure you are running the latest version of the game! [[User:Margotbean|margotbean]] ([[User talk:Margotbean|talk]]) 18:16, 27 May 2024 (UTC)
 
::::::Thank you all for the research! The bug should have been fixed with version 1.6.7 on April 28. Please be sure you are running the latest version of the game! [[User:Margotbean|margotbean]] ([[User talk:Margotbean|talk]]) 18:16, 27 May 2024 (UTC)
 +
:::::::I'm definitely reading 1.6.8 code, and the bug still exists. [[User:Wikonimo|Wikonimo]] ([[User talk:Wikonimo|talk]]) 18:32, 27 May 2024 (UTC)
216

edits