Changes

Jump to navigation Jump to search
no edit summary
Line 177: Line 177:  
:::::::::::The bug is already fixed in the 1.6.9 Beta and will be pushed out to the public branch as soon as the patch is ready. Bugs introduced then fixed during beta don't normally appear in version history, but you were free to re-add the information to the page at any time after the bug report was discovered or re-posted.  
 
:::::::::::The bug is already fixed in the 1.6.9 Beta and will be pushed out to the public branch as soon as the patch is ready. Bugs introduced then fixed during beta don't normally appear in version history, but you were free to re-add the information to the page at any time after the bug report was discovered or re-posted.  
 
:::::::::::I would remind anyone reading this that hostility is not only completely unacceptable on this wiki, but that honest communication will always go farther. 🖖 [[User:Margotbean|margotbean]] ([[User talk:Margotbean|talk]]) 18:39, 4 June 2024 (UTC)
 
:::::::::::I would remind anyone reading this that hostility is not only completely unacceptable on this wiki, but that honest communication will always go farther. 🖖 [[User:Margotbean|margotbean]] ([[User talk:Margotbean|talk]]) 18:39, 4 June 2024 (UTC)
 +
 +
== Bet time restrictions ==
 +
 +
Given the back and forth on the page, I decided I would do a bit of digging into the code.
 +
From what I can tell, the prompt to place your bet starts in <samp>DesertFestival:performAction</samp>. For the case "DesertRacerMan", it first checks for prizes, and then if it is before 10 am it says the race is closed. Otherwise, it checks if the race is currently in progress, specifically checking if <samp>DesertFestival.currentRaceState.Value >= RaceState.Go</samp>, and they haven't announced the winner. It then checks if you can make another guess, by confirming the time is at or after 10 pm AND the race hasn't started, with the same check as before. Then when you actually make the guess it again checks if the race is in progress. So your ability to make a guess depends on the Value of currentRaceState. If it is currently at PreRace, then the 10 minute update puts it to StaringLine, with a timer of 5. Then the normal update process (every tick) to ready, then set, then go, with a delay of 3 between each. Then after the race is over it increments through to RaceEnd, and then either goes to RacesOver or back to PreRace depending on the time. This means 2 things:
 +
1 - You can place a bet (normally) from 10 am, until the last race starts just after 10 pm. Based on the above 5 second, then two 3 second delays, this should be 11 seconds after 10pm, which with the default passage of time of 7 seconds per 10 minutes, brings it to roughly 10:15:43 pm. So without mods to change the passage of time, you can place a bet until part way through 10:10 pm.
 +
2 - In multiplayer, so dialogues don't freeze time, you can open the dialogue before the last race begins, and then wait for it to finish, and then place your bet. This is probably a bug/unintended as I don't think you can use that bet.
 +
[[User:JackBlack69|JackBlack69]] ([[User talk:JackBlack69|talk]]) 11:40, 6 July 2024 (UTC)
 +
 +
:I don't have much of a horse in this race other than if I can back up my edit with proof in the form of a youtube video of playing the game on a vanilla installation of 1.6.8 and I directly link the video in my edit summary, I have completed the proof requirement and the edit should stay, not be struck a second time based on nothing but an admin disagreeing. Quoting the code as proof of a behavior is in theory all good, but if the behavior observed in game differs from what the code "says", then the answer isn't that the behavior observed is wrong, it's that the code was misread. There is a time and place for snap judgements of striking misinformation from the record, and it's not when there is decisive evidence to back up the claim. [[User:PrincessFelicity|PrincessFelicity]] ([[User talk:PrincessFelicity|talk]]) 13:52, 6 July 2024 (UTC)
 +
::A youtube video is in no way proof of anything. When the game behavior seems to differ from what the code says, then stepping through the code may be the only way to find the answer. Thank you JackBlack for the thorough analysis! [[User:Margotbean|margotbean]] ([[User talk:Margotbean|talk]]) 16:51, 6 July 2024 (UTC)
108,852

edits

Navigation menu