View Issue Details
ID | Category | Date Submitted | Last Update | ||
---|---|---|---|---|---|
0001398 | Bug Report | 2018-12-12 14:28 | 2018-12-15 15:14 | ||
Reporter | strayerror | ||||
Severity | crash | Reproducibility | random | ||
Status | resolved | Resolution | fixed | ||
Summary | 0001398: Seasonal code contains exception producting bug | ||||
Description | On December 15th, seasonal code will activate to give a 5% chance of seeing Santa's sleigh on the Map. This code contains a single character typo that triggers an exception which leads users to the stacktrace screen. Each time the game tries to display Santa's sleigh (day or night) the exception will trigger. This means that roughly one in twenty map views will trigger this for all players until December 31st. To expose the bug ahead of the 15th the following code can be placed in a .rpy file in the `game` directory. It mocks both the date, and the random chance to force the bug to occur consistently. ``` init 10000 python: class testdate(datetime.date): @staticmethod def today(): return datetime.date(2018, 12, 15) # dec 15 random.random = lambda: 0.95 # force random chance datetime.date = testdate # mock today's date ``` | ||||
Platform/OS | Windows | ||||
Version | 0.17.1 | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2018-12-12 14:28 | strayerror | New Issue | |
2018-12-12 14:28 | strayerror | File Added: seasonal-exception.png | |
2018-12-12 14:37 | strayerror | Note Added: 0001748 | |
2018-12-12 17:48 |
|
Status | new => resolved |
2018-12-12 17:48 |
|
Resolution | open => fixed |