Closed cpgyuri closed 6 years ago
Did you have the Applet ask for permissions at the vert start of the game? Notifications are user-controlled, meaning that the user must grant an Applet permission to display notifications.
My concern is not about the applet permissions, but to the nasty bug which is very detrimental to the experience, but replying your question, I ask for permissions of the applet at the very start of the game, but everytime I open the game again after closing it, it seems the game doesn't save the permissions and if I don't ask for them again, it tries to show the "Permissions disabled" alert.
Tl;dr: I ask for permissions, but the permission values are lost everytime I open the game again, even if I do a save with the permissions granted.
Just confirmed this is applicable to all versions of AliceOS.
So it's not a bug of my mod then?
I want to add that this bug affects all alerts, since AliceOS replaces the way how Ren'Py shows its original alerts. For example, the "Hint: you can skip the text" and the "Do you want to quit?" alerts of Ren'py after re-loading save for the first time or closing the game shows the alert with the white Material window and the fonts of AliceOS.
If i try to quit the game after the error shows the first time, the game DOESN'T close or show the "Do you want to quit" dialog, and keeps showing errors for each line of the script.
Bug after trying to close the game normally after getting the TypeError bug. (The dialogue box about closing your game never shows and you can't close the game normally, except for the Quit button of the error screen).
Problem has now been traced down to an issue with OEM fonts resulting in blank values for styles.
Version of AliceOS Technical Preview 1
Describe the bug Everytime I save and then load Doki Forces, be after closing the game or not, when the game reaches a part in which a Ren'py alert screen or an AliceOS alert or notification pop-up must appear, the game crashes with a TypeError: argument of type 'NoneType' is not iterable bug. The first time it happens is when Ren'Py had to show the "Hint: you can skip..." alert. After I got this error, all my saves become unstable, and if it's a save in the poem minigame when this happens, it doesn't load again.
To Reproduce Steps to reproduce the behavior:
Expected behavior The game was expected to show the Ren'Py notification dialog or the AliceOS alert or notification pop-up, but it crashes to the error instead. Since AliceOS replaces the Ren'Py dialogue and alert interfaces, the Ren'Py standard alerts crash too.
Screenshots Added screenshot and traceback.txt.
Desktop (please complete the following information):
Smartphone (please complete the following information): not aplicable.
Traceback (if provided)
Additional context The notification that was about to show when the error happened is one about that you didn't give permissions to your AliceOS applets. This happens everytime i open my game again or load a save. It's very frustating that you have to program in each chapter the "give permissions" dialogue or the "override perms" code.