Page 1 of 1

[SOLVED] A bug I completely don't understand - "0134/250" in a corner

Posted: Sun Jul 24, 2022 1:33 pm
by Aureus
I was testing the recent version of the game and didn't notice when exactly did this happen - I was saving too sparingly and I don't have the starting point of this bug. I turned off all the screens I found, but I can't find the source of the issue.

Suddenly, in the corner of my screen has appeared a weird line of characters. It hides when I cover it with the game's main menu or a picture, but remains there as a part of this specific saved game.
1.png
1.png (23.46 KiB) Viewed 271 times
I can "grab" this line with my mouse and move it, though once it collides with some of the displayed screens or pictures, it locks its position. The text - 0134/250 - looks like this. (these letters are much smaller than any displayed line of text I use in the game)
2.png
2.png (18.53 KiB) Viewed 271 times
I don't expect anyone knows what this is, but do you have any tips how can I start to look for a solution?

Re: A bug I completely don't understand - "0134/250" in a corner

Posted: Sun Jul 24, 2022 3:50 pm
by Imperf3kt
Press shift D and the developer console can help find either the screen that is showing, or the variable name that is displaying so you can work out what is showing.

Re: A bug I completely don't understand - "0134/250" in a corner

Posted: Mon Jul 25, 2022 12:17 am
by Aureus
Oh, Shift+I shows the list of screens. That's nice.

So the culprit was the "screen _progress" which is hidden in the 00keymap.rpy file.
I have no mentions of this screen in my game. I didn't know it exists, I never summoned it.
Any ideas how it got displayed? For now I'll just replace the "[new] [seen]/[total]" with "" to make it invisible in case it ever shows up in the future.

Code: Select all

screen _progress:
    $ new = renpy.count_newly_seen_dialogue_blocks()
    $ seen = renpy.count_seen_dialogue_blocks()
    $ total = renpy.count_dialogue_blocks()

    drag:
        draggable True
        focus_mask None
        xpos 0
        ypos 0

        text "[new] [seen]/[total]":
            size 14
            color "#fff"
            outlines [ (1, "#000", 0, 0) ]
            alt ""

Re: A bug I completely don't understand - "0134/250" in a corner

Posted: Mon Jul 25, 2022 12:23 am
by Imperf3kt
That screen shouldn't be possible to accidentally show.
Do you perhaps also use _performance and maybe mixed the two up when trying to show it?

The easiest way to check is to do a ctrl+F in all your script files and search for "_progress"

Re: A bug I completely don't understand - "0134/250" in a corner

Posted: Mon Jul 25, 2022 2:54 am
by Aureus
Imperf3kt wrote:
Mon Jul 25, 2022 12:23 am
That screen shouldn't be possible to accidentally show.
Do you perhaps also use _performance and maybe mixed the two up when trying to show it?

The easiest way to check is to do a ctrl+F in all your script files and search for "_progress"
You helped me find the issue. Or rather - you made me convinced it was not a problem in my game files.
However, I found the solution on https://www.renpy.org/doc/html/keymap.html . Seems like [ 'alt_shift_K_p', 'meta_shift_K_p', 'K_F2' ] all make the _progress screen show up. I do remember me pressing F2 (and some other Fs) sometime during my playthrough, and now it works - pressing F2 either hides or displays this screen.

Thank you for the guidance, this issue go me super anxious.